Intruder wrote:
Have you never found informations about such an edition because I haven't...?
I found it from SDK few years ago
void SC_SetSceneVisibilityMult(float vis_mult, float scene_fog_mult, float bckg_fog_mult);
This function will change the multipliers applied to the scene visibility settings.
Vis_mult is multiplier of the maximum visibility, scene_fog_mult and bckg_fog_mult are used to set the the fog and background fog.
This command was with few bugs for me but maybe it was because of my testmap.
and second command:
void SC_SwitchSceneSCS(char *fname, float time);
This function will fade the scene visual settings to the settings stored in the file fname in the time time.
This command is better but problem was with proper *.SCS file. We can save SCS with editor but its looks little different version and that command don't work with SCS what is created with editor .
So in maps is some older SCS files and those was working. Then I break those files and made simple program what make proper SCS file for that command. (its maybe not user friendly but its working for me)
I must go now, will continue later. |