The Flag Selection Mod

From Victoria 1 Wiki
Jump to navigation Jump to search

Allowing a human player to select the flag he/she wishes to use

If you like, you can mod the game so that you are able to select which flag your nation uses.

Simply add the event below to any event-file that is included in the game, e.g. VICTORIA\db\events\forcedreforms.txt:

#################################################################
#  Select flag. Originally by Darkrenown, elaborated by Rafiki  #
#################################################################
event = {
	id = 750000
	random = no

	trigger = {
		ai = no
	}

	name = "The symbol of our nation must be selected!"
	desc = "As our nation rises to prominence, you, our leader, must select 
what shall be the symbol of our great nation!"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 7
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "Our flag is nice the way it is" 
		command = { }
	}
	
	action_b = {
		name = "Long live the King! Or Queen! Or Whatever!" 
		command = { type = flagname  which = "monarch" }
	}
	
	action_c = {
		name = "By the people! Of the people! For the people! We like people!" 
		command = { type = flagname  which = "republic" }
	}
	
	action_d = {
		name = "Marx rules! Long live the proletariat!" 
		command = { type = flagname  which = "commie" }
	}
}

Assigning random flags to AI nations

If you feel a bit on the wild side, wish to see more diversity in flags for the different nations, and don't care that a nation's flag most likely doesn't reflect its' type of government, add the following event to any event-file that is included in the game, e.g. VICTORIA\db\events\forcedreforms.txt:

################################################################################
#  Change flag for AI nations. Originally by Darkrenown, elaborated by Rafiki  #
################################################################################
event = {
	id = 750001
	random = no

	trigger = {
		ai = yes
	}

	name = "AI_EVENT" # Change this if you want the selection to show in the log
                        # You should then also uncomment the "name"-section below.
	desc = "AI_EVENT" # Might have to change this as well to get it to show in log?
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 7
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		ai_chance = 25
		# name = "Our flag is nice the way it is" 
		command = { }
	}
	
	action_b = {
		ai_chance = 25
		# name = "Long live the King! Or Queen! Or Whatever!" 
		command = { type = flagname  which = "monarch" }
	}
	
	action_c = {
		ai_chance = 25
		# name = "By the people! Of the people! For the people! We like people!" 
		command = { type = flagname  which = "republic" }
	}
	
	action_d = {
		ai_chance = 25
		# name = "Marx rules! Long live the proletariat!" 
		command = { type = flagname  which = "commie" }
	}
}