Requirements:
SDKHooksWhy should I use this?- There are many projectile replacers appearing as new plugins recently. Far too many. This plugin can replace any projectile type with any model.
- This plugin doesn't use OnGameFrame to check every projectile model every frame. Instead, it sets the projectile model just once when it spawns.
This plugin reads
addons/sourcemod/data/projectile_replacer.cfg on every map change. A sample configuration file is attached to this post. The sample configuration file replaces the standard Soldier rocket with either a toy frog or a cow cutout, chosen randomly.
Plugin Cvars:
tpr_version - The plugin version.
tpr_enabled (def 1) - Set to 0 to disable the plugin.
Admin Commandstpr_reload - Reload the Projectile Replacer configuration file. Requires Config admin access (flag i) by default.
Due to requiring SDKHooks, the Get Plugin link doesn't work.Tested on
TF2 with the default configuration file. Attached Files
projectile_replacer.cfg (149 Bytes)
Get Plugin or
Get Source (projectile_replacer.sp - 5.2 KB)
projectile_replacer.smx (5.2 KB)
projectile_replacer_1.0.zip (8.3 KB)
Wyświetl pełny artykuł