Julianehaab (Greenland)

Post bug reports and ask for help with other issues here.
Post Reply
sschnar1
Posts: 104
Joined: Wed May 17, 2017 8:57 pm

Julianehaab (Greenland)

Post by sschnar1 »

SC: 1.10.03 Beta
Campaign: Fall Wess 10.1
Mode: Single Player Axis

I was using the Julianehaab as a supply source for my Uboats.
DE 354 was activated and eliminated my Uboat in port and the Infantry Division in Julianehaab.

If I am reading the script right, it should not have occurred because of the Infantry Division.

(From decision.txt DE 354 is the same in both SC and FW)
{
#NAME= DE 354 - USA: Greenland Protectorate Helper (Denmark in Axis hands) (AI - 100% Yes)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 115
#TRIGGER= 100
#DISPLAY_ORDER= 0
; Set decision value
#DECISION= 354
#MPP_UPDOWN= 0
#MPP_TURNS= 0
#MPP_TEXT=
#NOTES=
#NOTES_POSITION=
; Set AI acceptance % (AI will accept 100% of the time)
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP=
#DATE= 1941/04/09
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; Julianehaab is in Axis hands
#ALIGNMENT_POSITION= 56,50 [1]
; Copenhagen is in Axis hands
#ALIGNMENT_POSITION= 171,65 [1]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; Germany politically aligned with Axis and not surrendered AND
#VARIABLE_CONDITION= 45 [1] [100] [0]
; No Axis units within Greenland
#CONDITION_POSITION= 66,0 [20,20] [0,0] [1] [0]
#CONDITION_POSITION= 57,32 [20,20] [0,0] [1] [0]
}

Should the CONDITION_POSITION Range [min range,max range] of [20,20] not be [0,20]???

User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Julianehaab (Greenland)

Post by Hubert Cater »

Thanks for the report and I see the issue on my end, I'll investigate further.
User avatar
BillRunacre
Posts: 6890
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: Julianehaab (Greenland)

Post by BillRunacre »

The issue here is that there are two Condition Positions, and the script will fire if only one is met, i.e. if one is met but not the other, then the US will take Greenland over.

This was noticed too late to get it into the official patch, but if modding, increasing the range on one of the Condition Positions considerably, e.g.

#CONDITION_POSITION= 57,32 [50,50] [0,0] [1] [0]

(I am assuming that 50 hexes is enough, best to check it in game)

And removing the other will fix it.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Julianehaab (Greenland)

Post by Hubert Cater »

Should the CONDITION_POSITION Range [min range,max range] of [20,20] not be [0,20]???

Forgot to add that a [0,20] check would pick a random number between those for the distance check, whereas [20,20] guarantees that it is a distance check of exactly 20.
sschnar1
Posts: 104
Joined: Wed May 17, 2017 8:57 pm

RE: Julianehaab (Greenland)

Post by sschnar1 »

Thank You Hubert for the very fast response and information you provided.

I LOVE this game!!!
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Julianehaab (Greenland)

Post by Hubert Cater »

Glad to hear it [:)]
Post Reply

Return to “Tech Support”