[TF2] Explosive ArrowsVersion 1.2
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)Damage of the explosionsm_arrows_radius (Default: 200)Radius of the explosionsm_arrows_join (Default: 0)Should people who spawn get explosive arrows?0 - No1 - Public2 - Admin
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.smx and arrows.cfg.2. Place the file in sourcemod/plugins folder.3. Place the file "arrows.cfg" in cfg/sourcemod folder or just load plugin as it auto generates.4. Restart/Refresh map/plugins.Version Log: Code: 1.2 -- Fixed player's id from being sticked to other players- Added join convar to give explosive arrows to people who join1.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:Last version views: 76 Attached Files
Get Plugin or Get Source (explosivearrows.sp - 5.5 KB)
explosivearrows.smx (6.4 KB)
arrows.cfg (645 Bytes)
Wyświetl pełny artykuł