• 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.

unmerged(52992)

Recruit
Jan 18, 2006
3
0
mm..I can't seem to figure what the error is...I've double checked everything I've modded (mainly provinces) and still can't..it most probably has to do with #claims but not sure, can you help?

Here are the files to help:

Austria:

province = {
id = 463
anti_air = 4
air_base = {
size = 10
current_size = 10
}
}

province = {
id = 377
anti_air = 2
air_base = {
size = 4
current_size = 4
}
}

province = { id = 461 anti_air = 1 } #Graz

country = {
tag = AUS

# HACK to make sure that Germany gets the whole manpower pool, all units and resources on annex.
# Unwanted side-effect: Will never accept peace with Germany.
regular_id = GER
intrinsic_gov_type = social_liberal

policy = {
date = { year = 0 month = january day = 0 }
democratic = 5
political_left = 1
free_market = 8
freedom = 7
professional_army = 5
defense_lobby = 5
interventionism = 5
}


manpower = 65

capital = 463

# Resource Reserves
energy = 1000 metal = 1000 rare_materials = 500 oil = 500 supplies = 500
money = 10

ownedprovinces = {
460 461 462 463 464 465
}
controlledprovinces = {
460 461 462 463 464 465
}
nationalprovinces = {
377 460 461 462 463 464 465
#claims on Hungary
377
#claims on Tabor (Czechoslovakia)
467
#claims on Trento (Italy)
371
}

diplomacy = {
relation = { tag = ENG value = 75 }
relation = { tag = FIN value = 55 }
relation = { tag = FRA value = -10 }
relation = { tag = GER value = 100 }
relation = { tag = HUN value = 100 guaranteed = { day = 17 month = march year = 1934 } }
relation = { tag = IRE value = 10 }
relation = { tag = ITA value = 125 }
relation = { tag = SCH value = 50 }
}

# Western Minor Tech '36
techapps = {
# Group C 1936 techs
#######################

4010 4020 # Early fighter

4120 # GW Bomber

2150 # Basic Armoured Car

2010 2020 # GW tank and tankette

2290 2300 2310 # GW artillery

2450 2460 # Early Static AA

2510 # Basic AA

1010 # GW infantry

1190 # GW Cavalry

1110 # Early Mountain
1310 # Engineers
9010 # Air Superiority doctrine

5010 5020 # Agriculture
5080 5090 # Construction (up to the forts)
5190 # Basic Oil Refining


6010 6020 # Superior Firepower
}

landunit = {
id = { type = 14000 id = 9000 }
location = 463
name = "I. Korps"

division = {
id = { type = 14000 id = 1706 }
name = "Army HQ"
type = hq
model = 0
strength = 100
}

division = {
id = { type = 14000 id = 9001 }
name = "1. Kavalleriedivision"
type = cavalry
model = 0
strength = 70
}

division = {
id = { type = 14000 id = 9002 }
name = "1. Infantriedivision"
type = infantry
model = 0
strength = 100
}

division = {
id = { type = 14000 id = 9003 }
name = "2. Infantriedivision"
type = infantry
strength = 100
model = 0
}

division = {
id = { type = 14000 id = 9004 }
name = "3. Infantriedivision"
type = infantry
extra = artillery
strength = 100
model = 0
}
}

landunit = {
id = { type = 14000 id = 9005 }
location = 463
name = "II. Korps"


division = {
id = { type = 14000 id = 9006 }
name = "4. Infantriedivision"
type = infantry
strength = 100
model = 0
}
}

landunit = {
id = { type = 14000 id = 9007 }
location = 463
name = "III. Korps"


division = {
id = { type = 14000 id = 9009 }
name = "5. Infantriedivision"
type = infantry
strength = 100
model = 0
}
}

landunit = {
id = { type = 14000 id = 9008 }
location = 463
name = "IV. Korps"


division = {
id = { type = 14000 id = 9011 }
name = "6. Infantriedivision"
type = infantry
extra = engineer
strength = 100
model = 0
}
}

landunit = {
id = { type = 14000 id = 9010 }
location = 463
name = "V. Korps"


division = {
id = { type = 14000 id = 9012 }
name = "7. Infantriedivision"
type = infantry
strength = 100
model = 0
}
}

landunit = {
id = { type = 14000 id = 9013 }
location = 463
name = "VI. Korps"

division = {
id = { type = 14000 id = 9014 }
name = "1. Alpenjägerdivision"
type = bergsjaeger
strength = 30
model = 0
}
}

}

----------------------------------------

Yugoslavia

province = {
id = 389 #Podgorica

naval_base = {
size = 3
current_size = 3
}
}
province = {
id = 384 #Split
anti_air = 1
air_base = {
size = 2
current_size = 2
}

naval_base = {
size = 3
current_size = 3
}
}

province = {
id = 453 #Beograd
anti_air = 2
air_base = {
size = 6
current_size = 6
}

}


#Anti Aircraft Batteries
province = { id = 382 anti_air = 2 } #Zagreb
province = { id = 453 anti_air = 1 } #Osijek
province = { id = 384 anti_air = 1 } #Split
province = { id = 388 anti_air = 2 } #Dubrovnik

country = {
tag = YUG

# Resource Reserves
energy = 1000 metal = 1000 rare_materials = 500 oil = 500 supplies = 500
money = 15

capital = 453

policy = {
date = { year = 0 month = january day = 0 }
democratic = 4
political_left = 3
freedom = 5
free_market = 5
professional_army = 3
defense_lobby = 7
interventionism = 6
}

manpower = 155

ownedprovinces = {
453 389 451 452 418 415 413 414
}
controlledprovinces = {
453 389 451 452 418 415 413 414
}
nationalprovinces = {
453 389 451 452 418 415 413 414
}

diplomacy = {
relation = { tag = BUL value = 25 }
relation = { tag = CZE value = 50 }
relation = { tag = FIN value = 35 }
relation = { tag = FRA value = 50 }
relation = { tag = GER value = 50 }
relation = { tag = GRE value = 100 guaranteed = { day = 30 month = december year = 1934 } }
relation = { tag = HUN value = 80 }
relation = { tag = ITA value = 75 }
relation = { tag = ROM value = 100 guaranteed = { day = 30 month = december year = 1934 } }
relation = { tag = TUR value = 100 guaranteed = { day = 30 month = december year = 1934 } }
}


# Eastern Minor Tech '36
techapps = {
# Group D 1936 techs
#######################

4010 # GW fighter

2150 # Basic Armoured Car

2290 2300 2310 # GW artillery

1010 # GW infantry

1190 # GW Cavalry

1110 # Early Mountain

2450 2460 # Early Static AA

2510 # Basic AA

5010 # Modern Agriculture

5080 5090 # Construction

5190 # Basic oil conversion
4120

9010 # Air Superiority Doctrine

6210 6300 # Human Wave

3010 3020 3030
3400

8040 8050


}


landunit = {
id = { type = 19800 id = 1 }
location = 453
name = "IV. Kraljevska Jugoslavenska Armija"

division = {
id = { type = 19800 id = 2 }
name = "27. Savska Pesadijska Divizija"
strength = 70
type = infantry
extra = artillery
}

}


landunit = {
id = { type = 19800 id = 3 }
location = 453
name = "VII. Kraljevska Jugoslavenska Armija"

division = {
id = { type = 19800 id = 4 }
name = "32. Triglavska Pesadijska Divizija"
strength = 70
type = infantry
extra = artillery
}

division = {
id = { type = 19800 id = 5 }
name = "Triglavski Odred"
strength = 70
type = bergsjaeger
}

division = {
id = { type = 19800 id = 6 }
name = "1. Konjicka Divizija"
strength = 70
type = cavalry
}

}

landunit = {
id = { type = 19800 id = 7 }
name = "I. Kraljevska Jugoslavenska Armija"
location = 453

division = {
id = { type = 19800 id = 8 }
name = "7. Potiska Pesadijska Divizija"
strength = 70
type = infantry
extra = artillery
}

division = {
id = { type = 19800 id = 9 }
name = "3. Konjicka Divizija"
strength = 70
type = cavalry
}
}



landunit = {
id = { type = 19800 id = 10 }
location = 386
name = "II. Kraljevska Jugoslavenska Armija"

division = {
id = { type = 19800 id = 11 }
name = "10. Bosanska Pesadijska Divizija"
strength = 70
type = infantry
extra = anti_air
}

division = {
id = { type = 19800 id = 12 }
name = "17. Vrbaska Pesadijska Divizija"
strength = 70
type = infantry
}
}


landunit = {
id = { type = 19800 id = 13 }
location = 415
name = "III. Kraljevska Jugoslavenska Armija"

division = {
id = { type = 19800 id = 14 }
name = "13. Hercegovacka Pesadijska Divizija"
strength = 70
type = infantry
}

division = {
id = { type = 19800 id = 15 }
name = "15. Zetska Pesadijska Divizija"
strength = 70
type = infantry
}

}


landunit = {
id = { type = 19800 id = 16 }
location = 384
name = "III. Kraljevska Teritorijalna Armija"

division = {
id = { type = 19800 id = 17 }
name = "5. Sumadijska Pesadijska Divizija"
strength = 70
type = infantry
extra = anti_air
}

division = {
id = { type = 19800 id = 18 }
name = "20. Bregalnicka Pesadijska Divizija"
strength = 70
type = infantry
}

division = {
id = { type = 19800 id = 19 }
name = "22. Ibarska Pesadijska Divizija"
strength = 70
type = infantry
}

}


landunit = {
id = { type = 19800 id = 20 }
location = 380
name = "V. Nezavisna Armija"

division = {
id = { type = 19800 id = 21 }
name = "8. Krajinska Pesadijska Divizija"
strength = 70
type = infantry
extra = artillery
}

division = {
id = { type = 19800 id = 22 }
name = "9. Timocka Pesadijska Divizija"
strength = 70
type = infantry
}

division = {
id = { type = 19800 id = 23 }
name = "2. Konjicka Divizija"
strength = 70
type = cavalry
}

}

landunit = {
id = { type = 19800 id = 24 }
location = 453
name = "VI. Nezavisna Armija"

division = {
id = { type = 19800 id = 25 }
name = "3. Dunavska Pesadijska Divizija"
strength = 70
type = infantry
}

division = {
id = { type = 19800 id = 26 }
name = "4. Konjicka Divizija"
strength = 70
type = cavalry
}

}

airunit = {
location = 453
base = 453
id = { type = 19800 id = 27 }
name = "Operativno Zrakoplovstvo"

division = {
id = { type = 19800 id = 28 }
name = "2. Vazduhoplovni Lovacki Puk"
strength = 30
type = interceptor
model = 0
}

division = {
id = { type = 19800 id = 29 }
name = "26. Takticki Bombarderski Puk"
strength = 30
type = tactical_bomber
model = 0
}
}

###########################
###########################
navalunit = {
id = { type = 19800 id = 30 }
name = "Kraljevska Jugoslavenska Ratna Mornarica"
location = 384
base = 384
division = { id = { type = 19800 id = 32 } name = "1. Razaracka Flotila" type = destroyer model = 1 strength = 40 }
division = { id = { type = 19800 id = 33 } name = "1. Podmornicka Flotila" type = submarine model = 0 }
}

}

.........................................

Hungary

province = {
id = 457
anti_air = 2

air_base = {
size = 8
current_size = 8
}
}

province = { id = 456 ic = 2 }
province = { id = 497 ic = 2 }
province = { id = 457 ic = 2 }


country = {
tag = HUN

policy = {
date = { year = 0 month = january day = 0 }
democratic = 4
political_left = 1
free_market = 4
freedom = 3
professional_army = 3
defense_lobby = 7
interventionism = 8
}

manpower = 150
capital = 457

# Resource Reserves
energy = 1000 metal = 1000 rare_materials = 500 oil = 500 supplies = 500
money = 10

ownedprovinces = {
456 457 458 491 492 497 373 377 371 388 387 384 381 382 380 459 455 494 493 454 386 385 383 495 427 430 496 428 429 498 500 489 488 480
}
controlledprovinces = {
456 457 458 491 492 497 373 377 371 388 387 384 381 382 380 459 455 494 493 454 386 385 383 495 427 430 496 428 429 498 500 489 488 480
}
nationalprovinces = {
456 457 458 491 492 497 373 377 371 388 387 384 381 382 380 459 455 494 493 454 386 385 383 495 427 430 496 428 429 498 500 489 488 480
#Claim on Romania
428 496 498
#Claim on Czecho-Slovakia
476 477 478 490 499
#Claim on Yugoslavia
493
}

diplomacy = {
relation = { tag = AUS value = 100 guaranteed = { day = 17 month = march year = 1934 } }
relation = { tag = CZE value = -50 }
relation = { tag = ENG value = -50 }
relation = { tag = FIN value = 75 }
relation = { tag = FRA value = -70 }
relation = { tag = GER value = 100 }
relation = { tag = IRE value = 25 }
relation = { tag = ITA value = 125 }
relation = { tag = POL value = 50 }
relation = { tag = ROM value = 0 }
relation = { tag = YUG value = 80 }
}

# Eastern Minor Tech '36
techapps = {
# Group C 1936 techs
#######################

4010 4020 # Early fighter

4120 # GW Bomber

2150 # Basic Armoured Car

2010 2020 # GW tank and tankette

2290 2300 2310 # GW artillery

2450 2460 # Early Static AA
2400
2510 # Basic AA

1010 # GW infantry

1190 # GW Cavalry

1110 # Early Mountain

9010 # Air Superiority doctrine

5010 5020 # Mechanized Agriculture
5080 5090 # Construction
5190 # Basic Oil Refining




6010 6020 # Superior Firepower
}

landunit = {
id = { type = 20500 id = 1 }
name = "Magyar Hadsereg"
location = 457

division = {
id = { type = 20500 id = 2 }
name = "6. gyalog hadosztály"
strength = 100
type = infantry
extra = artillery
}

division = {
id = { type = 20500 id = 3 }
name = "7. gyalog hadosztály"
strength = 100
type = infantry
}

division = {
id = { type = 20500 id = 4 }
name = "10. gyalog hadosztály"
strength = 100
type = infantry
extra = anti_tank
}
}

landunit = {
id = { type = 20500 id = 5 }
name = "I Állandó Hadsereg"
location = 457

division = {
id = { type = 20500 id = 6 }
name = "12. gyalog hadosztály"
strength = 100
type = infantry
}

division = {
id = { type = 20500 id = 7 }
name = "13. gyalog hadosztály"
strength = 100
type = infantry
}

division = {
id = { type = 20500 id = 8 }
name = "16. gyalog hadosztály"
strength = 100
type = infantry
}
}

landunit = {
id = { type = 20500 id = 9 }
name = "II Állandó Hadsereg"
location = 457

division = {
id = { type = 20500 id = 10 }
name = "20. gyalog hadosztály"
strength = 100
type = infantry
extra = anti_air
}

division = {
id = { type = 20500 id = 11 }
name = "24. gyalog hadosztály"
strength = 100
type = infantry
}

division = {
id = { type = 20500 id = 12 }
name = "25. gyalog hadosztály"
strength = 100
type = infantry
}
}

airunit = {
id = { type = 20500 id = 13 }
name = "I Légí Hadsereg"
location = 457
base = 457

division = {
id = { type = 20500 id = 14 }
name = "I.Vadászosztály"
type = interceptor
model = 0
strength = 30
}

division = {
id = { type = 20500 id = 15 }
name = "I.Vadászbombázó Osztály"
type = tactical_bomber
model = 0
strength = 30
}
}
}

..................................

mmm..can;t figure it out, all the other modding I did was fine.
Sorry for the longness of this post.
 

unmerged(12544)

General
Dec 9, 2002
1.936
0
Visit site
Try to pin down, which file is responsible first. E.g. by deleting everything, that is unnecessary (tech, units, not provinces!). You have AUS,HUN,YUG, it is unlikely, that all 3 have errors.

You don't have "Yugoslavia" at the start of the *.inc file? It needs "#" in front.
 

unmerged(42223)

Imperial Minister
Mar 28, 2005
3.437
0
In my experience that error almost always means a conflict with province ownership and control, usually between two or more countries.
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Yukala said:
In my experience that error almost always means a conflict with province ownership and control, usually between two or more countries.

indeed you may have to check province controllers and ownership. I can see anything wrong with what you have posted.

Ayeshteni
 

unmerged(52992)

Recruit
Jan 18, 2006
3
0
Panther II said:
Try to pin down, which file is responsible first. E.g. by deleting everything, that is unnecessary (tech, units, not provinces!). You have AUS,HUN,YUG, it is unlikely, that all 3 have errors.

You don't have "Yugoslavia" at the start of the *.inc file? It needs "#" in front.

What do you mean?
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
thenewbiemod said:
What do you mean?

As to his second point (just in case you were refering to that.)

you have to put a hash mark (#) in front of everything you do not want the game to try and read (mainly comments)

so you have 'austria' 'yugoslavia' and 'hungary' (I suspect that is just to tell us what files they are from) but if you have those lines in the inc file text themselves they need a # mark in front of them.

you should test each file when you make it (if possible) to isolate errors and find out which of the files has the errors, rather than doing a whole load of changes and then finding something is wrong and having to search ALL the files to find which could be causing it.

As I have said, I cannot find anything wrong with the files you give so I suspect (as someone has mentioned) that one of the controlled and owned provinces in the files is also owned/controlled by another country (no included above). Write down all the controlled/owned provinces for your nations above and then search the inc files of all their neighbouring countries and see if there is a duplicate ownership and control.

Ayeshteni