Theatre Transfer system

Post mods you have finished or are working on here.

Moderators: Balthagor, Legend, Moderators

Post Reply
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Theatre Transfer system

Post by Balthagor »

Version .250 introduced a new AI mechanism with the goal of guiding the AI on how to better manoeuvre it's troops. The Theatre Transfer system is used so the AI understands which theatres are adjacent to which. The information is stored in the .CVP file for a given map and looks like this;
&&THEATRETRANSF
1, 2, 3, 4, 19, 20, 8, 6, 15, 16 // "Northeast Asia", "NAS"
2, 1, 3, 4, 8, 19, 20, 21, 6, 15, 16, 5, 7, 9, // "Southeast Asia", "SAS"
3, 1, 2, 5, 14, 21, 7, 9, // "Central Asia", "CAS"
4, 1, 2, 3, 8, 6, 19, 20, 21, 15, 16, 5, 10, 9, // "Oceania", "OCN"
5, 3, 4, 14, 13, 12, 11, 10, 9, 21, // "Middle East", "MDE"
6, 17, 18, 19, 20, 15, 16, 7, 8, 1, 2, 4, 12, 22, 11, 9, // "Central America", "CNA"
7, 8, 6, 17, 18, 15, 16, 12, 22, 10, 9, // "Eastern North America", "ENA"
8, 7, 6, 19, 20, 15, 16, 1, 2, 4, // "Western North America", "WNA"
9, 17, 18, 7, 6, 15, 16, 21, 10, 11, 2, 3, 4, 5, // "Southern Africa", "SAF"
10, 9, 21, 5, 4, 3, 2, 11, // "Eastern Africa", "EAF"
11, 17, 18, 7, 6, 15, 16, 9, 10, 5, 12, 13, 22, // "Northwest Africa", "NAF"
12, 11, 13, 14, 17, 18, 22, 7, 6, 15, 16 // "Western Europe", "WEU"
13, 12, 22, 14, 5, 11, 17, // "Central Europe", "CEU"
14, 4, 5, 21, 13, 12, 22, 17, // "Eastern Europe", "EEU"
15, 6, 7, 8, 16, 19, 20, 17, 18, 1, 2, 4, 22, 12, 11, 9, 21, // "Northern South America", "NSA"
16, 6, 7, 8, 15, 19, 20, 17, 18, 1, 2, 4, 22, 12, 11, 9, 21, // "Southern South America", "SSA"
17, 15, 16, 6, 7, 18, 22, 12, 11, 9, 21, // "North Atlantic", "NAO"
18, 15, 16, 6, 7, 17, 22, 12, 11, 9, 21, // "South Atlantic", "SAO"
19, 1, 2, 4, 6, 8, 15, 16, 20, 21, // "North Pacific", "NPO"
20, 1, 2, 4, 6, 8, 15, 16, 19, 21, // "South Pacific", "SPO"
21, 17, 18, 19, 20, 2, 3, 4, 5, 9, 10, // "Indian Ocean", "INO"
22, 12, 13, 14, 11, 17, 18, 7, 15, 16 // "Northern Europe", "NEU"
The first digit is the ID of the theatre being define. The IDs that follow tell the AI that they are adjacent. So troops in theatre 10 (East Africa) will not try to reach theatre 3 (Central Asia). If a region in theatre 10 has interests in the Middle East, it would station too troops there (theater 5). That theatre is connected to both 10 and 3, so over time the AI would be able to get troops there.

Some players have been debating if this is a good design or not, I wanted to quickly explain how players can test some of this. First, you could an ID to any of these theaters, recache, then see if that new connection helps or makes sense. The other option, if players prefer "the old way", is to replace the section in your CVP with theatres defined as connected to all theatres. It would look like this;
&&THEATRETRANSF
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Northeast Asia", "NAS"
2, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Southeast Asia", "SAS"
3, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Central Asia", "CAS"
4, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Oceania", "OCN"
5, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Middle East", "MDE"
6, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Central America", "CNA"
7, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Eastern North America", "ENA"
8, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Western North America", "WNA"
9, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Southern Africa", "SAF"
10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Eastern Africa", "EAF"
11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Northwest Africa", "NAF"
12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Western Europe", "WEU"
13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, // "Central Europe", "CEU"
14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, // "Eastern Europe", "EEU"
15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, // "Northern South America", "NSA"
16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, // "Southern South America", "SSA"
17, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, // "North Atlantic", "NAO"
18, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, // "South Atlantic", "SAO"
19, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, // "North Pacific", "NPO"
20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, // "South Pacific", "SPO"
21, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, // "Indian Ocean", "INO"
22, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, // "Northern Europe", "NEU"
If you use this definition table and recache, the game will ignore theatre transfers and depend entirely on the AI design to know what units to send where.

We look forward to hearing what people discover from playing with variations on this system.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
arakan94
Lieutenant
Posts: 70
Joined: Oct 10 2018
Human: Yes

Re: Theatre Transfer system

Post by arakan94 »

It's great that we can control this!

Keep up the good work :)
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: Theatre Transfer system

Post by evildari »

thx for info - i almost thought that but some thing feels weird:
ie. #17 NAO has entry "21" (INO) -
1. would mean North Atlantic borders Indian Ocean ?

2. and what would happen if all those entries are empty (i think i emptied that file for my mars mod - just in case)

maybe add another info about usable numbers of theatres (did i write that right?):
3. is 0 to 31 a valid number - or was it increased lately ?
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: Theatre Transfer system

Post by Balthagor »

#1. I'll have to recheck that.

#2. No idea, I'll be looking at the impact on our Arena maps, they have no theatres defined in most cases.

#3. I think so, don't recall any change to this.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
Rosalis
Colonel
Posts: 417
Joined: Sep 07 2019
Human: Yes

Re: Theatre Transfer system

Post by Rosalis »

US moving ships from east coast to west coast getting stuck in eastern Mexico instead of taking panama canal. Still issue
Moving troops from South Europe/North Africa to Netherlands/Germany/Denmark getting stuck in river south of France. Still issue, dont see how this get fixed if its all western europe theater.

Seems its more of an issue for player now. AI will adjust their pathing eventually it seems (send troops back). Less losses for merchant marines due to pathing issues. Just 1 save game on low volatility tho.
YaYo7
Lieutenant
Posts: 91
Joined: Feb 07 2018
Human: Yes

Re: Theatre Transfer system

Post by YaYo7 »

&&THEATRETRANSF
1, 2, 3, 4, 19, 20, 8, 6, 15, 16 // "Northeast Asia", "NAS"
2, 1, 3, 4, 8, 19, 20, 21, 6, 15, 16, 5, 7, 9, // "Southeast Asia", "SAS"
3, 1, 2, 5, 14, 21, 7, 9, // "Central Asia", "CAS"
4, 1, 2, 3, 8, 6, 19, 20, 21, 15, 16, 5, 10, 9, // "Oceania", "OCN"
5, 3, 4, 14, 13, 12, 11, 10, 9, 21, // "Middle East", "MDE"
6, 17, 18, 19, 20, 15, 16, 7, 8, 1, 2, 4, 12, 22, 11, 9, // "Central America", "CNA"
7, 8, 6, 17, 18, 15, 16, 12, 22, 10, 9, // "Eastern North America", "ENA"
8, 7, 6, 19, 20, 15, 16, 1, 2, 4, // "Western North America", "WNA"
9, 17, 18, 7, 6, 15, 16, 21, 10, 11, 2, 3, 4, 5, // "Southern Africa", "SAF"
10, 9, 21, 5, 4, 3, 2, 11, // "Eastern Africa", "EAF"
11, 17, 18, 7, 6, 15, 16, 9, 10, 5, 12, 13, 22, // "Northwest Africa", "NAF"
12, 11, 13, 14, 17, 18, 22, 7, 6, 15, 16 // "Western Europe", "WEU"
13, 12, 22, 14, 5, 11, 17, // "Central Europe", "CEU"
14, 4, 5, 21, 13, 12, 22, 17, // "Eastern Europe", "EEU"
15, 6, 7, 8, 16, 19, 20, 17, 18, 1, 2, 4, 22, 12, 11, 9, 21, // "Northern South America", "NSA"
16, 6, 7, 8, 15, 19, 20, 17, 18, 1, 2, 4, 22, 12, 11, 9, 21, // "Southern South America", "SSA"
17, 15, 16, 6, 7, 18, 22, 12, 11, 9, 21, // "North Atlantic", "NAO"
18, 15, 16, 6, 7, 17, 22, 12, 11, 9, 21, // "South Atlantic", "SAO"
19, 1, 2, 4, 6, 8, 15, 16, 20, 21, // "North Pacific", "NPO"
20, 1, 2, 4, 6, 8, 15, 16, 19, 21, // "South Pacific", "SPO"
21, 17, 18, 19, 20, 2, 3, 4, 5, 9, 10, // "Indian Ocean", "INO"
22, 12, 13, 14, 11, 17, 18, 7, 15, 16 // "Northern Europe", "NEU"
Is this the final form of theatres or is it possible to change in the future?
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: Theatre Transfer system

Post by Balthagor »

Theatres could be modified in the map editor then the .CVP would need to be updated based on what's on the map.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
YaYo7
Lieutenant
Posts: 91
Joined: Feb 07 2018
Human: Yes

Re: Theatre Transfer system

Post by YaYo7 »

7, 8, 6, 17, 18, 15, 16, 12, 22, 10, 9, 13, 11, 5, // "Eastern North America", "ENA"
13- "Central Europe", "CEU"
11- "Northwest Africa", "NAF"
5- "Middle East", "MDE"
If I add theaters 13, 11, 5 for Eastern North America(7), will AI send troops to Central Europe, Northwest Africa, Middle East?
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: Theatre Transfer system

Post by Balthagor »

YaYo7 wrote: Dec 27 2019 ...If I add theaters 13, 11, 5 for Eastern North America(7), will AI send troops to Central Europe, Northwest Africa, Middle East?
I don't know we haven't tested it. That's why we started this thread, so users could give us feedback on what they find when modding the system.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
YaYo7
Lieutenant
Posts: 91
Joined: Feb 07 2018
Human: Yes

Re: Theatre Transfer system

Post by YaYo7 »

Does it matter in which order theaters are registered? 2, 3, 4, 19, 20, 8, 6, 15, 16 or 2, 3, 4, 6, 8, 15, 16, 19, 20? The game will perceive it the same way?
1, 2, 3, 4, 19, 20, 8, 6, 15, 16 // "Northeast Asia", "NAS"
1, 2, 3, 4, 6, 8, 15, 16, 19, 20 // "Northeast Asia", "NAS"
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: Theatre Transfer system

Post by Balthagor »

Order does not matter
Chris Latour
BattleGoat Studios
chris@battlegoat.com
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: Theatre Transfer system

Post by evildari »

1. is it save to leave some rather empty areas at theatre 0 (zero) ?
2. whats the current theatre limit - i could input in ME up to 255 ?
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
User avatar
Balthagor
Supreme Ruler
Posts: 22083
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: Theatre Transfer system

Post by Balthagor »

1. I think so
2. Not sure, untested. I'll ask.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
goreac
Corporal
Posts: 5
Joined: Apr 16 2015
Human: Yes

Re: Theatre Transfer system

Post by goreac »

can somebody make a file where all of africa is combined
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: Theatre Transfer system

Post by evildari »

goreac wrote: May 16 2020 can somebody make a file where all of africa is combined
you would need to repaint the theatre info in the mapeditor for every map you want to use.
It is not an easy group merge like in the countries .cvp files.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
Post Reply

Return to “Modding Show & Tell”