Post: Day And Night Enhancement
01-06-2012, 06:42 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys,i put together a quick script for people who would like realistic geometry so enjoy, this is currently known as a beta so i will improve very soon.

    LightEnHancement()
{
{
self setclientdvar("r_lighttweaksundirection", "-50 -50 -50");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-49 -49 -49");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-48 -48 -48");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-47 -47 -47");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-46 -46 -46");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-45 -45 -45");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-44 -44 -44");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-43 -43 -43");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-42 -42 -42");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-41 -41 -41");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-40 -40 -40");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-39 -39 -39");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-38 -38 -38");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-37 -37 -37");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-36 -36 -36");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-35 -35 -35");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-34 -34 -34");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-33 -33 -33");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-32 -32 -32");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-31 -31 -31");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-30 -30 -30");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-29 -29 -29");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-28 -28 -28");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-27 -27 -27");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-26 -26 -26");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-25 -25 -25");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-23 -23 -23");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-22 -22 -22");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-21 -21 -21");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-20 -20 -20");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-19 -19 -19");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-18 -18 -18");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-17 -17 -17");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-16 -16 -16");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-15 -15 -15");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-14 -14 -14");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-13 -13 -13");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-12 -12 -12");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-11 -11 -11");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-10 -10 -10");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-9 -9 -9");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-8 -8 -8");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-7 -7 -7");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-6 -6 -6");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-5 -5 -5");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-4 -4 -4");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-3 -3 -3");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-2 -2 -2");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-1 -1 -1");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "0 0 0");
wait 0.1;
{
self thread LightEnHancementRedo();
}
}
}

LightEnHancementRedo()
{
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "0 0 0");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-1 -1 -1");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-2 -2 -2");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-3 -3 -3");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-4 -4 -4");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-5 -5 -5");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-6 -6 -6");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-7 -7 -7");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-8 -8 -8");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-9 -9 -9");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-10 -10 -10");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-11 -11 -11");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-12 -12 -12");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-13 -13 -13");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-14 -14 -14");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-15 -15 -15");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-16 -16 -16");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-17 -17 -17");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-18 -18 -18");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-19 -19 -19");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-20 -20 -20");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-21 -21 -21");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-22 -22 -22");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-23 -23 -23");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-25 -25 -25");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-26 -26 -26");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-27 -27 -27");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-28 -28 -28");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-29 -29 -29");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-30 -30 -30");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-31 -31 -31");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-32 -32 -32");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-33 -33 -33");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-34 -34 -34");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-35 -35 -35");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-36 -36 -36");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-37 -37 -37");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-38 -38 -38");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-39 -39 -39");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-40 -40 -40");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-41 -41 -41");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-42 -42 -42");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-43 -43 -43");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-44 -44 -44");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-45 -45 -45");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-46 -46 -46");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-47 -47 -47");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-48 -48 -48");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-49 -49 -49");
wait 0.1;
self setclientdvar("r_lighttweaksundirection", "-50 -50 -50");
}


Correys Version
    LightingTweaks()
{
for(;Winky Winky
{
for( i=0; i<50; i++ )
{
l = i + " ";
self setClientDvar("r_lighttweaksundirection", (l+l+l+l));
wait .1;
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Uk_ViiPeR for this useful post:

247Yamato, FourzerotwoFAILS
01-08-2012, 07:12 PM #20
Originally posted by reScript
Incorrect sir.

0.100 = 10fps
0.050 = 20fps
0.030 = 30fps
0.025 = 40fps
0.020 = 50fps
0.016 = 60fps
0.014 = 70fps
0.012 = 80fps
0.011 = 90fps
0.010 = 100fps

I believe the PS3 runs the game @ 60fps.

---------- Post added at 03:46 AM ---------- Previous post was at 03:36 AM ----------

Or the highest fps possible on the pc :fa:

0.00416 = 240fps


Originally posted by Blackstorm View Post
Every server step ( frame ) in CoD is 0.05 seconds. Don't argue with the devs scripts. :b


Now, listen to Vader and both shut your noise..

    // wait till the next server frame to allow code a chance to update archivetime if it needs trimming
wait 0.05;
01-08-2012, 07:15 PM #21
Originally posted by reScript
All I said was 0.05 is not the time of each frame in 60fps :p
but it is one frame in cod4 land.. :P
01-08-2012, 07:31 PM #22
Blackstorm
Veni. Vidi. Vici.
Originally posted by x. View Post
Now, listen to Vader and both shut your noise..

    // wait till the next server frame to allow code a chance to update archivetime if it needs trimming
wait 0.05;


I just said that's how long it was. :p

---------- Post added at 12:31 PM ---------- Previous post was at 12:29 PM ----------

Originally posted by reScript
I originally quoted on this thread with the time that would give a real frame by frame effect, the archive clear timer has nothing to do with visuals :p

---------- Post added at 02:23 PM ---------- Previous post was at 02:20 PM ----------

I don't understand by what you mean by its one frame in cod4, it has nothing to do with frames.


Okay, visual frames have nothing to do with server steps. What are you talking about? lol This is an in-game script, visuals would be a totally different thing...
01-08-2012, 07:40 PM #23
Blackstorm
Veni. Vidi. Vici.
Originally posted by reScript
Yea of course I'm just trying to win the argument.
LET ME WIN :FU:


Okay fine, you win in the aspect of visual frames. lol :lol:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo