-
Notifications
You must be signed in to change notification settings - Fork 27
Easter Abilities (easter_abilities.ff2)
naydef edited this page Aug 31, 2019
·
8 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.
model_projectile_replace
Argument name | Old name | Default value | Description | Note |
---|---|---|---|---|
classname |
arg1 |
"" | The type(classname) of projectile to replace | N/A |
model |
arg2 |
"" | The model to replace projectile with | Bad/Missing model might crash the server |
-
spawn_many_objects_on_kill
andspawn_many_objects_on_death
Argument name | Old name | Default value | Description | Note |
---|---|---|---|---|
classname |
arg1 |
"" | The type(classname) of object to spawn | N/A |
model |
arg2 |
"" | Model to use for the object | Bad/Missing model might crash the server |
skin |
arg3 |
3 | Skin of the model | N/A |
amount |
arg4 |
14 | Number of objects to spawn | N/A |
distance |
arg5 |
30 | Objects' average distance away from the player | N/A |
Note: spawn_many_objects_on_kill
spawns objects when the boss kills someone, while spawn_many_objects_on_death
spawns objects when the boss dies.
"ability1"
{
"name" "model_projectile_replace"
"classname" "tf_projectile_pipe" //Replace grenade models
"model" "models/player/saxton_hale/w_easteregg.mdl" //Make the grenade look like an easter egg
"plugin_name" "easter_abilities"
}
"ability2"
{
"name" "spawn_many_objects_on_kill"
"classname" "tf_ammo_pack" //Spawn an ammo pack
"model" "models/player/saxton_hale/w_easteregg.mdl" //Make the ammo pack look like an easter egg
"skin" "1" //Ammo pack's skin
"amount" "5" //Number of ammo packs to spawn
"distance" "30.0" //Distance away from the player killed to spawn the ammo packs
"plugin_name" "easter_abilities"
}