[REL] Zday, a Zombie Infestation Script

Everything else about resources.

Moderators: Scripting Moderators, Moderators, MTA Team

Re: [REL] - [WIP] Zday, a Zombie gamemode

Postby Slothman on Mon Jul 13, 2009 5:49 am

Zday, A Zombie Infestation Script

DOWNLOAD HERE (YOU WILL ALSO NEED A COMPATABLE MAP LISTED BELOW)
YOUTUBE VID

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)

Instructions:

Players:
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"

Server:
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.

Map Makers:
There are several things you need to add to your map to get it infested with the living dead.

Zombie limit:
In the meta.xml file for your map, add this line in the settings part:
  1. <setting name="#Zlimit" value="[##]" />

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.

Zombie Spawns
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:

  1. <Zombie_spawn id="Zombie_spawn (1)" dimension="0" interior="0" posX="##" posY="##" posZ="##" rotX="0" rotY="0" rotZ="##" />


Boards
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.

eg:
  1. <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

Other features
-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!)
User avatar
Slothman
Global Moderator
 
Posts: 3036
Joined: Sat Mar 15, 2003 7:27 pm
Location: commuting between Vice, Liberty, and San Andreas
Gang: VCK

Re: [REL] Zday, a Zombie Infestation Script

Postby eAi on Mon Jul 13, 2009 9:19 am

Is it really 'Zombie_spawn' or 'zombie_spawn' - elements names are generally lowercase...

Is there an EDF for placing spawns?
eAi
Godfather (The MTA Team)
 
Posts: 2904
Joined: Thu May 08, 2003 12:25 pm

Re: [REL] Zday, a Zombie Infestation Script

Postby Slothman on Mon Jul 13, 2009 10:15 am

I used a capital Z, as im not so anal about stuff that I noticed things not being capitalized. and yes, theresd an edf, zombie spawns are represented by cj with a skull over his head.
User avatar
Slothman
Global Moderator
 
Posts: 3036
Joined: Sat Mar 15, 2003 7:27 pm
Location: commuting between Vice, Liberty, and San Andreas
Gang: VCK

Re: [REL] Zday, a Zombie Infestation Script

Postby Lordy on Tue Jul 14, 2009 8:47 am

As you went afk from irc...
I think this would go pretty well as a zombie skin now..
http://i299.photobucket.com/albums/mm28 ... s/temp.png

Would need to replace skin id 280
lapd1.zip
User avatar
Lordy
Pee-Wee
 
Posts: 289
Joined: Fri Apr 11, 2008 4:31 am

Re: [REL] Zday, a Zombie Infestation Script

Postby 50p on Tue Jul 14, 2009 9:17 am

Lordy wrote:As you went afk from irc...
I think this would go pretty well as a zombie skin now..
http://i299.photobucket.com/albums/mm28 ... s/temp.png

Would need to replace skin id 280
lapd1.zip

Dirty him more. Look at my clown on the previous page.
User avatar
50p
Scripting Section Moderator
 
Posts: 2846
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [REL] Zday, a Zombie Infestation Script

Postby Lordy on Tue Jul 14, 2009 12:57 pm

Okee.. Is this better now?
Image
User avatar
Lordy
Pee-Wee
 
Posts: 289
Joined: Fri Apr 11, 2008 4:31 am

Re: [REL] Zday, a Zombie Infestation Script

Postby 50p on Tue Jul 14, 2009 2:01 pm

Yes, but his face still looks too nice for a handsome zombie :D Also, put some darker blood on him so that blood looks a bit dried and don't forget about his back (if you haven't done anything to his back yet).
User avatar
50p
Scripting Section Moderator
 
Posts: 2846
Joined: Fri Jan 19, 2007 5:55 pm
Gang: Lua Masters :P

Re: [REL] Zday, a Zombie Infestation Script

Postby robhol on Tue Jul 14, 2009 2:21 pm

You could also try doing their skin tone more pale and somewhat greenish. Zombies don't have suntans, do they. :mrgreen:
robhol
Global Moderator
 
Posts: 2123
Joined: Sat May 17, 2008 9:42 am
Gang: Full Metal Jacket

Re: [REL] Zday, a Zombie Infestation Script

Postby Slothman on Tue Jul 14, 2009 5:33 pm

i think it looks okay. like hes a very fresh kill, very "return of the living dead" style.

heres a few images of different zombie styles that might inspire people:
Image
notice the mouth? like their lips have been torn off from the force of them eating flesh.

Image Image
early romero zombies were all blue, with damaged parts. might look a little weird, but it works. a hari krishna zombie would be pretty cool.

Image
if someone made a fido, it would be awesome.

Image
one of the most famous zombies ever, tarman. (from the return of the living dfead series)
User avatar
Slothman
Global Moderator
 
Posts: 3036
Joined: Sat Mar 15, 2003 7:27 pm
Location: commuting between Vice, Liberty, and San Andreas
Gang: VCK

Re: [REL] Zday, a Zombie Infestation Script

Postby Slothman on Mon Jul 27, 2009 8:02 pm

UPDATE (and thread bump :P)

ZOMBIES NOW SOUND LIKE ZOMBIES!!
thats right, a recent update in the nightly release of mta allows me to silence those annoying ped quotes, and add my own sounds. so now instead of mocking your wardrobe, they let out a monstrous moan when they see you.

other updates:
-improved zombie ai
-removed blips that show zombie locations (deemed unneccesary)
-added new skin by lordy

crashing clients is still a problem that im trying to figure out, please be patient with having to restart on occasion. hopefully this won be an issue much longer.

I AM STILL LOOKING FOR HELP WITH SKINS, any submissions are greatly appreciated!!

also if your working on a map for ANY gamemode, please consider adding zombie spawnpoints to it! it doesnt do any harm to the map, and server admins dont need to have the zombie script, but its there if they do.
User avatar
Slothman
Global Moderator
 
Posts: 3036
Joined: Sat Mar 15, 2003 7:27 pm
Location: commuting between Vice, Liberty, and San Andreas
Gang: VCK

Re: [REL] Zday, a Zombie Infestation Script

Postby Lordy on Tue Jul 28, 2009 2:45 am

Err. I didn't give you the new skin, now did I? The one that I did post wasn't the one at the last screenie.
User avatar
Lordy
Pee-Wee
 
Posts: 289
Joined: Fri Apr 11, 2008 4:31 am

Re: [REL] Zday, a Zombie Infestation Script

Postby Slothman on Tue Jul 28, 2009 2:55 am

thanks, ill update it along with some other new skins ive got. i appreciate the help, its shaping up to be a pretty good collection of zombies. im also gonna start renaming the txd files to the model id number, easier to keep track that way.
User avatar
Slothman
Global Moderator
 
Posts: 3036
Joined: Sat Mar 15, 2003 7:27 pm
Location: commuting between Vice, Liberty, and San Andreas
Gang: VCK

Re: [REL] Zday, a Zombie Infestation Script

Postby gamer_star on Tue Jul 28, 2009 1:02 pm

Video This video is not available in your country due to copyright restrictions. :? turkey
gamer_star
Civilian
 
Posts: 23
Joined: Tue Jun 03, 2008 10:55 am

Re: [REL] Zday, a Zombie Infestation Script

Postby Lordy on Tue Jul 28, 2009 1:04 pm

Yup, youtube sucks :P Estonians can't see it either
User avatar
Lordy
Pee-Wee
 
Posts: 289
Joined: Fri Apr 11, 2008 4:31 am

Re: [REL] Zday, a Zombie Infestation Script

Postby Killeralec99 on Wed Jul 29, 2009 1:01 am

Image
Found this is the GTA3.img file
Killeralec99
Civilian
 
Posts: 20
Joined: Sun Jul 19, 2009 1:39 am
Gang: 33 Customs

PreviousNext

Return to Resources

Who is online

Users browsing this forum: No registered users and 3 guests