Raised This Month: $12 Target: $400
 3% 

[TF2] Necro Smashin' Horsemann


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SoulSharD
Member
Join Date: Oct 2013
Location: United Kingdom
Plugin ID:
4725
Plugin Version:
1.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Enables the Necro Smasher Horsemann featured in Scream Fortress 2014
    Old 07-12-2015 , 07:05   [TF2] Necro Smashin' Horsemann
    Reply With Quote #1

    [TF2] Necro Smashin' Horsemann



    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:

    • sm_nsh_version - The universe will implode if you touch this.
    • sm_nsh_enable [def. 1.0] - The chance the Horsemann will spawn with a Necro Smasher. (0.0 - 1.0)

    Examples:
    • sm_nsh_enable 1.0 - Will replace the original Horsemann every time.
    • sm_nsh_enable 0.0 - Will completely disable this plugin.
    • sm_nsh_enable 0.5 - Will replace the original Horsemann only 50% of the time.

    Known Issues:
    • On sd_doomsday_event, the Necro Smashin' Horsemann will spawn regardless of cvars setting. (This is something Valve hard-coded, I believe) As a precaution, the plugin will not function on this map.
    Changelog:
    • 1.0.0: Release
    • 1.0.2: Several fixes and improvements.
    Downloads prior to last update: 60


    Attached Files
    File Type: sp Get Plugin or Get Source (nshhh.sp - 978 views - 3.4 KB)
    __________________


    Last edited by SoulSharD; 07-25-2015 at 07:41. Reason: Looked absolutely NOTHING like the preview.
    SoulSharD is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 07-12-2015 , 13:55   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #2

    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?
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    SoulSharD
    Member
    Join Date: Oct 2013
    Location: United Kingdom
    Old 07-12-2015 , 14:19   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #3

    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.
    __________________

    SoulSharD is offline
    Chdata
    Veteran Member
    Join Date: Aug 2012
    Location: Computer Chair, Illinois
    Old 07-12-2015 , 15:12   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #4

    CreateTimer(0.0

    this doesn't actually make it happen a frame later the min time is 0.1, use RequestFrame
    __________________

    Last edited by Chdata; 07-12-2015 at 15:12.
    Chdata is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 07-12-2015 , 17:23   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #5

    Quote:
    Originally Posted by SoulSharD View Post
    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.

    Requestframe on the event, in the callback find the entity by classname,
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.
    friagram is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    Old 07-13-2015 , 09:40   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #6

    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.
    404UserNotFound is offline
    Benoist3012
    Veteran Member
    Join Date: Mar 2014
    Location: CWave::ForceFinish()
    Old 07-14-2015 , 07:40   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #7

    Awww I wanted to do it. Nice job!
    __________________
    Benoist3012 is offline
    MaloModo
    Veteran Member
    Join Date: Aug 2008
    Old 07-14-2015 , 10:14   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #8

    Yes thx for this....works fine with automatic boss spawner.
    MaloModo is offline
    Benoist3012
    Veteran Member
    Join Date: Mar 2014
    Location: CWave::ForceFinish()
    Old 07-17-2015 , 16:04   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #9

    The true Necro Smashin' hhh make pepole fly when he hit the ground with his hammer maybe you can add it.
    __________________

    Last edited by Benoist3012; 07-17-2015 at 16:04.
    Benoist3012 is offline
    Pala4
    Senior Member
    Join Date: Dec 2007
    Old 07-25-2015 , 00:50   Re: [TF2] Necro Smashin' Horsemann
    Reply With Quote #10

    Fix it
    L 07/25/2015 - 0027: [SM] Native "GetEntPropEnt" reported: Entity -1 (-2051767396) is invalid
    L 07/25/2015 - 0027: [SM] Displaying call stack trace for plugin "nshhh.smx":
    L 07/25/2015 - 0027: [SM] [0] Line 81, /home/forums/content/files/2/4/0/5/9/2/146498.attach::OnPropSpawn()
    L 07/25/2015 - 0027: [SM] Native "GetEntPropEnt" reported: Entity -1 (-2053578003) is invalid
    L 07/25/2015 - 0027: [SM] Displaying call stack trace for plugin "nshhh.smx":
    L 07/25/2015 - 0027: [SM] [0] Line 81, /home/forums/content/files/2/4/0/5/9/2/146498.attach::OnPropSpawn()
    L 07/25/2015 - 0027: [SM] Native "GetEntPropEnt" reported: Entity -1 (-2115530149) is invalid
    L 07/25/2015 - 0027: [SM] Displaying call stack trace for plugin "nshhh.smx":
    L 07/25/2015 - 0027: [SM] [0] Line 81, /home/forums/content/files/2/4/0/5/9/2/146498.attach::OnPropSpawn()
    Pala4 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 11:55.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode