Napalm Nades
Description
This plugin turns one of the default grenades into a napalm bomb that can set players on fire. Basically a CS port of the "fire grenades" I originally developed for Zombie Plague, at the request of some people and since there were no similiar plugins around. Have fun!
Requirements- Mods: Counter-Strike 1.6 or Condition-Zero
- AMXX: Version 1.8.0 or later
Installation- Extract .amxx file to your plugins folder, and add its name to plugins.ini
- Extract flame.spr to the "sprites" folder on your server
- To change models or sounds, open up the .sma with any text editor and look for the customization section. When you're done, recompile.
Commands- say /napalm - Buy a napalm grenade (when override is off)
CVARS- napalm_on <0/1> - Enable/Disable Napalm Nades
- napalm_affect <1/2/3> - Which nades should be napalms (1-HE // 2-FB // 3-SG)
- napalm_team <0/1/2> - Determines which team can buy/use napalm nades (0-both teams // 1-Terrorists only // 2-CTs only)
- napalm_override <0/1> - If enabled, grenades will automatically become napalms without players having to buy them
- napalm_price <1000> - Money needed to buy a napalm (when override is off)
- napalm_buyzone <0/1> - If enabled, players need to be in a buyzone to purchase a napalm (when override is off)
- napalm_carrylimit <1> - How many napalms can be carried at once
- napalm_radius <240> - Napalm explosion radius
- napalm_hitself <0/1> - If enabled, napalms will also affect their owner
- napalm_ff <0/1> - If enabled, napalms will also affect teammates
- napalm_spread <0/1> - If enabled, players will be able to catch fire from others when they touch
- napalm_keepexplosion <0/1> - Wether to keep the default CS explosion
- napalm_duration <5> - How long the burning lasts in seconds
- napalm_damage <2> - How much damage the burning does (every 0.2 secs)
- napalm_cankill <0/1> - If set, burning will be able to kill the victim
- napalm_slowdown <0.5> - Burning slow down, set between: 0.1 (slower) and 0.9 (faster). Use 0 to disable.
- napalm_screamrate <20> - How often players will scream when on fire (lower values = more screams). Use 0 to disable.
Changelog
Code:
- Version: 1.3a (Mar 15, 2009)
* Code optimized (+CVARs now cached at round start)
- Version: 1.3 (Feb 17, 2009)
* Added ability to carry multiple napalms at once (+CVAR)
- Version: 1.2 (Oct 05, 2008)
* Added a few cvars that allow more customization
* Optimized the code a bit
* Fixed a bug where buying 2 napalms too quick would sometimes result in the second acting as a normal nade
- Version: 1.1c (Aug 26, 2008)
* Fixed possible bugs with plugins that change a player's team after throwing a napalm nade
- Version: 1.1b (Aug 23, 2008)
* Optimized bandwidth usage for temp entity messages
- Version: 1.1 (Aug 15, 2008)
* Grenades now explode based on their pev_dmgtime (means the plugin is now compatible with Nade Modes)
* Changed method to identify napalm nades when override is off
* Fire spread feature now fully working with CZ bots
- Version: 1.0 (Jul 26, 2008)
* First release