[TF2] Explosive ArrowsVersion 1.1
Introduction: Are your arrows too weak? Buff them up with explosive arrows!Shoot, hit, explode.Works on huntsman and crusader's crossbow.Had this for a while on my server until i stopped running it, decided...why not release it?
Dependency:- SDKHOOKS
http://forums.allied...ad.php?t=106748Convars:sm_arrows_enabled (Default: 1)1 - Enabled0 - Disabledsm_arrows_damage (Default: 50)sm_arrows_radius (Default: 200)
Commands:sm_arrowsme - Enabled arrows on yourselfsm_arrows
<1: On ; 0: Off>(e.g sm_arrows @all 1) - Enables explosive arrows on everyoneAdmin Generic for both commands, use admins override if you want to me sm_arrowsme public.Installation:1. Download arrows.smx2. Place the file in sourcemod/plugins folder and restart server/refresh the map/refresh plugins.3. A automatically generated config is created in cfg/sourcemod where you can configure the cvars4. EnjoyVersion Log: Code: 1.1 -- I'm stupid, fixed a line with getting the flags of a player- Also fixed getting valid client and enabled cvar twice1.0 - ReleasedOther notes:- The explosion damage will follow the friendly fire rules.- Have not figured out a way to detect a moving arrow on a player if i wanted a 10 second delay in explosion.Enjoy...:fox: Attached Files
Get Plugin or Get Source (explosivearrows.sp - 4.6 KB)
explosivearrows.smx (5.7 KB)
Wyświetl pełny artykuł