INSTAGIB
Scouts, snipers only.
sm_cvar tf_max_voice_speak_delay 0
Thanks to:- CrimsonGT - weapon ROF code, blocking zoom and probably some other stuff
- bl4nk - stripping weapons, GiveNamedItem and ForceStalemate
- strontiumdog - changing a player's FOV
- r5053 - help with SQL functions
- Nalidor - Late loading support and physprop code amongst other things
- Caesium - Bunnyhopping code
- Gibsworld - Servers and testing
- Everyone else who tested
Requirements:
Description:
This plugin adds the Instagib game mode to Team Fortress 2. All players are forced to play as scouts, given a sniper rifle with a noscope dot and a (optional) frag limit.
- The sniper creates an explosion where it shoots which has a high knockback and deals no damage
- There is an elimination mode in which players only have a certain ammount of lives (currently only for arena)
- Adjustable flag return timer and optional return on touch
- Can only capture the flag when you have your flag "home" (optional)
- Movement techniques: the explosion allows you to perform long distance "riflejumps" and to avoid becoming a sitting duck, you can convert your horizontal speed to downwards speed while in the air. (optional)
- Shots travel through players allowing multikills (optional)
- Adjustable fall damage
- Scoreboard showing frags or lives in elimination mode
- Per client FOV which is saved to an SQL database
- Adjustable spawn protection
- Bunnyhopping with a speed boost dependant on your current (including vertical) speed
Convars:- instagib - Instagib version.
- instagib_enable - Enable plugin.
- instagib_elim - Enable/disable elimination mode.
- instagib_lives - Set elimination lives.
- instagib_frag - Enable/disable frag limit.
- instagib_frags - Set frag limit.
- instagib_spawn - Spawn protection time, in seconds.
- instagib_firedelay - Delay between shots (in seconds)
- instagib_flag - Flag setting. (0=timer, 1=timer+touch)
- instagib_flagh - Can only cap with flag home.
- instagib_flagt Flag return timer, in seconds.
- instagib_fall - Fall damage multiplier.
- instagib_mult - Change whether the beam will pass through targets on a hit, allowing multikills.
- instagib_accel - sv_airaccelerate
- instagib_fullbright - Make players one colour.
- instagib_drop - Enable ig_drop.
- instagib_bhop - Enable bunnyhopping.
- instagib_dj - Keep double jump momentum.
- instagib_physprops - Make explosions affect prop_physics_multiplayers. (thanks to Nalidor)
Commands:- sm_instagib - list server settings (!instagib in chat)
- sm_fov - set FOV (!fov in chat)
- sm_fovz - set zoomed FOV (!fovz in chat)
- +sm_zoom - zoom in (bind a key to it)
- ig_drop - fall from the sky
- ig_frags [1/0] - Toggle frag counter
- ig_fragspos <x> <y> - Move frag counter
Installation:
Extract release*.zip to your sourcemod directory
Install Dukehacks extension
Optional: Install
CalcPlayerScore extension
Optional: set up a database called "instagib" (without quotes) in sourcemod/configs/databases.cfg
Todo:
Stop explosions going through walls
Changelog:
3/9/09 - 1.1.7: Works since Valve broke GiveNamedItem
14/4/09 - 1.1.6: Should work without CalcPlayerScore
30/3/09 - 1.1.5: Added support for CalcPlayerScore
26/2/09 - 1.1.4: Made it actually work again (thanks CrimsonGT!). Also fixed a few bugs related to disabling/enabling the plugin
7/2/09 - 1.1.3: Fixed "Unassigned" team exploit.
7/2/09 - 1.1.2: Fixed several bugs (CTF bugs, doublejump bug and others), added cvar to disable plugin, added Nalidor's physprop code, fixed elimination and added support for elimination on non arena maps. Also fixed psychostats weaponid bug.
3/2/09 - 1.1.2a: Removed crosshair, separated double jump momentum from bunnyhopping, added option to disable capping with flag home and added some debug text for capping with flag home (on some maps, the flag gets disabled)
21/1/09 - 1.1.1: Fixed a bug
21/1/09 - 1.1.0: Moved some code around and hopefully sped it up, fixed bugs, added bunnyhopping/fullbright/option to disable ig_drop and made the shot that killed you green.
8/1/09 - 1.0.1: Bug fixes and replaced GetMaxClients() with MaxClients
31/12/08 - 1.0.0: Initial release
ctf_ig_badlands2:
http://www.fpsbanana.com/maps/75513
ctf_ig_redshed:
http://www.fpsbanana.com/maps/76916