Terrain Type Modding

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

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

Post Reply
Jojeval
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 30
Joined: Wed Apr 13, 2016 7:29 pm

Terrain Type Modding

Post by Jojeval »

Greetings. I am trying to add a new terrain type to a mod to represent small, hamlet-size settlements. I wish to assign it an initiative cap of 3 and a base entrenchment of 1. I have added a new entry to the end of the list in the terrain.pzdat file, as shown in the attached screenshot, and also modified the terrain.png file to include a corresponding icon as well as modifying the movement.pzdat file. The latter two appear to be working but the initiative cap and base entrenchment assignments in the terrain.pzdat file are not taking effect. Any suggestions as to what I'm missing/doing wrong would most appreciated!
terrain.jpg
terrain.jpg (72.8 KiB) Viewed 1927 times
parmenio
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 105
Joined: Sun Jan 10, 2010 5:41 pm

Re: Terrain Type Modding

Post by parmenio »

Bounce..

Hopefully some of the more experienced modders can help out. I'm interested because I need this type of terrain myself.
Last edited by parmenio on Fri Mar 03, 2017 10:45 pm, edited 1 time in total.
Yrfin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 818
Joined: Sun Dec 04, 2016 6:47 am
Location: Behind your backs

Re: Terrain Type Modding

Post by Yrfin »

Instead add new type, modify unusable (jungle for example).
When im died - I must be a killed.
parmenio
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 105
Joined: Sun Jan 10, 2010 5:41 pm

Re: Terrain Type Modding

Post by parmenio »

Good call - that's gotta be worth a shot
Jojeval
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 30
Joined: Wed Apr 13, 2016 7:29 pm

Re: Terrain Type Modding

Post by Jojeval »

You read my mind, Yrfin! I realize that that is a safer way to go but was hoping for a more "elegant" solution. I modified the Bocage terrain type which I do not use in the scenario. Attached is a screenshot of what it looks like in the editor terrain display and also how the Terrain Type table shows the change (after some testing I decided on an initiative cap value of 6).
Attachments
sc2.jpg
sc2.jpg (129.17 KiB) Viewed 1865 times
Post Reply

Return to “Panzer Corps : Scenario Design”