Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra 2 / Rising Storm Forums > RO2/RS Modifications > General Modding Discussion > RO2/RS Beta Mod Releases

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2012, 05:17 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 838
Default TimeScaler Mutator

This mutator allows to scale these parameters:

Territory:
-Round time limit
-Lockdown time
-Minimum time to capture a zone.
-Axis/Allies delay between reinforcements waves
-Delay between commander-forced respawn

Firefight:
-Round time limit*
-Axis/Allies delay between reinforcements waves

Countdown:
-Objective time limit
-Minimum time to capture an objective Zone.

*In this case special case, the time limit can only be set to a value, it cannot be scaled.

PROFILES
You can create as many scaling profiles as you want in the config file. A profile contains these settings:
  • ID [TE/FF/CD] MANDATORY
    Identifies a profile. Any alphanumerical value is accepted (case insensitive).
  • AbsoluteTimeLimit [TE/FF/CD] (default: false)
    Set to true if you want to use an absolute time limit, or false if you want to use a scaling factor.
  • TimeLimit [TE/FF/CD] (default: 1.0)
    Absolute time in seconds, or scaling factor. For FF, it HAS to be an absolute time.
  • LockDownTime [TE] (default: 1.0)
    Scaling factor for the lockdown timers.
  • MinimumCaptureTime [TE/CD] (default: 1.0)
    Scaling factor for the time required to capture a zone/objective
  • AxisReinforcementDelay [TE/FF] (default: 1.0)
    Scaling factor for the time between the axis reinforcements waves.
  • AlliesReinforcementDelay [TE/FF] (default: 1.0)
    Scaling factor for the time between the allies reinforcements waves.
  • InstantRespawnInterval [TE] (default: 1.0)
    Scaling factor for the delay between commander-forced respawn.

Whenever a parameter is not specified, the default value is used.

Here's the default configuration file:

Code:
[TimeScaler.TimeScaler]
bEnableLogging=false
ScalingProfileList=(ID="Race",TimeLimit=0.75,LockDownTime=0.75,MinimumCaptureTime=0.75,AxisReinforcementDelay=0.75,AlliesReinforcementDelay=0.75,InstantRespawnInterval=0.75)
ScalingProfileList=(ID="Epic",TimeLimit=2.0,LockDownTime=2.0,MinimumCaptureTime=2.0,AxisReinforcementDelay=2.0,AlliesReinforcementDelay=2.0,InstantRespawnInterval=2.0)
Note that when the mutator is active, a default scaling profile is always used, unless a profile ID is specified.

To understand how to use mutator, consider this example, where you want to use the epic profile:
Code:
?mutator=TimeScaler.TimeScaler?TimeScaler_ID=Epic
?TimeScaler_ID=Epic means the the Epic profile will be used.

?mutator=TimeScaler.TimeScaler is used to enable the mutator. You need to include it everytime you use the mutator. If you have many mutators active, line them up like this:
Code:
?mutator=TimeScaler.TimeScaler,OtherMutator.OtherMutator,AnotherOne.AnotherOne ...
OVERRIDE
Any of the parameters defined in the active profile can be overriden by an option in the URL. Basically, to override a parameter, just put ?TimeScaler_<param_name>=<param_value> in the URL.

Consider these examples:

You want to use your use the default profile, but want the lockdown timers to be twice longer:
Code:
?mutator=TimeScaler.TimeScaler?TimeScaler_LockDownTime=2.0
You want to use the Epic profile, but it's a FF map, which means that you need to set an absolute time limit.
Code:
?mutator=TimeScaler.TimeScaler?TimeScaler_ID=Epic?TimeScaler_AbsoluteTimeLimit=true?TimeScaler_TimeLimit=900
INSTALL
1. The zip file is attached to this thread (see below), download it and extract the files.
2. In the server directory, put defaulttimescaler.ini and ROTimeScaler.ini under ~\rogame\config\
3. In the server directory, put TimeScaler.u under ~\rogame\cookedpcserver\
4. If you use a redirect for your server, put TimeScaler.u at the root.

SPECIAL THANKS TO...
-Mad_Fred for helping me to test the mutator.
-Ducky for sharing his mutators, and answering many questions.
-Mekhazzio for taking me out of big troubles.
-worluk for helping me to setup a development environment.
Attached Files
File Type: zip TimeScaler_v1.0.zip (5.8 KB, 16 views)
File Type: txt defaulttimescaler_ini.txt (391 Bytes, 6 views)
File Type: txt ROTimeScaler_ini.txt (391 Bytes, 8 views)
File Type: txt TimeScaler_u.txt (21.8 KB, 8 views)

Last edited by -=THOR=-; 03-17-2012 at 11:24 AM.
Reply With Quote
  #2  
Old 03-16-2012, 06:08 PM
Ducky's Avatar
Ducky Ducky is offline
Moderator
 
Join Date: May 2011
Location: Netherlands
Posts: 2,679
Default

I like that profile part. Will make it very easy for an admin to select different settings without having to dive into the ini file.

Nice job!!!
Reply With Quote
  #3  
Old 03-16-2012, 11:38 PM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 838
Default

Quote:
Originally Posted by Ducky View Post
I like that profile part. Will make it very easy for an admin to select different settings without having to dive into the ini file.

Nice job!!!
Thanks! Btw, if you look carefully at the structure of the file, you'll probably recognize the DynamicMapRotator structure , it helped me a lot.
Reply With Quote
  #4  
Old 03-17-2012, 07:42 AM
Ducky's Avatar
Ducky Ducky is offline
Moderator
 
Join Date: May 2011
Location: Netherlands
Posts: 2,679
Default

Quote:
Originally Posted by -=THOR=- View Post
Thanks! Btw, if you look carefully at the structure of the file, you'll probably recognize the DynamicMapRotator structure , it helped me a lot.
Well that is why I made my mutators open. Then others can get an idea on how things can be done.

Thanks for sharing your code too
Reply With Quote
  #5  
Old 03-17-2012, 09:59 AM
®omano's Avatar
®omano ®omano is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 283
Default

Thanks A LOT for all of you, your mods are really appreciated, this will really help us!
__________________
Reply With Quote
  #6  
Old 03-17-2012, 10:11 AM
10-78 BusterKing 10-78 BusterKing is offline
Senior Member
 
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 468
Default

I tried to download it twice. When trying to unzip I am getting the error that it is damaged.

Anyone else having this issue?
Reply With Quote
  #7  
Old 03-17-2012, 10:49 AM
Proud_God's Avatar
Proud_God Proud_God is offline
Senior Member
 
Join Date: Dec 2005
Location: Belgium
Posts: 2,596
Default

Cheers for making this.
__________________
aka Wakke
Reply With Quote
  #8  
Old 03-17-2012, 11:25 AM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 838
Default

Quote:
Originally Posted by 10-78 BusterKing View Post
I tried to download it twice. When trying to unzip I am getting the error that it is damaged.

Anyone else having this issue?
I zipped the files with 7-zip. But anyway, I just uploaded the files individually. Just remove the .txt extensions, and replace the underscores by dots.
Reply With Quote
  #9  
Old 03-17-2012, 12:09 PM
10-78 BusterKing 10-78 BusterKing is offline
Senior Member
 
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 468
Default

Quote:
Originally Posted by -=THOR=- View Post
I zipped the files with 7-zip. But anyway, I just uploaded the files individually. Just remove the .txt extensions, and replace the underscores by dots.
That worked. Thanks for doing this mutator.
Reply With Quote
  #10  
Old 03-17-2012, 01:04 PM
Mike_Nomad's Avatar
Mike_Nomad Mike_Nomad is offline
Senior Member
 
Join Date: Feb 2006
Location: Florida, USA
Posts: 4,444
Default

Quote:
Originally Posted by 10-78 BusterKing View Post
That worked. Thanks for doing this mutator.
BK, use WinRaR it does them all including 7z.
__________________
Regards,

Reply With Quote
  #11  
Old 03-19-2012, 02:51 AM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 838
Default

Just submitted v1.1 for white-listing. I'll keep you up-to-date!
Reply With Quote
  #12  
Old 03-19-2012, 06:21 AM
Mike_Nomad's Avatar
Mike_Nomad Mike_Nomad is offline
Senior Member
 
Join Date: Feb 2006
Location: Florida, USA
Posts: 4,444
Default

Quote:
Originally Posted by -=THOR=- View Post
Just submitted v1.1 for white-listing. I'll keep you up-to-date!
Thank you!! Looking forward to using this goodie.
__________________
Regards,

Reply With Quote
  #13  
Old 06-06-2012, 06:34 AM
Cat_in_da_Hat Cat_in_da_Hat is offline
Senior Member
 
Join Date: Dec 2006
Posts: 837
Default

Does this allow you to modify the time for each map or is it across the entire game server?

Would be great to have more control over the time setting for each map. Classic mode seems to favour defenders greatly so it would be great to be able to tweak it so the fights are closer.
Reply With Quote
  #14  
Old 06-07-2012, 09:50 AM
-=THOR=-'s Avatar
-=THOR=- -=THOR=- is offline
Senior Member
 
Join Date: Sep 2011
Posts: 838
Default

Quote:
Originally Posted by Cat_in_da_Hat View Post
Does this allow you to modify the time for each map or is it across the entire game server?

Would be great to have more control over the time setting for each map. Classic mode seems to favour defenders greatly so it would be great to be able to tweak it so the fights are closer.
Yes, all you'd have to do is to add an option in the URL of the map (with DynamicMapRotator). It would be great for Classic on some maps, but it is also for CD, which we are using with great results in the Public 1vs1 Rifleman Tournament.

However the version of this mutator that I submitted to TWI has never been white-listed. The last news I got from them, were that TWI was "concerned about the potential changes to the gameplay without players being aware of it when joining the server".

I'd probably have to review it to see if everything still works fine after the update. But I'm not wasting any more time on it as long as TWI doesn't show a real interest into going through the white-listing process.

Last edited by -=THOR=-; 06-07-2012 at 10:00 AM.
Reply With Quote
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 12:36 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC