| XxKpAznGuyxX |
01-27-2005 20:58 |
Stalkermode v2.06 (Scarzzurs)
1 Attachment(s)
Ported on the request of http://forums.alliedmods.net/showthread.php?t=9431
http://djeyl.net/forum/index.php?showtopic=14610
Code:
become a stalker/get more info type stalkermenu in console/chat
admins can also force players into stalkers/back again by using amx_stalk and amx_unstalk. You can see the names of stalkers with the who_is_stalker command. The command mylevel shows your level
These cvars can control/adjust the plugin:
sv_stalker (toggles this plugin on/off)
sv_stalkershow (toggles the the textmsg that tells when people use stalk/unstalk and who_is_stalker command on/off)
sv_stalkernohs (toggles whether stalkers take damage from headshots)
sv_stalkerhealth (how much health stalkers spawn with)
sv_stalkerschangetime(players should change from/to stalker within this much time after round starts(is not required for new players)
sv_stalkerrunspeed (how fast they can run)
sv_stalkerselfallowed (toggles whether clients can turn themself into stalkers)
sv_stalkertext (toggles whether players should get a message that tell about this plugin every round)
sv_stalkernocrash (if you set this to 1 it will stop the effects that can crash the server when some he-spam)
mp_grenadeprotection (I stole this from war3mod made by spacedude, it stops he-spammers which can crash this plugin)
sv_stalkerchance (the possibility that you will be a stalker the next round in %, 0 means off)
sv_stalkerchangemodel (toggles whether stalkers should look like vip's, note that this cause strange bot behavior)
sv_stalkerxp (toggles xp gaining on/off)
sv_stalkerinvisibility (number between 0 and 255, how transparent people should be)
If sv_stalkershow is 1, you can add a sound called stalker.wav in cstrike\sound\stalker\ and the clients will download it and will appear locational when a player turns himself into a stalker.
The reason why i made both mp_grenadeprotection and sv_stalkernocrash, is that sv_stalkernocrash will stop crashing even if you use ie. FreeGuns
version 2.06
Version History:
2.06 added cvar sv_stalkerguns (can stalkers use guns?)
2.05 fixed speed bug and added cvar sv_stalkerinvisibility
2.03 added message to info players when they level up, sv_stalkershow must be set to 1
2.02 fixed the same bug again!
2.01 fixed huge bug
2.00 added cvar sv_stalkerxp
added xp-system (needs some tweaking)
1.90 added cvar sv_stalkerchangemodel
1.85 added cvar sv_stalkerchange
1.80 changed/fixed stuff in the source, nothing special
1.75 added amx_stalk/amx_unstalk thx to AssKicR
added sv_stalkerselfallowed
1.60 simplified the soucecode
This plugin was made by Scarzzurs and I ported it for Amxmod X v1.0
Special Thanks to Johnjg75 for helping me with the functions and the mismatch error while compiling!
***I haven't tested it yet*** so if theres anyone that can, test it for me please do so.... or you people can wait until tomorrow or Saturday when I get test it. but there shouldn't be any problems since Johnjg75 looked over the code!
|