Setting a weather trigger

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

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

Post Reply
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Setting a weather trigger

Post by El_Condoro »

I am setting up an invasion scenario and want to reflect the night-time landings and para-drops. Since there is no night in PzC, I want to set the weather to rain on turn 1 - it won't affect much except to restrict visibility, which is exactly what I am aiming for.

However, no matter what settings I use for the AI weather action, the best I can get is a Turn 3 rain. These are the settings I have tried:

(The scenario weather is completely clear - no moisture or any other settings done).

Turn (1,1)
Turn (0,0)
Turn (-15,-15) - it is a 15 turn scenario

What should the setting be to ensure rain on Turn 1 of a scenario?

Cheers.
nikivdd
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 4551
Joined: Fri Jun 24, 2011 1:21 pm
Location: Belgium
Contact:

Re: Setting a weather trigger

Post by nikivdd »

set clouds and rain 100% in scenario parameters, then script weather since turn 2.
https://www.facebook.com/NikivddPanzerCorps
https://www.youtube.com/channel/UCk2lyeEuH_hoA1s7tnTAEJQ
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Re: Setting a weather trigger

Post by El_Condoro »

Inverting the logic works perfectly. Thanks. :)
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Re: Setting a weather trigger

Post by El_Condoro »

OK, this is getting crazy! :) I can set Turn 1 to have rain by doing as nikivdd suggested and make the scenario parameter for weather be 100% rain. But no matter what combination of turns and settings I use I cannot get Turn 2 to be clear - it always (I mean always) rains even if there are weather actions set. These settings will give everything I want - except Turn 2 clear.

Weather parameter: 100% rain - works fine
AI weather action: Turn (0 or 1, 6) 100% clear (i.e. no other settings) - works fine for all turns except Turn 2
AI weather action: Turn (7, -1) 20% cloudy, 10% rain. - works fine

Can anyone explain this phenomenon, please? :)
nikivdd
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 4551
Joined: Fri Jun 24, 2011 1:21 pm
Location: Belgium
Contact:

Re: Setting a weather trigger

Post by nikivdd »

El_Condoro wrote:OK, this is getting crazy! :) I can set Turn 1 to have rain by doing as nikivdd suggested and make the scenario parameter for weather be 100% rain. But no matter what combination of turns and settings I use I cannot get Turn 2 to be clear - it always (I mean always) rains even if there are weather actions set. These settings will give everything I want - except Turn 2 clear.

Weather parameter: 100% rain - works fine
AI weather action: Turn (0 or 1, 6) 100% clear (i.e. no other settings) - works fine for all turns except Turn 2
AI weather action: Turn (7, -1) 20% cloudy, 10% rain. - works fine

Can anyone explain this phenomenon, please? :)
If i understand correctly... try and test turn [1,1] with rain set to 0 and clouds to 0 and the same for turn [2,2].
When you script turn [1,6], the weather will change to clear between those turns but not necessarily on turn 2.
https://www.facebook.com/NikivddPanzerCorps
https://www.youtube.com/channel/UCk2lyeEuH_hoA1s7tnTAEJQ
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Re: Setting a weather trigger

Post by El_Condoro »

Yes. If I set 1,1 to be clear and 2,2 to be clear, turns 1 and 2 still rain. After that it's clear as intended.
nikivdd
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 4551
Joined: Fri Jun 24, 2011 1:21 pm
Location: Belgium
Contact:

Re: Setting a weather trigger

Post by nikivdd »

El_Condoro wrote:Yes. If I set 1,1 to be clear and 2,2 to be clear, turns 1 and 2 still rain. After that it's clear as intended.
Very awkward indeed. I wonder if it would accept [0,0] or if the length of the scenario is 12 turns [-12,-12]?
https://www.facebook.com/NikivddPanzerCorps
https://www.youtube.com/channel/UCk2lyeEuH_hoA1s7tnTAEJQ
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Re: Setting a weather trigger

Post by El_Condoro »

Tried both (-15,-15 in this case) and neither worked. I was wondering if there is a hard-coded requirement for 2 turns of rain but I have seen one turn of rain during games. I don't get it, basically.
Post Reply

Return to “Panzer Corps : Scenario Design”