I have created this beta plug-in to allow TF2 server admins to adjust the amount of health their buildables will have. This is a global setting so ALL buildables will be affected by it. This plugin is very useful on hosts that have modified their crit, fire rates to 100% or modified the hosts various weapons*.ctx files to adjust the fire rate or damage rates. ( Note 100% crits damage has no additional damage effect on the buildables )
Current CVARs:
Code:
sm_superbuilds
sm_superbuilds_on =
1 Enable
0 Disable
sm_superbuilds_maxhealth = 500 ( Buildable will have 500 HP MAX )
sm_superbuilds_minhealth = 400 ( Buildable will have 400 HP MIN )
I would like to be able to break this down further to specific buildable types in the future for finer grain control. Any input to improve this plug-in would be appreciated.
EDIT: 07/17/2008 - Removed the ability to set the ammo_shells. This was causing some hosts to crash when a dispenser was built. If you are seeing this problem please get the latest release of the plug-in.
-Note I have been told by a few authors on IRC the method I am using is incorrect. If you have a better method please show me an example and I will modify this plug-in to suite.
-Thanks to Liam for pointing out a bug in the previous version.
-Teddy