Jump to content
Age of History Games
Veoxide

CODE

Recommended Posts

What is wrong with this code? With it, the game crashes.

 

{
	Government: [
		{
			Name: "Neutrality",
			Extra_Tag: "",
			GOV_GROUP_ID: 0,
			
			AACCEPTABLE_TAXATION: 0.25,
			MIN_GOODS: 0.15,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 0.98,
			INCOME_TAXATION: 0.98,
			INCOME_PRODUCTION: 1.0,
			
			MILITARY_UPKEEP: 1.0,
			ADMINISTRATION_COST: 0.98,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 4,
			COST_OF_MOVE_OWN_PROV: 3,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 9,
			
			DEFENSE_BONUS: 4,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "DEMOCRACY",
			
			R: 255,
			G: 255,
			B: 255
		},
		{
			Name: "Republic",
			Extra_Tag: "r",
			GOV_GROUP_ID: 0,
			
			ACCEPTABLE_TAXATION: 0.25,
			MIN_GOODS: 0.15,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 0.98,
			INCOME_TAXATION: 0.98,
			INCOME_PRODUCTION: 1.0,
			
			MILITARY_UPKEEP: 1.0,
			ADMINISTRATION_COST: 0.98,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 4,
			COST_OF_MOVE_OWN_PROV: 3,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 9,
			
			DEFENSE_BONUS: 4,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "DEMOCRACY",
			
			R: 0,
			G: 90,
			B: 166
		},
		{
			Name: "Absolute_Monarchy",
			Extra_Tag: "m",
			GOV_GROUP_ID: 0,
			
			ACCEPTABLE_TAXATION: 0.25,
			MIN_GOODS: 0.15,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 1.0,
			INCOME_TAXATION: 1.01,
			INCOME_PRODUCTION: 1.01,
			
			MILITARY_UPKEEP: 1.0,
			ADMINISTRATION_COST: 1.02,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 4,
			COST_OF_MOVE_OWN_PROV: 2,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 8,
			
			DEFENSE_BONUS: 4,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "DEFAULT",
			
			R: 255,
			G: 194,
			B: 36
		},
		{
			Name: "Constitutional_Monarchy",
			Extra_Tag: "k",
			GOV_GROUP_ID: 0,
			
			ACCEPTABLE_TAXATION: 0.25,
			MIN_GOODS: 0.15,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 1.0,
			INCOME_TAXATION: 1.01,
			INCOME_PRODUCTION: 1.01,
			
			MILITARY_UPKEEP: 1.0,
			ADMINISTRATION_COST: 1.02,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 4,
			COST_OF_MOVE_OWN_PROV: 2,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 8,
			
			DEFENSE_BONUS: 4,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "DEMOCRACY",
			
			R: 218,
			G: 165,
			B: 32
		},
		{
			Name: "Communism",
			Extra_Tag: "c",
			GOV_GROUP_ID: 1,
			
			ACCEPTABLE_TAXATION: 0.28,
			MIN_GOODS: 0.16,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 1.05,
			INCOME_TAXATION: 0.98,
			INCOME_PRODUCTION: 1.0,
			
			MILITARY_UPKEEP: 0.97,
			ADMINISTRATION_COST: 1.08,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 2,
			COST_OF_MOVE_OWN_PROV: 4,
			COST_OF_RECRUIT: 16,
			COST_OF_DISBAND: 18,
			COST_OF_PLUNDER: 6,
			
			DEFENSE_BONUS: 3,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "COMMUNISM",
			
			R: 204,
			G: 0,
			B: 0
		},
		{
			Name: "Authoritarianism",
			Extra_Tag: "e",
			GOV_GROUP_ID: 0,
			
			ACCEPTABLE_TAXATION: 0.25,
			MIN_GOODS: 0.15,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 1.0,
			INCOME_TAXATION: 1.01,
			INCOME_PRODUCTION: 1.01,
			
			MILITARY_UPKEEP: 1.0,
			ADMINISTRATION_COST: 1.02,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 4,
			COST_OF_MOVE_OWN_PROV: 2,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 8,
			
			DEFENSE_BONUS: 4,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "DEFAULT",
			
			R: 105,
			G: 105,
			B: 105
		},
		{
			Name: "Fascism",
			Extra_Tag: "f",
			GOV_GROUP_ID: 2,
			
			ACCEPTABLE_TAXATION: 0.28,
			MIN_GOODS: 0.14,
			MIN_INVESTMENTS: 0.12,
			RESEARCH_COST: 1.0,
			INCOME_TAXATION: 1.01,
			INCOME_PRODUCTION: 1.05,
			
			MILITARY_UPKEEP: 0.98,
			ADMINISTRATION_COST: 1.0,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 2,
			COST_OF_MOVE_OWN_PROV: 2,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 18,
			COST_OF_PLUNDER: 6,
			
			DEFENSE_BONUS: 5,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "FASCISM",
			
			R: 51,
			G: 108,
			B: 168
		},
		{
			Name: "Nationalism",
			Extra_Tag: "n",
			GOV_GROUP_ID: 1,
			
			ACCEPTABLE_TAXATION: 0.28,
			MIN_GOODS: 0.14,
			MIN_INVESTMENTS: 0.12,
			RESEARCH_COST: 1.0,
			INCOME_TAXATION: 1.01,
			INCOME_PRODUCTION: 1.05,
			
			MILITARY_UPKEEP: 0.98,
			ADMINISTRATION_COST: 1.0,
			ADMINISTRATION_COST_DISTANCE: 1.0,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 4,
			COST_OF_MOVE_TO_THE_SAME_PROV: 1,
			COST_OF_MOVE_OWN_PROV: 0,
			COST_OF_RECRUIT: 7,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: -1,
			
			DEFENSE_BONUS: 1,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "FASCISM",
			
			R: 139,
			G: 69,
			B: 19
		},
		{
		    Name: "Anarchism",
			Extra_Tag: "a",
			GOV_GROUP_ID: 1,
			
			ACCEPTABLE_TAXATION: 0.25,
			MIN_GOODS: 0.15,
			MIN_INVESTMENTS: 0.1,
			RESEARCH_COST: 1.07,
			INCOME_TAXATION: 1.08,
			INCOME_PRODUCTION: 1.02,
			
			MILITARY_UPKEEP: 0.99,
			ADMINISTRATION_COST: 1.02,
			ADMINISTRATION_COST_DISTANCE: 1.03,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 8,
			COST_OF_MOVE_TO_THE_SAME_PROV: 6,
			COST_OF_MOVE_OWN_PROV: 4,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 8,
			
			DEFENSE_BONUS: 2,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "COMMUNISM",
			
			R: 200,
			G: 0,
			B: 0
		},
		{
			Name: "CityState",
			Extra_Tag: "s",
			GOV_GROUP_ID: 0,
			
			ACCEPTABLE_TAXATION: 0.26,
			MIN_GOODS: 0.1,
			MIN_INVESTMENTS: 0.12,
			RESEARCH_COST: 1.02,
			INCOME_TAXATION: 1.02,
			INCOME_PRODUCTION: 1.02,
			
			MILITARY_UPKEEP: 0.94,
			ADMINISTRATION_COST: 1.2,
			ADMINISTRATION_COST_DISTANCE: 7.25,
			ADMINISTRATION_COST_CAPITAL: 0.025,
			
			COST_OF_MOVE: 10,
			COST_OF_MOVE_TO_THE_SAME_PROV: 4,
			COST_OF_MOVE_OWN_PROV: 4,
			COST_OF_RECRUIT: 18,
			COST_OF_DISBAND: 14,
			COST_OF_PLUNDER: 4,
			
			DEFENSE_BONUS: 12,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "CITYSTATE",

			R: 117,
			G: 28,
			B: 136
		},
		{
			Name: "Horde",
			Extra_Tag: "h",
			GOV_GROUP_ID: 2,
			
			ACCEPTABLE_TAXATION: 0.22,
			MIN_GOODS: 0.14,
			MIN_INVESTMENTS: 0.08,
			RESEARCH_COST: 1.35,
			INCOME_TAXATION: 1.08,
			INCOME_PRODUCTION: 0.96,
			
			MILITARY_UPKEEP: 1.04,
			ADMINISTRATION_COST: 1.05,
			ADMINISTRATION_COST_DISTANCE: 1.08,
			ADMINISTRATION_COST_CAPITAL: 0.4,
			
			COST_OF_MOVE: 6,
			COST_OF_MOVE_TO_THE_SAME_PROV: 1,
			COST_OF_MOVE_OWN_PROV: 1,
			COST_OF_RECRUIT: 20,
			COST_OF_DISBAND: 26,
			COST_OF_PLUNDER: 4,
			
			DEFENSE_BONUS: 0,
			
			CAN_BECOME_CIVILIZED: 1,
			CIVILIZE_TECH_LEVEL: 0.50f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "HORDE",
			
			R: 28,
			G: 99,
			B: 75
		},
		{
			Name: "Tribal",
			Extra_Tag: "t",
			GOV_GROUP_ID: 3,
			
			ACCEPTABLE_TAXATION: 0.30,
			MIN_GOODS: 0.1,
			MIN_INVESTMENTS: 0.06,
			RESEARCH_COST: 0.4,
			INCOME_TAXATION: 1.1,
			INCOME_PRODUCTION: 1.00,
			
			MILITARY_UPKEEP: 1.6,
			ADMINISTRATION_COST: 1.175,
			ADMINISTRATION_COST_DISTANCE: 9.15,
			ADMINISTRATION_COST_CAPITAL: 0.01,
			
			COST_OF_MOVE: 15,
			COST_OF_MOVE_TO_THE_SAME_PROV: 8,
			COST_OF_MOVE_OWN_PROV: 2,
			COST_OF_RECRUIT: 16,
			COST_OF_DISBAND: 16,
			COST_OF_PLUNDER: 12,
			
			DEFENSE_BONUS: 10,
			
			CAN_BECOME_CIVILIZED: 1,
			CIVILIZE_TECH_LEVEL: 0.35f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: false,
			
			AI_TYPE: "UNCIVILIZED",
			
			
			R: 51,
			G: 153,
			B: 102
		},
		{
			Name: "Rebels",
			Extra_Tag: "u",
			GOV_GROUP_ID: 4,
			
			ACCEPTABLE_TAXATION: 0.24,
			MIN_GOODS: 0.08,
			MIN_INVESTMENTS: 0.14,
			RESEARCH_COST: 8.0,
			INCOME_TAXATION: 1.15,
			INCOME_PRODUCTION: 0.95,
			
			MILITARY_UPKEEP: 0.15,
			ADMINISTRATION_COST: 1.04,
			ADMINISTRATION_COST_DISTANCE: 1.00,
			ADMINISTRATION_COST_CAPITAL: 0.1,
			
			COST_OF_MOVE: 6,
			COST_OF_MOVE_TO_THE_SAME_PROV: 2,
			COST_OF_MOVE_OWN_PROV: 0,
			COST_OF_RECRUIT: 16,
			COST_OF_DISBAND: 20,
			COST_OF_PLUNDER: 20,
			
			DEFENSE_BONUS: 2,
			
			CAN_BECOME_CIVILIZED: -1,
			CIVILIZE_TECH_LEVEL: 2.0f,
			AVAILABLE_SINCE_AGE_ID: 0,
			
			REVOLUTIONARY: true,
			
			AI_TYPE: "REBELS",
			
			R: 92,
			G: 92,
			B: 92
		},
	],
	
	Age_of_Civilizations: Governments
}

 

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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



  • Tell a friend

    Love Age of History Games? Tell a friend!

  • Posts

×
×
  • Create New...