Monthly Target: $400 Donations: $14
 3% 

[TF2] Custom Boss Spawner (v.4.2.1) [8/16/2015] - Skeleton Horde!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: NYC
Plugin ID:
3689
Plugin Version:
4.2.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Spawns a custom boss with or without a timer.
    Old 06-11-2013 , 17:30   [TF2] Custom Boss Spawner (v.4.2.1) [8/16/2015] - Skeleton Horde!
    Reply With Quote #1

    [TF2] Custom Boss Spawner
    Version: 4.2.1



    Introduction:
    This plugin allows you to spawn the original halloween bosses and custom bosses that you can make!

    Dependency:
    Quote:
    - Sourcemod 1.7+
    - Metamod 1.10+
    - morecolors.inc to compile
    Installation:
    Quote:
    - Download bossspawner.smx and place it in sourcemod/plugins directory
    - Download bossspawner.cfg and place it in tf/cfg/sourcemod, open to configure your values
    - Download bossspawner_map.cfg and place it in sourcemod/config and modify it to your needs
    - Download bossspawner_boss.cfg and place it in sourcemod/config and modify it to your needs
    - Download bossspawner.phrases.txt and place it in sourcemod/translations
    - Install latest version of Metamod and Sourcemod.
    Commands:
    Quote:
    sm_getcoords - Prints out the coordinates of your position.
    sm_forceboss - Force the boss to spawn at the spawn point
    sm_slayboss - Forces all bosses to die
    sm_reloadbossconfig - Reloads the map configuration file
    sm_spawn <name> - Spawns a boss where your looking at (name - The name of boss in bossspawner_boss.cfg
    Convars:
    Quote:
    sm_boss_version - Plugin Version - Do not change
    sm_boss_enabled - Enable/Disable plugin
    sm_boss_mode - Spawn Mode (0 - Random, 1 - Ordered from Horseman to Merasmus)
    sm_boss_interval - How many seconds until a new boss is spawned
    sm_boss_minplayers - How many players are needed before enabling auto-spawning?
    sm_boss_hud_x - X coordinate of HUD display (0.0-1.0) (Default 0.05)
    sm_boss_hud_y - Y coordinate of HUD display (0.0-1.0) (Default 0.05)
    How to get position:
    Quote:
    Go in game and find the place you want the spawn location to be.
    Stand on it and type !getcoords and the coordinates will print out in chat.
    Take those coordinates and save it in the bossspawner_map.cfg or bossspawner_boss.cfg file.
    How to set up bossspawner_map.cfg:
    PHP Code:
    "Boss Spawner Map"
    {
        
    "Default"                //Default configuration if map name is not set exactly
        
    {
            
    "Enabled"        "1"
            "Position X"    "1.0"
            "Position Y"    "2.0"
            "Position Z"    "3.0"
        
    }
        
    "ctf_2fort"                //If it is this map, set these values in between brackets
        
    {
            
    "Enabled"        "1"                    //Enable 1, Disable 0
            
    "Position X"    "-12.0"                //When you type !getcoords it would print out something like "-12,-627,2" without quotes
            
    "Position Y"    "-627.0"            //-12 is X, -627 is Y, 2 is Z
            
    "Position Z"    "2.0"                //Please note this is a float value and should have a .0 after the value
            
    "TeleportPosition"    "0.0,0.0,0.0"    //The xyz coordinate seperated by commas which indicate location player is teleported when monoculus/merasmus is killed
        
    }
        
    "pl_goldrush"
        
    {
            
    "Enabled"        "0"
            "Position X"    "9.0"        
    //continue on....
            
    "Position Y"    "9.0"
            "Position Z"    "9.0"
        
    }
        
    "koth_nucleus"
        
    {
            
    "Enabled"        "1"
            "Position X"    "972.0"
            "Position Y"    "7.0"        
    //and on...
            
    "Position Z"    "104.0"
        
    }
        
    "achievement_ghosthorde_mc_v2"
        
    {
            
    "Enabled"            "1"
            "Position X"        "14.0"
            "Position Y"        "25.0"        
    //and on...
            
    "Position Z"        "272.0"
            "TeleportPosition"    "-797,727,32"
        
    }

    How to set up bossspawner_map.cfg:
    PHP Code:
    "Custom Boss Spawner"
    {
        
    "Horseman" {            //Boss name, do not have replicate names (Also used for command spawning, ex. !spawn horseman)
            
    "Type"        "headless_hatman"                                                //There are 4 types, headless_hatman/eyeball_boss/merasmus/tf_zombie_spawner
            
    "HP Base"    "3000"                                                            //Base health to start with
            
    "HP Scale"    "1000"                                                            //Adds extra health per person
            
    "Lifetime"    "300"                                                            //How before boss is removed, in seconds
            
    "WeaponModel"    "models\weapons\c_models\c_big_mallet\c_big_mallet.mdl"        //Changes the weapon model (Note: This attribute only works for horseman)
            
    "Size"        "1.0"                                                            //How big should boss be?                    
            
    "Position"    "-1126,-60,512"                                                    //Custom location of boss spawn position, if unspecified will use the position in bossspawner_maps.cfg
        
    }
        
    "Monoculus" {
            
    "Type"        "eyeball_boss"
            "HP Base"    "3000"
            "HP Scale"    "1000"
            "Lifetime"    "300"
            "Size"        "1.0"
            "IntroSound"    "ui/halloween_boss_summoned_fx.wav"                            
    //Plays an intro sound when boss is spawned, like models, custom sounds must be put into the download server using a different plugin
            
    "DeathSound"    "ui/halloween_boss_defeated_fx.wav"                            //Plays a sound when boss is killed
        
    }
        
    "Merasmus" {
            
    "Type"        "merasmus"
            "HP Base"    "3000"
            "HP Scale"    "1000"
            "Lifetime"    "300"
            "Size"        "1.0"
            "IntroSound"    "misc\halloween\merasmus_appear.wav"
        
    }
        
    "Skeleton_King" {
            
    "Type"        "tf_zombie_spawner"
            "HP Base"    "3000"
            "HP Scale"    "1000"
            "Lifetime"    "300"
            "Size"        "2.0"
        
    }
        
    "Skeleton_Horde" {
            
    "Type"        "tf_zombie"
            "HP Base"    "200"
            "HP Scale"    "100"
            "Size"        "1.0"
            "Glow"        "No"
            "Horde"        "12"                                            
    //Total amount of skeletons to spawn (This attribute only works for type:tf_zombie)
            
    "Color"        "Random"                                        //Changes color of skeletons from ("blue,red,green,yellow") (This attribute only works for type:tf_zombie)
        
    }
        
    //"King"
        //{
        //    "Model"            "models\freak_fortress_2\skeleton_king\skeleton_king_model.mdl"        //Changes the boss model
        //    "Type"            "headless_hatman"
        //    "HP Base"        "3000"
        //    "HP Scale"        "1000"
        //    "WeaponModel"    "Invisible"                                    //Some models already have a weapon already attached to model, so you want the weapon model to be invisible
        //    "Size"            "2.0"
        //    "Glow"            "Yes"                                        //Set whether or not boss to glow
        //    "PosFix"            "300.0"                                    //Some models may cause boss to spawn underneath, increase this value to increase height of spawn
        //    "Lifetime"        "300"
        //}
        //"Warhammer"
        //{
        //    "Model"            "models\freak_fortress_2\warhammer\marine_demoman2.mdl"
        //    "Type"            "headless_hatman"
        //    "HP Base"        "3000"
        //    "HP Scale"        "1000"
        //    "WeaponModel"    "Invisible"
        //    "Size"            "2.0"
        //    "Glow"            "Yes"
        //    "PosFix"        "300.0"
        //    "Lifetime"        "300"
        //}

    Attribute info:
    PHP Code:
    bossspawner_maps.cfg 
    Enabled 1/0 allows to to enable this plugin on specific maps
    Position X 
    X coordinate of spawn location
    Position Y 
    Y coordinate of spawn location
    Position Z 
    Z coordinate of spawn location
    TeleportPosition 
    XYZ coordinates of where player is spawned when monoculus/merasmus is killed and spawns that thing that sucks you in.

    bossspawner_boss.cfg 
    Type - [headless_hatmaneyeball_bossmerasmustf_zombie_spawnertf_zombieSpawns the type of boss
    HP Base 
    Base health
    HP Scale 
    Increased health per player in server
    Lifetime 
    How long before boss is gone (Does not work on command spawning due to issues with timer)
    WeaponModel Changes the weapon model of boss (Only works on headless_hatman type)
    Size Changes the size of boss (also changes the hitbox...skeleton hitbox don't scale)
    Model - Changes the boss model
    Glow - Can the boss glow behind walls
    PosFix - Some models may spawn underneath the floor, if that'
    s the case increase PosFix will spawn it higher
    Position 
    Can have a specific location where the boss will spawn, if unspecified will use the position location from bossspawner_maps.cfg
    Horde 
    Only works for tf_zombie typewill spawn whatever amount you set this attribute
    Color 
    Only works for tf_zombie typewill set the color of skeletons [blue,red,green,yellow,random]
    IntroSound Will play a sound when boss is spawnedunspecified will play the original horseman intro sound
    DeathSound 
    Will play a sound when boss is killedunspecified will play the original horseman death sound 
    Type info:
    PHP Code:
    headless_hatman Spawns a horseman type
    eyeball_boss 
    Spawns monoculus type
    merasmus 
    Spawn merasmus type
    tf_zombie_spawner 
    Spawns skeleton king type
    tf_zombie 
    Spawns regular skeleton type 
    Where to get models?:
    PHP Code:
    I used models from FF2/Saxton hale and they work fine.  Of course other people can make models as well.  I used RavensBro site as he has a download list of different bosses.
    http://goldclaimers.site.nfoservers.com/RavensBro%20Bosses/

    I've downloaded and used warhammer and skeleton king, the configs for them were set up but you would need to uncomment it. 
    How to put model/sound files onto download server:
    PHP Code:
    This plugin does not support adding the models into the download table therefore you should use other plugins that will add the models into your download server such as:
    https://forums.alliedmods.net/showthread.php?p=602270 
    Version:
    Code:
    v.4.2.1 -
    - Fixed TeleportLocation not working properly
    v.4.2 -
    - Changes: Now uses tries/hashmaps instead of multi-arrays
    - Changes: Skeleton king can now use custom model
    - Fixed call stack error onclientdisconnect timer
    - Fixed issue with !spawn <boss> not spawning at users' cursor
    - Fixed small issue with spawn music playing twice
    - Fixed issue when unloading plugin does not remove admin spawned bosses
    - Added new type: tf_zombie which will spawn regular skeletons
    - Added new key: "Horde" which indicates how many skeletons to spawn
    - Added new key: "Color" which indicates which colors to set skeleton (blue,red,green,yellow,random)
    - Added new key: "IntroSound" which plays a custom sound when boss spawns
    - Added new key: "DeathSound" which plays a custom sound when boss dies
    - Added new key: "TeleportLocation" to bossspawner_maps.cfg which allows players to teleport to that location when monoculus/merasmus dies and spawns that thing that sucks you in
    - Updated translations and other reply messages w/ better colors
    
    v.4.1 -
    - Fixed translations files typo
    - Added boss spawn notification
    - Little fix on reload boss config command
    - Fixed HUD display conflicting with other plugins
    - Added boss custom spawn location: "position" key
    - Added ability to change HUD location
    
     v.4.0 BETA -
    - Renamed plugin to "Custom Boss Spawner"
    - Combined and rewritten the HUD countdown timer and spawn timers
    - Removed a bunch of useless code
    - Fixed a bunch of stack timer errors
    - Fixed issue with timer not counting down by 1 interval seconds
    - Fixed issue with 2+ bosses spawning the same time
    - Fixed issue with plugin not spawning anything at all
    - Fixed Minimum players CVAR not working properly by breaking the plugin
    - Fixed issue with CVAR changing commands
    - Added commands to individually spawn bosses by user cursor
    - Added the ability to create custom  bosses
    - Custom  bosses allow ability to change health,scale,size,glow,model,weaponmodel, and more
    - Redone the whole spawning system core
    - Removed Valves default lifetime for Monoculus and Merasmus and implemented a custom one through this plugin
    - Reworked Skeleton health management
    - Improved the health bar to be more accurate, 100% hp at full bar and won't create another heathbar near death
    - Hitbox now scales with size (Does not work with skeleton)
    Credit:
    Code:
    -Geit for horseman spawner
    -DarthNinja for monoculus spawner
    -Powerlord for his health bar code
    -SoulSharD for weapon model replacement
    -r3dw3r3w0lf for resize hitbox code
    -RavensBro for his site and models
    Boss isn't moving? You need to do type nav_generate into console to generate paths for the bot to move in. Only monoculus moves without it.

    GITHUB SOURCE

    Enjoy!
    Attached Files
    File Type: cfg bossspawner.cfg (723 Bytes, 58 views)
    File Type: txt bossspawner.phrases.txt (617 Bytes, 50 views)
    File Type: cfg bossspawner_boss.cfg (2.7 KB, 62 views)
    File Type: sp Get Plugin or Get Source (bossspawner.sp - 26 views - 34.1 KB)
    File Type: smx bossspawner.smx (27.3 KB, 61 views)
    File Type: cfg bossspawner_maps.cfg (1.2 KB, 50 views)
    __________________

    Last edited by Chaosxk; 08-27-2015 at 01:04. Reason: update 4.2
    Chaosxk is offline
    Rads
    SourceMod Donor
    Join Date: Feb 2008
    Location: Achievement what
    Old 06-11-2013 , 18:29   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #2

    Seems to work well, though would be nice to have level up for the horseman added
    I know the Merasmus & eye boss has it ..

    just saying but nice work

    p.s
    I have this on MvM server by the way works well
    for you lots out there that will ask will it run on them..
    __________________
    -- -- -- -- -- -- -- -- -- -- -- -- --
    Better, Faster Cheaper Cloud Hosting
    http://FragUK.Net

    Last edited by Rads; 06-11-2013 at 18:32.
    Rads is offline
    salsav91
    Senior Member
    Join Date: Aug 2012
    Location: Where Lollichops sleep
    Old 06-12-2013 , 20:43   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #3

    Love the plugin but would like to recommend something. Perhaps have a ad alert system for chat. Like after the boss is killed inform players that he will return in *depending on what time is set* minutes. If that cant work then maybe a warning system, like 2 minutes before the boss spawns the players will be alerted via chat or HUD.
    __________________


    Check out my pony animations. http://www.youtube.com/salsav91
    salsav91 is offline
    Rads
    SourceMod Donor
    Join Date: Feb 2008
    Location: Achievement what
    Old 06-12-2013 , 20:46   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #4

    I take it you don't you have this installed .? being that it has this in it :/
    __________________
    -- -- -- -- -- -- -- -- -- -- -- -- --
    Better, Faster Cheaper Cloud Hosting
    http://FragUK.Net
    Rads is offline
    salsav91
    Senior Member
    Join Date: Aug 2012
    Location: Where Lollichops sleep
    Old 06-12-2013 , 20:47   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #5

    Quote:
    Originally Posted by Rads View Post
    I take it you don't you have this installed .? being that it has this in it :/
    I have it installed and set working perfectly.. I dont get any warning about bosses though.
    __________________


    Check out my pony animations. http://www.youtube.com/salsav91
    salsav91 is offline
    Rads
    SourceMod Donor
    Join Date: Feb 2008
    Location: Achievement what
    Old 06-12-2013 , 20:49   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #6

    it comes up with in chat up on killing the boss it will say he will return in 600*

    this is from the cfg file

    // How many seconds until the next boss spawns?
    // -
    // Default: "600"
    sm_boss_interval "600"
    __________________
    -- -- -- -- -- -- -- -- -- -- -- -- --
    Better, Faster Cheaper Cloud Hosting
    http://FragUK.Net

    Last edited by Rads; 06-12-2013 at 20:49.
    Rads is offline
    salsav91
    Senior Member
    Join Date: Aug 2012
    Location: Where Lollichops sleep
    Old 06-12-2013 , 20:55   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #7

    Quote:
    Originally Posted by Rads View Post
    it comes up with in chat up on killing the boss it will say he will return in 600*

    this is from the cfg file

    // How many seconds until the next boss spawns?
    // -
    // Default: "600"
    sm_boss_interval "600"
    weird.. doesnt show that on mine.. Does it work if you have "tidy chat" mod?
    __________________


    Check out my pony animations. http://www.youtube.com/salsav91
    salsav91 is offline
    Rads
    SourceMod Donor
    Join Date: Feb 2008
    Location: Achievement what
    Old 06-12-2013 , 21:00   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #8

    Yeah it will work with that.. that don't stop it from coming up I have run as well and it shows
    __________________
    -- -- -- -- -- -- -- -- -- -- -- -- --
    Better, Faster Cheaper Cloud Hosting
    http://FragUK.Net

    Last edited by Rads; 06-12-2013 at 21:01.
    Rads is offline
    salsav91
    Senior Member
    Join Date: Aug 2012
    Location: Where Lollichops sleep
    Old 06-12-2013 , 21:03   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #9

    Quote:
    Originally Posted by Rads View Post
    Yeah it will work with that..
    Odd.. Well is there an early warning system to inform people before the boss spawns? If not that would be neat.

    Edit: Till then I will check my logs for possible errors.
    __________________


    Check out my pony animations. http://www.youtube.com/salsav91

    Last edited by salsav91; 06-12-2013 at 21:05.
    salsav91 is offline
    Rads
    SourceMod Donor
    Join Date: Feb 2008
    Location: Achievement what
    Old 06-12-2013 , 21:09   Re: [TF2] Automatic Halloween Boss Spawner [v1.0]
    Reply With Quote #10

    warning system before the boss spawns = No

    just when you kill him it comes up in chat that's all

    may have to wait for Chaosxk see if he has any come back on this
    __________________
    -- -- -- -- -- -- -- -- -- -- -- -- --
    Better, Faster Cheaper Cloud Hosting
    http://FragUK.Net
    Rads 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 12:56.


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