[TF2] Necro Smashin' Horsemann
1 Attachment(s)
[TF2] Necro Smashin' Horsemann https://wiki.teamfortress.com/w/imag...ro_Smasher.png This plugin enables the Necro Smasher Horsemann seen in the 2014 Scream Fortress update. Note: This is an ENABLER, not a spawner. This way the plugin can be used alongside other boss spawning plugins without interfering with customized settings. Such as: health, size or glow. The Necro Smashin' Horsemann performs exactly like the original, though with a few extra effects. Both axe and hammer wielding Horsemann's can exist without any problems. This plugin works by replacing the original Horsemann whenever it spawns. Whether it's replaced or not can be determined by the 'sm_nsh_enable' setting. To developers: Feel free to integrate this into your plugins. If you don't like the whole 'chance' thing. CVARS:
Examples:
Known Issues:
|
Re: [TF2] Necro Smashin' Horsemann
Why don't you hook the hhh spawn event, and then search entities for the hammer and change it, rather than all of this on entity created overhead?
|
Re: [TF2] Necro Smashin' Horsemann
I assume you're talking about pumpkin_lord_summoned?
Which sadly doesn't contain the entity index of the horsemann. Though I could use OnEntityCreated on the horsemann instead, but there's no way of knowing what entity his weapon is. |
Re: [TF2] Necro Smashin' Horsemann
CreateTimer(0.0
this doesn't actually make it happen a frame later the min time is 0.1, use RequestFrame |
Re: [TF2] Necro Smashin' Horsemann
Quote:
Requestframe on the event, in the callback find the entity by classname, |
Re: [TF2] Necro Smashin' Horsemann
Idea: Make some natives for this so the Boss Spawns plugin (originally made by me, continued on by r3dw3r3w0lf) can hook into it and spawn this particular Horsemann.
|
Re: [TF2] Necro Smashin' Horsemann
Awww I wanted to do it. Nice job!
|
Re: [TF2] Necro Smashin' Horsemann
Yes thx for this....works fine with automatic boss spawner.
|
Re: [TF2] Necro Smashin' Horsemann
The true Necro Smashin' hhh make pepole fly when he hit the ground with his hammer maybe you can add it.
|
Re: [TF2] Necro Smashin' Horsemann
Fix it
L 07/25/2015 - 00:32:37: [SM] Native "GetEntPropEnt" reported: Entity -1 (-2051767396) is invalid L 07/25/2015 - 00:32:37: [SM] Displaying call stack trace for plugin "nshhh.smx": L 07/25/2015 - 00:32:37: [SM] [0] Line 81, /home/forums/content/files/2/4/0/5/9/2/146498.attach::OnPropSpawn() L 07/25/2015 - 00:32:37: [SM] Native "GetEntPropEnt" reported: Entity -1 (-2053578003) is invalid L 07/25/2015 - 00:32:37: [SM] Displaying call stack trace for plugin "nshhh.smx": L 07/25/2015 - 00:32:37: [SM] [0] Line 81, /home/forums/content/files/2/4/0/5/9/2/146498.attach::OnPropSpawn() L 07/25/2015 - 00:32:37: [SM] Native "GetEntPropEnt" reported: Entity -1 (-2115530149) is invalid L 07/25/2015 - 00:32:37: [SM] Displaying call stack trace for plugin "nshhh.smx": L 07/25/2015 - 00:32:37: [SM] [0] Line 81, /home/forums/content/files/2/4/0/5/9/2/146498.attach::OnPropSpawn() |
All times are GMT -4. The time now is 20:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.