Raised This Month: $51 Target: $400
 12% 

[TF2] Explosive Arrows (1.3.1) [6/27/2013]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Plugin ID:
3415
Plugin Version:
1.3.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    18 
    Plugin Description:
    Explode moar!
    Old 12-15-2012 , 12:49   [TF2] Explosive Arrows (1.3.1) [6/27/2013]
    Reply With Quote #1

    [TF2] Explosive Arrows
    Version 1.3.1


    Introduction:
    Are your arrows too weak? Buff them up with explosive arrows!
    Shoot, hit, explode.
    Works on huntsman and crusader's crossbow.

    Dependency:
    - SDKHOOKS (Already in Sourcemod 1.5+)
    http://forums.alliedmods.net/showthread.php?t=106748

    Convars:
    sm_explarrows_enabled (Default: 1)
    1 - Enabled
    0 - Disabled

    sm_explarrows_damage (Default: 50)
    Damage of the explosion

    sm_explarrows_radius (Default: 200)
    Radius of the explosion

    sm_explarrows_join (Default: 0)
    Should people who spawn get explosive arrows?
    0 - No
    1 - Public
    2 - Admins (Generic but can be override with sm_explarrows_join_access)

    sm_explarrows_type (Default: 0)
    0 - All
    1 - Huntsman
    2 - Crusader's Crossbow

    sm_explarrows_delay (Default: 0)
    How many seconds after hitting before exploding? (Seconds)

    Commands:
    sm_explarrowsme (Open command override with sm_explarrowsme)
    (e.g sm_arrowsme) - Enabled arrows on yourself

    sm_explarrows <Player> <1: On ; 0: Off> (ADMIN_GENERIC)
    (e.g sm_arrows @all 1) - Enables explosive arrows on everyone

    Installation:
    1. Download explosivearrows.smx and explarrows.cfg.
    2. Place the file in sourcemod/plugins folder.
    3. Place the file "explosivearrows.cfg" in cfg/sourcemod folder or just load plugin as it auto generates.
    4. Restart/Refresh map/plugins.

    Installation:
    1. Download explosivearrows.smx and explarrows.cfg.
    2. Place the file in sourcemod/plugins folder.
    3. Place the file "explosivearrows.cfg" in cfg/sourcemod folder or just load plugin as it auto generates.
    4. Restart/Refresh map/plugins.

    Credit:
    Code:
    FlaminSarge for version 1.3.1 for fixes and cleanup and figuring out delay explosives.
    Version:
    Code:
    1.3.1 - Fixes, cleanup and adding delay explosion credited to FlaminSarge
    https://forums.alliedmods.net/showpost.php?p=1977584&postcount=38
    
    1.3 - 
    - Rewrote most of the plugin
    - No longer uses timers
    - Readded/Fixed admin  join, admins repected by the convar sm_arrows_flag will get explosive arrows on join
    - Added sm_arrows_flag which is used to associate with sm_arrowsme and sm_arrows_join commands
    - Added sm_arrows_type to specify which arrow can have explosives
    - Added tf2 only check
     
    1.2.2 - 
    - Hopefully fixed those errors during map change.
    
    1.2.1 -
    - Removed player_death reset
    - Moved precached to onmapstart()
    - Added checks for cvar_join <-fixes the reset on death/team change
    
    1.2 -
    - Fixed player's id from being sticked to other players
    - Added join convar to give explosive arrows to people who join
    - Precaches the explosion effect to prevent any crashes
    
    1.1 -
    - I'm stupid, fixed a line with getting the flags of a player
    - Also fixed getting valid client and enabled cvar twice
    
    1.0 - Released
    Other notes:
    - The explosion damage will follow the friendly fire rules.

    Enjoy...
    Attached Files
    File Type: cfg explosivearrows.cfg (836 Bytes, 9429 views)
    File Type: sp Get Plugin or Get Source (explosivearrows.sp - 7247 views - 8.1 KB)
    File Type: smx explosivearrows.smx (9.2 KB, 2894 views)
    __________________

    Last edited by Chaosxk; 03-05-2016 at 14:59. Reason: update
    Chaosxk is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 03:14.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode