View Single Post
Author Message
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-18-2008 , 02:39   Gas 1.0.107 Updated 11 October 2009
Reply With Quote #1

This is the SourceMod port of my Gas plugin (originally for ES on DoDS and CSS).

The plugin features:
  • Damage, time, color and many features now controllable via cvar
  • Unlike like the ES version, players can now fire multiple gas clouds (the ES version could only fire one cloud at a time)
  • Random colored gas....OK I was bored...
Installation
  • Requires SM 1.2
  • Copy sm_gas.smx to addons/sourcemod/plugins
  • Unzip the sound file gas.zip and add the folder to your server's sound directory - this is the gas dropping sound. Ensure your server is not sv_pure 2.
  • Add the sounds to your Fast download server
Commands
!gas in chat (sm_gas in console)
Calls for a gas attack.


Configuration
  • sm_gas_amount 1
    default: 1
    The number of gas attacks per player at spawn
  • sm_gas_red 180
    default 180
    The amount of red in the gas cloud
  • sm_gas_green 210
    default: 210
    The amount of green in the gas cloud
  • sm_gas_blue 0
    default: 0
    The amount of blue in the gas cloud
  • sm_gas_random 1
    default: 0
    Each gas attack is a different color....
  • sm_gas_damage 200
    default: 200
    The amount of damage a gas attack will inflict
  • sm_gas_admins 0
    default: 0
    When enabled, only admins can use the command (requires Admin Slay permissions)
  • sm_gas_time 18.0
    default: 18.0
    The length of time the gas remains after an attack. Must be greater than 8.0.
  • sm_gas_enabled 1
    default: 1
    Turn on and off the gas plugin per map
  • sm_gas_delay 20.0
    default: 20.0
    The length of time after spawning before gas becomes available to players
  • sm_gas_showmessages 1
    default: 1
    Show messages on player screens
  • sm_gas_radius 100
    default: 50
    Radius of the gas - try to coordinate with the damage factor.
  • sm_gas_launchmethod 1
    default: 0
    0 = Gas does not arrive until dropped by plane/mortar - about 6 seconds
    1 = Gas instantly explodes where crosshairs are pointed
Changelog
Version 1.0.100
SourceMod release.

Version 1.0.103
Added cvar to enable/disable gas
Added delay to prevent some spawn killing

Version 1.0.104
Allowed gas to work better with Damage cvar in FF off.

Version 1.0.105
Added some cvars allowing more control over the gas

Version 1.0.106

Fixed small client bug

Version 1.0.107

Fixed Admin root permissions
Changed point_hurt to that its size reflects the size of the cloud

Notes
Has been tested in DoDS and TF2
Attached Files
File Type: zip gas.zip (115.4 KB, 2163 views)
File Type: sp Get Plugin or Get Source (sm_gas.sp - 3494 views - 14.4 KB)
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org

Last edited by strontiumdog; 10-12-2009 at 00:11.
strontiumdog is offline