1337 SS - Bots to zombies

A Config Script for Counter-Strike: Source

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending *--(TNT() points.
  • Post: Give *--(TNT() your thoughts on this Script.
  • Vote: Help *--(TNT() win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

190 lines | 11 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
//Welcome to TNT's Zombie script
//This script is in use at 24.128.140.90:27015
//Which is my CS:S server check it out!

//Instructions: For this script to become active
//on your server, you must add the line zombiescript.cfg
//to your server.cfg in your /cstrike/cfg foler and
//additionally this script must be placed in that same folder
//to disable this script, simply comment out the line you added
//to your server.cfg or delete the line alltogether.

//I recommend you also install this script on the CS:Source clients
//of any admins of your server in addition to on your own CS:Source
//client. To do this, copy this script to your CS:Source \cstrike\cfg
//folder and then add the line exec zombiescript.cfg to your
//autoexec.cfg in your cfg folder.

//You can name this script anything you want, but make sure the
//name of the script file and the name in your server.cfg file
//match.

//You don't need mani admin to use this script, but you will
//have more features and fun if you do have it installed.

//Unlike other zombie scripts, this script will not only prevent
//zombies from buying guns and using their default pistol, it will
//prevent zombies from using dropped guns they pick up. Note
//however that if you have mani_unlimited_grenades set to 1, bot
//zombies wil be able to use one HE grenade at the start of each
//round.

//This script can also be used in conjunction with the Counter-Strike
//Source Zombie Mod to utilize the mani shortcut commands. Delete the
//bot_add line under bot config to disable bot zombies.

echo
echo "*********************************"
echo "Initiating TNT's Zombie Script..."
echo "*********************************"
echo

echo "Setting server cvars..."
//Server cvars
mp_footsteps 1
mp_autoteambalance 0
mp_flashlight 1
mp_limitteams 13
mp_startmoney 16000
mp_c4timer 360
mp_spawnprotectiontime 8
echo "Done setting server cvars!"

echo "Setting up bot configuration..."
//Bot config
bot_add
bot_quota 13
bot_quota_mode fill
bot_difficulty 2
bot_chatter off
bot_auto_follow 0
bot_auto_vacate 1
bot_join_after_player 1
bot_defer_to_human 0
bot_allow_rogues 1
bot_walk 1
bot_join_team t
bot_eco_limit 16000
bot_knives_only
bot_allow_grenades 0
bot_all_weapons
bot_allow_grenades 0
bot_allow_pistols 0
bot_allow_sub_machine_guns 0
bot_allow_shotguns 0
bot_allow_rifles 0
bot_allow_snipers 0
bot_allow_machine_guns 0
echo "Done setting up bot configuration!"

//Custom commands (rcon) - remember to put rcon or ma_rcon before the command!

echo "Adding rcon shortcuts..."
alias zadd "bot_add_t"                              //Adds a zombie bot to the game
alias zkick "bot_kick"                              //Kicks all bots in game
alias ctadd "bot_add_ct"                            //Adds a CT bot to the game
echo "Done adding rcon shortcuts!"

//Custom commands (mani) - no need for rcon if script is added to client-side!

echo "Adding mani shortcuts..."
alias zslay "ma_slay #t"                            //Slays all zombies
alias Zslap "ma_slap #t"                            //Slaps all zombies
alias Zslap50 "ma_slap #t 50"                       //Slaps all zombies with 50 dmg
alias ztele "ma_teleport #t"                        //Only works from the client side
alias zfreeze "ma_freeze #t"                        //Freezes all zombies
alias zburn "ma_burn #t"                            //Burns all zombies
alias ztimebomb "ma_timebomb #t"                    //Turns all zombies into timebombs
alias zfreezebomb "ma_freezebomb #t"                //Turns all zombies into freezebombs
alias zfirebomb "ma_firebomb #t"                    //Turns all zombies into firebombs
alias zbeacon "ma_beacon #t"                        //Turns all zombies into beacons

alias glock "ma_give #ct weapon_glock"              //Gives all CTs Glock
alias usp "ma_give #ct weapon_usp"                  //Gives all CTs USP
alias p228 "ma_give #ct weapon_p228"                //Gives all CTs P228
alias deagle "ma_give #ct weapon_deagle"            //Gives all CTs Deagle
alias fiveseven "ma_give #ct weapon_fiveseven"      //Gives all CTs FiveSeven
alias elite "ma_give #ct weapon_elite"              //Gives all CTs Elites
alias m4a1 "ma_give #ct weapon_m4a1"                //Gives all CTs M4A1
alias ak47 "ma_give #ct weapon_ak47"                //Gives all CTs AK47
alias famas "ma_give #ct weapon_famas"              //Gives all CTs Famas
alias galil "ma_give #ct weapon_galil"              //Gives all CTs Galil
alias aug "ma_give #ct weapon_aug"                  //Gives all CTs AUG
alias sg552 "ma_give #ct weapon_sg552"              //Gives all CTs SG552
alias sg550 "ma_give #ct weapon_sg550"              //Gives all CTs SG550
alias g3sg1 "ma_give #ct weapon_g3sg1"              //Gives all CTs G3SG1
alias scout "ma_give #ct weapon_scout"              //Gives all CTs Scout
alias awp "ma_give #ct weapon_awp"                  //Gives all CTs AWP
alias mac10 "ma_give #ct weapon_mac10"              //Gives all CTs MAC10
alias tmp "ma_give #ct weapon_tmp"                  //Gives all CTs TMP
alias ump45 "ma_give #ct weapon_ump45"              //Gives all CTs UMP45
alias mp5navy "ma_give #ct weapon_mp5navy"          //Gives all CTs MP5Navy
alias p90 "ma_give #ct weapon_p90"                  //Gives all CTs P90
alias m249 "ma_give #ct weapon_m249"                //Gives all CTs M249
alias m3 "ma_give #ct weapon_m3"                    //Gives all CTs M3
alias xm1014 "ma_give #ct weapon_xm1014"            //Gives all CTs XM1014

alias 57mm "ma_give #ct ammo_57mm"                  //Gives all CTs 5.7mm pistol ammo
alias 9mm "ma_give #ct ammo_9mm"                    //Gives all CTs 9mm pistol ammo
alias 357sig "ma_give #ct ammo_357sig"              //Gives all CTs .357 SIG pistol ammo
alias 45acp "ma_give #ct ammo_45acp"                //Gives all CTs .45 ACP pistol ammo
alias 50ae "ma_give #ct ammo_50ae"                  //Gives all CTs .50 AE pistol ammo
alias 556mm "ma_give #ct ammo_556mm"                //Gives all CTs 5.56mm rifle ammo
alias 762mm "ma_give #ct ammo_762mm"                //Gives all CTs 7.62mm rifle ammo
alias 338mag "ma_give #ct ammo_338mag"              //Gives all CTs .338 Magnum rifle ammo

alias hegrenade "ma_give #ct weapon_hegrenade"      //Gives all CTs HEgrenade
alias smokegrenade "ma_give #ct weapon_smokegrenade"//Gives all CTs Smokegrenade
alias flashbang "ma_give #ct weapon_flashbang"      //Gives all CTs Flashbang
alias knife "ma_give #ct weapon_knife"              //Gives all CTs Knife
alias c4 "ma_give #ct weapon_c4"                    //Gives all CTs C4 Bomb

alias kevlar "ma_give #ct item_kevlar"              //Gives all CTs kevlar
alias assaultsuit "ma_give #ct item_assaultsuit"    //Gives all CTs an assaultsuit
alias hostage "ma_give #ct hostage_entity"          //Spawns a hostage near all CTs [EXPERIMENTAL!]

echo "Done adding mani shortcuts!"

//Misc.

echo "Adding misc. shortcuts..."

alias version "echo *******************************************; echo  - TNT's Zombie Script Version 1.1.6 :D- ; echo *******************************************"

alias respawndead "ma_cexec #dead say respawn; ma_cexec #dead zombie_respawn; ma_cexec #dead say !zspawn"

alias admins "ma_admins"

alias players "ma_users

echo "
Done adding misc. shortcuts!"

echo "
Writing in-game help..."

alias help1 "
echo **Rcon Commands**; echo zadd - Adds a zombie bot to the game; echo zkick - Kicks all bots in game; echo ctadd - Adds a CT bot to the game; echo **Mani Commands**; echo zslay - Slays all zombies; echo zslap - Slaps all zombies; echo zslap50 - Slaps all zombies with 50 dmg; echo ztele - teleports all zombies to the saved location from ma_saveloc, does not work thru Rcon unless xyz coordinates are provided following ztele; echo zfreeze - Freezes all zombies; echo zburn - Burns all zombies; echo ztimebomb - Turns all zombies into timebombs; echo zfreezebomb - Turns all zombies into freezebombs; echo zfirebomb - Turns all zombies into firebombs; echo zbeacon - Turns all zombies into beacons"

alias help2 "
echo **Weapon Commands**; echo glock - Gives all CTs a Glock pistol; echo usp - Gives all CTs a USP pistol; echo p228 - Gives all CTs a P228 pistol; echo deage - Gives all CTs a Deagle pistol; echo fiveseven - Gives all CTs a FiveSeven pistol; echo elite - Gives all CTs Elite pistols; echo m4a1 - Gives all CTs an M4A1 assault rifle; echo ak47 - Gives all CTs an AK47 assault rifle; echo famas - Gives all CTs a Famas assault rifle; echo galil - Gives all CTs a Galil assault rifle; echo aug - Gives all CTs an AUG assault rifle; echo sg552 - Gives all CTs an SG552 assault rifle"

alias help3 "
echo **Weapon Commands Cont'd**; echo sg550 - Gives all CTs an SG550 auto sniper; echo g3sg1 - Gives all CTs a G3SG1 auto sniper; echo scout - Gives all CTs a Scout sniper; echo awp - Gives all CTs an AWP sniper; echo mac10 - Gives all CTs a MAC10 submachine gun; echo tmp - Gives all CTs a TMP submachine gun; echo ump45 - Gives all CTs a UMP45 submachine gun; echo mp5navy - Gives all CTs an MP5 Navy submachine gun; echo p90 - Gives all CTs a P90 submachine gun; echo m249 - Gives all CTs an M249 machine gun; echo m3 - Gives all CTs an M3 shotgun; echo xm1014 - Gives all CTs an XM1014 auto shotgun"

alias help4 "echo **Ammo Commands**; echo 57mm - Gives all CTs a complete supply of 5.7mm pistol ammo; echo 9mm - Gives all CTs a complete supply of 9mm pistol ammo; echo 357sig - Gives all CTs a complete supply of .357 SIG pistol ammo; echo 45acp - Gives all CTs a complete supply of .45 ACP pistol ammo; echo 50ae - Gives all CTs a complete supply of .50 AE pistol ammo; echo 556mm - Gives all CTs a complete supply of 5.56mm rifle ammo; echo 762mm - Gives all CTs a complete supply of 7.62mm rifle ammo; echo 338mag - Gives all CTs a complete supply of .338 Magnum rifle ammo"

alias help5 "echo **Misc. Commands**; echo hegrenade - Gives all CTs an HE Grenade; echo smokegrenade - Gives all CTs a Smoke Grenade; echo flashbang - Gives all CTs a Flashbang Grenade; echo knife - Gives all CTs a Knife; echo c4 - Gives all CTs a C4 Bomb; echo kevlar - Gives all CTs kevlar armor; echo assaultsuit - Gives all CTs an assault suit; echo hostage - Spawns a hostage near all CTs [experimental, has been known to crash some servers, use at your own risk]"

alias help6 "echo **Misc. Commands Cont'
d**; echo version - Displays the version of the script; echo players - Displays a list of all players; echo admins - Displays a list of all admins; echo respawndead - Executes a variety of respawn commands on dead clients using mani client execute"

echo "
Done writing in-game help!"
echo
echo "
If you are reading this, TNT says his script was executed successfully!"
echo
echo "
For the different help sections, type help1, help2, and help3 in your console
echo "if you have this installed in your CS:Source client."
echo
echo "If you have this script only installed on your server, make sure you type"
echo  "rcon before any command from this script including the help commands."

echo
echo "*********************************"
echo "Done Execing TNT's Zombie Sctipt!"
echo "*********************************"
echo
********************* TNT's Zombie Script v1.1.6 ********************* Instructions: For this script to become active on your server, follow the instructions below 1. Copy and paste the script code into notepad or another plain text editor. 2. Save the script as zombiescript.cfg (make sure it is in the cfg file format and not .cfg.txt). 3. Move the zombiescript.cfg script file into your server's /cstrike/cfg directory. ** It will be \cstrike\cfg for Windows servers** 4. Add the following line into your server's server.cfg file: exec zombiescript.cfg *Optional* Add the script to the client side 5. Copy the script to your CS:S game's \cstrike\cfg folder. 6. Add the following line into your game's autoexec.cfg file: exec zombiescript.cfg To disable this script, simply comment out the line you added to your server.cfg/autoexec.cfg or delete the line all together. You don't need to delete the script from your /cstrike/cfg folder, although that would work. Features: * Turns terrorist bots into zombies (duh). * Not only prevents t bots from buying guns and using their glock, but also prevents them from using dropped weapons. * Adjustable difficulty, adjustable quantity of bots. * Bots will not flood the server and prevent humans from joining * In-game script help (type help1, help2, help3, etc. in the console) * No need for Rcon if script is also added to clients who have mani admin privileges * Goes great with various server-side skins for the zombies * Also goes great with the Counter-Strike: Source Zombie Mod Feel free to edit this script in whatever way you feel necessary for your server. If you do redistribute it in any way PLEASE credit me as the original author. Thanks. Changelog: v1.1.6: Fixed inconsistencies in help section (2nd pub release) v1.1.5: Fixed and expanded respawndead command v1.1.4: Added kevlar+assaultsuit entity commands v1.1.3: Initial public release

Posts

  • 8y
    fylleskadan avatar
    Member Joined 8y
    What code??
    Bananite
  • 9y
    remis avatar
    remis Offline
    Member Joined 9y
    1212
    Bananite
  • 9y
    *--(TNT() avatar
    *--(TNT() Offline
    Member Joined 9y
    796 points Ranked 5772nd
    Posted by gerronimo

    Doood i dont got a server soo...
    i was wondering how to use this in "create Server" mode


    copy and paste the code to your counter-strike: source's \cstrike\cfg\autoexec.cfg file
    .22LR < .50 BMG avatar
    Mantra
    .22LR < .50 BMG
  • 9y
    gerronimo avatar
    gerronimo Offline
    Member Joined 10y
    Doood i dont got a server soo...
    i was wondering how to use this in "create Server" mode
    Bananite
  • 9y
    *--(TNT() avatar
    *--(TNT() Offline
    Member Joined 9y
    796 points Ranked 5772nd
    To prevent people from joining t, change bot_auto_vacate to 0, bot_quota to 8, and make sure mp_limitteams is lower than bot_quota. You can choose your own bot_quota and mp_limitteams depending on how many slots your server has.

    you install server side models through mani admin skins.
    http://www.fpsbanana.com/tuts/2885
    http://www.fpsbanana.com/tuts/2446
    .22LR < .50 BMG avatar
    Mantra
    .22LR < .50 BMG
  • 9y
    disturbed9411 avatar
    Member Joined 9y
    164 points Ranked 20358th
    How do you change the models and how do you prevent people from joining T?

    10/10

    1337, working on M4PP3R

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
*--(TNT()
Unknown

Submitter

*--(TNT() avatar
*--(TNT() Offline
Member Joined 9y
796 points Ranked 5772nd

*--(TNT()
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Attributes

Stats

Posts
6
Views
17,837
Date Added
9y
Date Modified
9y
bcp.crwdcntrl.net tracking pixel