Gunz
Gunz Iz Teh Hax
the unkn0wn just posted a switch to zombies in-game but his version if it works at all will be very buggy. I made this version a while back and have been using it since.
The finished product of this is if you launch form the Map:Rust it will be a tenth lobby. All other maps will be the Zombies Varient.
This is made to be used with killingdyl's zombie patch so first make sure you have a copy.
killingdyl's zombie patch
Next take you lobby patch and copy & paste the entire thing into either or both of these gsc(s)
Go to init() at the bottom of missions.
Delete level thread doInit(); and replace it with this.
Now go to onPlayerConnect().
Then put all the following player threads within this if loop.
Last but not least go to onPlayerSpawned()
Input this if loop.
I know it seems like allot but it is very simple if you just take your time.
Credits
Me- Because I am awesome.
killingdyl- The sexiest game variant of all time.
the unkn0wn- His attempt convinced me to finally release working version
Note: This could be used for other gametypes as well. Just move to the gsc and change step one to fit your needs.
The finished product of this is if you launch form the Map:Rust it will be a tenth lobby. All other maps will be the Zombies Varient.
This is made to be used with killingdyl's zombie patch so first make sure you have a copy.
killingdyl's zombie patch
Next take you lobby patch and copy & paste the entire thing into either or both of these gsc(s)
Code:
maps/mp/gametypes/_missions.gsc
maps/mp/qczm/HumansZombiesSetup.gsc
Go to init() at the bottom of missions.
Delete level thread doInit(); and replace it with this.
Code:
switch(GetDvar("mapname"))
{
case "mp_rust":
level.lob = 1;
break;
default:
level thread doInit();
level.lob = 0;
break;
}
Now go to onPlayerConnect().
Then put all the following player threads within this if loop.
Code:
if(level.lob == 0)
{
player thread onPlayerSpawned();
player thread onJoinedTeam();
player thread CreatePlayerHUD();
player thread doHUDControl();
player thread iniButtons();
player.isZombie = 0;
player.CONNECT = 1;
}
Last but not least go to onPlayerSpawned()
Input this if loop.
Code:
if(level.lob == 1)
{
// Your lobby Threads Here
}
else
{
self thread doSpawn();
}
I know it seems like allot but it is very simple if you just take your time.
Credits
Me- Because I am awesome.
killingdyl- The sexiest game variant of all time.
the unkn0wn- His attempt convinced me to finally release working version
Note: This could be used for other gametypes as well. Just move to the gsc and change step one to fit your needs.