• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

TankTweak mutator

Status
Not open for further replies.

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Final release of the White-Listed TankTweak is now available (Jan 27, 2012) R.I.P.

Deprecated as of May 24, 2012 (has been integrated in the RO2 code-base)

I created a TankTweak mutator which is partly based on my other mutator (HullMGMutator). This TankTweak mutator allows you to change several settings which are used for the AIs in your tank. As defaults the mutator will used the settings as TWI put them in there stock code.

The best part is that the mutator is white-listed by TWI and servers will not become unranked if they run this mutator.


The following settings can be changed:

  • DifficultyInfantryMissPercentage:
    This one is the miss percentage for both the HullMG and the main gun (will split it up in the next beta).
    Values:
    • Recruit: Default: 35%; Minimum: 20%; Maximum: 100%
    • Soldier: Default: 30%; Minimum: 20%; Maximum: 100%
    • Veteran: Default: 25%; Minimum: 20%; Maximum: 100%
    • Hero: Default: 20%; Minimum: 20%; Maximum: 100%
  • DifficultyMainGunVarianceFactor:
    No clue what it does, but I think it's some kind of penalty on the main gun.
    Values:
    • Recruit: Default: 1%; Minimum: 0.25%; Maximum: 3%
    • Soldier: Default: 1%; Minimum: 0.25%; Maximum: 3%
    • Veteran: Default: 0.66%; Minimum: 0.25%; Maximum: 3%
    • Hero: Default: 0.25%; Minimum: 0.25%; Maximum: 3%
  • TargetSpeedMissPercentage:
    This is a penalty that will be added to the DifficultyInfantryMissPercentage depending on the movement of the target (standing still, walking or running). It's both used for the hull MG as also for the main gun (will split it up in the next beta).
    Values:
    • Standing still: 0%; Minimum: 0%; Maximum: 100%
    • Walking: 0%; Minimum: 0%; Maximum: 100%
    • Running: 20%; Minimum: 0%; Maximum: 100%
  • RangeSettings:
    This setting is used for the RangeMissPercentage (see next bullet). You can define the meters for the 3 range groups (short, medium, long)
    Values (in meters):
    • Short: Default: 50m; Minimum: 10m; Maximum: 300m
    • Medium: Default: 100m; Minimum: <Short>+1m; Maximum: 300m
    • Long: Default: 150m; Minimum: <Medium>+1m; Maximum: 300m
  • RangeMissPercentage:
    This is a penalty which will be added to the DifficultyInfantryMissPercentage depending on the distance between tank and target. The distances are defined with RangeSettings.
    Values:
    • Short: Default: 10%; Minimum: 5%; Maximum: 100%
    • Medium: Default: 30%; Minimum: 5%; Maximum: 100%
    • Long: Default: 60%; Minimum: 5%; Maximum: 100%
The next 2 setting do not exist in TWIs stock code, but I added them because of the feedback from the community:

  • AllowAIToControlHullMG:
    This settings allows you to prevent that an AI will use the hull MG.
    Values: Default: true; Minimum: false; Maximum: true
  • AllowAIToControlMainGun:
    This settings allows you to prevent that an AI will use the main gun. The turret will also not turn anymore (a human players can still turn it).
    Values: Default: true; Minimum: false; Maximum: true

Where to download the mutator (for server admins):


The mutator can be downloaded from this location: Download link has been removed.


How to install the mutator (for server admins):

  1. Download the mutator here: Download link has been removed
  2. Extract both the defaulttanktweak.ini file and the TankTweak.u file from the zip file
  3. Place the defaulttanktweak.ini file in the rogame\config folder on your server
  4. Place the TankTweak.u file in the rogame\cookedpcserver folder of your server
  5. Restart your server (you need to do this or else the server will not find the mutator)


How to activate the mutator (for server admin):

  1. Open your servers web-admin tool
  2. Go to the Change Map page
  3. Select your game type and map
  4. At the Additional URL variables field you add ?mutator=TankTweak.TankTweak
  5. Now load the map


How to configure the settings (for server admins):

  1. Go to the rogame\config folder on your server
  2. Open the ROTankTweak.ini file with a text editor
  3. Make your changes and save the file
  4. Restart your RO2 server
If you did it correctly, then TankTweak.TankTweak should be visible on the Current Game page of the web-admin tool. Even so should the Realism Mode have changed into Custom.


Special note to server admins:

The mutator will not interfere with infantry only maps. On those maps it will just sit idle. This means that you do not need to disable it for infantry only maps.


Source code:
The source code of this mutator can be downloaded from:
svn://212.83.88.75/TankTweak/trunk/
An SVN client is required to download the sources (for example TortoiseSVN).
The files are password protected. If you want access to the sources, then please PM me and you will receive a reply with sign-in details.
 
Last edited:

Proud_God

FNG / Fresh Meat
Dec 22, 2005
3,235
548
0
Belgium
Nice! So you managed to completeley disable mg AI bot? I will play on any server that has that setting, don't care if it's unranked!
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Nice! So you managed to completeley disable mg AI bot? I will play on any server that has that setting, don't care if it's unranked!
Yup. I managed to completely disable the AI bots at hull MG and main gun. The server admin can configure if they want them to be there or not.

You can try it out on my test server.
 

dazman76

FNG / Fresh Meat
Aug 23, 2011
672
176
0
UK / Stalingrad
Ducky, this is awesome work again mate :D I have one question - you say the AI can still turn the main gun, but cannot fire it? Is it possible to stop them turning it too? I hate that effect you get where the turret continues to pull away when you drop back in from the hatch. The AI seem to have control over the traverse for far too long, after you're seated and the main gun view is engaged. I constantly try to get the turret back where I want it, and don't seem to have any control for a second or two.
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Ducky, this is awesome work again mate :D I have one question - you say the AI can still turn the main gun, but cannot fire it? Is it possible to stop them turning it too? I hate that effect you get where the turret continues to pull away when you drop back in from the hatch. The AI seem to have control over the traverse for far too long, after you're seated and the main gun view is engaged. I constantly try to get the turret back where I want it, and don't seem to have any control for a second or two.
I will look into that. I did actually try to stop it from turning, but it didn't work. Maybe I should just let the bot think that there is no target in range.
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
I will look into that. I did actually try to stop it from turning, but it didn't work. Maybe I should just let the bot think that there is no target in range.
I just released the 2nd beta. The turret will not turn anymore. Hiding the targets didn't work. What I did was marking the turret as broken if a bot is controlling it. If it's a human player, then it won't be broken if there really is no damage. If it is damaged, then it stays broken.
 

Cat_in_da_Hat

FNG / Fresh Meat
Dec 11, 2006
1,749
115
0
Ducky have you received any feedback from TWI about the process to get the mutator whitelisted.

I'm keen to include this on the Aussie NZ server but the ranking is an issue. I reckon lots of other admins would be in a similar position.
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Ducky have you received any feedback from TWI about the process to get the mutator whitelisted.

I'm keen to include this on the Aussie NZ server but the ranking is an issue. I reckon lots of other admins would be in a similar position.
Not yet, but I think that they are still on that cruise, because no posts from them so far in this past week. Also the forum moderators seem to be very quiet.

Oh...well... Let's just wait and see 'till they are back in the office.
 

dazman76

FNG / Fresh Meat
Aug 23, 2011
672
176
0
UK / Stalingrad
Ramm tweeted about 10 hours ago, apparently they're back from the cruise - so hopefully back in the office in the next day or so. Let's hope they're fired up and ready to rock :)
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Ramm tweeted about 10 hours ago, apparently they're back from the cruise - so hopefully back in the office in the next day or so. Let's hope they're fired up and ready to rock :)
Will it be Ramm that I have to PM to get a mutator being white-listed?
 

Altus

FNG / Fresh Meat
Jul 30, 2011
109
13
0
Cool mutator comrade, now I and my dedicated player tank-crew can dominate the solo-tankers even more. Any good EU realism servers that have this mutator yet?
 

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Cool mutator comrade, now I and my dedicated player tank-crew can dominate the solo-tankers even more. Any good EU realism servers that have this mutator yet?
My server is running this mutator. Feel free to try it out.

These are the server details:
  • IP: 108.61.253.234
  • Location: Netherlands (EU)
  • Mode: Realism
  • Map: Ogledow_B9
  • Nr. of bots: 5vs5 (well I needed them to test my mutator ;))
Please note that the server has no redirect. You will need to put the map on your rig before you can play on that server. The download of that map can be found here: [url]http://forums.tripwireinteractive.com/showpost.php?p=1010961&postcount=552[/URL]

And a map installer here: [url]http://forums.tripwireinteractive.com/showthread.php?t=73515&highlight=DropZone[/URL]
 
  • Like
Reactions: TravisT

Ducky

Super Moderator
May 22, 2011
6,358
237
0
Netherlands
Don't worry Ducky, that should be fine mate :) Also, we'll try to keep this thread up on the front page - it definitely will get noticed :)
Already got a reply from Strago. They will evaluate my mutator to see if it can be white-listed.
I guess they will have some rules in which it should fit. Will keep you informed.
 
Status
Not open for further replies.