scenario editor & center on hex

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

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

Post Reply
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6105
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

scenario editor & center on hex

Post by terminator »

Hello,
I am trying to create a scenario.
I just have a remark: it seems that it is impossible to use the fonction "center on hex(,)" at the beginning of the first turn of the first player. The game centers automatically in the same place.
For the first turn of the second player, it works.
Is it a small bug ?
Thanks
Akkula
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1900
Joined: Sat Apr 05, 2014 12:14 am

Re: scenario editor & center on hex

Post by Akkula »

Mhh, I never noticed that. Did you try to choose "Instantly" on the "Run at" box?.
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
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6105
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: scenario editor & center on hex

Post by terminator »

Yes, I tried. It doesn't work.It seems to be a detail but I wanted to show the main objective at the beginning of the game
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: scenario editor & center on hex

Post by BiteNibbleChomp »

Try doing it in two steps:

Beginning of T1 for first player, set tag "something" (here you can put anything as the tag)

Then:

Instantly when tag "something" exists, centre on hex. (use the same tag as before)

----------------------
That will have the exact same effect as if you just had T1 = centre on hex, but should avoid the bug as the game won't think it to be the start of the turn. (Actually it isn't, it will be a few milliseconds after the start, but no one is able to tell the difference).

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6105
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: scenario editor & center on hex

Post by terminator »

tag "something" doesn't work...
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: scenario editor & center on hex

Post by BiteNibbleChomp »

Attach a message? For instance, "these are the objectives we have to capture"

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6105
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: scenario editor & center on hex

Post by terminator »

doesn't work...
maguro
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 305
Joined: Thu Oct 23, 2014 3:14 pm

Re: scenario editor & center on hex

Post by maguro »

It seems like I've had similar problems with center on hex actions but I have yet to try it as BNC suggests. I'll have to play around with that.
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: scenario editor & center on hex

Post by BiteNibbleChomp »

:!:

I forgot about the tickboxes. Have you selected the side it is meant to centre for. If none are ticked, it won't centre no matter what other stuff you put in the command.

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6105
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: scenario editor & center on hex

Post by terminator »

Yes, I have selected the side but doesn't work...
Post Reply

Return to “Panzer Corps : Scenario Design”