Raised This Month: $ Target: $400
 0% 

Map time TF2


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-21-2012 , 14:29   Re: Map time TF2
Reply With Quote #11

Haven't play TF2 much.

Maybe because maps have builded to specific maximum-time and add capture-point-time.
team_round_timer
Maybe default is max. 10min.

Try add this (haven't tested)
Code:
public Action:Timer_SetTime(Handle:timer, any:ent)
{
	SetVariantInt(1200); // 1200 sec ~ 20min
	AcceptEntityInput(ent, "SetMaxTime");
	SetVariantInt(600); // 600 sec ~ 10min
	AcceptEntityInput(ent, "SetTime");
}

Last edited by Bacardi; 06-21-2012 at 14:31.
Bacardi is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-21-2012 , 14:43   Re: Map time TF2
Reply With Quote #12

Quote:
Originally Posted by TsooJ View Post
The script works but for some stupit reason the time in PL maps wont go any further than 9 minutes ?
That's... strange. I know I've seen pl_goldrush with more than 10 minutes on the clock. Or is this a specific map you're referring to (i.e. hoodoo)?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
TsooJ
Member
Join Date: May 2012
Old 06-21-2012 , 16:13   Re: Map time TF2
Reply With Quote #13

Quote:
Originally Posted by Bacardi View Post
Haven't play TF2 much.

Maybe because maps have builded to specific maximum-time and add capture-point-time.
team_round_timer
Maybe default is max. 10min.

Try add this (haven't tested)
Code:
public Action:Timer_SetTime(Handle:timer, any:ent)
{
	SetVariantInt(1200); // 1200 sec ~ 20min
	AcceptEntityInput(ent, "SetMaxTime");
	SetVariantInt(600); // 600 sec ~ 10min
	AcceptEntityInput(ent, "SetTime");
}
Your my hero ;) This works great ;)
TsooJ is offline
TsooJ
Member
Join Date: May 2012
Old 06-21-2012 , 18:44   Re: Map time TF2
Reply With Quote #14

Here is the plugin well tested and working like a charm

This changes the Payload start time to 10 minutes (default)
This changes the Payload capture time to 10 minutes (default)
This changes the Payload Max time to 60 minutes (default)

Thanks to Bacardi
Attached Files
File Type: sp Get Plugin or Get Source (RoundTimers.sp - 142 views - 1.1 KB)
TsooJ 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 21:13.


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