Raised This Month: $32 Target: $400
 8% 

The Detonator


Post New Thread Reply   
 
Thread Tools Display Modes
Author
snowyiet
Member
Join Date: Jan 2010
Plugin ID:
2237
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Detonate flares to jump with and burn enemies. Based on TF2 beta "The Detonator"
    Unapprover:
    Reason for Unapproving:
    Errors reported. Unmaintained(?)
    Old 02-23-2011 , 06:04   The Detonator
    Reply With Quote #1

    Description: Detonate flares to jump with and burn enemies. Based on TF2 beta "The Detonator"

    Use alt-fire after firing a flare to detonate it. Enemies near the flare will burn. This can also be used to jump with. Based on the detonator flaregun ability in TF2 beta.

    Cvars:
    sm_flare_radius "4.5" Effective radius[meter](0.0-100.0)
    sm_flare_speed "1.0" Flare speed magnification (0.0-10.0)
    sm_flaredetonate_enabled "1" Enable/Disable detonate. (0 = disabled | 1 = enabled)

    How to install:
    Place rmf.games.txt into addons/sourcemod/gamedata
    Place detonator.smx into addons/sourcemod/plugins


    Based on original plugin "RMF Flare Fireworks" by RIKUSYO
    Attached Files
    File Type: sp Get Plugin or Get Source (detonator.sp - 199 views - 9.4 KB)
    File Type: inc tf2_codes.inc (49.9 KB, 184 views)
    File Type: inc tf2_events.inc (22.5 KB, 190 views)
    File Type: smx detonator.smx (30.9 KB, 172 views)
    File Type: txt rmf.games.txt (344 Bytes, 223 views)

    Last edited by snowyiet; 02-26-2011 at 06:17.
    snowyiet is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 02-25-2011 , 12:26   Re: The Detonator
    Reply With Quote #2

    Quote:
    L 02/25/2011 - 12:02:14: [SM] Error parsing gameconfig file "/home/steam/orangebox/tf/addons/sourcemod/gamedata/rmf.games.txt":
    L 02/25/2011 - 12:02:14: [SM] Error 1 on line 0, col 0: Stream failed to open
    L 02/25/2011 - 12:02:14: [SM] Native "LoadGameConfigFile" reported: Unable to open rmf.games: File could not be opened: No such file or directory
    -Trade-BOT- L 02/25/2011 - 12:02:14: [SM] Displaying call stack trace for plugin "detonator.smx":
    L 02/25/2011 - 12:02:14: [SM] [0] Line 185, rmf/tf2_items.inc::InitGameConf()
    L 02/25/2011 - 12:02:14: [SM] [1] Line 210, rmf/tf2_events.inc::OnPluginStart()
    [SM] Loaded plugin detonator.smx successfully.
    xomp is offline
    Send a message via Skype™ to xomp
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 02-26-2011 , 02:35   Re: The Detonator
    Reply With Quote #3

    excellent plugin export... w/o replacing rmf's functions
    Leonardo is offline
    snowyiet
    Member
    Join Date: Jan 2010
    Old 02-26-2011 , 06:15   Re: The Detonator
    Reply With Quote #4

    I forgot to upload the rmf gamedata file. Added it to the main post.
    snowyiet is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 02-26-2011 , 22:18   Re: The Detonator
    Reply With Quote #5

    -snip- dammit
    xomp is offline
    Send a message via Skype™ to xomp
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 02-27-2011 , 00:29   Re: The Detonator
    Reply With Quote #6

    bawww I already did this! :C
    It's in the RMF update I was gonna post!

    Flare jump and everything! If you run the FlareFirework.smx without the RMFAbilityMenu.smx, it'll be global enabled.
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 02-27-2011 , 03:39   Re: The Detonator
    Reply With Quote #7

    Quote:
    Originally Posted by FlaminSarge View Post
    bawww I already did this! :C
    It's in the RMF update I was gonna post!
    the failure!
    and also he already stole this ... plugin

    Last edited by Leonardo; 02-27-2011 at 03:52.
    Leonardo is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 02-27-2011 , 13:10   Re: The Detonator
    Reply With Quote #8

    I don't see the code in there for flare jumping...

    I finished my version with the jump code, plus scaling the damage done according to how far away from the explosion they are.

    I REALLY need to post my RMF updates somewhere in that thread...

    But snowyjet, if you want the code, lemme know.
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 02-27-2011 at 13:21.
    FlaminSarge is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 03-12-2011 , 20:47   Re: The Detonator
    Reply With Quote #9

    Quote:
    L 03/12/2011 - 17:27:13: SourceMod error session started
    L 03/12/2011 - 17:27:13: Info (map "cp_fastlane") (file "errors_20110312.log")
    L 03/12/2011 - 17:27:13: [SM] Error parsing gameconfig file "C:\Game installs\sourcebase\orangebox\tf\addons\sourc emod\gamedata\rmf.games.txt":
    L 03/12/2011 - 17:27:13: [SM] Error 1 on line 0, col 0: Stream failed to open
    L 03/12/2011 - 17:27:13: [SM] Native "LoadGameConfigFile" reported: Unable to open rmf.games: File could not be opened: The system cannot find the file specified.


    L 03/12/2011 - 17:27:13: [SM] Displaying call stack trace for plugin "detonator.smx":
    L 03/12/2011 - 17:27:13: [SM] [0] Line 185, rmf/tf2_items.inc::InitGameConf()
    L 03/12/2011 - 17:27:13: [SM] [1] Line 210, rmf/tf2_events.inc::OnPluginStart()
    L 03/12/2011 - 17:516: Error log file session closed.
    xomp is offline
    Send a message via Skype™ to xomp
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 03-12-2011 , 21:00   Re: The Detonator
    Reply With Quote #10

    Half of the stuff in the attached tf2codes.inc is way outdated and duplicates things in tf2_stocks.inc that comes with SM (and is up to date and correct).

    Most conditions, weapon ids, the TF2_GetPlayerCond stock, TF2_SetPlayerCond/TF2_AddCond/TF2_RemoveCond (TF2_AddCondition and TF2_RemoveCondition should be used instead).

    The TF2_SetPlayerSpeed stock won't work at all.

    I realize that it's from RMF, but you need to be responsible for things in/with your own plugin.

    I suggest copying/updating the stocks you use from it into your plugin and ditching that inc. Leaving it there for others to mistakenly use isn't a great idea.
    IsHuman()
    psychonic is offline
    Reply



    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 01:43.


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