Raised This Month: $ Target: $400
 0% 

[TF2]Disable extra time that is added after each capure in CP maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shubhishubhi
Senior Member
Join Date: Mar 2008
Old 09-27-2008 , 04:52   [TF2]Disable extra time that is added after each capure in CP maps
Reply With Quote #1

Hello,

Is it possible to disable overtime in rounds in TF2..

Regards
Shubhi
shubhishubhi is offline
shubhishubhi
Senior Member
Join Date: Mar 2008
Old 09-27-2008 , 13:01   Re: [TF2]Disable extra time that is added after each capture
Reply With Quote #2

In CP maps after each capture the round timer is reset to 10:00 min. This implies that once capturing starts the round does not end in stalemate always reaches to round win because extra time is added after each capture.

Is it possible to override this increase in round time after each capture ... Could teamplay_time_time_added help?

Any clues are welcome!
shubhishubhi is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 09-27-2008 , 14:12   Re: [TF2]Disable extra time that is added after each capure in CP maps
Reply With Quote #3

You could try and modify the trigger_capture_area.
Most of them have an "OnEndCap" which then triggers a logic_relay.
You could get it to search and then modify each trigger_capture_area.

Untested so no idea if it would work.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
shubhishubhi
Senior Member
Join Date: Mar 2008
Old 09-27-2008 , 23:31   Re: [TF2]Disable extra time that is added after each capure in CP maps
Reply With Quote #4

Ok... That makes some things clear to me..

OnEndCap is the event that will fire once one of the players captures a CP.. so far so good.

However, since this event is resetting the round timer... there must be some name of the timer so that I could keep its value intact even after the capture is done. Is there some specific event which would add certain time to the round stop watch... if so please share.
shubhishubhi is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-28-2008 , 19:02   Re: [TF2]Disable extra time that is added after each capure in CP maps
Reply With Quote #5

For a completely different reason I am also wanting to know if there is a function or cvar that I can use to determine how much time is left in a given round.

Not the GetMapTimeLeft(), but more to the point... GetRoundTimeLeft() which of course, doesn't exists.

Anyone know how this can be determined?
Antithasys 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 12:05.


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