DOWNLOAD HERE (YOU WILL ALSO NEED A COMPATABLE MAP LISTED BELOW)
Ever play a game and think, "this level would be pretty fun to battle zombie hoards in." ? If you have, then we are totally on the same wavelength. I present to those people, Zday. This script allows map designers to position zombie spawnpoints througout their map. If a server decides to run the zombie script, then players will not only find themselves battling eachother, but an army of the undead as well.
Before running this script, I should warn you that it is known to cause clients to crash. this is unresolved at this time, and an update will be made once its fixed.
List of maps that use this script (there may be more, post if you know of any)
Ztown - entire town of Palamino creek (CDM)
Hideout - custom city map (CTF)
Zmall - large indoor mall (CDM or STEALTH)
Zcrypt - an underground crypt (DEATHMATCH)
Zbase - Sanctuary for the wealthy that's been overrun (CDM)
DryDam - a dried up dam (STEALTH)
green valley - a valley in the woods (STEALTH)
Berlin 1945 - berlin in 1945 (STEALTH)
Zcity - a small Zombie city (CDM)
To be able to create barriers of wood to create temporary barriers between you and the undead, you need to bind a key to the command "construct" in the console.
eg: "bind r construct"
To enable this script, start the zombie resource before starting the map by using the gamemode/mapmanager. You will find at the top of the zombie_server.lua file a setting to control the absolute maximum number of zombies. set this to whatever you feel is good, the default is 70, which is plenty for most people.
There are several things you need to add to your map to get it infested with the living dead.
In the meta.xml file for your map, add this line in the settings part:
where the ## is the number of zombies you want in your map at the maximum. If you set your limit higher than the server allows, it will only go up to the server settings.
Add as many zombie spawns as possible, place them in corners, in doors, on roofs, anywhere you think a zombie might pop out of. The more spawnpoints the better, because you dont want all the zombies to keep popping out of the same spot.
In the map editor, load the definition for zombies. you will then have the option in the lower left corner to create a zombie spawnpoint, which looks like cj with a skull over his head. in the map file, the syntax will look like this:
- <Zombie_spawn id="Zombie_spawn (1)" dimension="0" interior="0" posX="##" posY="##" posZ="##" rotX="0" rotY="0" rotZ="##" />
Take any destructable object you want and place it in the map (usually across a door or entrance) afterwards, you need to edit the .map file, on the objects you want to be able to rebuild, add this: purpose="zombiewood" to the object.
- <object id="object (DYN_F_WOOD_3) (24)" dimension="0" interior="0" model="1418" posX="2323.6481933594" posY="69.014320373535" posZ="9.8264751434326" rotX="0" rotY="89.999938964844" rotZ="89.999938964844" purpose="zombiewood" />
This script is written to be strictly controlled by the map, so it should be compatible with any gamemode in existance (though i would not reccomend it for vehicle based gamemodes such as race, because cars move too fast for zombies to be any effect) If you are updating a non-zombie infested map to be compatible with this script theres no need to name it differently because the server itself can turn the script off, but if you prefer to keep the versions seperate, i would reccomend adding a "_Z" to the map name, (ie: sth-sewers would become sth-sewers_Z)
That's all the important stuff, you can go play now, or read on for a bit more detailed info.
Zombie AI features (what do they do?)
-wander around while idle
-punch through breakable objects to chase victims
-jump and climb ledges to get to victims
-chase players around corners (easier said than coded! )
-spawn close to players, but not too close
-stay withing a distance of players to keep the zombies more densely packed
-eat players after killing them
-attack damage increase
-zombies wearing helmets cannot be headshot
-get alerted to victims' presence from gunfire or other nearby zombies
-can grab players from behind and bite their neck
-Hud display showing how many zombies who have your brains on their menu
-Board up doors to block the undead from getting through
-custom skins (more to be added, please help if your an artist!)