Purchase Gustav Rail

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

Moderator: Panzer Corps 2 Moderators

Post Reply
RandomAttack
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Wed Oct 31, 2012 9:19 pm

Purchase Gustav Rail

Post by RandomAttack »

So I had a very small Units.csv mod-- IIRC just took the "no purchase" trait from the Gustav so I could play around with it in the AO Campaigns. Worked fine and I had fun with it and still have some saved games it shows up in, etc. After a recent update the Units file was overwritten etc. The new & validated Units file (Steam) doesn't show a "no purchase" trait-- but it doesn't show up in the purchase list either. Did the devs change some fundamental characteristic where it just doesn't show up? Anyone have any insight? The Units entry is still there...
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 13
Joined: Mon Oct 30, 2017 11:58 am

Re: Purchase Gustav Rail

Post by sstejona »

Did you also make your changes in the equipment file? This is changed during updates and overwrites the unit.csv.
RandomAttack
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Wed Oct 31, 2012 9:19 pm

Re: Purchase Gustav Rail

Post by RandomAttack »

I did not. Usually for such tiny mods I just modify the unit.csv and save a copy, but after an update (I hadn't played in several months) I saw the unit.csv had a new date so I opened it to re-mod it and saw the Gustav didn't have the "no purchase tag anymore. Nor for the Karl Gerat.
"Huh", I sez. Yet it doesn't show up in the purchase screen of a new 43 campaign. Just wondering if there was some other mechanism keeping it from showing up?? Because just removing "no purchase" USED to work fine...
RandomAttack
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Wed Oct 31, 2012 9:19 pm

Re: Purchase Gustav Rail

Post by RandomAttack »

Maybe a better question is "how do I make it available for purchase"? Perhaps I did something "else" I forgot about?
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 13
Joined: Mon Oct 30, 2017 11:58 am

Re: Purchase Gustav Rail

Post by sstejona »

Developers use equipment.pzeqp file you find this file PanzerCorps2 -> Content -> Editor -> Data

Edit equipment file:
Add .csv to file name -> equipment.pzeqp.csv -> open this file with excel -> use Separator Options: Tab -> edit your unit and save the file -> close excel and remove .csv from equipment.pzeqp file
Now open Editor an reload and export the new equp. file (Unit Tools) -> unit.csv will be overwrite or open the game and start a new scenario -> the unit should now be available again
sstejona
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 13
Joined: Mon Oct 30, 2017 11:58 am

Re: Purchase Gustav Rail

Post by sstejona »

Have you tried removing NoMangement?
RandomAttack
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Wed Oct 31, 2012 9:19 pm

Re: Purchase Gustav Rail

Post by RandomAttack »

sstejona wrote: Sat Nov 02, 2024 4:51 pm Have you tried removing NoMangement?
That's IT! Thank you so much! :D
RandomAttack
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Wed Oct 31, 2012 9:19 pm

Re: Purchase Gustav Rail

Post by RandomAttack »

sstejona wrote: Sat Nov 02, 2024 4:43 pm Developers use equipment.pzeqp file you find this file PanzerCorps2 -> Content -> Editor -> Data

Edit equipment file:
Add .csv to file name -> equipment.pzeqp.csv -> open this file with excel -> use Separator Options: Tab -> edit your unit and save the file -> close excel and remove .csv from equipment.pzeqp file
Now open Editor an reload and export the new equp. file (Unit Tools) -> unit.csv will be overwrite or open the game and start a new scenario -> the unit should now be available again
Thanks for the info. I did that back when I made extensive changes. But nowadays when I just make a couple of tweaks I find It's just easier to to use Units.csv. :)
Post Reply

Return to “Panzer Corps 2 Scenario Design”