Projectile Gravity
Version 0.1.0
Description
This plugin is, so far, a quick and dirty workaround to automatically set the gravity of projectiles in TF2. These currently include:
- Stunballs
- Grenades
- Sticky bombs
- Jarate
Huntsman arrows are ALSO affected, but unlike the list above, they are affected by the server's current gravity. The above list is affected by the gravity set at the time of the map loading. This plugin exploits that by setting a specified gravity before the new map reloads and sets back the current gravity after it has loaded.
Also note this is my first publicly released plugin, but not my first plugin I've wrote or modified for my own purposes, or is this anywhere near my first experience with programming. So any tips for things I may have overlooked when making (other than commenting) this would be appreciated as well.
Cvars
- sm_projectile_gravity_version - Pretty obvious. Don't touch. :P
- sm_projectile_gravity_enabled - Set to 1 if you want the plugin enabled on map change. 0 to disable. (Default: 1)
- sm_projectile_gravity_value - The gravity value to use on projectiles. Works the same as sv_gravity. (Default: 400)
Updates
- Version 0.1.0 (2010-09-16)
- Initial release