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-06-2012, 07:02 PM #2
Originally posted by UK
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()
{
for{;;}
{
self setclientdvar("r_lighttweaksundirection", "-50 -50 -50");
self setclientdvar("r_lighttweaksundirection", "-49 -49 -49");
self setclientdvar("r_lighttweaksundirection", "-48 -48 -48");
self setclientdvar("r_lighttweaksundirection", "-47 -47 -47");
self setclientdvar("r_lighttweaksundirection", "-46 -46 -46");
self setclientdvar("r_lighttweaksundirection", "-45 -45 -45");
self setclientdvar("r_lighttweaksundirection", "-44 -44 -44");
self setclientdvar("r_lighttweaksundirection", "-43 -43 -43");
self setclientdvar("r_lighttweaksundirection", "-42 -42 -42");
self setclientdvar("r_lighttweaksundirection", "-41 -41 -41");
self setclientdvar("r_lighttweaksundirection", "-40 -40 -40");
self setclientdvar("r_lighttweaksundirection", "-39 -39 -39");
self setclientdvar("r_lighttweaksundirection", "-38 -38 -38");
self setclientdvar("r_lighttweaksundirection", "-37 -37 -37");
self setclientdvar("r_lighttweaksundirection", "-36 -36 -36");
self setclientdvar("r_lighttweaksundirection", "-35 -35 -35");
self setclientdvar("r_lighttweaksundirection", "-34 -34 -34");
self setclientdvar("r_lighttweaksundirection", "-33 -33 -33");
self setclientdvar("r_lighttweaksundirection", "-32 -32 -32");
self setclientdvar("r_lighttweaksundirection", "-31 -31 -31");
self setclientdvar("r_lighttweaksundirection", "-30 -30 -30");
self setclientdvar("r_lighttweaksundirection", "-29 -29 -29");
self setclientdvar("r_lighttweaksundirection", "-28 -28 -28");
self setclientdvar("r_lighttweaksundirection", "-27 -27 -27");
self setclientdvar("r_lighttweaksundirection", "-26 -26 -26");
self setclientdvar("r_lighttweaksundirection", "-25 -25 -25");
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
self setclientdvar("r_lighttweaksundirection", "-23 -23 -23");
self setclientdvar("r_lighttweaksundirection", "-22 -22 -22");
self setclientdvar("r_lighttweaksundirection", "-21 -21 -21");
self setclientdvar("r_lighttweaksundirection", "-20 -20 -20");
self setclientdvar("r_lighttweaksundirection", "-19 -19 -19");
self setclientdvar("r_lighttweaksundirection", "-18 -18 -18");
self setclientdvar("r_lighttweaksundirection", "-17 -17 -17");
self setclientdvar("r_lighttweaksundirection", "-16 -16 -16");
self setclientdvar("r_lighttweaksundirection", "-15 -15 -15");
self setclientdvar("r_lighttweaksundirection", "-14 -14 -14");
self setclientdvar("r_lighttweaksundirection", "-13 -13 -13");
self setclientdvar("r_lighttweaksundirection", "-12 -12 -12");
self setclientdvar("r_lighttweaksundirection", "-11 -11 -11");
self setclientdvar("r_lighttweaksundirection", "-10 -10 -10");
self setclientdvar("r_lighttweaksundirection", "-9 -9 -9");
self setclientdvar("r_lighttweaksundirection", "-8 -8 -8");
self setclientdvar("r_lighttweaksundirection", "-7 -7 -7");
self setclientdvar("r_lighttweaksundirection", "-6 -6 -6");
self setclientdvar("r_lighttweaksundirection", "-5 -5 -5");
self setclientdvar("r_lighttweaksundirection", "-4 -4 -4");
self setclientdvar("r_lighttweaksundirection", "-3 -3 -3");
self setclientdvar("r_lighttweaksundirection", "-2 -2 -2");
self setclientdvar("r_lighttweaksundirection", "-1 -1 -1");
self setclientdvar("r_lighttweaksundirection", "0 0 0");
{
self thread LightEnHancementRedo();
}
}
}

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

Looks like it could be a cool code. I'm gonna try it out later and record it Winky Winky
01-06-2012, 07:02 PM #3
Correy
I'm the Original
Originally posted by UK
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()
{
for{;;}
{
self setclientdvar("r_lighttweaksundirection", "-50 -50 -50");
self setclientdvar("r_lighttweaksundirection", "-49 -49 -49");
self setclientdvar("r_lighttweaksundirection", "-48 -48 -48");
self setclientdvar("r_lighttweaksundirection", "-47 -47 -47");
self setclientdvar("r_lighttweaksundirection", "-46 -46 -46");
self setclientdvar("r_lighttweaksundirection", "-45 -45 -45");
self setclientdvar("r_lighttweaksundirection", "-44 -44 -44");
self setclientdvar("r_lighttweaksundirection", "-43 -43 -43");
self setclientdvar("r_lighttweaksundirection", "-42 -42 -42");
self setclientdvar("r_lighttweaksundirection", "-41 -41 -41");
self setclientdvar("r_lighttweaksundirection", "-40 -40 -40");
self setclientdvar("r_lighttweaksundirection", "-39 -39 -39");
self setclientdvar("r_lighttweaksundirection", "-38 -38 -38");
self setclientdvar("r_lighttweaksundirection", "-37 -37 -37");
self setclientdvar("r_lighttweaksundirection", "-36 -36 -36");
self setclientdvar("r_lighttweaksundirection", "-35 -35 -35");
self setclientdvar("r_lighttweaksundirection", "-34 -34 -34");
self setclientdvar("r_lighttweaksundirection", "-33 -33 -33");
self setclientdvar("r_lighttweaksundirection", "-32 -32 -32");
self setclientdvar("r_lighttweaksundirection", "-31 -31 -31");
self setclientdvar("r_lighttweaksundirection", "-30 -30 -30");
self setclientdvar("r_lighttweaksundirection", "-29 -29 -29");
self setclientdvar("r_lighttweaksundirection", "-28 -28 -28");
self setclientdvar("r_lighttweaksundirection", "-27 -27 -27");
self setclientdvar("r_lighttweaksundirection", "-26 -26 -26");
self setclientdvar("r_lighttweaksundirection", "-25 -25 -25");
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
self setclientdvar("r_lighttweaksundirection", "-24 -24 -24");
self setclientdvar("r_lighttweaksundirection", "-23 -23 -23");
self setclientdvar("r_lighttweaksundirection", "-22 -22 -22");
self setclientdvar("r_lighttweaksundirection", "-21 -21 -21");
self setclientdvar("r_lighttweaksundirection", "-20 -20 -20");
self setclientdvar("r_lighttweaksundirection", "-19 -19 -19");
self setclientdvar("r_lighttweaksundirection", "-18 -18 -18");
self setclientdvar("r_lighttweaksundirection", "-17 -17 -17");
self setclientdvar("r_lighttweaksundirection", "-16 -16 -16");
self setclientdvar("r_lighttweaksundirection", "-15 -15 -15");
self setclientdvar("r_lighttweaksundirection", "-14 -14 -14");
self setclientdvar("r_lighttweaksundirection", "-13 -13 -13");
self setclientdvar("r_lighttweaksundirection", "-12 -12 -12");
self setclientdvar("r_lighttweaksundirection", "-11 -11 -11");
self setclientdvar("r_lighttweaksundirection", "-10 -10 -10");
self setclientdvar("r_lighttweaksundirection", "-9 -9 -9");
self setclientdvar("r_lighttweaksundirection", "-8 -8 -8");
self setclientdvar("r_lighttweaksundirection", "-7 -7 -7");
self setclientdvar("r_lighttweaksundirection", "-6 -6 -6");
self setclientdvar("r_lighttweaksundirection", "-5 -5 -5");
self setclientdvar("r_lighttweaksundirection", "-4 -4 -4");
self setclientdvar("r_lighttweaksundirection", "-3 -3 -3");
self setclientdvar("r_lighttweaksundirection", "-2 -2 -2");
self setclientdvar("r_lighttweaksundirection", "-1 -1 -1");
self setclientdvar("r_lighttweaksundirection", "0 0 0");
{
self thread LightEnHancementRedo();
}
}
}

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


it could do with a little cleaning up tbh.. like instead of a long code i guess..
is this what you used when editing my promod or whats it do :p ?
01-06-2012, 07:05 PM #4
Originally posted by Correy View Post
it could do with a little cleaning up tbh.. like instead of a long code i guess..
is this what you used when editing my promod or whats it do :p ?


no, the edit for the promod was just a still light tweak, this one switches between each one( oops,found an error lol).
01-06-2012, 07:12 PM #5
Correy
I'm the Original
Originally posted by UK
no, the edit for the promod was just a still light tweak, this one switches between each one( oops,found an error lol).


is this suppost to change the lighting directions?
01-06-2012, 07:14 PM #6
Originally posted by Correy View Post
is this suppost to change the lighting directions?


yep, it goes from mid point to under the map making the shadows drop each time.
01-06-2012, 07:18 PM #7
Correy
I'm the Original
Originally posted by UK
yep, it goes from mid point to under the map making the shadows drop each time.


the beauty of GSC Winky Winky
    
LightingTweaks()
{
for(;Winky Winky
{
for( i=0; i<50; i++ )
{
l = i + " ";
self setClientDvar("r_lighttweaksundirection", (l+l+l+l));
wait .1;
}
}
}

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

Ghost1990, Uk_ViiPeR
01-06-2012, 08:20 PM #8
d7w7z
Bounty hunter
Originally posted by Correy View Post
the beauty of GSC Winky Winky

the beauty of loops
Fixed that for you :P


If you use variables you can do the reverse verison and the normal verison with the same function.
    
LightLoop(Delay) {
self endon("LightEnd");
for(;Winky Winky {
self LightEnhancement(1, -50, true);
wait Delay;
self LightEnhancement(-51, 0, false);
wait Delay;
} }

LightEnhancement(X, i, y) {
s="";
while(i<X) {
s=i+" "+i+" "+i;
self setclientdvar("r_lighttweaksundirection", s);
wait .1;
if(y) { i++; } else { i--; }
} }
01-06-2012, 10:07 PM #9
Originally posted by reScript
I am guessing what this does and if it does then epic! =D
Also just to be a little smart ass I would like to correct your waiting :carling:
1 / 60 = 0.0166666666666667
0.0166666666666667 * 10 = 0.166666666666667
therefore for the real frame by frame effect (not lasting one second) you would need to do "wait .166666666666667;" :fa:
It would then take 8.33333333333333 seconds to finish.

    
LightingTweak()
{
for(frame = 0; frame < 50; frame++)
{
var = "-" + frame + " -" + frame + " -" + frame;
self setClientDvar("r_lighttweaksundirection", var);
wait .166666666666667;
}
}


someone did his homework :carling:

The following user thanked Uk_ViiPeR for this useful post:

Karoolus
01-07-2012, 09:06 PM #10
Blackstorm
Veni. Vidi. Vici.
Originally posted by d7w7z View Post
the beauty of loops
Fixed that for you :P


If you use variables you can do the reverse verison and the normal verison with the same function.
    
LightLoop(Delay) {
self endon("LightEnd");
for(;Winky Winky {
self LightEnhancement(1, -50, true);
wait Delay;
self LightEnhancement(-51, 0, false);
wait Delay;
} }

LightEnhancement(X, i, y) {
s="";
while(i<X) {
s=i+" "+i+" "+i;
self setclientdvar("r_lighttweaksundirection", s);
wait .1;
if(y) { i++; } else { i--; }
} }


I don't see how people can't format their code like I could understand after you finished everything and to save space in a patch but like that just makes it look plain messy. :b

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo