• 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.
I dont think the last flight of Rudolf hes should triggers when England(U73) is a German pupet and member of the Axis.
Perhaps this could be altered.

c4clhvy24j8g59zf7.jpg
 
I dont think the last flight of Rudolf hes should triggers when England(U73) is a German pupet and member of the Axis.
Perhaps this could be altered.
While we're at it, I think the picture for the event should be changed, too (don't know what's the relation with Hess).
 
Some changes based on Beta 5 + pang's changes 09:
Code:
\db\ideas\ideas.txt
	some file cleanup - no data change

files in \config\
	some minor text corrections

1936 scenario files
	proper country and unit ID assigned to divs/prov improvements in-production

SPR tech team file
	minor fix

\map\adj-defs.csv
	minor text fixes
 

Attachments

  • Files for Aod 108 beta5 v1.rar
    885 KB · Views: 39
I chose to no longer include the disbanding events. This will increase the chinese losses in combat and due to attrition but reduces the losses by pocketing. Over all CHI has bcome weaker, JAP almost took Chongqing in 1939. The repaired command "construct" with "where = -4" is now used, also some garrison unlock events are included.
For the Chinese militias, could they maybe be set (for the AI) to "do not reinforce" (per the button on the units screen - I don't know what the AI/event command for this is, sorry)? That way, they would wither away through losses as the Infantry replaces them, maybe?
 
There were some outcommented commands for not reinforcing in some scenario files. Do they work in divisional bases or do they work fo the hole corps? If it is the later than it is a very bad solution. But as the stats of militia are changed the militia disbanding is no longer that important. It would be more important for cavalry units of coutries with one tech slot only. A connection of the existing disband button with an event commnd seems like the only proper solution of the problem. Thereby the manpower can be regained without having to waste them and quite some ic, too.
 
Code:
#########################################################################
#  Xi'an Incident
#########################################################################

event = {
	id = 90
	random = no
	country = CHI

	name = EVT_90_NAME
	desc = EVT_90_DESC
	picture = "chinese_incident"
	style = 0

	trigger = {
		war = { country = CHI country = CHC }
		headofgovernment = 52002 # both Chiang Kai Shek
		NOT = {
			war = { country = CHI country = JAP }
		}
		random = 30
	}

	date = { day = 0 month = march year = 1936 }
	offset = 15
	deathdate = { day = 30 month = february year = 1937 }

	action_a = {
		name = EVT_90_ACTA
		ai_chance = 100
		command = { type = dissent value = -5 }
		command = { type = peace which = CHC value = 0 }
#		command = { type = peace which = CSX value = 1 } #just in case
#		command = { type = peace which = CGX value = 1 } #just in case
#		command = { type = peace which = CYN value = 1 } #just in case
#		command = { type = peace which = CXB value = 1 } #just in case
#		command = { type = peace which = SIK value = 1 } #just in case
		command = { type = domestic which = democratic value = 1 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = freedom value = 1 }
		command = { type = relation which = CHC value = 10 }
		command = { type = relation which = CSX value = 20 }
		command = { type = relation which = CGX value = 10 }
		command = { type = relation which = CYN value = 5 }
		command = { type = relation which = CXB value = 10 }
		command = { type = relation which = SIK value = 15 }
		command = { type = sleepleader which = 50011 } # Zhang Xueliang
		command = { type = sleepleader which = 50340 } # Yang Hucheng
		command = { type = local_setflag which = UnitedFrontFlag }
	}
	action_b = {
		name = EVT_90_ACTB
		ai_chance = 0
		command = { type = dissent value = 10 } #loss of support (mainly Manchurian exiles)
		command = { type = domestic which = democratic value = -1 }
		command = { type = domestic which = political_left value = -1 }
		command = { type = domestic which = interventionism value = -1 }
		command = { type = domestic which = freedom value = 2 }
		command = { type = relation which = CHC value = -20 }
		command = { type = relation which = CGX value = -5 }
		command = { type = relation which = CSX value = -10 }
		command = { type = relation which = CYN value = -5 }
		command = { type = relation which = CXB value = -5 }
		command = { type = relation which = SIK value = -5 }
		command = { type = sleepleader which = 50011 } # Zhang Xueliang
		command = { type = sleepleader which = 50340 } # Yang Hucheng
		command = { type = sleepevent which = 91 } #Alt Unified Front
		command = { type = local_clrflag which = UnitedFrontFlag }
	}
	action_c = {
		name = EVT_90_ACTC
		ai_chance = 0
		command = { type = dissent value = 15 } #anti-communist dissent
		command = { type = peace which = CHC value = 0 }
#		command = { type = peace which = CSX value = 1 } #just in case
#		command = { type = peace which = CGX value = 1 } #just in case
#		command = { type = peace which = CYN value = 1 } #just in case
#		command = { type = peace which = CXB value = 1 } #just in case
#		command = { type = peace which = SIK value = 1 } #just in case
		command = { type = alliance which = CHC }
		command = { type = alliance which = CSX }
		command = { type = alliance which = CGX }
		command = { type = alliance which = CYN }
		command = { type = alliance which = CXB }
		command = { type = alliance which = SIK }
		command = { type = domestic which = democratic value = 2 }
		command = { type = domestic which = political_left value = 1 }
		command = { type = domestic which = free_market value = -1 }
		command = { type = domestic which = interventionism value = 2 }
		command = { type = domestic which = freedom value = 2 }
		command = { type = sleepevent which = 91 } #Alt Unified Front
		command = { type = local_setflag which = UnitedFrontFlag }
	}

}

event = {
	id = 91
	country = CHI
	random = no

	trigger = {
		OR = {
			war = { country = CHI country = JAP }
			war = { country = CHC country = JAP }
			war = { country = CSX country = JAP }
			war = { country = CGX country = JAP }
		}
		NOT = { alliance = { country = CHI country = JAP } }
		NOT = { alliance = { country = CSX country = JAP } }
		NOT = { alliance = { country = CHC country = JAP } }
		NOT = { alliance = { country = CGX country = JAP } }
		NOT = { alliance = { country = CYN country = JAP } }
		NOT = { alliance = { country = CXB country = JAP } }
		OR = {
			NOT = { ispuppet = CSX }
			puppet = { country = CSX country = CHI }
			puppet = { country = CSX country = CHC }
			puppet = { country = CSX country = CGX }
			puppet = { country = CSX country = CYN }
			puppet = { country = CSX country = CXB }
		}
		OR = {
			NOT = { ispuppet = CHC }
			puppet = { country = CHC country = CHI }
			puppet = { country = CHC country = CSX }
			puppet = { country = CHC country = CGX }
			puppet = { country = CHC country = CYN }
			puppet = { country = CHC country = CXB }
		}
		OR = {
			NOT = { ispuppet = CGX }
			puppet = { country = CGX country = CHI }
			puppet = { country = CGX country = CSX }
			puppet = { country = CGX country = CHC }
			puppet = { country = CGX country = CYN }
			puppet = { country = CGX country = CXB }
		}
		OR = {
			NOT = { ispuppet = CYN }
			puppet = { country = CYN country = CHI }
			puppet = { country = CYN country = CSX }
			puppet = { country = CYN country = CHC }
			puppet = { country = CYN country = CGX }
			puppet = { country = CYN country = CXB }
		}
		OR = {
			NOT = { ispuppet = CXB }
			puppet = { country = CXB country = CHI }
			puppet = { country = CXB country = CSX }
			puppet = { country = CXB country = CHC }
			puppet = { country = CXB country = CGX }
			puppet = { country = CXB country = CYN }
		}

	}

	name = EVT_91_NAME
	desc = EVT_91_DESC
	style = 0

	date = { day = 1 month = march year = 1937 }
	offset = 1 # changed to 1 so it fires quicker because of the changes
	deathdate = { day = 30 month = december year = 1942 }

	action_a = {
		name = EVT_91_ACTA
		ai_chance = 100
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = democratic value = 1 }
		command = { type = domestic which = political_left value = 1 }
		command = { type = domestic which = freedom value = 1 }
		command = { type = dissent value = -5 }
#		command = { type = peace which = CHC value = 0 }
#		command = { type = peace which = CSX value = 1 } #just in case
#		command = { type = peace which = CGX value = 1 } #just in case
#		command = { type = peace which = CYN value = 1 } #just in case
#		command = { type = peace which = CXB value = 1 } #just in case - are they not a puppet... boggle
#		command = { type = peace which = SIK value = 1 } #just in case
#		command = { type = alliance which = CHC }
#		command = { type = alliance which = CSX }
#		command = { type = alliance which = CGX }
#		command = { type = alliance which = CYN }
#		command = { type = alliance which = CXB } 
#		command = { type = alliance which = SIK }
		command = { type = trigger which = 919193 } #CYN
		#command = { type = trigger which = 919194 } #SIK
		command = { type = trigger which = 919195 } #CHC
		command = { type = local_setflag which = UnitedFrontFlag }
	}

	action_b = {
		name = EVT_91_ACTB
		ai_chance = 0
		command = { type = domestic which = interventionism value = -1 }
		command = { type = domestic which = political_left value = -1 }
		command = { type = domestic which = freedom value = -1 }
		command = { type = dissent value = 5 }
		command = { type = relation which = CHC value = -10 }
		command = { type = relation which = CSX value = -15 }
		command = { type = relation which = CGX value = -10 }
		command = { type = trigger which = 919193 }
		command = { type = local_clrflag which = UnitedFrontFlag }
	}
}

################
# Chinese alliance against the Soviets
#############################################
event = {
	id = 29032
	country = CHI
	random = no

	trigger = {
		OR = {
			war = { country = CHI country = SOV }
			war = { country = CHC country = SOV }
			war = { country = CSX country = SOV }
			war = { country = CGX country = SOV }
			war = { country = CXB country = SOV }
			war = { country = SIK country = SOV }
			war = { country = CYN country = SOV }
		}
		NOT = { alliance = { country = CHI country = SOV } }
		NOT = { alliance = { country = CHI country = JAP } }
		NOT = { alliance = { country = CSX country = SOV } }
		NOT = { alliance = { country = CHC country = SOV } }
		NOT = { alliance = { country = CGX country = SOV } }
		NOT = { alliance = { country = CYN country = SOV } }
		NOT = { alliance = { country = CXB country = SOV } }
		NOT = { ispuppet = CHI }
		NOT = { puppet = { country = CHI country = JAP } }
		OR = {
			NOT = { ispuppet = CSX }
			puppet = { country = CSX country = CHI }
			puppet = { country = CSX country = CHC }
			puppet = { country = CSX country = CGX }
			puppet = { country = CSX country = CYN }
			puppet = { country = CSX country = CXB }
		}
		OR = {
			NOT = { ispuppet = CHC }
			puppet = { country = CHC country = CHI }
			puppet = { country = CHC country = CSX }
			puppet = { country = CHC country = CGX }
			puppet = { country = CHC country = CYN }
			puppet = { country = CHC country = CXB }
		}
		OR = {
			NOT = { ispuppet = CGX }
			puppet = { country = CGX country = CHI }
			puppet = { country = CGX country = CSX }
			puppet = { country = CGX country = CHC }
			puppet = { country = CGX country = CYN }
			puppet = { country = CGX country = CXB }
		}
		OR = {
			NOT = { ispuppet = CYN }
			puppet = { country = CYN country = CHI }
			puppet = { country = CYN country = CSX }
			puppet = { country = CYN country = CHC }
			puppet = { country = CYN country = CGX }
			puppet = { country = CYN country = CXB }
		}
		OR = {
			NOT = { ispuppet = CXB }
			puppet = { country = CXB country = CHI }
			puppet = { country = CXB country = CSX }
			puppet = { country = CXB country = CHC }
			puppet = { country = CXB country = CGX }
			puppet = { country = CXB country = CYN }
		}
	}

	name = "UFRONT_NAME"
	desc = "UFRONT_DESC"
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 14
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "YES"
		ai_chance = 90
		command = { type = domestic which = interventionism value = 1 }
		command = { type = domestic which = democratic value = 1 }
		command = { type = domestic which = political_left value = 1 }
		command = { type = domestic which = freedom value = 1 }
		command = { type = dissent value = -5 }
		command = { type = peace which = CHC value = 0 }
#		command = { type = peace which = CSX value = 1 } #just in case
#		command = { type = peace which = CGX value = 1 } #just in case
#		command = { type = peace which = CYN value = 1 } #just in case
#		command = { type = peace which = CXB value = 1 } #just in case
#		command = { type = peace which = SIK value = 1 } #just in case
		command = { type = alliance which = CHC }
		command = { type = alliance which = CSX }
		command = { type = alliance which = CGX }
		command = { type = alliance which = CYN }
		command = { type = alliance which = CXB }
		command = { type = alliance which = SIK }
		command = { type = local_setflag which = UnitedFrontFlag }
	}

	action_b = {
		name = "NO"
		ai_chance = 10
		command = { type = domestic which = interventionism value = -1 }
		command = { type = domestic which = political_left value = -1 }
		command = { type = domestic which = freedom value = -1 }
		command = { type = dissent value = 5 }
		command = { type = relation which = CHC value = -10 }
		command = { type = relation which = CSX value = -15 }
		command = { type = relation which = CGX value = -10 }
		command = { type = local_clrflag which = UnitedFrontFlag }
	}
}

event = {
	id = 7005
	random = no
	country = CHI
	
	trigger = {
		ai = CHC
		OR = {
			AND = {
				lost_national = { country = CHC value = 40 }
				NOT = { vp = 2 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				owned = { province = 1271 data = CHC } # Yan'an
				NOT = { control = { province = 1271 data = CHC } } # Yan'an
				lost_IC = { country = CHC value = 50 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				owned = { province = 1271 data = CHC } # Yan'an
				control = { province = 1271 data = CHC } # Yan'an
				lost_IC = { country = CHC value = 50 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				alliance = { country = CHC country = CHI }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
		}
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "ok"
		command = { type = inherit which = CHC }
	}
}
event = {
	id = 7006
	random = no
	country = CHI
	
	trigger = {
		ai = CSX
		OR = {
			AND = {
				lost_national = { country = CSX value = 80 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_VP = { country = CHI value = 70 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				alliance = { country = CSX country = CHI }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_national = { country = CSX value = 80 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				NOT = { ai = JAP } # human japan
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
		}
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "ok"
		command = { type = inherit which = CSX }
	}
}
event = {
	id = 7007
	random = no
	country = CHI
	
	trigger = {
		ai = CYN
		OR = {
			AND = {
				lost_national = { country = CYN value = 50 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_VP = { country = CYN value = 30 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				alliance = { country = CYN country = CHI }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				NOT = { ai = JAP } # human japan
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
		}
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "ok"
		command = { type = inherit which = CYN }
	}
}
event = {
	id = 7008
	random = no
	country = CHI
	
	trigger = {
		ai = CXB
		OR = {
			AND = {
				lost_national = { country = CXB value = 50 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_VP = { country = CXB value = 30 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				alliance = { country = CXB country = CHI }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				NOT = { ai = JAP } # human japan
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
		}
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "ok"
		command = { type = inherit which = CXB }
	}
}
event = {
	id = 7009
	random = no
	country = CHI
	
	trigger = {
		ai = CGX
		OR = {
			AND = {
				lost_national = { country = CGX value = 70 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_VP = { country = CGX value = 50 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_VP = { country = CHI value = 70 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				event = 27009 # China offers Guangxi Clique peace
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				alliance = { country = CGX country = CHI }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				NOT = { ai = JAP } # human japan
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
		}
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "ok"
		command = { type = inherit which = CGX }
	}
}
event = {
	id = 7010
	random = no
	country = CHI
	
	trigger = {
		ai = SIK
		OR = {
			AND = {
				lost_national = { country = SIK value = 50 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				lost_VP = { country = SIK value = 30 }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				alliance = { country = SIK country = CHI }
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
			AND = {
				NOT = { ai = JAP } # human japan
				OR = {
					ai = yes
					local_flag = UnitedFrontFlag
				}
			}
		}
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = {
		name = "ok"
		command = { type = inherit which = SIK }
	}
}

event = { 
	id = 7011
	random = no
	country = CHI

	trigger = {
		ai = yes
		ai = CYN
		event = 90 # xian event
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = { 
		name = "Together we shall win"
		command = { type = peace which = CYN value = 0 } #Just in case.
		command = { type = alliance which = CYN }
	}
}

event = { 
	id = 7012
	random = no
	country = CHI

	trigger = {
		OR = {
			AND = {
				NOT = { dissent = 15 }
				ai = JAP
			}
			AND = {
				NOT = { dissent = 10 }
				NOT = { ai = CHI }
			}
			NOT = { dissent = 5 }
		}
		event = 7006 # Shanxi inherited
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = { 
		command = { type = dissent value = 10 } 
	}
}

event = { 
	id = 7013
	random = no
	country = CHI

	trigger = {
		OR = {
			event = 7012
			NOT = { event = 7006 }
		}
		OR = {
			AND = {
				NOT = { dissent = 15 }
				ai = JAP
			}
			AND = {
				NOT = { dissent = 10 }
				NOT = { ai = CHI }
			}
			NOT = { dissent = 5 }
		}
		event = 7007 # Yunnan inherited
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = { 
		command = { type = dissent value = 10 } 
	}
}

event = { 
	id = 7014
	random = no
	country = CHI

	trigger = {
		OR = {
			event = 7013
			NOT = { event = 7008 }
		}
		OR = {
			AND = {
				NOT = { dissent = 15 }
				ai = JAP
			}
			AND = {
				NOT = { dissent = 10 }
				NOT = { ai = CHI }
			}
			NOT = { dissent = 5 }
		}
		event = 7008 # Xibei inherited
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = { 
		command = { type = dissent value = 10 } 
	}
}

event = { 
	id = 7015
	random = no
	country = CHI

	trigger = {
		OR = {
			event = 7014
			NOT = { event = 7008 }
		}
		OR = {
			AND = {
				NOT = { dissent = 15 }
				ai = JAP
			}
			AND = {
				NOT = { dissent = 10 }
				NOT = { ai = CHI }
			}
			NOT = { dissent = 5 }
		}
		event = 7009 # Guangxi inherited
	}

	name = ai_event
	desc = ai_event

	date = { day = 1 month = january year = 1936 }
	offset = 2
	deathdate = { day = 30 month = december year = 1999 }

	action_a = { 
		command = { type = dissent value = 10 } 
	}
}

This is my current solution for the inherit events. In event 90 the ai choice will be the best choice for the human, too. The 2 other options are there for flavour. Maybe this option should not set the united front flag.
 
Here is a new set of changes.

Code:
\ai\afg_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\ast_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\aus_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bel_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bol_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bra_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bul_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\chi_1936.ai
		new endgoal 1220
		armor = 3 changed to 4
		aircraft = 1 changed to 2
		land_doctrines = 4 changed to 2
		
\ai\chl_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\col_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\cub_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\ger_1936.ai
		Mulhouse, Frankfurt am Main, Breslau, Königsberg, Oppeln, Dortmund and Innsbruck are now IC provs
		Königsberg is now infra prov
		garrison = 0 changed to 2
		hq = 3 changed to 1
		
\ai\gre_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\jap_1936.ai
		Infra provs fixed
		
\ai\man_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\men_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\mon_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\mex_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\omn_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\per_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\nzl_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\spa_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\spr_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\tur_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\ven_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\yem_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\yug_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\switch\ger_build_land.ai
		infantry = 32 changed to 22
		armor = 10 changed to 9
		garrison = 0 changed to 6
		hq = 7 changed to 2
		submarine = 0 changed to 10
		
\ai\switch\ger_build_mix.ai
		armor = 10 changed to 9
		garrison = 0 changed to 6
		hq = 7 changed to 2
		
\ai\switch\ger_build_navy.ai
		garrison = 0 changed ro 4
		hq = 5 changed to 1
		
\config\Boostertext.csv
		file by Denniss
		
\config\event_text.csv
		file by Denniss
		
\config\extra_text.csv
		file by Denniss
		
\config\new_text.csv
		file by Denniss
		
\config\province_names.csv
		file by Denniss
		
\db\events\AI_CHI.txt
		27590-27593: Changed chain of events
		
\db\events\ai_disbanding.txt
		file completely overhauled
		
\db\events\ai_ger.txt
		20007: Barbarossa should now start historical if historical outcome option enabled
		20556-20560: changed chain of events
		
\db\events\AI_Inherit_Chi.txt
		7005-7010: Inherit events are now possible for human CHI
		7012: 7006 leads to 10 dissent
		7013: 7007 leads to 10 dissent
		7014: 7008 leads to 10 dissent
		7015: 7009 leads to 10 dissent
		
\db\events\AI_ITA.txt
		26002: italy may now attack greece if sardinia lost
		26521: minister is now in the correct section
		26550: event outcommmented
		26551: event outcommmented
		26552: event outcommmented
		
\db\events\ai_jap.txt
		22554-22556: changed chain of event
		
\db\events\ai_sov.txt
		25005: soviet gear up reverted to original state
		25552: new event for some dissent in early barbarossa
		
\db\events\hoi2.txt
		90: new UnitedFrontFlag
		91: new UnitedFrontFlag
		
\db\events\italy.txt
		2900: new cores are seceded to VIC again
		
\db\events\japan.txt
		3894: Garrisons will now occur in Hanoi instead of being obliterated in Haiphong
		3836: new event to unlock garrisons
		
\db\events\nationalist_china.txt
		29032: new UnitedFrontFlag
		
\db\events\UK.txt
		3408: new event to unlock garrisons
		
\db\events\USA.txt
		3709: construct which = ic where = -1 changed to -4
		3710: construct which = ic where = -1 changed to -4
		2729: new event to unlock garrisons
		
\db\events\USSR.txt
		2653: Third GPW event may no fire if YUG destroyed
		
\db\events\vichy_new.txt
		100003: does no longer triger 100004 directly
		100004: now triggered indirectly
		
\db\ideas\Ideas.txt
		file by Denniss
		
\db\leaders\leadersU73.csv
		file by Denniss
		
\db\teams\teams_spa.csv
		file by Pioniere
		
\db\teams\teams_spr.csv
		file by Pioniere
		file by Denniss
		
\db\teams\teams_vic.csv
		file by Pioniere
		
\gfx\events_pics\Austria_Alliance.bmp
		file from Doomsday

\gfx\events_pics\Fail_Hitler_Assasination.bmp
		file from Doomsday

\gfx\interface\ill_prov_453.bmp
		file by Pioniere

\gfx\interface\ill_prov_501.bmp
		file by Pioniere

\gfx\interface\ill_prov_900.bmp
		file by Pioniere

\gfx\interface\pic\T_SPA_AgustinGrandes.bmp
		file by Pioniere
		
\gfx\interface\pic\T_SPA_Eduardo_Gonzalez-Gallarza.bmp
		file by Pioniere
		
\gfx\interface\pic\T_SPR_FelipeSandino.bmp
		file by Pioniere
		
\gfx\interface\pic\T_SPR_Juan_Modesto.bmp
		file by Pioniere
		
\gfx\interface\pic\T_VIC_Andre_Bayle.bmp
		file by Pioniere
		
\gfx\interface\pic\T_VIC_Jean-MarieCAbrial.bmp
		file by Pioniere
		
\map\adj-defs.csv
		file by Denniss

\scenarios\0_gc_1936.eug
		db\events\ai_disbanding.txt is no longer included
		trade 325: increased supplies to CGX
		
\scenarios\1936\cgx_36.inc
		file by Denniss
		
\scenarios\1936\chc_36.inc
		file by Denniss
		
\scenarios\1936\chi_36.inc
		file by Denniss
		new blueprints 1200 1210 1220
		
\scenarios\1936\csx_36.inc
		file by Denniss
		
\scenarios\1936\cxb_36.inc
		file by Denniss
		
\scenarios\1936\cyn_36.inc
		file by Denniss
		
\scenarios\1936\japan.inc
		-6x12 manpower
		added 6x12 Inf-Art in the building queue
		file by Denniss
		
\scenarios\1936\man.inc
		new tech 1020
		
\scenarios\1936\saudi.inc
		-1 manpower
		added 1x4 Infrastructure for Riyadh in the building queue
		file by Denniss

iraq and syria should now properly join axis if event 100004 fires.

AoDGame.zip: exe hotfix - simply replace the exe - starting new game not required.

With the exe from "03-06-2012 at 13:35" i had CTDs in 1936.
 
I do not know whether you are still putting in changes, but here is a big wish from the CORE team:

Is it possible to export the climate zone effects (especially on attrition) to a file to make it moddable?

Thanks

T
 
Small fileset:
Code:
files in \db\events
	fixing the unlock event triggers and unit-ids, wrong country-ID in USA event

UK 1936 scenario files
	misnamed unit

\db\events\AI_Inherit_Chi.txt
	streamline inherit events

db\events\AI_CHI.txt
	event 27029 made non-persistent - no need to fire every day if all three conditions met
	event 27032 shall not fire if prof army already maxed


---------------------
JUST AS SUGGESTION:

db\events\ai_ger.txt
	Breakthrough effects last for 3 months, just in case war starts far earlier or later than historical
 

Attachments

  • Files for Aod 108 beta5 v2.rar
    24,7 KB · Views: 25
Last edited:
Liberating U73 as Axis puppet also triggers the Reinhard Heydrich assassination event. maybe we could fix that also.

c4dzyx8nm5wxb0mfn.jpg
 
Code:
db\events\AI_CHI.txt
	event 27032 shall not fire if prof army already maxed

Does not can change police already checks this? Your versions will maxout but one step. There are many AI events where NOT = { domestic = { type = yxz value = 9 } } should be changed to 10.

Code:
db\events\ai_ger.txt
	Breakthrough effects last for 3 months, just in case war starts far earlier or later than historical

Has this trigger proven to work properly? I never used value = 90 for trigger event before. I am worried how saving and reloading might effect this event.

event 391 has a trigger
Code:
		NOT = { 
			control = { province = 19 data = GER }
			}
Could you please run a test with GER replaced by -3 ?
-> -3 should be country receiving event or ally

Why not make it a positive question? Like this here?

Code:
control = { province = 19 data = ENG }
 
trigger + event-id + value = delayed event, will be fired after delay period is over and this information is stored inside the savegame. It is used a lot in CORE and we were working with Radu and other devs to iron out the bugs related to this function. It's pretty solid.
Fully professional army is a bit too much as help for the chinese ai, also completely ahistorical and it may also spoil gearing bonus. In CORE we use a lower target value at peace and a higher target value if at war.
If we set up London as positive control trigger we should use -2 for enemy, just in case it was captured and retaken by another nation.
 
trigger + event-id + value = delayed event, will be fired after delay period is over and this information is stored inside the savegame. It is used a lot in CORE and we were working with Radu and other devs to iron out the bugs related to this function. It's pretty solid.

Sounds good. The value itself might be increased to 105. Three and a half month might even be a little too less, but this needs some testing.

Fully professional army is a bit too much as help for the chinese ai, also completely ahistorical and it may also spoil gearing bonus.

I would not care so much about gearing bonus. Less prof army means less saleries and more ic available if the army is big enough. I am not sure which option is preferable. But as this limit is used by many other ai events they need to be checked.

If we set up London as positive control trigger we should use -2 for enemy, just in case it was captured and retaken by another nation.

If this enemy is allied with ENG the provinces will be returned soon to ENG. If in a ahistorical case London is taken by Japan and Japan is at war with ENG and GER the event might better not trigger.
 
Here is a new set of changes.

Code:
\ai\afg_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\ast_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\aus_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bel_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bol_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bra_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\bul_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\chi_1936.ai
		new endgoal 1220
		armor = 3 changed to 4
		aircraft = 1 changed to 2
		land_doctrines = 4 changed to 2
		
\ai\chl_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\col_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\cub_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\ger_1936.ai
		Mulhouse, Frankfurt am Main, Breslau, Königsberg, Oppeln, Dortmund and Innsbruck are now IC provs
		Königsberg is now infra prov
		garrison = 0 changed to 2
		hq = 3 changed to 1
		
\ai\gre_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\jap_1936.ai
		Infra provs fixed
		
\ai\man_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\men_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\mon_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\mex_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\omn_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\per_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\nzl_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\spa_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\spr_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\tur_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\ven_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\yem_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\yug_1936.ai
		cavalry techs are no longer ignored to be researched
		
\ai\switch\ger_build_land.ai
		infantry = 32 changed to 22
		armor = 10 changed to 9
		garrison = 0 changed to 6
		hq = 7 changed to 2
		submarine = 0 changed to 10
		
\ai\switch\ger_build_mix.ai
		armor = 10 changed to 9
		garrison = 0 changed to 6
		hq = 7 changed to 2
		
\ai\switch\ger_build_navy.ai
		garrison = 0 changed ro 4
		hq = 5 changed to 1
		
\config\Boostertext.csv
		file by Denniss
		
\config\event_text.csv
		file by Denniss
		
\config\extra_text.csv
		file by Denniss
		
\config\new_text.csv
		file by Denniss
		
\config\province_names.csv
		file by Denniss
		
\db\events\AI_CHI.txt
		27590-27593: Changed chain of events
		file by Denniss
		27031: Domestic value = 9 changed to 10
		
\db\events\ai_disbanding.txt
		file completely overhauled
		
\db\events\ai_ger.txt
		20007: Barbarossa should now start historical if historical outcome option enabled
		20556-20560: changed chain of events
		file by Deniss
		
\db\events\AI_Inherit_Chi.txt
		7005-7010: Inherit events are now possible for human CHI
		7012: 7006 leads to 10 dissent
		7013: 7007 leads to 10 dissent
		7014: 7008 leads to 10 dissent
		7015: 7009 leads to 10 dissent
		file by Denniss
		
\db\events\AI_ITA.txt
		26002: italy may now attack greece if sardinia lost
		26521: minister is now in the correct section
		26550: event outcommmented
		26551: event outcommmented
		26552: event outcommmented
		
\db\events\ai_jap.txt
		22554-22556: changed chain of event
		
\db\events\ai_sov.txt
		25005: soviet gear up reverted to original state
		25552: new event for some dissent in early barbarossa
		
\db\events\death_events.txt
		364: Rudolf Hess flees to the United Kingdom only when still controlled by ENG
		391: Reinhard Heydrich assassinated only when London still controlled by ENG
		
\db\events\hoi2.txt
		90: new UnitedFrontFlag
		91: new UnitedFrontFlag
		
\db\events\italy.txt
		2900: new cores are seceded to VIC again
		
\db\events\japan.txt
		3894: Garrisons will now occur in Hanoi instead of being obliterated in Haiphong
		3836: new event to unlock garrisons
		file by Denniss
		
\db\events\nationalist_china.txt
		29032: new UnitedFrontFlag
		
\db\events\UK.txt
		3408: new event to unlock garrisons
		file by Denniss
		
\db\events\USA.txt
		3709: construct which = ic where = -1 changed to -4
		3710: construct which = ic where = -1 changed to -4
		2729: new event to unlock garrisons
		file by Denniss
		
\db\events\USSR.txt
		2653: Third GPW event may no fire if YUG destroyed
		
\db\events\vichy_new.txt
		100003: does no longer triger 100004 directly
		100004: now triggered indirectly
		
\db\ideas\Ideas.txt
		file by Denniss
		
\db\leaders\leadersU73.csv
		file by Denniss
		
\db\tech\teams\teams_spa.csv
		file by Pioniere
		
\db\tech\teams\teams_spr.csv
		file by Pioniere
		file by Denniss
		
\db\tech\teams\teams_vic.csv
		file by Pioniere
		
\gfx\events_pics\Austria_Alliance.bmp
		file from Doomsday

\gfx\events_pics\Fail_Hitler_Assasination.bmp
		file from Doomsday

\gfx\interface\ill_prov_453.bmp
		file by Pioniere

\gfx\interface\ill_prov_501.bmp
		file by Pioniere

\gfx\interface\ill_prov_900.bmp
		file by Pioniere

\gfx\interface\pic\T_SPA_AgustinGrandes.bmp
		file by Pioniere
		
\gfx\interface\pic\T_SPA_Eduardo_Gonzalez-Gallarza.bmp
		file by Pioniere
		
\gfx\interface\pic\T_SPR_FelipeSandino.bmp
		file by Pioniere
		
\gfx\interface\pic\T_SPR_Juan_Modesto.bmp
		file by Pioniere
		
\gfx\interface\pic\T_VIC_Andre_Bayle.bmp
		file by Pioniere
		
\gfx\interface\pic\T_VIC_Jean-MarieCAbrial.bmp
		file by Pioniere
		
\map\adj-defs.csv
		file by Denniss

\scenarios\0_gc_1936.eug
		db\events\ai_disbanding.txt is no longer included
		trade 325: increased supplies to CGX
		
\scenarios\1936\cgx_36.inc
		file by Denniss
		
\scenarios\1936\chc_36.inc
		file by Denniss
		
\scenarios\1936\chi_36.inc
		file by Denniss
		new blueprints 1200 1210 1220
		
\scenarios\1936\csx_36.inc
		file by Denniss
		
\scenarios\1936\cxb_36.inc
		file by Denniss
		
\scenarios\1936\cyn_36.inc
		file by Denniss
		
\scenarios\1936\japan.inc
		-6x12 manpower
		added 6x12 Inf-Art in the building queue
		file by Denniss
		
\scenarios\1936\man.inc
		new tech 1020
		
\scenarios\1936\saudi.inc
		-1 manpower
		added 1x4 Infrastructure for Riyadh in the building queue
		file by Denniss
		
\scenarios\1936\uk.inc
		file by Denniss

All changes of Denniss an Pioniere relative to beta5 are included, my changes till my last set, the 2 german death events and a changed event 27031.

I have not been able to get the source of crashes so far... :(

I would need reproducible CTDs with save just prior of it in order to investigate further. I would put further changes on hold until the crashes are gone.

The problem of those crashes is that they are not reproduceable in a simple manner. When i reload a save that had led to an CTD a few days later relative to the saving point i might not get any crashes for months or even years. In my last game i had about 3 crashes in the second half of 1936, none in 1937-1940 and more than 3 after the start of the YUG war. I could probably offer 10 saves that were made less than 30 days before a crash occured. But would that really help?
 
Did the infrastructure build time difference between plains and hills get removed? Building in deserts and mountains take longer but...?

Edit: Well nevermind, it's just the tooltip that displays wrong.
 
Last edited: