06-30-2011, 06:21
hello guys i was wondering if there is a way to make a mod where it can be compatible with some Competitive Mods to make a movie config like cod4 Promod where you can be able to edit the sunlight directions the contrast olmost everting or maybe a config for the the mod like xkmod or cmmod.
this is some screenshots i take from my mod but i have no idea on how to take effect in theater.
this is the command lines i use it to do this effect
any idea guys ?
this is some screenshots i take from my mod but i have no idea on how to take effect in theater.
this is the command lines i use it to do this effect
Quote:onPlayerSpawned()i try this one too in the onJoinedSpectators() and when i go to theater this not works.
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self setClientDvar( "r_fog", "0" );
self setClientDvar( "r_lighttweaksunlight", "20" );
self setClientDvar( "r_filmTweakContrast", "1.2 1.2 1.2" );
self setClientDvar( "r_filmTweakEnable", "1" );
self setClientDvar( "r_lightTweakSunDirection", "-70 100 0" );
self setClientDvar( "r_filmusetweaks", "1" );
self setClientDvar( "r_filmtweaklighttint", "1.8 1.8 1.8" );
self setClientDvar( "r_filmTweakDesaturation", "0.2" );
self setClientDvar( "r_filmtweakdarktint", "1 .9 .9" );
self setClientDvar( "r_filmTweakHue", "0.5 1 0.3" );
self setClientDvar( "r_filmTweakLut", "1" );
self setClientDvar( "r_enablePlayerShadow", "100" );
self setClientDvar( "r_dof_Tweak", "1" );
self setClientDvar( "CG_GUN_Y", "0" );
self setClientDvar( "cg_draw2d", "1" );
self setClientDvar( "r_filmTweakBrightness", "20" );
self setClientDvar( "r_dof_bias", "1" );
self setClientDvar( "r_glow_allowed", "1" );
self setClientDvar( "r_glowTweakEnable", "1" );
self setClientDvar( "r_glowTweakBloomCutoff", "0.5" );
self setClientDvar( "r_glowtweakbloomintensity", "1" );
self setClientDvar( "r_glowTweakradius", "8" );
self setClientDvar( "r_glowUseTweaks", "1" );
self setClientDvar( "r_specularcolorscale", "2" );
self setClientDvar( "r_gamma", "1" );
self setClientDvar( "r_blur", "0.2" );
self setClientDvar( "r_desaturation", "1.8" );
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
if( self IsSplitscreen() )
self.hud_rankscroreupdate.y = -15;
else
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self.hud_rankscroreupdate.overrridewhenindemo = true;
}
}
}
any idea guys ?