Raised This Month: $110 Target: $400
 27% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
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:
     
    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, 8698 views)
    File Type: sp Get Plugin or Get Source (explosivearrows.sp - 6654 views - 8.1 KB)
    File Type: smx explosivearrows.smx (9.2 KB, 2189 views)
    __________________

    Last edited by Chaosxk; 03-05-2016 at 14:59. Reason: update
    Chaosxk is offline
    wawazy
    Member
    Join Date: Aug 2009
    Old 12-15-2012 , 14:06   Re: [TF2] Explosive Arrows (1.0) [12/15/12]
    Reply With Quote #2

    ok i test it now
    wawazy is offline
    wawazy
    Member
    Join Date: Aug 2009
    Old 12-15-2012 , 14:25   Re: [TF2] Explosive Arrows (1.0) [12/15/12]
    Reply With Quote #3

    well i see no explosion on this

    server map have been reloaded and all plugins

    wa
    wawazy is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 12-15-2012 , 14:26   Re: [TF2] Explosive Arrows (1.0) [12/15/12]
    Reply With Quote #4

    This sounds interesting. Would you mind adding a screenshot or a video?
    __________________
    Sreaper is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 12-15-2012 , 14:42   Re: [TF2] Explosive Arrows (1.0) [12/15/12]
    Reply With Quote #5

    You need SDKHooks to run this.

    Can't really make a screenshot b/c it's too hard to take it when it explodes.
    Video of course would be better but i never recorded anything on TF2 before.
    If someone else minds doing it, i would appreciate it.
    __________________

    Last edited by Chaosxk; 12-15-2012 at 14:44.
    Chaosxk is offline
    wawazy
    Member
    Join Date: Aug 2009
    Old 12-15-2012 , 14:44   Re: [TF2] Explosive Arrows (1.0) [12/15/12]
    Reply With Quote #6

    i got all i need like sdhook


    and i added you on steam if you want see in server

    wa
    wawazy is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 12-15-2012 , 15:28   Re: [TF2] Explosive Arrows (1.1) [12/15/12]
    Reply With Quote #7

    1.1 -
    - I'm stupid, fixed a line with getting the flags of a player
    - Also fixed getting valid client and enabled cvar twice

    Also added a screenshot, nothing fancy.
    __________________
    Chaosxk is offline
    wawazy
    Member
    Join Date: Aug 2009
    Old 12-15-2012 , 15:51   Re: [TF2] Explosive Arrows (1.1) [12/15/12]
    Reply With Quote #8

    Nice work great now

    Thanks

    wa
    wawazy is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 12-15-2012 , 19:30   Re: [TF2] Explosive Arrows (1.1) [12/15/12]
    Reply With Quote #9

    This is great feature for admins on my server
    And theres a issue with plugin submission. Plugin Game is Any not Team Fortress 2. You should change it. Some people might get confused and try install it on CS:S
    __________________
    ...
    Oshizu is offline
    Chaosxk
    Veteran Member
    Join Date: Aug 2010
    Location: Westeros
    Old 12-15-2012 , 20:14   Re: [TF2] Explosive Arrows (1.1) [12/15/12]
    Reply With Quote #10

    Oh, woops. Fixed that,thanks.
    __________________
    Chaosxk is offline
    Reply


    Thread Tools
    Display Modes

    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:08.


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