-
Notifications
You must be signed in to change notification settings - Fork 7
Boss System
The boss system was added on version 0.1.11.
The config file must have the same name as the map and is located in configs\bwrr\bosswaves\'map name'.cfg.
You can add a _server suffix to config file to prevent your custom config being replaced on an update.
Bosses have two configs: Default and mission specific.
Example config from ghost town.
"BossWaveConfig"
{
"mvm_ghost_town" // mission specific config
{
"wave1" // config for wave1
{
"health_cap" "35000"
"minred_nocap" "6"
"minred" "5"
"delay" "90"
"respawn_delay" "360"
"bosses" "captain_punch,chief_blast_soldier,chief_concheror_soldier,chief_tavish,generic_demoman_boss,generic_heavy_boss,generic_pyro_boss,generic_scout_boss,generic_soldier_boss,major_bomber,major_crits,major_crits_blackbox,major_league,sergeant_crits,sir_nukesalot"
}
}
"default" // if no mission specific is found, this is used instead
{
"health_cap" "30000"
"minred_nocap" "6"
"minred" "4"
"delay" "30"
"respawn_delay" "0"
"bosses" "generic_demoman_boss,generic_heavy_boss,generic_pyro_boss,generic_scout_boss,generic_soldier_boss"
}
}
When creating a config for a mission, the mission name is the same name as the population script file name. ( You can also get the mission name from the sm_waveinfo command. )
In this case, the config is also per wave, the format is waveN where N is the wave number, so wave 1 would be wave1. If the config for a wave can not be found, bosses won't spawn. This can be used to restrict bosses to only a specific wave or disable them. Example from bigrock.
"BossWaveConfig"
{
"mvm_bigrock_advanced2" // Bosses won't spawn in this mission
{
}
"mvm_bigrock_advanced1" // Bosses won't spawn in this mission
{
}
"default"
{
"health_cap" "30000"
"minred_nocap" "6"
"minred" "4"
"delay" "30"
"respawn_delay" "0"
"bosses" "generic_demoman_boss,generic_heavy_boss,generic_pyro_boss,generic_scout_boss,generic_soldier_boss"
}
}
If a mission specific config can not be found, the default section will be used instead. When using default, bosses only spawn on the last wave.
| name | description |
|---|---|
| health_cap | Limits the boss health to this value |
| minred_nocap | If the number of RED players is equal or greater than the value set here, the health_cap setting is bypassed |
| minred | If the number of RED players is equal or greater than the value set here, bosses are allowed to spawn |
| delay | How many seconds to wait after wave start to spawn a boss |
| respawn_delay | How many seconds to wait after boss death to spawn another. Set to 0 to only spawn one boss |
| bosses | List of comma separated bosses to spawn. The name must be the same as the file name of the boss template ( located in configs\bwrr\bosses ) |
| forced_normal | List of normal robots classes forced to be available |
| forced_giant | List of giant robots classes forced to be available |
Valid classes for forced_normal and forced_giant:
scout,soldier,pyro,demoman,heavy,engineer,medic,sniper,spy