Post: Some new things for MP
12-30-2010, 11:27 PM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({}); I like disco lights in this game so i wrote this disco sunlight script, as i can't get the disco fog to work Smile
this one has been tested and working, i've also added it to my menu as a toggle..

    
togglesun()
{
if(self.sun == true)
{
self thread discosun();
self.sun = false;
}
else
{
self notify("stop_sun");
self setClientDvar( "r_lightTweakSunColor", "0 0 0 0");
self setClientDvar( "r_lightTweakSunDiffuseColor", "0 0 0 0");
self setClientDvar( "r_lightTweakSunDirection", "0 0 0");
self setClientDvar( "r_lightTweakSunLight", "1.5");
self.sun = true;
}
}



discosun()
{
self endon("stop_sun");
self setClientDvar( "r_lightTweakSunLight", "4" );
for(;Winky Winky
{
self setClientDvar( "r_lightTweakSunColor", "0 0 1 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "0 0 0 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "0 1 1 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "0 1 0 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "1 0 1 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "1 0 0 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "1 1 0 1" );
wait .3;
self setClientDvar( "r_lightTweakSunColor", "1 0 1 0" );
wait .3;
}
}



You must login or register to view this content. the patch

It has also got a new and (?) improved force host (someone try this for me pls ? :p)

also something i found on se7: super betty
at the moment you only have 2 betty's if you have the perk on, but i'll write a script for my next patch that will give you extra bouncing betty everytime you put one down Smile

rpg as martyrdom (under perk infections)

added some cheat infections & some debug dvars for host

something i already forgot about: you can now unlock a player without verifying him.. you just unlock it for him (one of the options in player menu)

oh and i don't know if the freeze WAW was in my previous patch, but you can freeze ppl's WAW.. the ps3 isn't frozen, but you have to quit the game :p

This is the toggle discosun i rewrote real quick..
self setClientDvar( "r_lightTweakSunColor", "1 0 1 0" );
those four numbers can be any value between 0 and 1
the following script generates random numbers which should (at least in theory) end up making random colors instead of looping the ones i set..
i have NOT tried this though, so i'm not sure if it works..

    togglesun()
{
if(self.sun == true)
{
self thread discosun();
self.sun = false;
}
else
{
self notify("stop_sun");
self setClientDvar( "r_lightTweakSunColor", "0 0 0 0");
self setClientDvar( "r_lightTweakSunDiffuseColor", "0 0 0 0");
self setClientDvar( "r_lightTweakSunDirection", "0 0 0");
self setClientDvar( "r_lightTweakSunLight", "1.5");
self.sun = true;
}
}



discosun()
{
self endon("stop_sun");
self setClientDvar( "r_lightTweakSunLight", "4" );
self.random = [];
for(;Winky Winky
{
for(c = 0; c < 4; c++)
{
tempnr = randomInt( 100 );
self.random[c] = tempnr/100;
}
self.suncolor = "" + self.random[0] + " " + self.random[1] + " " + self.random[2] + " " + self.random[3] + "";
self setClientDvar( "r_lightTweakSunColor", self.suncolor );
wait .3;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to Karoolus for this useful post:

8======D----, FM|T xR3PMz, NiCiUFF, onrode, RADDY1993, XeNoNx
01-01-2011, 04:56 PM #20
hey hav a question
do u hav the mappack 1-2-3 or the bundle?
bekuz im havin problem with BigXP & changin the Maps
im guessin that kould be the problem but im not sure

i like the update, but im still usin the patch before this 1 for some reasons

like
havin problems with force host,
only 2 BigBang Bettys, i rather hav unlimit Bettys than only 2 BigBand.
& the errors in the infections.

i wish u kan put the new options on the patch before this 1, but only
the diskosun, unlock all, & freeze PS3. oh .... i think u should put it another name like Freeze Game or Crash Game. since it doesnt do nathin to the PS3

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo