• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

starchristian

Second Lieutenant
51 Badges
Sep 21, 2009
138
0
  • Cities in Motion
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Arsenal of Democracy
  • Crusader Kings II
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Europa Universalis IV
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Supreme Ruler 2020
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Cities: Skylines
  • Crusader Kings II: Charlemagne
well i modded a little bid in the Den.inc file and all of suddenly its say there is a problem but i cant see what it is. here is the bit were it went wrong: ##############################
# Country definition for DEN #
##############################
province =
{ id = 1
anti_air = 100
naval_base = { size = 10 current_size = 10 }
air_base = { size = 10 current_size = 10 }
landfort = { size = 10 current_size = 10 }
} # Reykjavik
province =
{ id = 292
anti_air = 100
naval_base = { size = 10 current_size = 10 }
air_base = { size = 10 current_size = 10 }
landfort = { size = 10 current_size = 10
} # Aalborg
province =
{ id = 294
anti_air = 200
naval_base = { size = 10 current_size = 10 }
air_base = { size = 10 current_size = 10 }
} # Copenhagen

it is something in the copenhagen id.
 
IIRC the max on antiair is 10, try too reduce the size and see if it works then, if it works try do change it to a higher number, if it works try again, if don't then go with the last working number
 
In reykjavik there is a lagging "}"
landfort = { size = 10 current_size = 10 }

edit: Use notepad ++ and set it to for instance "C" then mistakes like this are easy found (it will colour the text)
 
sorry for double posting but there is a new problem in these line= { location = 92
name = "Den Danske-svenske Hær"
id = { type = 27000 id = 40 }
division =
{ id = { type = 27000 id = 41 }
name = "1. Jydske Division"
type = infantry
model = 6
strength = 100

}
{ location = 101
name = "1a Hær"
id = { type = 29600 id = 40 }
division =
{ id = { type = 29600 id = 41 }
name = "I. Fördelningen"
type = infantry
model = 6
extra = artillery
}
}
landunit =
{ location = 127
name = "Övre Norrlandstrupper"
id = { type = 29600 id = 3 }
division =
{ id = { type = 29600 id = 4 }
name = "V. Fördelningen"
type = infantry
model = 6
}



}
navalunit =
{ name = "Den Danske Flåde"
id = { type = 27000 id = 42 }
location = 294
base = 294
division =
{ id = { type = 27000 id = 43 }
name = "KDM Niels Juel"
type = heavy_cruiser
model = 7
extra1 = naval_sa_l
extra2 = naval_anti_air_l
extra3 = none
brigade_model1 = 0
brigade_model2 = 0
brigade_model3 = 0
}
division =
{ id = { type = 27000 id = 44 }
name = "KDM Peder Skram"
type = heavy_cruiser
model = 7
extra1 = naval_sa_l
extra2 = naval_anti_air_l
extra3 = none
brigade_model1 = 0
brigade_model2 = 0
brigade_model3 = 0
}
division =
{ id = { type = 27000 id = 45 }
name = "1. Ubåds Flotille"
type = submarine
model = 6
}
division =
{ id = { type = 27000 id = 46 }
name = "2. Ubåds Flotille"
type = submarine
model = 6
}
}
}

and yes i am working to get a merged Denmark-Sweden. it also want to ignore some of the units
 
how can i get notepad++ to show errors? anyway here is a new place where it says error: { 'relation'= { tag = BEL value = 100 }
'relation'= { tag = ENG value = 100 }
'relation'= { tag = FIN value = 100 }
'relation'= { tag = GER value = -200 }
'relation'= { tag = HOL value = 100 }
'relation'= { tag = LUX value = 100 }
'relation'= { tag = NOR value = 100 }
'relation'= { tag = PER value = 100 }
'relation'= { tag = SWE value = 100 }
'relation'= { tag = USA value = 100 }
}
 
its still says ERROR: unexpected files in the line with england

If I look in my E3 scenario file for Denmark I can see these lines:
diplomacy =
{ relation = { tag = BEL value = 100 }
relation = { tag = ENG value = 100 }
relation = { tag = FIN value = 75 }
relation = { tag = GER value = 25 }
relation = { tag = HOL value = 100 }
relation = { tag = LUX value = 100 }
relation = { tag = NOR value = 150 }
relation = { tag = PER value = 50 }
relation = { tag = SWE value = 75 }
relation = { tag = USA value = 75 }
}

Therefore it seems that Molls advice was correct. ;)

But if you edit the scenario files and the game finds an error while loading and gives you the line of this error, it's always a good idea to check the lines directly before the mentioned line. Many error messages are caused by missing '}'s.
 
sorry for double posting but there is a new problem in these line= { location = 92
name = "Den Danske-svenske Hær"
id = { type = 27000 id = 40 }
division =
{ id = { type = 27000 id = 41 }
name = "1. Jydske Division"
type = infantry
model = 6
strength = 100

}
{ location = 101
name = "1a Hær"
id = { type = 29600 id = 40 }
division =
{ id = { type = 29600 id = 41 }
name = "I. Fördelningen"
type = infantry
model = 6
extra = artillery
}
}
landunit =
{ location = 127
name = "Övre Norrlandstrupper"
id = { type = 29600 id = 3 }
division =
{ id = { type = 29600 id = 4 }
name = "V. Fördelningen"
type = infantry
model = 6
}

The danish type id is 27000. You should replace all the 29600 ids because you'll otherwise run into the next error. And you can't use the same unit id twice. Simply change the ids of "1a Hær". ;)
 
well guys i got some new problems: a event that i have created docent want to start here it is:
#event = {
# id = 4100000
# random = no
# country = DEN
#
# trigger = {
#
# }
#
# name = "Angolo-danish talk"
# desc = "On January 1st 1936 the united kingdom decided to reunite with Denmark!! ."
#
# date = { day = 1 month = january year = 1936 }
# offset = 2
# deathdate = { day = 30 month = december year = 1999 }
#
# action_a = {
# name = "That's some important news"
# command = { type = inherit which = uk value = 1 }
#
# }
#}