Page 1 of 2

Map Edition Question

Posted: Thu Jan 18, 2018 8:03 pm
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!!

Re: Map Edition Question

Posted: Thu Jan 18, 2018 8:18 pm
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

Re: Map Edition Question

Posted: Thu Jan 18, 2018 9:17 pm
by Yrfin
Thanks Nikivdd for advice.

I hope Nikivdd are still Best Map Designer in PzC World :)

Re: Map Edition Question

Posted: Fri Jan 19, 2018 12:05 pm
by guille1434
Thanks Nikivdd!! Very good tutorial. I have found what I was looking for! 8)

Re: Map Edition Question

Posted: Sat Jan 20, 2018 2:00 pm
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!!!

Re: Map Edition Question

Posted: Sat Jan 20, 2018 4:11 pm
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.

Re: Map Edition Question

Posted: Sat Jan 20, 2018 5:42 pm
by guille1434
Excellent! That "Shift-Click" action did the trick. Thanks!!!!!!!!!!! :-)

Re: Map Edition Question

Posted: Sat Jan 20, 2018 5:56 pm
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 ?

Re: Map Edition Question

Posted: Sat Jan 20, 2018 11:06 pm
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

Re: Map Edition Question

Posted: Sun Jan 21, 2018 2:01 pm
by Akkula
Guille is into the scenario making?. Cant wait to see what is he working on!

Re: Map Edition Question

Posted: Sun Jan 21, 2018 3:41 pm
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)?

Re: Map Edition Question

Posted: Sun Jan 21, 2018 3:53 pm
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 :)

Re: Map Edition Question

Posted: Sun Jan 21, 2018 4:07 pm
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!!!) :-)

Re: Map Edition Question

Posted: Sun Jan 21, 2018 4:23 pm
by Yrfin
Do what you do for PzC community. Not for (c) things :) Bless you ! lol

Re: Map Edition Question

Posted: Tue Jan 23, 2018 12:55 am
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!! :-)

Re: Map Edition Question

Posted: Wed Jan 24, 2018 3:01 am
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.

Re: Map Edition Question

Posted: Thu Jan 25, 2018 11:01 pm
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.

Re: Map Edition Question

Posted: Sun Jan 28, 2018 1:56 pm
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)

Re: Map Edition Question

Posted: Sun Jan 28, 2018 11:18 pm
by cw58
Ha! I want the Red Baron in my army! :twisted: I'm assuming he comes complete with hero stats?

Re: Map Edition Question

Posted: Mon Jan 29, 2018 12:31 am
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"