Raised This Month: $12 Target: $400
 3% 

Zombie Mod 2.0.1


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
apophis
Junior Member
Join Date: Aug 2004
Old 09-11-2004 , 02:43   Zombie Mod 2.0.1
#1

This script turns the game into Humans vs. Zombies. Both are played by people on the server. Zombies move slow, have a lot of health, have nightvision, and infect other people by attacking them. The round is over when everyone is a zombie or all the zombies die.

Quote:
commands:
amx_zombies - toggles zombie mod. optional 1 or 0 to enable/disable.
say /zombies - tells how many zombies there are
say /fixcontrols - fixes broken controls for zombies

cvars:
amx_zombie_health - health of zombies. first zombie gets 2x health (default: 640)
amx_zombie_speed - maxspeed of zombies. normal human maxspeed is 320.0 (default: 140.0)
amx_zombie_mode - Don't set this. The amx_zombie command does some stuff before changing this.
It is mainly to see if zombie mode is enabled on my server.
amx_zombie_hitzones - hitzones for zombies. 2 head 6 head+chest 14 head+stomach+chest full list in fun.inc (default: 6)
amx_zombie_model - whether or not to change player to a zombie model when they turn undead. hitboxes can't be changed in cs so they aren't in the right places on the zombie model. (default: 1)
amx_zombie_defaultnvg - sets whether to use green nvg for zombies or not and instead serverside nightvision that can flicker during lag (default: 1)
amx_zombie_nvcolor - color of serverside nightvision for zombies in r g b format. only has effect when defaultnvg is 0 (default: 255 0 0)
amx_zombie_specnvcolor - nightvision color for spectators. only has effect when specnv is 1 (default: 10 100 0)
amx_zombie_randomspawn - random spawn locations (random locations are gathered in the first few rounds) (default: 1)
amx_zombie_specnv - nightvision for spectators (default: 1)
amx_zombie_custspecnv - custom colored server side spectator nightvision (default: 0)
amx_zombie_lightning - sets lights to kind of be like lightning (default: 1)
amx_zombie_brainvision - human players give off this ring thing to zombies (default: 0)
amx_zombie_infecttime - time it takes for a person that's infected to turn into a zombie (default 0.1)
amx_zombie_flashlight - toggles serverside flashlight (default: 1)
amx_zombie_vote - enables or disables vote_zombie say command (default: 1)

misc:
One person randomly turns into a zombie near the start of the round
Zombies get nightvision and humans don't
The game is HUMANS vs ZOMBIES.
The round ends when all the zombies are dead or everyone is a zombie
Zombies cannot use weapons and humans can only use pistols/shotguns/SMGs
This mod will work on any map, not just zombie maps. The only kind of map it won't work right on are maps with flying vehicles AND random spawns turned on. The best kinds of maps for zombie mod are maps with a lot of corners and small spaces for zombies to hide in.

*** THE RESTMENU PLUGIN MUST BE ENABLED TO RESTRICT NVGS FOR HUMANS ***

The ENGINE, CSTRIKE, and FUN modules must be enabled to use this plugin.

Changelog
Code:
2.0.1
- remove fakemeta requirement (from some test stuff)
2.0
- make zombies show up as terrorists by request
- added more messages by request
- added amx_zombie_customspecnv to use custom server sided nightvision instead of regular nightvision for spectators
- removed flashlights for zombies again
- removes c4 when dropped
- removes bomb site
- added vote_zombie say command to start a vote, cvar amx_zombie_vote enables/disables vote
- increased buyzone
- zombies have no knockback
- changed flashlights
1.6.10
- fix for files in restriction menu
- changed flashlight to PAS message
- changed score stuff to broadcast message
- added another check to see if zombies are living
- fixed first zombie killing self
- added message on team select
- went back to old way of ending round
1.6.9
- changed some hitzone stuff
- amx_zombie_flashlight cvar
- changed some other round ending stuff and random zombie at start stuff
- fixed blank say_team
- changed ZombieMod cvar to show status of mod
1.6.8
- zombie brain vision (amx_zombie_brainvision) (kinda lame)
- amx_zombie_infecttime cvar
- fixed flashlight turning off
- fixed c4 dropping
1.6.7
- fixed random zombie not being picked after no players on server
- made people not turn into zombie after round over
- fixed client command exploit
- changed weapon handling
- changed radar blocking
1.6.6
- made changing amx_zombie_mode cvar not break things
- made it so zombie mod can still be on with less than 2 players
1.6.5
- only kills one person instead of an entire team
1.6.4
- made flashlight stay on after new round after turning into a zombie
- sets zombies maxspeed more often
- fixed some invalid entity stuff
- defaulted amx_zombie_lightning to 1
- made sure random spawns are on ground and not in sky/water
- decreased zombie nv range
- fixed deathmessages
- added team damage again
1.6.3
- added amx_zombie_nvcolor and amx_zombie_specnvcolor cvars
- renamed amx_zombie_nvg to amx_zombie_defaultnvg
- increased random spawn distance
- set decay on flashlight
- added /fixcontrols
- random spawn better detects crouching and swimming
1.6.2
- amx_zombie_lightning cvar
- fixed nightvision
1.6.1
- amx_zombie_specnv cvar
 - only knives turn people into zombies
1.6
- random spawns
1.5
- amx_zombie_nvg cvar
1.4
- serverside red nightvision
- message for disabling zombies when too few players
- spectators have yellow nightvision
- amx_zombie_lights cvar
1.3
- amx_zombie_model cvar
1.1
- kills hostages on start
- resets cvars to old values
- amx_zombie_hitzones cvar
1.0
- first release
Attached Files
File Type: sma Get Plugin or Get Source (zombie.sma - 11752 views - 48.2 KB)
apophis is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 09-11-2004 , 02:45  
#2

hell yea
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
yikomaka
Member
Join Date: May 2004
Old 09-11-2004 , 02:50  
#3

why is the .sma written in wordpad...
yikomaka is offline
Lasershock
Member
Join Date: Jul 2004
Old 09-11-2004 , 06:32  
#4

muahahahahhah cool but will it work with bots? hmm


EDIT: online compiler doesnt work
Lasershock is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 09-11-2004 , 14:08  
#5

thats cuz he didnt finish it
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
apophis
Junior Member
Join Date: Aug 2004
Old 09-11-2004 , 15:13  
#6

Quote:
Originally Posted by johnjg75
thats cuz he didnt finish it
It works fine, it has been running on my server for weeks. The web compiler for it wasn't working because it was using things from AMXX 0.20
apophis is offline
BAILOPAN
Join Date: Jan 2004
Old 09-12-2004 , 17:33  
#7

I have moved the flame war from this thread into Trash.

Please take it up on another forum. If you believe there are legitimate copyright issues, you may private message me.

Anyone else contributing to this flame will be banned as I tire of it.
__________________
egg
BAILOPAN is offline
syphilis
Member
Join Date: Sep 2004
Old 09-13-2004 , 20:26  
#8

I'm glad you released this plugin, It's been really fun on your server
syphilis is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 09-13-2004 , 20:35  
#9

lets make a deal, since there are two of the mods, rename it to Name's Zombie Mod, ours is nearing completion(testing phase)
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Votorx
Senior Member
Join Date: Jun 2004
Old 09-14-2004 , 11:35  
#10

I don't see what's wrong with just giving him credit for coming up with the Zombie Mod idea.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode