scripting problem
-
who can tell me why setdvar( "r_lighttweaksuncolor", "0.1,0.1,0.9" ); and setdvar( "r_lighttweaksunlight", "20"); does not work while setdvar( "r_fog", "0" ); works fine in map ?
-
wi3rrr That must apply to the player. Look at an example:
player setclientdvar("r_lodBiasRigid",-1000); player setclientdvar("r_lodBiasSkinned",-1000); player setclientdvar("r_enablePlayerShadow",1); player setclientdvar("sm_sunquality",2); player setclientdvar("vc_fbm","0 0 0 0"); player setclientdvar("vc_fsm","1 1 1 1"); player setclientdvar("vc_fgm","1 1 1 1"); player setclientdvar("r_dof_enable",0); player setclientdvar("r_skyColorTemp",25000); player setclientdvar("r_filmUseTweaks",1); player setclientdvar("r_bloomTweaks",1); player setclientdvar("r_exposureTweak",1); player setclientdvar("vc_rgbh","0.07 0 0.25 0"); player setclientdvar("vc_yl","0 0 0.25 0"); player setclientdvar("vc_yh","0.015 0 0.07 0"); player setclientdvar("vc_rgbl","0.015 0 0.07 0"); player setclientdvar("vc_rgbh","0.015 0 0.07 0"); player setclientdvar("r_exposureValue",3.9); player setclientdvar("r_lightTweakSunLight",16); player setclientdvar("r_sky_intensity_factor0",3); player setclientdvar("r_fog",0);
Also you must activate the use of filmtweak here "
r_filmUseTweaks "1"
" -
Kalitos said in scripting problem:
r_filmUseTweaks "1"
It didn't work but I managed to solve the problem thanks anyway