-
Notifications
You must be signed in to change notification settings - Fork 7
Boss Template
Bosses templates are very similar to normal and giant robots. The main difference is that each boss has it's own file.
Some settings are equal to the normal and giant ones. Robot-Template-Guide
Boss template files are stored in configs\bwrr\bosses
- class
The boss class.
Valid classes are: scout,soldier,pyro,demoman,heavyweapons,engineer,medic,sniper,spy
- health_base
The boss's base health.
- health_player
The boss's per player health.
- health_regen
The boss's per player health regeneration.
- gatebot
Is this boss a gatebot?
1 - Yes
0 - No
- currency
How much currency should the player drop on death. Set to '0' to disable.
Bosses have dynamic health and health regen based on the number of RED players.
The formula to calculate the boss health is:
base health + ( health per player * number of player in RED)
For health regeneration:
health regen per player * number of players in RED
Example:
Let's assume:
- Base Health is: 5000
- Per Player Health is: 3000
- Health Regen Per Player is: 20
Case 1: There are 6 players on RED.
- Boss Health: 23000
- Health Regen: 120
Case 2: There are 4 players on RED.
- Boss Health: 17000
- Health Regen: 80
"BossTemplate"
{
"name" "Major Crits"
"class" "soldier"
"scale" "1.9"
"robotattributes" "alwayscrits"
"health_base" "9000"
"health_player" "8500"
"health_regen" "41"
"gatebot" "0"
"playerattributes"
{
"damage force reduction" "0.4"
"airblast vulnerability multiplier" "0.4"
"airblast vertical vulnerability multiplier" "0.1"
"override footstep sound set" "3.0"
"rage giving scale" "0.1"
"move speed bonus" "0.5"
}
"primaryweapon"
{
"classname" "tf_weapon_rocketlauncher"
"index" "18"
"attributes"
{
"damage bonus" "1.5"
"clip size upgrade atomic" "26.0"
"faster reload rate" "0.4"
"fire rate bonus" "0.2"
"projectile spread angle penalty" "5"
"Projectile speed increased" "0.4"
}
}
}