Replace Projectile (Latest Version:
v1.0.2)
This plugin allows the replacement and scaling of Boss projectiles.
Installation:- ff2_replaceprojectile.ff2 -> plugins/freaks/
- ff2_replaceprojectile.sp -> scripting/
Replace Projectile
PHP Code:
"abilityX"
{
"name" "replace_projectile"
"arg1" "tf_projectile_rocket" //name of the projectile to replace the model of
"arg2" "models/props_halloween/eyeball_projectile.mdl" //replacement model
"arg3" "2.0" //model scale
"plugin_name" "ff2_replaceprojectile"
}
- arg1 is the name of the projectile entity to be replaced, e.g. tf_projectile_rocket, tf_projectile_pipe, tf_projectile_stun_ball see https://developer.valvesoftware.com/...ess_2_Entities for a full list.
- All custom models and materials need to be added to the mod_download, mat_download and download tables, where applicable, in the Boss config.
- If arg3 is not present, then default size is used.
In the example above, rockets are replaced with Monoculus eyeballs scaled to twice normal size.
ChangeLog:
v1.0.2: Added timer before changing projectile model values. (Thanks again friagram)
v1.0.1: Improved the collision of projectiles. Block negative scale values. (Thanks friagram!)
v1.0: Initial release.