Theater Codes

PC : Turn based WW2 goodness in the mold of Panzer General. This promises to be a true classic!

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
proline
2nd Lieutenant - Elite Panzer IVF/2
2nd Lieutenant - Elite Panzer IVF/2
Posts: 710
Joined: Sun Jul 27, 2014 12:03 am

Theater Codes

Post by proline »

Anyone know where I can find a good list to lookup the theater codes in the equipment file? Same for the movement types.
dalfrede
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1503
Joined: Wed Mar 15, 2017 7:48 pm

Re: Theater Codes

Post by dalfrede »

Yrfin has been testing new movement types
http://www.slitherine.com/forum/viewtop ... 47&t=76308

Movement types are in a ordered list at the start of movement.pzdat .

From movement.pzdat

# This file contains the list of movement types in the game
# Zero-based index of a movement type in the list is used to reference it throughout the game.
# So, the order of entries in the list is very important.
# It is recommended to add new entries to the end of the list.

FormatVersion 1

# Movement types
# Name Short name
IDS_MOVT_TRACKED Medium Tank
IDS_MOVT_HALF_TRACKED Half-truck
IDS_MOVT_WHEELED Wheel Car
. . .

ie

TRACKED = 0
HALF_TRACKED = 1
. . .
to add movement types add to the bottom of the list, and 'increment' the index.

There appears to be only two theatre settings: 0 = Europe. 1 = Africa

From strings.pzdat :
. . .
IDS_LABEL_THEATRE Theatre:
IDS_THEATRE0 Europe
IDS_THEATRE1 Africa
IDS_TT_THEATRE Theatre of WW2 where this battle takes place. Theatre can affect certain aspects of the game, like availability of certain unit types for purchase.
. . .
The USMC mod doesn't use the theatre code for the added units, although one should be able to add one if one wants.
http://www.slitherine.com/forum/viewtop ... hilit=USMC

The main point of the theatre code is to prevent using Eiefant in North Africa, so feel free to ignore.
There comes a time on every project when it is time to shoot the engineer and ship the damn thing.
proline
2nd Lieutenant - Elite Panzer IVF/2
2nd Lieutenant - Elite Panzer IVF/2
Posts: 710
Joined: Sun Jul 27, 2014 12:03 am

Re: Theater Codes

Post by proline »

dalfrede wrote:There appears to be only two theatre settings: 0 = Europe. 1 = Africa
Then how come a bunch of the UK units have theater codes like 2345678?

Thanks for the help with this.
proline
2nd Lieutenant - Elite Panzer IVF/2
2nd Lieutenant - Elite Panzer IVF/2
Posts: 710
Joined: Sun Jul 27, 2014 12:03 am

Re: Theater Codes

Post by proline »

Also the Elefant is code 1 but definitely doesn't appear in Africa. Maybe "IDS_THEATRE1 Africa" means exclude Africa?
turn4441
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 272
Joined: Sat Jan 11, 2014 1:55 pm

Re: Theater Codes

Post by turn4441 »

It does appear the 0 and 1 are exclusionary, so yes, a '1' would mean the unit is not available in Africa.

I don't know how or where it is coded, but for the British Units, it means what scenario they will be available for purchase in Allied Corps despite the fact that the equipment file shows their availability date to be earlier. Why it shows 2345678, etc., I don't know, but the last number is the scenario they will appear for use, counting from the first one and excluding the Taranto Raid. Examples below:

Unit Avail. Date Theatre Scenario Avail./Order Rank/Date
British HW Infantry 1/1/39 234567 Beda Fomm (7th) 2/5/41
British Paras 1/1/40 2345678 Crete (8th) 5/20/41
British Engineers 1/1/39 2345 Sidi Barrani (5th) 12/9/40
British Bridging 1/1/39 2345678 Crete (8th) 5/20/41
Matilda I 1/1/39 2345678 Never appears as it is only available prior to 1/1/41 and Crete is 5/20/41
Matilda II 8/29/39 23456 Bardia (6th) 1/5/41
Cruiser Mk.I 1/1/39 2 Fort Capuzzo (2nd) 6/14/40
Cruiser Mk.IV 1/1/39 234 Italian Offensive (4th) 9/13/40

It would seem to be scenarios in order that they are excluded from and including Taranto except that the Cruisers appear in the 2nd and 4th scenarios, both of which are before Taranto. Also no idea why 1 isn't also used to exclude the first scenario. Some sort of if/then statement probably.
turn4441
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 272
Joined: Sat Jan 11, 2014 1:55 pm

Re: Theater Codes

Post by turn4441 »

Sorry my table didn't stay as well-spaced as designed once posted. Hopefully, it is still clear enough.
turn4441
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 272
Joined: Sat Jan 11, 2014 1:55 pm

Re: Theater Codes

Post by turn4441 »

Oh, and duh, of course they couldn't include a 1 as that would exclude the unit from all of the African Theatre.
proline
2nd Lieutenant - Elite Panzer IVF/2
2nd Lieutenant - Elite Panzer IVF/2
Posts: 710
Joined: Sun Jul 27, 2014 12:03 am

Re: Theater Codes

Post by proline »

That's a pretty odd way of overloading the theater code. Thanks for figuring that out!
dalfrede
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1503
Joined: Wed Mar 15, 2017 7:48 pm

Re: Theater Codes

Post by dalfrede »

I looked at scenarios in the Editor, Theatre Codes are:

Europe
Africa
Theatre 2
Theatre 3 . . .

******

Most default to European Theater: US East Coast, US Corps 42 are both Europe.

As turn4441 has noticed AC uses the additional codes to restrict British Units.
Border Raids is Theater 2,
Taranto Raid is Theater 5.

I have not checked other scenarios.

I suspect that Europe and Africa were given names because they were the first two campaigns planned.
The rest were left as defaults for future campaign options.
There comes a time on every project when it is time to shoot the engineer and ship the damn thing.
nikivdd
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 4953
Joined: Fri Jun 24, 2011 1:21 pm
Location: Belgium

Re: Theater Codes

Post by nikivdd »

Post Reply

Return to “Panzer Corps”