What's new

Public Static Void

Enthusiast
Messages
1,364
Reaction score
244
Thanks to Special for helping me out with this! I just want to get opinions before burning since my jtag is screwed and i dont have the pc version.... Do you see any errors at all?

doDisco()
{
while(1)
{
if(getdvar("player_breath_hold_time") != "90")
{
self SetExpFog(256, 512, 1, 0, 0, 0);
}
else if(getdvar("player_breath_hold_time") != "91")
{
self iPrintlnBold("^1D^2a^3N^4c^5E ^6P^1a^2R^3T^4y^5?^6?");
{

self SetExpFog(256, 512, 1, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);
wait .1;
SetExpFog(256, 512, 1, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);

}
wait 5;
}
}
 

Farquanda

Enthusiast
Messages
236
Reaction score
18
this is on my iso but i want it bound to a button so i can toggle for the whole lobby could you tell me the bind you would put for this
 

Welfare

Divine Android Omniscience
Messages
2,943
Reaction score
627
this is on my iso but i want it bound to a button so i can toggle for the whole lobby could you tell me the bind you would put for this
bind DPAD_UP "toggle player_breath_hold_time 90 91; Rainbowzzzz"
 

Public Static Void

Enthusiast
Messages
1,364
Reaction score
244
there is three parts to this...

#1 Something like this in a .gsc
doVision()
{
self thread doSomething();
while(1)
{
if(getdvar("jump_stepSize") != "19")
{
self VisionSetNaked( "default", 1 );
}
else if(getdvar("jump_stepSize") != "20")
{
self VisionSetNaked( "zombie_turned", 1 );
}
wait 5;
}
}

#3 You need something like this in the codepost
bind DPAD_LEFT "toggle jump_stepSize 19 20 ; Red vision On/Off"

#2 And something like this in the score.gsc in the NZP
onPlayerSpawned()
{
self endon( "disconnect" );
for(;:wink:
{
self waittill( "spawned_player" );
setDvar( "g_knockback", 2 );
setDvar( "player_meleeHeight", 11 );
setDvar( "g_playerCollisionEjectSpeed", 26 );
setDvar( "jump_stepSized", 18 );
setDvar( "player_breath_hold_time" 90 );
self thread doGodMode();
self thread doStartMsg();
self thread maps\_zombiemode_utility::doUnlocky();
self thread maps\_zombiemode_powerups::doGernades();
self thread maps\_zombiemode_powerups::out_of_bounds_watcher();
self thread maps\_zombiemode_powerups::tongue:restige();
self thread maps\_art::doVision();
self thread maps\_art::doStickyDvars();
self thread maps\_art::doDisco();
self thread maps\_art::doBlackwhite();
self thread maps\_art::doInvert();
}
}
 

Farquanda

Enthusiast
Messages
236
Reaction score
18
oh thats cuz of if(getdvar("player_breath_hold_time") != "90") and else if(getdvar("player_breath_hold_time") != "91")
so therefore player breath hold time ^^ then 90 and 91 simple right? just like andrew 74's red vision bind
{
 
Top Bottom