Jump to content

Problem with pre-activated country scripts


Recommended Posts

Having a problem with scripts for countries that have not been activated yet; none of them seem to be working. The countries will not anything until they are activated; here is a sapling of some of the scripts.

What am I doing wrong?

{

#NAME= Denmark Garrisons; Pre-war

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 6

#TRIGGER= 100

#LEVEL= 0

#LENGTH= 1

#GOAL_POSITION= 80,75

#GOAL_POSITION= 75,75

#GOAL_POSITION= 86,71

#GOAL_POSITION= 82,68

#GOAL_POSITION= 85,74

#GOAL_POSITION= 97,73

#GOAL_POSITION= 96,72

#DATE= 1939/09/03

#FRIENDLY_POSITION= 97,73

#VARIABLE_CONDITION= 6 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= Norway Garrisons; Pre-Action

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#LENGTH= 1

#GOAL_POSITION= 87,54

#GOAL_POSITION= 87,55

#GOAL_POSITION= 76,61

#GOAL_POSITION= 73,61

#GOAL_POSITION= 89,57

#GOAL_POSITION= 84,55

#DATE= 1939/09/03

#FRIENDLY_POSITION= 87,54

#VARIABLE_CONDITION= 3 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= Norway Norvik Garrisons; Pre-Action; Enemy Sighted

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#LENGTH= 1

#GOAL_POSITION= 110,18

#GOAL_POSITION= 107,17

#GOAL_POSITION= 111,18

#DATE= 1939/09/03

#FRIENDLY_POSITION= 111,18

#VARIABLE_CONDITION= 3 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 93,19 [10,10] [2,2] [1]

#ACTIVATE_POSITION= 110,18 [10,10] [2,2] [1]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= Norway Trondheim Garrisons; Pre-Action; Enemy Sighted

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#LENGTH= 1

#GOAL_POSITION= 82,39

#GOAL_POSITION= 83,39

#GOAL_POSITION= 85,39

#DATE= 1939/09/03

#FRIENDLY_POSITION= 85,39

#VARIABLE_CONDITION= 3 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 85,39 [10,10] [1,1] [1]

#ACTIVATE_POSITION= 81,37 [15,15] [2,2] [1]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= Norway Bergen Garrisons; Pre-Action; Enemy Sighted

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#LENGTH= 1

#GOAL_POSITION= 57,51

#GOAL_POSITION= 57,50

#DATE= 1939/09/03

#FRIENDLY_POSITION= 57,50

#VARIABLE_CONDITION= 3 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 57,51 [10,10] [1,1] [1]

#ACTIVATE_POSITION= 54,51 [10,10] [2,2] [1]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= Norway Stavenger Garrisons; Pre-Action; Enemy Sighted

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 3

#TRIGGER= 100

#LEVEL= 0

#LENGTH= 1

#GOAL_POSITION= 58,58

#DATE= 1939/09/03

#FRIENDLY_POSITION= 58,58

#VARIABLE_CONDITION= 3 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 58,58 [10,10] [1,1] [1]

#ACTIVATE_POSITION= 81,47 [50,50] [1,1] [1]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= North Sea Patrols

#POPUP=

#FLAG= 1

#TYPE= 1

#COUNTRY_ID= 1

#TRIGGER= 100

#LEVEL= 0

#SIZE= 2

#BUILD_LENGTH= 1

#LENGTH= 20

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 44,54

#GOAL_POSITION= 45,79

#DATE= 1939/09/03

#FRIENDLY_POSITION= 11,64

#VARIABLE_CONDITION= 1 [2] [100] [0]

#TACTICAL_CONDITION= 3,80 [3]

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

{

#NAME= Long-Range North Sea Patrols

#POPUP=

#FLAG= 1

#TYPE= 1

#COUNTRY_ID= 1

#TRIGGER= 100

#LEVEL= 0

#SIZE= 2

#BUILD_LENGTH= 1

#LENGTH= 20

#GOAL_POSITION= 13,64

#GOAL_POSITION= 33,47

#GOAL_POSITION= 53,43

#GOAL_POSITION= 56,35

#GOAL_POSITION= 69,35

#GOAL_POSITION= 79,32

#GOAL_POSITION= 87,25

#GOAL_POSITION= 97,12

#GOAL_POSITION= 87,25

#GOAL_POSITION= 79,32

#GOAL_POSITION= 69,35

#GOAL_POSITION= 56,35

#GOAL_POSITION= 53,43

#GOAL_POSITION= 33,47

#DATE= 1939/09/03

#FRIENDLY_POSITION= 11,64

#VARIABLE_CONDITION= 1 [2] [100] [0]

#TACTICAL_CONDITION= 3,80 [3]

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

Link to comment
Share on other sites

Dear friend , your script look ok but you have forgotten the Plan_ID and in some cases the SIZE

#PLAN_ID= 0 = Garrison

#PLAN_ID= 1 = Build up Offencive

#PLAN_ID= 2 = Build up amphibious

#PLAN_ID= 3 = Build up sea transport

The PLAN_ID you put between

#LEVEL= 0

#SIZE= 2

So i guess that your script for the Denmark Garrison would be like:

{

#NAME= Denmark Garrisons; Pre-war

#POPUP=

#FLAG= 1

#TYPE= 2

#COUNTRY_ID= 6

#TRIGGER= 100

#LEVEL= 0

#PLAN_ID= 0

#SIZE= 1

#LENGTH= 1

#GOAL_POSITION= 80,75

#GOAL_POSITION= 75,75

#GOAL_POSITION= 86,71

#GOAL_POSITION= 82,68

#GOAL_POSITION= 85,74

#GOAL_POSITION= 97,73

#GOAL_POSITION= 96,72

#DATE= 1939/09/03

#FRIENDLY_POSITION= 97,73

#VARIABLE_CONDITION= 6 [2] [1] [0]

#TACTICAL_CONDITION= 87,54 [3]

#ACTIVATE_POSITION= 0,0 [0,0] [0,0] [0]

#CANCEL_POSITION= 0,0 [0,0] [0,0] [0]

}

Try it this way and report back to see if everyhting went ok.

Christos Sideris

Link to comment
Share on other sites

Thank's to those like SidiusPOA who are at the ready to make a meaningful real difference where it count's as practical/useful information!.

Now!...In rememberance of those who remembered those who did them right - EG: 'Roman Citizenry',...they knew how to appreciate a good-act or work's, so..." Hail!!!...SidiusPOA!"

Link to comment
Share on other sites

Normal Dude, I would double check some of the VARIABLE_CONDITION lines. For example for the Norwegian Garrison you have it where it needs a minimum activation value of 1%... in fact many of these are similar.

Also double check the country_id for the VARIABLE_CONDITION to see if it is correct as I am guessing this is for a MOD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...