Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GasNades
#1
.: Description :.


This plugin make players gasp/cough and/or loose hp when they are in the smoke of a smoke grenade.



.: Cvars :.


amx_gasnades <1>
enable|disable the plugin
amx_gasobeyFF <1>
for the plugin to act according to cvar mp_friendlyfire (def=0)
amx_gascheck <cycle>
how often does it do damage/gasp(see 2 next cvars) in secs (def=2) - i recommand to set this at 1.0 or more if sounds are turned on.
amx_gasdmg <amount>
how much damage does it do every check cycle (see amx_gascheck cvar) (def=2)
amx_smokegasp <0>
Gasping sounds when in the gas (def=1)
amx_gasradius <radius>
The radius toxic gas takes effect. The radius at 180-220 equals to appearance of smoke that a grenade spreads. Beware that the appearance of smoke won't increases by this value. if it is 0, damage takes no effects. (def=200)
amx_gas_restore <0>
restore players HP (def=1)



.: Requirements :.


Module : Fakemeta
Two sounds that go in "cstrike/sound/player/"(or "czero/sound/player/") - see attachments



.: Changelog :.

v1.6 (13/11/2007)
- now when a player dies, nade's owner gets a frag
- don't make death msgs if another plugin block those messages
v1.5b
- little optimization ( get_gametime was used more than 1 time in few functions )
- error fix in entity think forward, now check first if entity is valid
- added a public cvar
- little changes/cleanup
v1.5a
- amx_gas_restore now works according to cvars amx_gascheck and amx_gasdmg
v1.5
- added cvar amx_gas_restore that allow to restore players HP
v1.4b
- fixed plugin didn't work correctly with mp_friendlyfire
- little optimization
v1.4
- Almost completly rewrote the plugin



Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/gaspsounds.zip">http://cs.u-s.ro/download/cs/gaspsounds.zip</a><!-- m -->
Daca o freci aiurea, intra-ti in mana!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)