• 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(1624)

First Lieutenant
Mar 7, 2001
275
0
www.civgaming.net
I'm currently creating a personal ahistorical scenarios, I've currently got about 40 countries in Europe, 10-15 with individual AI files and about 5 with events so far. The game CTDs after 1-2 years and I was wondering if anyone had a decent (quickish) way of finding out the cause.

I've find my original problem causing one after 3-5 days, that was a problem with the naval units I had given to some nations. With this one though, I don't know where to start really...
 

unmerged(1624)

First Lieutenant
Mar 7, 2001
275
0
www.civgaming.net
This is really annoying me know, tried to add a navy to France and am still having great problems.

I've got an event that puts Turkey into a war with Athens; France then joins Athens. I've created an AI file to try and get it to invade northern Greece etc., but as soon as they enter the war, move some troops around, move their fleet into the neighbouring sea province to load it I get a CTD. Any ideas?

Country File:

Code:
#############################################################################
#                                                                           #
# THE ART OF WAR                                                            #
# A Fantasy Scenario                                                        #
#                                                                           #
# France Country File                                                       #
#                                                                           #
#############################################################################
# Last Updated: 24/03/04 Chris Wilkinson                                    #
#############################################################################

country = {

#############################################################################
# BASIC                                                                     #
#############################################################################

	tag = FRA
	ai = "chris_france.ai"
	capital = 657

	culture = {
		type = french
	}

	religion = catholic
	literacy = 0.32
	plurality = 0.05

	leadership = 10
	manpower = 5
	prestige = 10
	cash = 15000

	last_campaign_start = {
	}





#############################################################################
# GOVERNMENT                                                                #
#############################################################################

	government = constitutional_monarchy
	executive_designation = hms_government
	party_system = multi_party
	national_value = liberty
	ruling_party = 7201
	banned_parties = { 7205 }
	voting_rights = wealth
	public_meetings = yes
	press_rights = censorship
	political_parties = right_to_ban
	trade_unions = none
	minimum_wages = none
	maximum_workhours = 0
	safety_regulations = none
	health_care = none
	unemployment_subsidies = none
	pension_funds = none

	establishment = traditional_academic





#############################################################################
# TERRITORIES                                                               #
#############################################################################

ownedprovinces = {
	# France
199 239 656 657 658 659 660 661 671 672 673 674 678 679 680 681 682 683 684 685 726 728 686 687 688 717 718 719 720 721 722 723 724 725 727 858 859 860 861 862 863 864 869 870 871 872 873 874 875 876 877 878 879 880 881 882 888 889 890 891
}

controlledprovinces = {
	# France
199 239 656 657 658 659 660 661 671 672 673 674 678 679 680 681 682 683 684 685 726 728 686 687 688 717 718 719 720 721 722 723 724 725 727 858 859 860 861 862 863 864 869 870 871 872 873 874 875 876 877 878 879 880 881 882 888 889 890 891
}

nationalprovinces = {
	# France
199 239 656 657 658 659 660 661 671 672 673 674 678 679 680 681 682 683 684 685 726 728 686 687 688 717 718 719 720 721 722 723 724 725 727 858 859 860 861 862 863 864 869 870 871 872 873 874 875 876 877 878 879 880 881 882 888 889 890 891
}





#############################################################################
# ECONOMY/INDUSTRY                                                          #
#############################################################################

allowed_buildings = { 
	cotton_plantation = no
	dye_plantation = no
        tea_plantation = no
	coffee_plantation = no
	opium_plantation = no
	sheep_ranch = yes
	silkworm_ranch = no
	cattle_ranch = yes 
	fishing_wharf = yes 
	orchard = yes 
	grain_farm = yes 
	coal_mine = no
	sulphur_mine = no
	iron_mine = no
	precious_metal_mine = no
	timber_lodge = no
	tropical_wood_lodge = no
	rubber_lodge = no
	oil_rig = no
	steel_factory = no
	cement_factory = no
	glass_factory = no
	fuel_refinery = no
	ammunition_factory = yes 
	small_arms_factory = yes 
	artillery_factory = yes 
	barrel_factory = no 
	fertilizer_factory = yes 
	explosives_factory = yes 
	dye_factory = yes 
	clipper_shipyard = yes 
	steamer_shipyard = yes 
	machine_parts_factory = no
	automobile_factory = no
	aeroplane_factory = no
	electric_gear_factory = no
	telephone_factory = no
	winery = yes 
	liquor_distillery = yes 
	canned_food_factory = yes 
	fabric_factory = yes 
	regular_clothes_factory = yes 
	luxury_clothes_factory = no
	lumber_mill = no
	paper_mill = no
	furniture_factory = yes 
	luxury_furniture_factory = no
} 

resources = { 
	###########				
	#Raw Mtrl #	
	###########	
	coal = 	20			
	sulphur = 20			
	iron = 	20			
	precious_metal = 100	
	timber = 20			
	rubber = 20						
	cement = 20			
	glass = 20
	lumber = 20			
	paper = 20
	cotton = 20			
	dye = 20
	#################	
	#Strategic Mtrl #
	#################
	canned_food = 50			
	ammunition =  50		
	small_arms = 50		
	artillery = 50			
	fertilizer = 50		
	explosives = 50	
	clipper_convoy = 50		
	machine_parts = 10	
	################
	#Consumer Goods#
	################
	cattle = 20			
	fish = 	50
	fruit = 20		
	grain = 50	
	wine = 	40			
	liquor = 50			 		
	fabric = 50			
	regular_clothes = 50
	furniture = 50
}


###French Factories - 1836###
### by Johnny Canuck      ###

#Picardie#

factory = {
	location = 199
	id = {
		type = 5300
		id = 7200
		}
	type = steel_factory
	}

#Champagne-Ardennes#

factory = {
	location = 858
	id = {
		type = 5300
		id = 7201
		}
	type = explosives_factory
	}

factory = {
	location = 858
	id = {
		type = 5300
		id = 7202
		}
	type = artillery_factory
	}

#Lorraine-Alsace#

factory = {
	location = 863
	id = {
		type = 5300
		id = 7203
		}
	type = fabric_factory
	level = 2
	}

#Limousin#

factory = {
	location = 720
	id = {
		type = 5300
		id = 7205
		}
	type = lumber_mill
	}

#Auvergne#

factory = {
	location = 879
	id = {
		type = 5300
		id = 7206
		}
	type = fertilizer_factory
	}

factory = {
	location = 879
	id = {
		type = 5300
		id = 7207
		}
	type = small_arms_factory
	}

#Rhone-Alpes#

factory = {
	location = 881
	id = {
		type = 5300
		id = 7208
		}
	type = winery
	}

#Aquitaine#

factory = {
	location = 719
	id = {
		type = 5300
		id = 7209
		}
	type = winery
	}

#Bourgogne#

factory = {
	location = 875
	id = {
		type = 5300
		id = 7211
		}
	type = furniture_factory
	}

#Val de Loire#

factory = {
	location = 658
	id = {
		type = 5300
		id = 7212
		}
	type = canned_food_factory
	}

factory = {
	location = 658
	id = {
		type = 5300
		id = 7213
		}
	type = glass_factory
	}

#Ile de France#

factory = {
	location = 657
	id = {
		type = 5300
		id = 7214
		}
	type = luxury_furniture_factory
	}

factory = {
	location = 657
	id = {
		type = 5300
		id = 7215
		}
	type = ammunition_factory
	}

factory = {
	location = 657
	id = {
		type = 5300
		id = 7216
		}
	type = paper_mill
	}





#############################################################################
# TECHNOLOGY                                                                #
#############################################################################

techapps = { 
	1001 1002 1101 1102 1201 1202 1301 1401 2001 2002
	2003 2101 2102 2103 2201 2301 2401 3001 3002 3101
	3102 3201 3202 3301 3401 3402 4001 4002 4101 4201
	4202 4301 4302 4303 4401 5001 5002 5101 5102 5103
	5201 5301 5302 5303 5401 5402 3302 5003 5202 5203
} 

inventions = { 
	100 102 201 202 203 212 213 214 215 216 300 301 303
	304 305 306 311 312 400 401 402 403 404 405 415 416
	419 502 503 504 505 506 507 508 509 510 511 526 531
}





#############################################################################
# ARMY                                                                      #
#############################################################################

landunit = {
	name = "1ère Armée Français"
	location = 657 # Paris
	id = { type = 8410 id = 4001 }

	division = {
		name = "1ères Gardes de Paris"
		id = { type = 8410 id = 4002 }
		type = infantry
		quality = regular
		extra = guards
		culture = french
		location = 657
		strength = 100
	}

	division = {
		name = "2èmes Gardes de Paris"
		id = { type = 8410 id = 4003 }
		type = infantry
		quality = regular
		extra = guards
		culture = french
		location = 657
		strength = 100
	}

	division = {
		name = "3èmes Gardes de Paris"
		id = { type = 8410 id = 4004 }
		type = infantry
		quality = regular
		extra = guards
		culture = french
		location = 657
		strength = 100
	}

	division = {
		name = "4èmes Gardes de Paris"
		id = { type = 8410 id = 4005 }
		type = infantry
		quality = regular
		extra = guards
		culture = french
		location = 657
		strength = 100
	}

	division = {
		name = "5èmes Gardes de Paris"
		id = { type = 8410 id = 4006 }
		type = infantry
		quality = regular
		extra = guards
		culture = french
		location = 657
		strength = 100
	}
}

landunit = {
	name = "2ème Armée Française"
	location = 719 # Bordeaux
	id = { type = 8410 id = 4007 }

	division = {
		name = "1ères Réguliers de Bordeaux"
		id = { type = 8410 id = 4008 }
		type = infantry
		quality = regular
		extra = regulars
		culture = french
		location = 719
		strength = 100
	}

	division = {
		name = "2èmes Réguliers de Bordeaux"
		id = { type = 8410 id = 4009 }
		type = infantry
		quality = regular
		extra = regulars
		culture = french
		location = 719
		strength = 100
	}

	division = {
		name = "1ères Infanterie de Bordeaux"
		id = { type = 8410 id = 4010 }
		type = infantry
		quality = regular
		culture = french
		location = 719
		strength = 100
	}

	division = {
		name = "2èmes Infanterie de Bordeaux"
		id = { type = 8410 id = 4011 }
		type = infantry
		quality = regular
		culture = french
		location = 719
		strength = 100
	}

}

landunit = {
	name = "3ème Armée Française"
	location = 658 # Orléans
	id = { type = 8410 id = 4012 }

	division = {
		name = "1ères Infanterie de Orléans"
		id = { type = 8410 id = 4013 }
		type = infantry
		quality = regular
		culture = french
		location = 658
		strength = 100
	}

	division = {
		name = "2èmes Infanterie de Orléans"
		id = { type = 8410 id = 4014 }
		type = infantry
		quality = regular
		culture = french
		location = 658
		strength = 100
	}
}




### French Navy OOB 1836 Author: Valdemar ###
navalunit = { location = 671 id = { type = 15701 id = 100 } name = "Escadre du Nord"
division = { name = "Couronne" type =  manowar id = { type = 15701 id =  101} quality = regular extra = corvette location = 671 culture = french strength = 100}
division = { name = "Superbe" type =  manowar id = { type = 15701 id =  102} quality = regular location = 671 culture = french strength = 100}
division = { name = "Jean Bart" type =  manowar id = { type = 15701 id =  103} quality = regular location = 671 culture = french strength = 100}
division = { name = "Dix-huit Fructidor" type =  manowar id = { type = 15701 id =  104} quality = regular location = 671 culture = french strength = 100}
division = { name = "Wagram" type =  manowar id = { type = 15701 id =  105} quality = regular location = 671 culture = french strength = 100}
division = { name = "Trocadero*" type =  manowar id = { type = 15701 id =  106} quality = regular location = 671 culture = french strength = 100}
division = { name = "Zélandais" type =  manowar id = { type = 15701 id =  107} quality = regular location = 671 culture = french strength = 100}
division = { name = "Superbe" type =  manowar id = { type = 15701 id =  108} quality = regular location = 671 culture = french strength = 100}
division = { name = "Austerlitz" type =  manowar id = { type = 15701 id =  109} quality = regular location = 671 culture = french strength = 100}
division = { name = "Magnifique" type =  manowar id = { type = 15701 id =  110} quality = regular location = 671 culture = french strength = 100}
division = { name = "République Française" type =  manowar id = { type = 15701 id =  111} quality = regular location = 671 culture = french strength = 100}
division = { name = "Conquérant" type =  manowar id = { type = 15701 id =  112} quality = regular location = 671 culture = french strength = 100}
division = { name = "Neptune" type =  manowar id = { type = 15701 id =  113} quality = regular location = 671 culture = french strength = 100}
division = { name = "Algerisas" type =  manowar id = { type = 15701 id =  114} quality = regular location = 671 culture = french strength = 100}
division = { name = "Nestor" type =  manowar id = { type = 15701 id =  115} quality = regular location = 671 culture = french strength = 100}
division = { name = "Duchesse de Berry" type =  frigate id = { type = 15701 id =  116} quality = regular location = 671 culture = french strength = 100}
division = { name = "Thétis" type =  frigate id = { type = 15701 id =  117} quality = regular location = 671 culture = french strength = 100}
division = { name = "Astrée" type =  frigate id = { type = 15701 id =  118} quality = regular location = 671 culture = french strength = 100}
division = { name = "Amazone" type =  frigate id = { type = 15701 id =  119} quality = regular location = 671 culture = french strength = 100}
division = { name = "Clorinde" type =  frigate id = { type = 15701 id =  120} quality = regular location = 671 culture = french strength = 100}
division = { name = "Maure" type =  frigate id = { type = 15701 id =  121} quality = regular location = 671 culture = french strength = 100}
division = { name = "Vestale" type =  frigate id = { type = 15701 id =  122} quality = regular location = 671 culture = french strength = 100}
division = { name = "Magicienne" type =  frigate id = { type = 15701 id =  123} quality = regular location = 671 culture = french strength = 100}
division = { name = "Marie Thérese" type =  frigate id = { type = 15701 id =  124} quality = regular location = 671 culture = french strength = 100}
division = { name = "Venus" type =  frigate id = { type = 15701 id =  125} quality = regular location = 671 culture = french strength = 100}
division = { name = "Sirène" type =  frigate id = { type = 15701 id =  126} quality = regular location = 671 culture = french strength = 100}
division = { name = "Atalante" type =  frigate id = { type = 15701 id =  127} quality = regular location = 671 culture = french strength = 100}
division = { name = "Surveillante" type =  frigate id = { type = 15701 id =  128} quality = regular location = 671 culture = french strength = 100}
division = { name = "Iphigénie" type =  frigate id = { type = 15701 id =  129} quality = regular location = 671 culture = french strength = 100}
division = { name = "Sultane" type =  frigate id = { type = 15701 id =  130} quality = regular location = 671 culture = french strength = 100}
division = { name = "1st Transport flotilla" type =  clipper_transport id = { type = 15701 id =  131} quality = regular location = 671 culture = french strength = 100}
division = { name = "2nd Transport flotilla" type =  clipper_transport id = { type = 15701 id =  132} quality = regular location = 671 culture = french strength = 100}
division = { name = "3rd Transport flotilla" type =  clipper_transport id = { type = 15701 id =  168} quality = regular location = 671 culture = french strength = 100}
}
navalunit = { location = 661 id = { type = 15701 id = 133 } name = "Escadre de Méditerranée"
division = { name = "Triton" type =  manowar id = { type = 15701 id =  134} quality = regular extra = corvette location = 661 culture = french strength = 100}
division = { name = "Etats de Bourgogne" type =  manowar id = { type = 15701 id =  135} quality = regular location = 661 culture = french strength = 100}
division = { name = "Souverain" type =  manowar id = { type = 15701 id =  136} quality = regular location = 661 culture = french strength = 100}
division = { name = "Marengo" type =  manowar id = { type = 15701 id =  137} quality = regular location = 661 culture = french strength = 100}
division = { name = "Ville de Marseilles" type =  manowar id = { type = 15701 id =  138} quality = regular location = 661 culture = french strength = 100}
division = { name = "Hercule" type =  manowar id = { type = 15701 id =  139} quality = regular location = 661 culture = french strength = 100}
division = { name = "Montebello*" type =  manowar id = { type = 15701 id =  140} quality = regular location = 661 culture = french strength = 100}
division = { name = "Centaure" type =  manowar id = { type = 15701 id =  141} quality = regular location = 661 culture = french strength = 100}
division = { name = "Jupiter" type =  manowar id = { type = 15701 id =  142} quality = regular location = 661 culture = french strength = 100}
division = { name = "Duc d’Angouleme" type =  manowar id = { type = 15701 id =  143} quality = regular location = 661 culture = french strength = 100}
division = { name = "Hercules" type =  manowar id = { type = 15701 id =  144} quality = regular location = 661 culture = french strength = 100}
division = { name = "Généreux" type =  manowar id = { type = 15701 id =  145} quality = regular location = 661 culture = french strength = 100}
division = { name = "Diadème" type =  manowar id = { type = 15701 id =  146} quality = regular location = 661 culture = french strength = 100}
division = { name = "Couronne" type =  manowar id = { type = 15701 id =  147} quality = regular location = 661 culture = french strength = 100}
division = { name = "Suffren" type =  manowar id = { type = 15701 id =  148} quality = regular location = 661 culture = french strength = 100}
division = { name = "Trident" type =  manowar id = { type = 15701 id =  149} quality = regular location = 661 culture = french strength = 100}
division = { name = "Royal Louis*" type =  manowar id = { type = 15701 id =  150} quality = regular location = 661 culture = french strength = 100}
division = { name = "Commerces de Paris" type =  manowar id = { type = 15701 id =  151} quality = regular location = 661 culture = french strength = 100}
division = { name = "Terpsichore" type =  frigate id = { type = 15701 id =  152} quality = regular location = 661 culture = french strength = 100}
division = { name = "Arthémise" type =  frigate id = { type = 15701 id =  153} quality = regular location = 661 culture = french strength = 100}
division = { name = "Belle Gabrielle" type =  frigate id = { type = 15701 id =  154} quality = regular location = 661 culture = french strength = 100}
division = { name = "Didon" type =  frigate id = { type = 15701 id =  155} quality = regular location = 661 culture = french strength = 100}
division = { name = "Caroline" type =  frigate id = { type = 15701 id =  156} quality = regular location = 661 culture = french strength = 100}
division = { name = "Herminie" type =  frigate id = { type = 15701 id =  157} quality = regular location = 661 culture = french strength = 100}
division = { name = "Melpomène" type =  frigate id = { type = 15701 id =  158} quality = regular location = 661 culture = french strength = 100}
division = { name = "Uranie" type =  frigate id = { type = 15701 id =  159} quality = regular location = 661 culture = french strength = 100}
division = { name = "Andromède" type =  frigate id = { type = 15701 id =  160} quality = regular location = 661 culture = french strength = 100}
division = { name = "Jeanne d’Arc" type =  frigate id = { type = 15701 id =  161} quality = regular location = 661 culture = french strength = 100}
division = { name = "Belle Poule" type =  frigate id = { type = 15701 id =  162} quality = regular location = 661 culture = french strength = 100}
division = { name = "Erigone" type =  frigate id = { type = 15701 id =  163} quality = regular location = 661 culture = french strength = 100}
division = { name = "Nereide" type =  frigate id = { type = 15701 id =  164} quality = regular location = 661 culture = french strength = 100}
division = { name = "Gloire" type =  frigate id = { type = 15701 id =  165} quality = regular location = 661 culture = french strength = 100}
division = { name = "Reine Blanche" type =  frigate id = { type = 15701 id =  166} quality = regular location = 661 culture = french strength = 100}
division = { name = "1ere Flotille de transport" type =  clipper_transport id = { type = 15701 id =  167} quality = regular location = 661 culture = french strength = 100}
division = { name = "2e Flotille de transport" type =  clipper_transport id = { type = 15701 id =  169} quality = regular location = 661 culture = french strength = 100}
division = { name = "3e Flotille de transport" type =  clipper_transport id = { type = 15701 id =  170} quality = regular location = 661 culture = french strength = 100}
}


#
# END
#

}

AI File:

Code:
#############################################################################
#                                                                           #
# THE ART OF WAR                                                            #
# A Fantasy Scenario                                                        #
#                                                                           #
# France AI File                                                            #
#                                                                           #
#############################################################################
# Last Updated: 24/03/04 Chris Wilkinson                                    #
#############################################################################

max_front_ratio = 4

max_garrison_prop = 0.4
min_garrison_prop = 0.05

war = 50

neutrality = 0

combat = {
	# England
	ENG = 20
	# Turkey
	TUR = 10
}

protect = {
	# Avignon
	WEI = 90
	# Provence
	MEI = 90
	# Savoy
	COB = 90
	# Geneva
	U14 = 50
	# Neuchâtel
	U15 = 50
	# Romania
	ROM = 30
	# Athens
	U00 = 20
}

befriend = {
	# Avignon
	WEI = 90
	# Provence
	MEI = 90
	# Savoy
	COB = 90
	# Geneva
	U14 = 70
	# Neuchâtel
	U15 = 70
	# Romania
	ROM = 50
	# Scotland
	SCO = 50
	# Athens
	U00 = 40
	# Hainaut
	WLL = 40
	# Liège
	HEK = 40
	# Antwerpen
	FLA = 30
	# Thessalonki
	U01 = 30
}

target = {
	# France
	199 = 90
	239 = 90
	656 = 90
	657 = 90
	658 = 90
	659 = 90
	660 = 90
	661 = 90
	671 = 90
	672 = 90
	673 = 90
	674 = 90
	678 = 90
	679 = 90
	680 = 90
	681 = 90
	682 = 90
	683 = 90
	684 = 90
	685 = 90
	726 = 90
	728 = 90
	686 = 90
	687 = 90
	688 = 90
	717 = 90
	718 = 90
	719 = 90
	720 = 90
	721 = 90
	722 = 90
	723 = 90
	724 = 90
	725 = 90
	727 = 90
	814 = 90
	858 = 90
	859 = 90
	860 = 90
	861 = 90
	862 = 90
	863 = 90
	864 = 90
	869 = 90
	870 = 90
	871 = 90
	872 = 90
	873 = 90
	874 = 90
	875 = 90
	876 = 90
	877 = 90
	878 = 90
	879 = 90
	880 = 90
	881 = 90
	882 = 90
	883 = 90
	884 = 90
	885 = 90
	886 = 90
	887 = 90
	888 = 90
	889 = 90
	890 = 90
	891 = 90

	# Savoy
	812 = 80
	813 = 80
	815 = 60
	819 = 60

	# Italy
	816 = 60
	817 = 40
	818 = 60
	820 = 60
	824 = 40
	825 = 80
	840 = 40
	857 = 40
}

admiral = {
	target = {
	}
}

invasion = {
	base				= 1.0	#Relative modifier. (lower = specific targets much more important.)
	random				= 10.0	#How big a random range.  (1.0 = 1%)
	coastal				= 1.0	#increase to avoid coastal forts more.
	beach				= 4.0	#higher, avoid worst beaches.
	distance			= 5.0	#higher = avoid long distance.
	pocket				= 3.0	#prioritise pockets, ie provinces with no adjacent controlled by same.
	island				= 1.0	#prioritise taking pure islands.
	enemy				= 2.0	#higher = much more vary of troops in province.
	adjacentenemy			= 1.0	#higher = much more vary of troops nearby

	target = {
		# England
		237 = 200 # Bristol
		253 = 300 # Southampton
		256 = 250 # Canterbury
		257 = 200 # Brighton

		# Spain
		347 = 500 # Barcelona
		694 = 300 # Pamplona
		699 = 100 # La Coruña
		715 = 200 # Santander

		# Italy
		738 = 200 # Sassari
		817 = 150 # Genoa
		848 = 200 # Livorno
		855 = 400 # Roma
		857 = 300 # Ajaccio
		1295 = 200 # Palemro

		# Greece
		1006 = 400 # Thessalonki
		1332 = 600 # Kerktra
		1336 = 600 # Argostoli
		1356 = 500 # Iraklion
		1368 = 400 # Athens

		# Turkey
		997 = 100 # Birgir
		1360 = 200 # Izmir
	}

}

front = {
	recklessness 			= 	1 # 0-3
	distrib_vs_ai 			= 	reactive
	distrib_vs_human		= 	reactive
# Count enemy units less than X days from a target province in odds calculations
	enemy_reinf_days = 6
# Proportion of troops in the front held as reserves.
	reserve_prop = 0.1 # 10%
# Front requests more troops if outnumbered by this factor by AI nations
	panic_ratio_vs_ai = 1.2
# Front requests more troops if outnumbered by this factor by human nations
	panic_ratio_vs_human = 0.9
# Will attack at these odds or better
	base_attack_odds = 1.5
# If stalemated for a long period, may go as low as these attack odds
	min_attack_odds = 1.000
# Don't use more force than necessary to reach these odds
	max_attack_odds = 2.500
# Send more troops into embattled provinces if the attacking force is at these odds or more
	reinforce_odds = 1.000
# Break off attacks and withdraw at these odds
	withdraw_odds = 0.500
}

garrison = {
	# PRIORITIES:
	capital				= 50	# Our capital
	human_border			= 50	# Borders with human players
	war_target			= 100	# The next country targeted for attack by this AI
	claim_threat			= 100	# True for countries which have national provinces that we currently own
	militancy_multiplier 		= 45.000 # high, too many provinces to take care

	# Borders with specific countries
	country_priorities = {
	}

	# Specific provinces
	province_priorities = {
	}
	area_multiplier = {
	}
}

military = {
	relative_build_scheme 	= yes

	desired_army_size 		=	-1
	desired_navy_size 		=	-1
	mob_inf_perc			=   65

#	ARMY:
	infantry = 				73
	cavalry = 				20
	dragoon = 				7
	irregular = 			0
#							100

#	NAVY:
	submarine = 			0
	line = 					35
	fast =					30
	transport = 			35
#							100

# Brigade preferences:
# (% of eligible division types that should be built with a certain brigade type)
	artillery		=	30
	engineer		= 	5
	barrel			=	5
	cuirassier		=	5
	hussar			=	5
	hq			=	5
	guard			=	10
	regular			=	0
# Sum of these should be <= 100

	torpedo_boat		=	10
	destroyer		=	10
	corvette		=	10
	minelayer		=	5
	minesweeper		=	5
# Sum of these should be <= 100
}

factory = {
            aeroplane_factory = 3.000
            ammunition_factory = 6.000
            artillery_factory = 6.000
            automobile_factory = 4.000
            barrel_factory = 6.000
            canned_food_factory = 6.000
            cattle_ranch = 2.000
            cement_factory = 5.000
            clipper_shipyard = 7.000
            coal_mine = 4.000
            coffee_plantation = 1.000
            cotton_plantation = 1.000
            dye_factory = 1.500
            dye_plantation = 1.500
            electric_gear_factory = 5.000
            explosives_factory = 6.000
            fabric_factory = 8.000
            fertilizer_factory = 4.000
            fishing_wharf = 1.500
            fuel_refinery = 6.000
            furniture_factory = 6.000
            glass_factory = 4.000
            grain_farm = 6.000
            iron_mine = 4.000
            liquor_distillery = 4.000
            lumber_mill = 3.000
            luxury_clothes_factory = 5.000
            luxury_furniture_factory = 3.500
            machine_parts_factory = 5.000
            oil_rig = 6.000
            opium_plantation = 1.000
            orchard = 2.000
            paper_mill = 2.000
            precious_metal_mine = 1.000
            regular_clothes_factory = 6.000
            rubber_lodge = 6.000
            sheep_ranch = 4.000
            silkworm_ranch = 1.000
            small_arms_factory = 6.000
            steamer_shipyard = 8.000
            steel_factory = 6.000
            sulphur_mine = 6.000
            tea_plantation = 4.000
            telephone_factory = 3.500
            timber_lodge = 2.000
            tobacco_plantation = 2.000
            tropical_wood_lodge = 1.000
            winery = 1.500
	}

technology = {
	preference = {
		#Freedom of Trade
		3301 = 20

		#Experimental Railroad
		5301 = 100

		#Interchangable parts.
		5103 = 50

		#Medicine
		5402 = 10

		#naval inventions, for hulls..
		2100 = 20
		2101 = 20
		2102 = 20
		2103 = 20
		2104 = 20
		2105 = 20

#industry pre-reqs for ships.
5002 = 20
5003 = 20
5004 = 20
5105 = 20
5202 = 20
5203 = 20
5204 = 20
5205 = 20

		1101 1102 1103 1104 1105 # 1302 1303 1304 1305 1400 1401 1402 1403 1404 1405 # army tech
		2101 2102 2103 2104 2105 # 2302 2303 2304 2305 2402 2403 2404 2405 # navy tech
		3302 3303 3304 3305 3400 3401 3402 3403 3404 3405 # commerce tech
		4302 4303 4304 4305 4400 4401 4402 4403 4404 4405 # culture tech
		5302 5303 5304 5305 5400 5401 5402 5403 5404 5405 # industry tech
		}
	army 	= 	1.4
	navy 	= 	1.5
	commerce = 	1.3
	culture = 	1.0
	industry = 	1.0
}

railroad = {
	target = {
		}
	}

colony = {
size = 6
primary = {

}
secondary = {
}
}
 
Dec 20, 2003
772
0
Perhaps a silly thing but sometimes... :confused:
I've seen that in your inc file the tranports got id's 167,169,170!
Perhaps the missing id 168 is the problem...try 167, 168 and 169.
It's right now my only idea! ;)
 

unmerged(1624)

First Lieutenant
Mar 7, 2001
275
0
www.civgaming.net
Wilhelm II. said:
Perhaps a silly thing but sometimes... :confused:
I've seen that in your inc file the tranports got id's 167,169,170!
Perhaps the missing id 168 is the problem...try 167, 168 and 169.
It's right now my only idea! ;)

It's a long and obscure shot but I'll give it ago. I wrote my own original code which didn't work, so I took the original Paradox version (the one there) which still doesn't work though. Worth a try I guess.
 

pimparel

Wargamer Fanatic
46 Badges
Feb 12, 2003
1.934
13
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Chris Wilkinson said:
It's a long and obscure shot but I'll give it ago. I wrote my own original code which didn't work, so I took the original Paradox version (the one there) which still doesn't work though. Worth a try I guess.

This error won't result in a CTD, it may be a conflict on the provinces ID's. When you got the same military ID's pops an question if you want to ignore.

The best way to find the error is to divide the file in a section and add them one after each test. So 1st basic, them factories, them army, them navy, them the modifiers, etc.
 
Last edited:

unmerged(1624)

First Lieutenant
Mar 7, 2001
275
0
www.civgaming.net
I know, but I really am clutching at straws now...that didn't fix anything unsurprisingly ;)

It definitely does appear to be when I add fleets to the game, which is strange since I was able to give one nation a tiny navy a while back but now it just crashes the game which is seriously doing my head in!

Does anyone understand the type = x part in

Code:
id = { type = 15701 id =  130}

Could that be something to do with it? Strange though since it's copied straight from Paradox's code...
 

pimparel

Wargamer Fanatic
46 Badges
Feb 12, 2003
1.934
13
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Chris Wilkinson said:
I know, but I really am clutching at straws now...that didn't fix anything unsurprisingly ;)

It definitely does appear to be when I add fleets to the game, which is strange since I was able to give one nation a tiny navy a while back but now it just crashes the game which is seriously doing my head in!

Does anyone understand the type = x part in

Code:
id = { type = 15701 id =  130}

Could that be something to do with it? Strange though since it's copied straight from Paradox's code...

It means navy.
 

pimparel

Wargamer Fanatic
46 Badges
Feb 12, 2003
1.934
13
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Chris Wilkinson said:
Paradox files have different numbers (like 25301, 13230 and 13191) and they're all navies...in fact each country seems to have a different number...

Sorry, by the understatment: French Navy
 

pimparel

Wargamer Fanatic
46 Badges
Feb 12, 2003
1.934
13
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Chris Wilkinson said:
Oh ok.

Am really confused; if I remove their navy it works fine. The same happens with Venice. Really do not understand what I'm doing wrong...

The locations are valid? No Man O'War in Paris, perhaps?
 

pimparel

Wargamer Fanatic
46 Badges
Feb 12, 2003
1.934
13
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Chris Wilkinson said:
Should be ok - copied straight from the original GC...

Almost giving up. But my last piece of advise. break the navy in two groups, test the inc file with one squadron the the other. Check which one is bugged, them go ship by ship.