Map Edition Question

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

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

guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Map Edition Question

Post by guille1434 »

I am just starting something about map edition, but I cannot understand very well how the Editor Works... Can someone be so kind to point me to some kind of tutorial on how to edit maps... Resizing (adding hexes), adding features (mainly airfields).
I am trying to add some hexes in a map, but when I validate the scenario, I get this error message:

ERROR] Hex (1,24) has no terrain.
[ERROR] Hex (1,24) has no string.
[ERROR] Hex (3,24) has no terrain.
[ERROR] Hex (3,24) has no string.

Thanks!!
nikivdd
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 4915
Joined: Fri Jun 24, 2011 1:21 pm
Location: Belgium

Re: Map Edition Question

Post by nikivdd »

A guide i wrote long time ago how to create a map

http://www.slitherine.com/forum/viewtop ... 47&t=32170

Hex has no terrain: a hex you forgot to paint (menu edit -> terrain)
Hex has no string: for example a hex of a city or a port who did not receive a name (menu edit -> strings, right-click on the hex you wish to name)
Adding hexes to a map: menu tools -> crop/resize map : add hexes to each side of your chosing, a positive value adds hexes and a negative value will remove hexes
Airfields: menu edit ->terrain
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: Map Edition Question

Post by Yrfin »

Thanks Nikivdd for advice.

I hope Nikivdd are still Best Map Designer in PzC World :)
When im died - I must be a killed.
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Thanks Nikivdd!! Very good tutorial. I have found what I was looking for! 8)
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

And then, another question... Please be patient with me. I want to edit an scenario and make the program give a new core unit to the player at the start of the scenario. Looking what was made in the Westerplatte scenario, from the GTGC campaign, in which the player was given a 80 cm Kanone (E) (which, in fact, was a gun not available in 1939), I deleted that unit and decided to give the player another unit, which was available in that year...

So, I did the following, using the scenario editor:

- Opened the scenario file
- Went to the units menu and put the unit icon on the map
- Went to Scenario Params menu, to the scripts section.
- Added script: Run at: Beginning of axis turn
Run Count: 1
Skip Count: 0
- Edited Trigger: Turn (1, 1)
- Actions: Display Message
Show Message to: Axis
Wrote down the message text in Message Action the window

This was done copying what was in the original scenario file, but still, no unit appears on the map when starting the scenario in-game (but the message did show up).

Would anyone de so kind to point out what am I missing or doing wrong?
Thanks!!!
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: Map Edition Question

Post by Yrfin »

Im not sure but
1. Place new unit
2. Shift-Click on it.
3. Edit Trigger.
4. Add Time Condition/Turn [1 -1] by default.
When im died - I must be a killed.
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Excellent! That "Shift-Click" action did the trick. Thanks!!!!!!!!!!! :-)
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: Map Edition Question

Post by Yrfin »

guille1434 wrote:Excellent! That "Shift-Click" action did the trick. Thanks!!!!!!!!!!! :-)
No problemo.
Always at your service :)

PS. Anyway may be there are other ways of the decision problem ? Perhaps Nico can explain more ?
When im died - I must be a killed.
captainjack
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1912
Joined: Thu Sep 13, 2012 7:42 am

Re: Map Edition Question

Post by captainjack »

As we're on triggers, can somebody explain how to delay an action for a fixed number of turns.
Eg liberate city X, three turns later friendly militia units appear.

I have a workable solution but it's long winded and easy to make a mistake so I'm hoping there's an easier way
Akkula
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1900
Joined: Sat Apr 05, 2014 12:14 am

Re: Map Edition Question

Post by Akkula »

Guille is into the scenario making?. Cant wait to see what is he working on!
Eastern Front: Soviet Storm (v1.96): http://www.slitherine.com/forum/viewtopic.php?f=147&t=50342
Modern Conflicts (v2.10): http://www.slitherine.com/forum/viewtopic.php?f=147&t=72062
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Hello Akkula:

Yes... but not a big deal... I am playtesting a "customized" GC39 campaign, in which I introduced (so far) the following modifications:

- Added an airfield and a couple of air units for the Polish forces in the Poznan (first) and Danzig Corridor South (second) scenarios.
- Cropped the Danzig Corridor South map, cut the northern six hex rows which were not used, and besides they showed the Danzig city area. That was necessary because...
- I squeezed the Westerplatte scenario from Niki's GTGC campaign!! I had to work a bit with the dates and turn-to-day ratio of the first scenarios, but finally, I can make it all compatible from the time table point of view
- Also add some fortifications and land units here and there (the first scenarios seemed to be very easy, even for me, playing as General), also the player's core unit slots were made higher (one slot more in each of the first four or five scenarios).

By the way: Is it ok from the point of view of author rights to share those modified files with the community here? I mean, can I upload them for you to play with them without breaking any law(s)?
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: Map Edition Question

Post by Yrfin »

guille1434 wrote: By the way: Is it ok from the point of view of author rights to share those modified files with the community here? I mean, can I upload them for you to play with them without breaking any law(s)?
Why not ? I think its good for PzC community and no (c) here :)
When im died - I must be a killed.
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Yes, this is also what I think, but as the files are closely based on copyrighted stuff (I had to pay for the game which included those files), I wanted to be sure... Anyway, I am not giving up the game expansion license number, so I guess it is all right... I will upload the files after some more playtesting (an activity which does not lack some fun value!!!) :-)
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: Map Edition Question

Post by Yrfin »

Do what you do for PzC community. Not for (c) things :) Bless you ! lol
When im died - I must be a killed.
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Hi guys! Please, again, bear with me... Is there any way to designate a special enemy unit in a scenario, mark it as an objective (I saw the the Scenario Editor can put a special "glow" to the strenght plates of specially designated units) , and rewarding the player with some prestige points if this unit is destroyed? Thanks!! :-)
dalfrede
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1503
Joined: Wed Mar 15, 2017 7:48 pm

Re: Map Edition Question

Post by dalfrede »

guille1434 wrote: Is there any way to designate a special enemy unit in a scenario, ...
To see how it works look at Rudel in Pozen '39 and Minsk41.

ie.
You give a name to the unit in the editor, say 'DogFace'.
You can now use 'Add Map Conditions' trigger to do what you want.
In 'Victory Conditions' you can make the existence or absence of unit[s] with 'name containing' condition for DV , or MV.
In 'Scripts' it can add or subtract prestige, or post a message.
You can place a different unit that spawns if named unit is present, see Rudel.

Most placed units do not have explicit names.
There comes a time on every project when it is time to shoot the engineer and ship the damn thing.
huckc
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 533
Joined: Mon Apr 24, 2017 1:38 pm
Location: USA

Re: Map Edition Question

Post by huckc »

captainjack wrote:As we're on triggers, can somebody explain how to delay an action for a fixed number of turns.
Eg liberate city X, three turns later friendly militia units appear.

I have a workable solution but it's long winded and easy to make a mistake so I'm hoping there's an easier way
Posting here too in case a more experienced designer can correct me:

Code: Select all

If allied flags in [Paris Zone] equals 1 then add tag "ParisHeld3Turns"
Skip Count: 2
That won't check for consecutive turns probably, just three total. For consecutive will need a tag step up counter or something else.
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Still playtesting... But release is coming soon... In this "Alternate History" mod, the Red Baron survived WWI and joined your core army! 8)
Attachments
2018-01-27 12_38_01-Panzer Corps.jpg
2018-01-27 12_38_01-Panzer Corps.jpg (166.86 KiB) Viewed 3839 times
cw58
Master Sergeant - Bf 109E
Master Sergeant - Bf 109E
Posts: 494
Joined: Thu Sep 24, 2015 9:44 pm

Re: Map Edition Question

Post by cw58 »

Ha! I want the Red Baron in my army! :twisted: I'm assuming he comes complete with hero stats?
guille1434
Major-General - Jagdtiger
Major-General - Jagdtiger
Posts: 2856
Joined: Sun Jul 01, 2012 5:32 pm

Re: Map Edition Question

Post by guille1434 »

Of course! The hero portrait is there... I have been playtesting this unit a bit, and at first, it's not a killer unit, but I think that with the hero stats and after accumulating some experience, it will be a force to be reckoned with... I am thinking about giving +2 initiative instead of +1... But I don't want him and his unit to become an airborne steamroller... Also, the player receives an introductory message from the High Command when starting the campaign, and The Red Baron is reporting for duty...

I will upload this simple mod soon, and then will be glad to receive some feedback!!

PS: Edited typo in the introductory message: "joined the Luftwaffe" instead of "join the Luftwaffe"
Attachments
2018-01-28 21_26_41-Panzer Corps.png
2018-01-28 21_26_41-Panzer Corps.png (502.29 KiB) Viewed 3808 times
2018-01-28 21_23_24-.png
2018-01-28 21_23_24-.png (921.32 KiB) Viewed 3808 times
Post Reply

Return to “Panzer Corps : Scenario Design”