chapter1.txt

(9 KB) Pobierz
tutorial = {
	index = 1
	category = 1
	title = "TUT_BAS_CHAPTER01_TITLE"
	desc = "TUT_BAS_CHAPTER01_DESC"
	buttonText = "TUT_BAS_CHAPTER01_BUTTON"
	country = ENG
	window = "hints_window"	# default window
	moveable = yes
	save_game = "eu4_tutorial_chapter1.eu4"
	
	page = {
		index = 1
		title = "TUT_BAS_CHAPTER01_PAGE01_TITLE"
		text = "TUT_BAS_CHAPTER01_PAGE01_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE01_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = { # This page's effects on the world
			goto = 236 # London
			pauseable = no
			pause = yes
			close_window = "all"
			keep_window_closed = yes
			zoom = 200
			ai = no
			add_country_modifier = {
				name = tutorial_modifier
				duration = -1
			}
			allow_select_army = no
			allow_select_navy = no
		}
		extra_window = {
			window = "dummy-br"
			sprite = "GFX_uiarrow_up"
			position = {
				x = -250
				y = -230
			}
		}
		#connected_icons = { dummy-br hints_window hint_minimise }
		extra_window = {
			window = "dummy-br"
			sprite = "GFX_uiarrow_right"
			position = {
				x = -343
				y = -578
			}
		}
		connected_icons = { dummy-br tutorial_minimized hint_maximize }
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_NEXT"
			action = "continue"
			tooltip = "TUT_NEXT_TOOLTIP"
			position = {
				x = 183 #180
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
	
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
		
		disabled_gui_object = { countrymissionsdecisionsview mission_window mission_banner }
		
		orientation = "UPPER_LEFT"
	}
	page = {
		index = 2
		title = "TUT_BAS_CHAPTER01_PAGE02_TITLE" #Time
		text = "TUT_BAS_CHAPTER01_PAGE02_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE02_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		extra_window = {
			window = "dummy-ur"
			sprite = "GFX_uiarrow_upright"
			position = {
				x = -105
				y = 45
			}
		}
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pauseable = yes
			pause = yes
			speed = 3
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			ai = no
		}
		
		trigger = {  # Conditions that will take you to the next page if fulfilled
			pause = no
			is_year = 1444
			is_month = 11
			#is_day = 12
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 3
		title = "TUT_BAS_CHAPTER01_PAGE03_TITLE" # Time
		text = "TUT_BAS_CHAPTER01_PAGE03_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE03_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pause = yes
			pauseable = no
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			ai = no
		}

		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_NEXT"
			action = "continue"
			tooltip = "TUT_NEXT_TOOLTIP"
			position = {
				x = 183 #180
				y = 338
			}
		}	
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 4
		title = "TUT_BAS_CHAPTER01_PAGE04_TITLE"
		text = "TUT_BAS_CHAPTER01_PAGE04_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE04_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pause = yes
			pauseable = no
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			ai = no
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_NEXT"
			action = "continue"
			tooltip = "TUT_NEXT_TOOLTIP"
			position = {
				x = 183 #180
				y = 338
			}
		}	
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 5
		title = "TUT_BAS_CHAPTER01_PAGE05_TITLE" # Zoom out
		text = "TUT_BAS_CHAPTER01_PAGE05_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE05_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pause = yes
			pauseable = no
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			ai = no
		}
		
		extra_window = {
			window = "dummy-br"
			sprite = "GFX_uiarrow_down"
			position = {
				x = -55
				y = -135
			}
		}
		
		trigger = { # Conditions that will take you to the next page if fulfilled
			zoom_out = 1000
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	
	page = {
		index = 6
		title = "TUT_BAS_CHAPTER01_PAGE06_TITLE" # Zoom in
		text = "TUT_BAS_CHAPTER01_PAGE06_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE06_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pause = yes
			pauseable = no
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			ai = no
		}
	
		extra_window = {
			window = "dummy-br"
			sprite = "GFX_uiarrow_down"
			position = {
				x = -84
				y = -135
			}
		}
		
		trigger = { # Conditions that will take you to the next page if fulfilled
			zoom_in = 100
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}	
		
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 7
		title = "TUT_BAS_CHAPTER01_PAGE07_TITLE" # Find province
		text = "TUT_BAS_CHAPTER01_PAGE07_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE07_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pause = yes
			pauseable = no
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			zoom = 200
			ai = no
			direction_pointer = {
				enable = yes
				target = 251
			}
			province_highlight = {
				enable = yes
				target = 251
			}
		}
		
		leave_page_effect = {
			direction_pointer = { enable = no }
			province_highlight = { enable = no }
		}
		
		trigger = { # Conditions that will take you to the next page if fulfilled
			select_province = 251 # Aberdeen
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			name = "hint_minimise"
			text = "MINIMISE"
			action = "minimize"
			tooltip = "TUT_BAS_CLOSE_TOOLTIP"
		}
	}
	page = {
		index = 8
		title = "TUT_BAS_CHAPTER01_PAGE08_TITLE" # End of chapter 1
		text = "TUT_BAS_CHAPTER01_PAGE08_TEXT"
		object = "TUT_BAS_CHAPTER01_PAGE08_OBJECTIVES"
		disabled_gui_object = { f_button_1 }
		disabled_gui_object = { f_button_2 }
		disabled_gui_object = { open_build_interface_button }
		disabled_gui_object = { unitpanel disbandbutton }
		
		effect = {
			goto = 236 # London
			mapmode = "terrain"
			pause = yes
			pauseable = no
			close_window = "all"
			keep_window_closed = yes
			allow_select_army = no
			allow_select_navy = no
			ai = no
		}
		
		option = {
			button = "TutorialPageButtonOption"
			text = "TUT_MENU"
			action = "close"
			tooltip = "TUT_MENU_TOOLTIP"
			position = {
				x = 7 #10
				y = 338
			}
		}
		option = {
			button = "Tu...
Zgłoś jeśli naruszono regulamin