-
Notifications
You must be signed in to change notification settings - Fork 27
Special abilities (special_noanims.ff2)
naydef edited this page Aug 31, 2019
·
3 revisions
Note: All abilities listed need to have the slot
argument when named arguments are used, even If it is not significant for the ability.
-
special_noanims
- Disable animations of Boss's model
Argument name | Old name | Default value | Description | Note |
---|---|---|---|---|
custom model rotates |
arg1 |
0 |
0 -Disable custom model rotation |
N/A |
-
rage_new_weapon
- Boss gets a custom weapon
Argument name | Old name | Default value | Description | Note |
---|---|---|---|---|
classname |
arg1 |
"" | Slot of the weapon | N/A |
index |
arg2 |
"" | Item definition index of the weapon | N/A |
attributes |
arg3 |
"" | Weapon attributes | Format is "attribute ; value ; attribute2 ; value2". The max number of attributes is 16 |
weapon slot |
arg4 |
4 | Slot of the weapon |
0 - Primary 1 - Secondary2 - Melee3 - Construction PDA (Engineer) / Disguise Kit (Spy)4 - Destruction PDA (Engineer) / Watches (Spy)5 - Builder (Engineer, required to make Construction PDA/Destruction PDA work) |
ammo |
arg5 |
0 | Ammo | N/A |
force switch |
arg6 |
0 | Switch to this weapon when ability is activated? | N/A |
clip |
arg7 |
0 | Clip ammo | N/A |
There are some significant differences between these 2 examples-take a close look at ammo
and clip
. ammo
makes the boss "reload" his weapon before being able to shoot, while clip
allows the boss to use the weapon immediately. Use clip
for clipless weapons (minigun, flamethrower, etc). However, ammo
must also be set to at least 1 for clipless weapons to operate.
"ability1"
{
"name" "rage_new_weapon"
"classname" "tf_weapon_revolver"
"index" "161"
"attributes" "2 ; 9 ; 6 ; 0.5 ; 266 ; 99 ; 150 ; 1 ; 25 ; 0 ; 106 ; 0"
"weapon slot" "0"
"ammo" "6" //weapon ammo should be used for this type of weapon
"force switch" "1"
"plugin_name" "special_noanims"
}
This gives the boss a Big Kill with 6 ammo and the arg3
attributes when rage is used.
"ability1"
{
"name" "rage_new_weapon"
"classname" "tf_weapon_minigun"
"index" "15"
"attributes" "1 ; 0.75 ; 15 ; 1 ; 32 ; 1 ; 266 ; 99"
"weapon slot" "0"
"ammo" "1"
"force switch" "1"
"clip" "50" //weapon clip should be used for this type of weapon
"plugin_name" "special_noanims"
}
This gives the hale a Minigun with 50 clip and the arg3
attributes when rage is used.