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

[TF2] Bomb Restart Timer for MvM v1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author
George1
New Member
Join Date: Jan 2013
Location: Vinnytsia, Ukraine
Plugin ID:
3503
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Allow dropped bomb to have a restart timer on it in any map (not just the ones that explicitly support that)
    Old 01-31-2013 , 06:26   [TF2] Bomb Restart Timer for MvM v1.1
    Reply With Quote #1

    Bomb Restart Timer for MvM Missions v1.1

    Description:
    Adds a restart timer to the bomb when it is dropped by robots onto the ground. This enables bomb to have timers even for the maps where such timer is normally absent, which should especially be helpful to those poor sods who like to put 'event' script into non-event maps. The time duration for the timer can be configured via console variable (it is even possible to make the bomb reset to start as soon as it hits the ground).

    Initially I implemented this feature as part of my MvMTrainer plugin, but later decided to release it separately, especially as seemingly no one had thought of this feature before.

    ConVars (default values shown):
    PHP Code:
    sm_bombrestart_time "20" The time before the bomb will be reset to start when droppedin secondsPut -1 to disable restart timer 


    Changelog:

    Spoiler


    Known limitations:
    • If the bomb is already on the ground (either with the timer or not), setting the sm_bombrestart_time variable will not affect the time of the timer (if there is one), neither it will add a timer (if there is none). New value of the variable will be taken into account next time the bomb is dropped.
    • If the bomb has been dropped during round at least once with the value of the timer greater than or equal to 0, then it will be impossible to disable bomb timer in this round by setting the sm_bombrestart_time variable to -1.
    • This plugin has no effect on the timer in maps that handle the timer on their own.
    Attached Files
    File Type: sp Get Plugin or Get Source (BombRestartTimer_v1-1.sp - 1392 views - 2.5 KB)

    Last edited by George1; 02-07-2015 at 12:03. Reason: updated to version 1.1
    George1 is offline
    Send a message via ICQ to George1 Send a message via Skype™ to George1
    island55
    Senior Member
    Join Date: Aug 2010
    Location: charleston
    Old 03-01-2013 , 18:41   Re: [TF2] Bomb Restart Timer for MvM v1.0
    Reply With Quote #2

    does this plugin show that little timer circle above the bomb?
    island55 is offline
    George1
    New Member
    Join Date: Jan 2013
    Location: Vinnytsia, Ukraine
    Old 03-02-2013 , 04:08   Re: [TF2] Bomb Restart Timer for MvM v1.0
    Reply With Quote #3

    Quote:
    Originally Posted by island55 View Post
    does this plugin show that little timer circle above the bomb?
    Sure thing!
    George1 is offline
    Send a message via ICQ to George1 Send a message via Skype™ to George1
    island55
    Senior Member
    Join Date: Aug 2010
    Location: charleston
    Old 04-23-2013 , 15:24   Re: [TF2] Bomb Restart Timer for MvM v1.0
    Reply With Quote #4

    question, what happens if I have this plugin installed and the server switches to mvm_coaltown_event? mvm_coaltown_event is a map that already has the bomb reset timer within the map itself, so would it cause errors or would it cause the server to crash?

    thanks
    island55 is offline
    George1
    New Member
    Join Date: Jan 2013
    Location: Vinnytsia, Ukraine
    Old 04-23-2013 , 15:30   Re: [TF2] Bomb Restart Timer for MvM v1.0
    Reply With Quote #5

    Quote:
    Originally Posted by island55 View Post
    question, what happens if I have this plugin installed and the server switches to mvm_coaltown_event? mvm_coaltown_event is a map that already has the bomb reset timer within the map itself, so would it cause errors or would it cause the server to crash?
    Nothing happens. The map behaves as if there was no plugin (i.e. the timer from the map is used). Note that besides mvm_coaltown_event, the map mvm_mannworks also has its own handling of the timer (on the Ironman difficulty only).
    George1 is offline
    Send a message via ICQ to George1 Send a message via Skype™ to George1
    island55
    Senior Member
    Join Date: Aug 2010
    Location: charleston
    Old 04-23-2013 , 16:52   Re: [TF2] Bomb Restart Timer for MvM v1.0
    Reply With Quote #6

    thanks for the prompt reply
    island55 is offline
    avi9526
    Senior Member
    Join Date: Apr 2013
    Location: Ukraine
    Old 02-07-2015 , 11:37   Re: [TF2] Bomb Restart Timer for MvM v1.0
    Reply With Quote #7

    I've noticed that on some custom mvm maps this plugin is not working - the reason for that is seems to be multiple bombs present, even when only one is actual used/visible in game play. Original plugin set restart timer for first bomb it find, which can be that hidden bomb.

    Fix that set timer for all bombs in attachment… I didn't test it well, so use at own risk…
    Attached Files
    File Type: sp Get Plugin or Get Source (BombRestartTimer.sp - 967 views - 2.4 KB)
    __________________
    avi9526 is offline
    George1
    New Member
    Join Date: Jan 2013
    Location: Vinnytsia, Ukraine
    Old 02-07-2015 , 12:09   Re: [TF2] Bomb Restart Timer for MvM v1.1
    Reply With Quote #8

    Quote:
    Originally Posted by avi9526
    Fix that set timer for all bombs in attachment… I didn't test it well, so use at own risk…
    Thanks, I've updated the script in the header.
    George1 is offline
    Send a message via ICQ to George1 Send a message via Skype™ to George1
    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 23:16.


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