How to ad a new country?

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

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

Post Reply
keld
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 10
Joined: Sun Mar 04, 2012 1:53 pm

How to ad a new country?

Post by keld »

Hi
Im making the Operation Weserubung because its fun and theres a lot of combined operations. I like the order of battle to be precise, and have been in contackt with historical nationnal army-centers to get it right. Now I have one big problem left.....I need to ad a country to the scenario-editor. Weserubung SUD was about Denmark, and Denmark are not on the list in the game.
I am making units now corresponding to actual danish units, but I need the country with flag related to apear in the list, so I can make Danish victoypoints, Relate units to Denmark and so. I´d tried some, and had not luck at all. Pls hlp if possible.
THx Keld
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Re: How to ad a new country?

Post by El_Condoro »

It's a bit tricky from memory. I wouldn't add a country - I'd create a custom set of text files and change one of the existing ones (I would use Slovakia).

Make a backup of these files before you change them

In the Data folder: (open in a text editor or Excel if you know how)
nations.pzdat - change Slovakia to Denmark and set its Side (0 or 1)
strings.pzdat has reference to Slovakia - change all of those to Denmark
equipment.pzeqp: add units and set their flag to 11 (Slovakia is country 11 - now Denmark)

Test, test, test...

As I said, it's messy and I did try this months ago before the latest versions were released so the method may have changed and become simpler.
Good luck.
keld
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 10
Joined: Sun Mar 04, 2012 1:53 pm

Re: How to ad a new country?

Post by keld »

THx. I would like to ad it, but if impossible, I will try like you said, but....
Do I need to Change the country at all? I could just ad, danish units to the country and give the related flag a make over, so It look like the new country´s?
Ex.

Sovakia into Denmark

1 Adding my dansich units to Slovakia
2 Changing the imagefiles with flags for Slovakia
3 Change all original slovak unist 5 years foreward, -( so they arent lost, cant be seen in wwll, but can easaly be reset if wanted )

In the Scenario building proces I will use Slovakia as opponent, but in Scenario presentation I will Call it Denmark, and in the game everyting wil present it self as danish? Or did I miss a catch :-)

I think I will try this, and I will return on result. Still though, im still interested in how to ad a country, so I wont have to mess files used in original or other scenarios.
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Re: How to ad a new country?

Post by Razz1 »

This is the best way, but you need to make Danish flags and replace them in three files.
flags and purchase are two of them.
keld
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 10
Joined: Sun Mar 04, 2012 1:53 pm

Re: How to ad a new country?

Post by keld »

Those two I found and replaced, but the third I cant get a hold on. Hmmm--
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Re: How to ad a new country?

Post by Razz1 »

Overlays/Flags

Update the flag there.
keld
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 10
Joined: Sun Mar 04, 2012 1:53 pm

Re: How to ad a new country?

Post by keld »

Love you for that one... :-)


Still, this leaves me with an original country in game messed up. So, if someone knows a way to add, not modify, a country, I would love to know. Untill then, I think this method demands an install-file and a get-rid of file.

THink I vill deliver in a install-fill, that copy original files to a back up directory and put my files in instead. The get-rid file will take the back-upfiles and getém back in place. All made in bat-files so it only needs single click for the user.
Hmm, -cant get a bette idea right know. Let me hear If someone else can. :-)
VPaulus
Slitherine
Slitherine
Posts: 8324
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Re: How to ad a new country?

Post by VPaulus »

Use GME to install mods.
viewtopic.php?f=147&t=27158
Post Reply

Return to “Panzer Corps : Scenario Design”