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

[TF2] Boss Spawns


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Lazytown
Plugin ID:
4275
Plugin Version:
1.0.9
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    154 
    Plugin Description:
    Spawn Halloween bosses using commands, natives or ConVars.
    Old 07-12-2014 , 02:25   [TF2] Boss Spawns
    Reply With Quote #1

    Boss Spawns

    Description:
    Boss Spawns is a plugin for Team Fortress 2 which allows server operators/developers to manage, create & destroy bosses anywhere on the map. You can spawn the Horseman, Monoculus, Merasmus, Skeletons & variance of them all. You can set size, outline, color & more, feel free to check out upcoming features below for details.

    Credits:
    • abrandnewday for making his plugin. He said he wanted to quit working on it so I picked it up to add features to it to help me build plugins in the future. (LINK)

    ConVars:
    You can find the latest ConVars Here!

    Commands:
    You can find the latest Admin Commands Here!

    Instructions: (NOTE: YOU MUST COMPILE NAVIGATION MESHES FOR ALL MAPS USED FOR SOME BOSSES TO WORK! Read More)
    1. Download the plugin file (SMX) and drop it into your 'plugins' folder.
    2. Download the translation file (TXT) and place it in your 'translations' folder.
    3. Change the map. (no seriously, change the map)... or type 'sm plugins load BossSpawns' if you want.
    4. ???
    5. Overly used joke is overly used.

    Compilation Instructions:
    1. Download the source file (SP) & the include (INC) and place them in their respective locations in the scripting folder.
    2. Download the latest copy of 'More Colors' & 'AutoExecConfig' and place them into your includes folder.
    3. Compile the SP file using the compiler. Drag the SMX into your plugins folder.

    Code Repository | Download | Report Bugs | Donate
    __________________
    I sometimes do commissions.

    Last edited by Drixevel; 03-01-2017 at 17:10.
    Drixevel is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Lazytown
    Old 07-12-2014 , 02:28   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #2

    Natives (Updated as of 1.0.
    Code:
    /**
     * Spawns a Hatman on the map. (Horsemann)
     *
     * @param client		Client spawning the boss. (0 = Console)
     * @param X				Float value for X parameter of spawn location.
     * @param Y				Float value for Y parameter of spawn location.
     * @param Z				Float value for Z parameter of spawn location.
     * @param scale		Float value for the scale of the boss.
     * @param glow			True if boss should glow, false if not.
     * @param spew		True if to log, reply & show activity, false otherwise.
     *
     * @return				True if spawned successfully, false otherwise.
     * @error				Invalid client or fields.
     */
    native bool:TF2_SpawnHatman(client, Float:X = 0.0, Float:Y = 0.0, Float:Z = 0.0, Float:scale = 1.0, bool:glow = false, bool:spew = true);
    
    /**
     * Spawns an Eyeboss on the map. (Monoculus)
     *
     * @param client		Client spawning the boss. (0 = Console)
     * @param X				Float value for X parameter of spawn location.
     * @param Y				Float value for Y parameter of spawn location.
     * @param Z				Float value for Z parameter of spawn location.
     * @param scale		Float value for the scale of the boss.
     * @param glow			True if boss should glow, false if not.
     * @param spew		True if to log, reply & show activity, false otherwise.
     * @param type			Type of Eyeboss: (0 = Normal, 1 = Red, 2 = Blue)
     *
     * @return				True if spawned successfully, false otherwise.
     * @error				Invalid client or fields.
     */
    native bool:TF2_SpawnEyeboss(client, Float:X = 0.0, Float:Y = 0.0, Float:Z = 0.0, Float:scale = 1.0, bool:glow = false, bool:spew = true, type = 0);
    
    /**
     * Spawns Merasmus on the map.
     *
     * @param client		Client spawning the boss. (0 = Console)
     * @param X				Float value for X parameter of spawn location.
     * @param Y				Float value for Y parameter of spawn location.
     * @param Z				Float value for Z parameter of spawn location.
     * @param scale		Float value for the scale of the boss.
     * @param glow			True if boss should glow, false if not.
     * @param spew		True if to log, reply & show activity, false otherwise.
     *
     * @return				True if spawned successfully, false otherwise.
     * @error				Invalid client or fields.
     */
    native bool:TF2_SpawnMerasmus(client, Float:X = 0.0, Float:Y = 0.0, Float:Z = 0.0, Float:scale = 1.0, bool:glow = false, bool:spew = true);
    
    /**
     * Spawns a Skeleton on the map.
     *
     * @param client		Client spawning the boss. (0 = Console)
     * @param X				Float value for X parameter of spawn location.
     * @param Y				Float value for Y parameter of spawn location.
     * @param Z				Float value for Z parameter of spawn location.
     * @param scale		Float value for the scale of the boss.
     * @param glow			True if boss should glow, false if not.
     * @param spew		True if to log, reply & show activity, false otherwise.
     * @param type			Type of Skeleton: (0 = Green, 1 = Red, 2 = Blue)
     *
     * @return				True if spawned successfully, false otherwise.
     * @error				Invalid client or fields.
     */
    native bool:TF2_SpawnSkeleton(client, Float:X = 0.0, Float:Y = 0.0, Float:Z = 0.0, Float:scale = 1.0, bool:glow = false, bool:spew = true, type = 0);
    
    /**
     * Spawns the Skeleton King on the map.
     *
     * @param client		Client spawning the boss. (0 = Console)
     * @param X				Float value for X parameter of spawn location.
     * @param Y				Float value for Y parameter of spawn location.
     * @param Z				Float value for Z parameter of spawn location.
     * @param glow			True if boss should glow, false if not.
     * @param spew		True if to log, reply & show activity, false otherwise.
     *
     * @return				True if spawned successfully, false otherwise.
     * @error				Invalid client or fields.
     */
    native bool:TF2_SpawnSkeletonKing(client, Float:X = 0.0, Float:Y = 0.0, Float:Z = 0.0, bool:glow = false, bool:spew = true);
    
    /**
     * Spawns the Ghost on the map.
     *
     * @param client		Client spawning the boss. (0 = Console)
     * @param X				Float value for X parameter of spawn location.
     * @param Y				Float value for Y parameter of spawn location.
     * @param Z				Float value for Z parameter of spawn location.
     * @param glow			True if boss should glow, false if not.
     * @param spew		True if to log, reply & show activity, false otherwise.
     *
     * @return				True if spawned successfully, false otherwise.
     * @error				Invalid client or fields.
     */
    native bool:TF2_SpawnGhost(client, Float:X = 0.0, Float:Y = 0.0, Float:Z = 0.0, bool:glow = false, bool:spew = true);
    __________________
    I sometimes do commissions.

    Last edited by Drixevel; 10-24-2014 at 04:31. Reason: updated natives to 1.0.8.
    Drixevel is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 07-12-2014 , 02:28   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #3

    Quote:
    Originally Posted by r3dw3r3w0lf View Post
    fdsfadsfas
    Duplicate functionality. https://forums.alliedmods.net/showthread.php?t=220913
    __________________

    Last edited by Sreaper; 07-12-2014 at 02:29.
    Sreaper is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Lazytown
    Old 07-12-2014 , 02:32   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #4

    Quote:
    Originally Posted by Sreaper View Post
    https://forums.alliedmods.net/showpo...&postcount=257

    You really shouldn't jump on bandwagons so quickly.

    EDIT: I'll be updating the natives in the include tomorrow to take advantage of setting glow on bosses. Most of the features such as hit box scaling, slaying of The Skeleton King & health bars (for the most part) are working. I'll be expanding/fixing/finishing the rest throughout the next couple of days.
    __________________
    I sometimes do commissions.

    Last edited by Drixevel; 07-12-2014 at 02:43.
    Drixevel is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 07-12-2014 , 04:49   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #5

    Quote:
    Originally Posted by Sreaper View Post
    I gave up on updating mine due to time constraints. I work 12hr shifts at a pipe threading factory (for more info and/or my schedule, please view http://www.steamcommunity.com/id/404UserNotFound) Yes I am coming clean somewhat as well by posting my Steam profile. I am not "my friend, 404". I am not "plugin developer for UNF Gaming" (half a lie, I am technically the plugin dev, but I'm not a separate person from the owner of UNFG, 404) I am 404. Due to prior "issues" back in 2010 I had come back here under "abrandnewday". I thought nobody knew who I really was....turns out FlaminSarge and Psychonic figured it out 2 weeks after I registered. It's a long story that I won't go into yet, as I have to leave for work now, but now you all know why I gave up on updating Boss Spawner Deluxe, and why it takes me so god damn long to push out updates to what I make.

    R3dw3r3wolf is the new "owner" of this plugin as he staked his claim to it when I publicly gave away future development of mine.

    Ohhh also, R3d, I never did release this bit that I had added into the plugin:

    Skeleton King - Redmond/Blutarch announcements on spawn
    Spoiler


    I had also set up outlines as convars because I couldn't figure out how to do them as parameters in commands (or I did, but forgot about it).

    Feel free to toss that code in, as I never did when I still updated this.
    __________________
    I'm not a SourcePawn expert, I just play one on TV.
    Want to join the SourceMod Discord server? Click here!


    Last edited by 404UNF; 07-12-2014 at 05:04.
    404UNF is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 07-12-2014 , 05:10   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #6

    Quote:
    Originally Posted by abrandnewday View Post
    http://www.steamcommunity.com/id/404UserNotFound) Yes I am coming clean somewhat as well by posting my Steam profile. I am not "my friend, 404". I am not "plugin developer for UNF Gaming" (half a lie, I am technically the plugin dev, but I'm not a separate person from the owner of UNFG, 404) I am 404. Due to prior "issues" back in 2010 I had come back here under "abrandnewday". I thought nobody knew who I really was....turns out FlaminSarge and Psychonic figured it out 2 weeks after I registered. It's a long story that I won't go into yet, as I have to leave for work now, but now you all know why I gave up on updating Boss Spawner Deluxe, and why it takes me so god damn long to push out updates to what I make.
    I thought that was quite obivious?
    I can go into detail for you
    __________________
    Pelipoika is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Lazytown
    Old 07-12-2014 , 10:23   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #7

    Quote:
    Originally Posted by abrandnewday View Post
    I gave up on updating mine due to time constraints. I work 12hr shifts at a pipe threading factory (for more info and/or my schedule, please view http://www.steamcommunity.com/id/404UserNotFound) Yes I am coming clean somewhat as well by posting my Steam profile. I am not "my friend, 404". I am not "plugin developer for UNF Gaming" (half a lie, I am technically the plugin dev, but I'm not a separate person from the owner of UNFG, 404) I am 404. Due to prior "issues" back in 2010 I had come back here under "abrandnewday". I thought nobody knew who I really was....turns out FlaminSarge and Psychonic figured it out 2 weeks after I registered. It's a long story that I won't go into yet, as I have to leave for work now, but now you all know why I gave up on updating Boss Spawner Deluxe, and why it takes me so god damn long to push out updates to what I make.

    R3dw3r3wolf is the new "owner" of this plugin as he staked his claim to it when I publicly gave away future development of mine.

    Ohhh also, R3d, I never did release this bit that I had added into the plugin:

    Skeleton King - Redmond/Blutarch announcements on spawn
    Spoiler


    I had also set up outlines as convars because I couldn't figure out how to do them as parameters in commands (or I did, but forgot about it).

    Feel free to toss that code in, as I never did when I still updated this.
    There's a backstory with this? interesting. Thanks for the code, I'll implement it whenever I have the chance. Also, I'm working on adding a new ConVar so you can have glows enabled/disabled by default and there's a parameter option now if you would like to use it.

    EA: sm_hatman 1.5 1 (sm_hatman <scale> <glow 0/1>)
    __________________
    I sometimes do commissions.
    Drixevel is offline
    robotortoise
    Senior Member
    Join Date: Nov 2013
    Location: Somewhere in the US
    Old 07-12-2014 , 14:10   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #8

    Quote:
    Originally Posted by abrandnewday View Post
    I gave up on updating mine due to time constraints. I work 12hr shifts at a pipe threading factory (for more info and/or my schedule, please view http://www.steamcommunity.com/id/404UserNotFound) Yes I am coming clean somewhat as well by posting my Steam profile. I am not "my friend, 404". I am not "plugin developer for UNF Gaming" (half a lie, I am technically the plugin dev, but I'm not a separate person from the owner of UNFG, 404) I am 404. Due to prior "issues" back in 2010 I had come back here under "abrandnewday". I thought nobody knew who I really was....turns out FlaminSarge and Psychonic figured it out 2 weeks after I registered. It's a long story that I won't go into yet, as I have to leave for work now, but now you all know why I gave up on updating Boss Spawner Deluxe, and why it takes me so god damn long to push out updates to what I make.
    Huh. Interesting!

    Well uh....hope you don't get banned again. You make some great stuff.

    And I really like your Steam Profile background!
    __________________
    -Robotortoise [Palutena's Bro]

    If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

    Contact me via Steam

    I don't bite.


    How to loop and compress .wav files

    Me and my friends' server
    robotortoise is offline
    robotortoise
    Senior Member
    Join Date: Nov 2013
    Location: Somewhere in the US
    Old 07-12-2014 , 14:12   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #9

    So here's some features I'm hoping for this plugin:

    1. Hitbox rescaling with size scaling

    2. Custom model/animation support (I want to make Merasmus conga, or wear a hat)

    3. An option to toggle the "BOSS_NAME_HERE HAS APPEARED!" message and music, or possibly edit the text?
    __________________
    -Robotortoise [Palutena's Bro]

    If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

    Contact me via Steam

    I don't bite.


    How to loop and compress .wav files

    Me and my friends' server
    robotortoise is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Lazytown
    Old 07-12-2014 , 15:50   Re: [TF2] Boss Spawns [1.0.0]
    Reply With Quote #10

    Quote:
    Originally Posted by robotortoise View Post
    So here's some features I'm hoping for this plugin:

    1. Hitbox rescaling with size scaling

    2. Custom model/animation support (I want to make Merasmus conga, or wear a hat)

    3. An option to toggle the "BOSS_NAME_HERE HAS APPEARED!" message and music, or possibly edit the text?
    1. Should be there, I didn't make it though or test it much so test it.

    2. (maybe) I'll probably add custom models but hat models, maybe. (I realize it's possible)

    3. Sure.
    __________________
    I sometimes do commissions.
    Drixevel 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 21:59.


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