Help needed about transports

A forum to discuss custom scenarios, campaigns and modding in general.

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

Post Reply
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Help needed about transports

Post by Maths »

Hello everybody,
I have a problem about the tranports assigned to each unit (not the theater transports like train, landing craft, glider...).
I'm working on a new mod and in order to correctly know what is what, I created a brand new equipment file (deleted the content of a former one).
I've made some transport units (class 14) but I didn't achieve to assign certain transports to certain units, I mean that I wanted only the heavier halftracks (such as SdKfz.7) to be able to tow the bigger guns (as in the base game btw). I've read some post from the forum, followed what they said but it doesn't work. Worse : a unit, to which I've put in its "Theatre Usable Transports" column a certain category specified in one of my newly created halftrack's "Transport Category" column, even disappeared from the Purchase Menu ! I don't know what I can do.
I hope what I wrote here is clear :mrgreen: , and thank you for your help !
Greetings
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Re: Help needed about transports

Post by Maths »

That is the concerned lines in the equipment file. I want the Pak40 to be transportable by Opel Blitz and SdKfz 10. So I created two transport category respectively "blitz" and "lightpull". Then I've mentionned them both in the Pak40's Theater Usable Transports column along with sea rail and glider and in the two transports' category.
transports issue.png
transports issue.png (27.03 KiB) Viewed 1901 times
However the Pak40 simply disappeared from the Purchase screen.(the picture shows the entire AT class broken but it's OK, the Pak40 was the only gun I've created yet)
transports issue 2.png
transports issue 2.png (53.12 KiB) Viewed 1903 times
Attachments
transports issue.png
transports issue.png (27.03 KiB) Viewed 1903 times
phcas
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3198
Joined: Tue Jun 14, 2011 2:23 am

Re: Help needed about transports

Post by phcas »

1 make transport categories
vb1.jpg
vb1.jpg (31.41 KiB) Viewed 1890 times
2 Add code to the Transports
vb2.jpg
vb2.jpg (201.19 KiB) Viewed 1890 times
3 Add code to the units
vb3.jpg
vb3.jpg (185.99 KiB) Viewed 1890 times
Everything on land units is "Land" movement. You have to remove that. But in this way you mess up all your standard scenarios and have to give them all new transports. Have a look at the Equipment file of the PAK mod
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Re: Help needed about transports

Post by Maths »

Hello PHCAS,
Thank you very much for your answer !
I don't understand how I add categories, I never seen the list of the transport categories (your first picture). Is it part of the equipment file ? Does what you call "make transport categories" is just writing down the short name of your categories (NOT to be read by the game) as a reminder ?
Normally I've done correctly the other two steps.
Greetings
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Re: Help needed about transports

Post by Maths »

Now I've tried to reorganize things but I still must be doing something wrong and I can't know what...
transports issue.png
transports issue.png (23.84 KiB) Viewed 1876 times
Is "heavypull" which is wrong ? Is the typo very important or does the game only looks for identical codes regarless or how they actually are, I mean heavypull instead of P1 by example ?
cw58
Master Sergeant - Bf 109E
Master Sergeant - Bf 109E
Posts: 487
Joined: Thu Sep 24, 2015 9:44 pm

Re: Help needed about transports

Post by cw58 »

Yes , the transport category is in the equipment file; its column follows the "Usable Transports" column. Here are 2 partial pics of a modified equipment file:
The attachment transports.png is no longer available
transports.png
transports.png (31.42 KiB) Viewed 1870 times
If you want specific units that need specific transports, you have to define them.

Looking at the artillery pic, let's take the 10.5cm leFH18. It can be transported by wagon, medlight, medium, sea, rail & airx. Then looking at the transports pic, you will see that it can be transported by the MB L4500A (medium), as well as the Opel Blitz 3t (medlight). If you could see the whole file, you would know it also could be transported by wagon, sea, rail and heavy glider (airx).

So I suggest you start by defining your transports; assign to each of them a name (in the TransCat column) that is descriptive, such as "medium" or "heavy". Then choose which categories you want the unit to use for transport in the "Usable Transports" column. So "TransCat" gets one entry; "Usable Transports" gets one or more entries.

Regarding your unit disappearing from the Purchase screen, you have probably corrupted your equipment file since you deleted all the content before you started. It helps if you leave at least 1 line to begin your editing, even if it is just a header line identifying the columns.
cw58
Master Sergeant - Bf 109E
Master Sergeant - Bf 109E
Posts: 487
Joined: Thu Sep 24, 2015 9:44 pm

Re: Help needed about transports

Post by cw58 »

Here's the artillery pic:
artillery.png
artillery.png (67.96 KiB) Viewed 1867 times
I hope. :roll:
Attachments
transports.png
transports.png (31.42 KiB) Viewed 1868 times
cw58
Master Sergeant - Bf 109E
Master Sergeant - Bf 109E
Posts: 487
Joined: Thu Sep 24, 2015 9:44 pm

Re: Help needed about transports

Post by cw58 »

By the way, all the data files are easy to mess up; use a spreadsheet if you can. It makes it much easier to see what you're doing.

Edit: In my example above, the leFH18 can be transported by any unit that is defined as "medium" or "medlight", not just the ones I mentioned.

Edit#2: FYI, the developer has stated that you shouldn't have any more than 28 defined transportation categories plus the four defaults (land, air, sea, rail). So a total of 32.
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Re: Help needed about transports

Post by Maths »

Thank you very much for your help !
cw58 wrote: Tue May 26, 2020 10:46 pm Regarding your unit disappearing from the Purchase screen, you have probably corrupted your equipment file since you deleted all the content before you started. It helps if you leave at least 1 line to begin your editing, even if it is just a header line identifying the columns.
It is OK fot that as I only deleted units but kept the header.

A for the transports, I've done the following :
  • Written the lines for Opel Blitz from ID to theater. Then in "Usable Transport" I've put "sea rail air glider" in this order. Eventually in "Trasnport Category" I've put "blitz".
  • Then, on the Pak40 line, I wrote in "Usable Transport" in order "blitz sea rail air glider" and nothing in "Transport Category".
  • Then, saved
  • Then launched Editor
  • Then tried to assign Opel Blitz to Pak40
And it doesn't add anything ! Btw all transports units (including Opel Blitz) aren't assignable anymore on any unit. All transports broken.

If you have a solution, it would be so great. Anyway thank you very much again for your answer.
Greetings
Vintage
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 157
Joined: Tue Apr 11, 2017 3:31 pm

Re: Help needed about transports

Post by Vintage »

Hi, better to attach your current equipment file itself here - would be more easy to look at.
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Re: Help needed about transports

Post by Maths »

Equipment file here.
I don't know what but Google Drive recognizes .pzeqp as a music file so you will need to download it instead of just open it.
https://drive.google.com/file/d/1dDxAKy ... sp=sharing
Tell me if you encounter issues to read the equipment file.
Thank you !
Greetings
cw58
Master Sergeant - Bf 109E
Master Sergeant - Bf 109E
Posts: 487
Joined: Thu Sep 24, 2015 9:44 pm

Re: Help needed about transports

Post by cw58 »

maths' eq file.png
maths' eq file.png (75.52 KiB) Viewed 1817 times
First, you're missing a couple of tab spaces in your file. Info for the Pak40 and the 152mm are in the theatre column instead of the usable transports column. It's best to edit with a spreadsheet of some kind instead of notepad; it's too easy to make a mistake that you cannot see. I use Open Office; fairly easy to use and it's free.

Second, you've defined all 3 of your land transports in the "transport category". But you've left most of your units (ex. infantry) undefined which means they will try to use the default transport (land) but you don't have any of that type. The only one that looks like it would work is your FestungInf unit. It should be able to use the Opel Blitz as transport. None of the other units will be able to use a land transport as the file is currently written.

But, most importantly, start using a spreadsheet. It will save you countless hours. :wink:
Vintage
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 157
Joined: Tue Apr 11, 2017 3:31 pm

Re: Help needed about transports

Post by Vintage »

Yes, cw58 is right - we have to be careful when create / edit equipement file: I had expected similar problems with mine, so thanks lennys29 who found the errors and sent me a report about!
Maths
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Tue Jul 10, 2018 7:37 am

Re: Help needed about transports

Post by Maths »

I thought that by carefully hitting tab button on the keyboard it would work but I never imagined so many errors could be done ! I've just switched to Excel, you convinced me :)
It worked well ! The 152mm arty went back to the Purchase screen as well as the Pak40 and these two units have only available the transports I wanted them to have.
Problem solved !
Thank you so much for having paid attention to my noob questions !
Greetings
cw58
Master Sergeant - Bf 109E
Master Sergeant - Bf 109E
Posts: 487
Joined: Thu Sep 24, 2015 9:44 pm

Re: Help needed about transports

Post by cw58 »

You're welcome. It was my pleasure. :)
Post Reply

Return to “Panzer Corps : Scenario Design”