[Plugin] Pyrogineer
2 Attachment(s)
Allows the Homewrecker, Maul, and Neon Annihilator, to repair and give upgrade metal to friendly buildings. Pyrogineers will start the round with 200 metal and can gain metal from ammo packs and dispensers just like an Engineer can, they can infinitely repair buildings for no metal cost and can grant upgrade metal to them too, however, they cannot make a building level up, they can only bring it up to 199 upgrade metal at which point an engineer must hit it for it to level up. Some other details: They cannot grant bullets and rockets to sentries. They cannot increase building construction speed. They cannot upgrade teleporters.mainly because I couldn't figure out a way to grant both the entrance and exit of a teleporter metal at the same time. This uses an unconventional method of targeting the building and sometimes you can hear a ding but no health or upgrade will be granted, just make sure you're looking directly at it. Cvars: pyrogineer_healthonhit: how much health to give a building per hit. Default: 50. pyrogineer_upgradeonhit: how much upgrade to give a building per hit. Default: 25. pyrogineer_metalmult: how much to multiply the Pyrogineers metal pool, the default pool is 100. Default: 2.0. (Note: ammo pick ups grant metal on a max metal pool percentage basis, adjust carefully). Installation: Place pyrogineer.smx in addons\sourcemod\plugins Place pyrogineer.sp in addons\sourcemod\scripting Changelog:
|
Re: [Plugin] Pyrogineer
I'll give this a try on my Server, it sounds cool
|
Re: [Plugin] Pyrogineer
Was getting this:
L 04/30/2016 - 14:49:26: [SM] Native "GetEntPropVector" reported: Entity -1 (-1) is invalid L 04/30/2016 - 14:49:26: [SM] Displaying call stack trace for plugin "pyrogineer.smx": L 04/30/2016 - 14:49:26: [SM] [0] Line 75, C:\Users\James\Desktop\ServerStuff\TF2server\ tf\addons\sourcemod\scripting\pyrogineer.sp:: Hook_EntitySound() |
Re: [Plugin] Pyrogineer
That's normal, it doesn't mean anything is going wrong, just that a check failed, if I knew how to block errors flooding the console I would.
|
Re: [Plugin] Pyrogineer
Should probably IsValidEntity check it.
|
Re: [Plugin] Pyrogineer
That would make sense, updated.
|
Re: [Plugin] Pyrogineer
Update: V1.0.2, uses tracerays instead of getclientaimtarget so hit detection will be a bit better and some other minor things.
|
Re: [Plugin] Pyrogineer
That's good idea how about all class.
|
| All times are GMT -4. The time now is 21:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.