|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# The custom guiButtonType/instantTextBoxType/iconType must have a 'scripted = yes' line to work
|
|
2
|
+
#custom_button = {
|
|
3
|
+
# name = custom_button_testing #Must match a scripted guiButtonType in a .gui file
|
|
4
|
+
# potential = { } #Determines when the button is visible
|
|
5
|
+
# trigger = { } #Determines when the button is clickable
|
|
6
|
+
# effect = { } #Effect
|
|
7
|
+
# tooltip = localisation_key #Can use customizable localisation
|
|
8
|
+
# frame = { #Can define multiple frame clauses
|
|
9
|
+
# number = <int> #Which frame to use. Check dds files with multiple icons like icon_religion.dds
|
|
10
|
+
# trigger = { } #First matched frame clause will be used.
|
|
11
|
+
# }
|
|
12
|
+
#}
|
|
13
|
+
|
|
14
|
+
#custom_text_box = {
|
|
15
|
+
# name = custom_text_testing #Must match a scripted instantTextBoxType in a .gui file
|
|
16
|
+
# potential = { } #Determines when the text is visible
|
|
17
|
+
# tooltip = localisation_key #Can use customizable localisation
|
|
18
|
+
# #To localize it, use the name of the button as a key, can also use customizable localisation
|
|
19
|
+
#}
|
|
20
|
+
|
|
21
|
+
#custom_icon = {
|
|
22
|
+
# name = custom_icon_testing #Must match a scripted iconType in a .gui file
|
|
23
|
+
# potential = { } #Determines when the icon is visible
|
|
24
|
+
# tooltip = localisation_key #Can use customizable localisation
|
|
25
|
+
# frame = { #Can define multiple frame clauses
|
|
26
|
+
# number = <int> #Which frame to use. Check dds files with multiple icons like icon_religion.dds
|
|
27
|
+
# trigger = { } #First matched frame clause will be used.
|
|
28
|
+
# }
|
|
29
|
+
#}
|
|
30
|
+
|
|
31
|
+
#custom_shield = {
|
|
32
|
+
# name = custom_button_testing #Must match a scripted guiButtonType in a .gui file
|
|
33
|
+
# potential = { } #Determines when the shield is visible
|
|
34
|
+
# trigger = { } #Determines when the shield is clickable
|
|
35
|
+
# effect = { } #Effect for clicking
|
|
36
|
+
# tooltip = localisation_key #Can use customizable localisation
|
|
37
|
+
# global_event_target = <string> # Global event target name
|
|
38
|
+
# open_country = <bool> #If clicking opens the country view
|
|
39
|
+
#}
|
|
40
|
+
|
|
41
|
+
############################## Supported files with scopes ##############################
|
|
42
|
+
# The Gui objects must be directly inside the specified window Gui element!
|
|
43
|
+
# FROM is always the country that clicks
|
|
44
|
+
# provinceview.gui:
|
|
45
|
+
# province_window (ROOT: Clicked province)
|
|
46
|
+
# buildings_window (ROOT: Clicked province)
|
|
47
|
+
# state_window (ROOT: Clicked province)
|
|
48
|
+
# countrycourtview.gui:
|
|
49
|
+
# countrycourtview (ROOT = FROM)
|
|
50
|
+
# countrygovernmentview.gui:
|
|
51
|
+
# countrygovernmentview (ROOT = FROM)
|
|
52
|
+
# countrydiplomacyview.gui:
|
|
53
|
+
# countrydiplimacyview (ROOT: Selected country)
|
|
54
|
+
# countryeconomyview.gui:
|
|
55
|
+
# countryeconomyview (ROOT = FROM)
|
|
56
|
+
# countrytradeview.gui:
|
|
57
|
+
# countrytradeview (ROOT = FROM)
|
|
58
|
+
# countrytechnologyview.gui:
|
|
59
|
+
# countrytechnologyview (ROOT = FROM)
|
|
60
|
+
# countryideasview.gui:
|
|
61
|
+
# countryideasview (ROOT = FROM)
|
|
62
|
+
# countrymissionsview.gui:
|
|
63
|
+
# countrymissionsview (ROOT: Selected country)
|
|
64
|
+
# countrydecisionview.gui:
|
|
65
|
+
# countrydecisionsview (ROOT = FROM)
|
|
66
|
+
# countrystabilityview.gui:
|
|
67
|
+
# countrystabilityview (ROOT = FROM)
|
|
68
|
+
# countryreligionview.gui:
|
|
69
|
+
# countryreligionview (ROOT = FROM)
|
|
70
|
+
# countrymilitaryview.gui:
|
|
71
|
+
# countrymilitaryview (ROOT = FROM)
|
|
72
|
+
# countrysubjectsview.gui:
|
|
73
|
+
# countrysubjectview (ROOT = FROM)
|
|
74
|
+
# countryestatesview.gui:
|
|
75
|
+
# countryestatesview (ROOT = FROM)
|
|
76
|
+
# ages_view.gui:
|
|
77
|
+
# ages_view (ROOT = FROM)
|
|
78
|
+
# tradeinterface.gui:
|
|
79
|
+
# TradeNodeInterface (ROOT: Trade capital of a trade node)
|
|
80
|
+
# hre.gui:
|
|
81
|
+
# hre_window (ROOT = FROM)
|
|
82
|
+
# papacy.gui:
|
|
83
|
+
# papacy_window (ROOT = FROM)
|
|
84
|
+
# faction.gui:
|
|
85
|
+
# All faction windows (ROOT = FROM)
|
|
86
|
+
# celestialempireview.gui:
|
|
87
|
+
# celestial_window (ROOT = FROM)
|
|
88
|
+
# countrynativesview.gui:
|
|
89
|
+
# natives_window (ROOT = FROM)
|
|
90
|
+
# religiousreforms.gui:
|
|
91
|
+
# reforms_window (ROOT = FROM)
|
|
92
|
+
# parliament.gui:
|
|
93
|
+
# parliament_window (ROOT = FROM)
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
custom_button = {
|
|
2
|
+
name = select_current_branch_missions
|
|
3
|
+
potential = {
|
|
4
|
+
ai = no #make sure the AI gets an event or something similar where they can choose their branch the moment these buttons get unlocked for the player
|
|
5
|
+
has_branching_missions = yes
|
|
6
|
+
has_preview_mission_flag = yes
|
|
7
|
+
}
|
|
8
|
+
trigger = { has_selected_a_branch = yes }
|
|
9
|
+
effect = { select_current_branch = yes }
|
|
10
|
+
tooltip = select_current_branch_missions_title
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
custom_button = {
|
|
14
|
+
name = preview_branch_missions_1
|
|
15
|
+
potential = {
|
|
16
|
+
ai = no
|
|
17
|
+
has_branching_missions = yes
|
|
18
|
+
has_preview_mission_flag = yes
|
|
19
|
+
NOT = { currently_selected_branch = { value = 1 } }
|
|
20
|
+
}
|
|
21
|
+
trigger = { can_select_branch = { value = 1 } }
|
|
22
|
+
effect = { preview_mission_branch = { branch = 1 } }
|
|
23
|
+
tooltip = preview_branch_missions_1_title
|
|
24
|
+
}
|
|
25
|
+
custom_button = {
|
|
26
|
+
name = preview_branch_missions_1_highlighted
|
|
27
|
+
potential = {
|
|
28
|
+
ai = no
|
|
29
|
+
has_branching_missions = yes
|
|
30
|
+
has_preview_mission_flag = yes
|
|
31
|
+
currently_selected_branch = { value = 1 }
|
|
32
|
+
}
|
|
33
|
+
trigger = { can_select_branch = { value = 1 } }
|
|
34
|
+
effect = { preview_mission_branch = { branch = 1 } }
|
|
35
|
+
tooltip = preview_branch_missions_1_title
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
custom_button = {
|
|
39
|
+
name = preview_branch_missions_2
|
|
40
|
+
potential = {
|
|
41
|
+
ai = no
|
|
42
|
+
has_branching_missions = yes
|
|
43
|
+
has_preview_mission_flag = yes
|
|
44
|
+
NOT = { currently_selected_branch = { value = 2 } }
|
|
45
|
+
}
|
|
46
|
+
trigger = { can_select_branch = { value = 2 } }
|
|
47
|
+
effect = { preview_mission_branch = { branch = 2 } }
|
|
48
|
+
tooltip = preview_branch_missions_2_title
|
|
49
|
+
}
|
|
50
|
+
custom_button = {
|
|
51
|
+
name = preview_branch_missions_2_highlighted
|
|
52
|
+
potential = {
|
|
53
|
+
ai = no
|
|
54
|
+
has_branching_missions = yes
|
|
55
|
+
has_preview_mission_flag = yes
|
|
56
|
+
currently_selected_branch = { value = 2 }
|
|
57
|
+
}
|
|
58
|
+
trigger = { can_select_branch = { value = 2 } }
|
|
59
|
+
effect = { preview_mission_branch = { branch = 2 } }
|
|
60
|
+
tooltip = preview_branch_missions_2_title
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
custom_button = {
|
|
64
|
+
name = preview_branch_missions_3
|
|
65
|
+
potential = {
|
|
66
|
+
ai = no
|
|
67
|
+
has_branching_missions = yes
|
|
68
|
+
has_preview_mission_flag = yes
|
|
69
|
+
num_of_mission_branches = { value = 3 }
|
|
70
|
+
NOT = { currently_selected_branch = { value = 3 } }
|
|
71
|
+
}
|
|
72
|
+
trigger = { can_select_branch = { value = 3 } }
|
|
73
|
+
effect = { preview_mission_branch = { branch = 3 } }
|
|
74
|
+
tooltip = preview_branch_missions_3_title
|
|
75
|
+
}
|
|
76
|
+
custom_button = {
|
|
77
|
+
name = preview_branch_missions_3_highlighted
|
|
78
|
+
potential = {
|
|
79
|
+
ai = no
|
|
80
|
+
has_branching_missions = yes
|
|
81
|
+
has_preview_mission_flag = yes
|
|
82
|
+
num_of_mission_branches = { value = 3 }
|
|
83
|
+
currently_selected_branch = { value = 3 }
|
|
84
|
+
}
|
|
85
|
+
trigger = { can_select_branch = { value = 3 } }
|
|
86
|
+
effect = { preview_mission_branch = { branch = 3 } }
|
|
87
|
+
tooltip = preview_branch_missions_3_title
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
custom_button = {
|
|
91
|
+
name = preview_branch_missions_4
|
|
92
|
+
potential = {
|
|
93
|
+
ai = no
|
|
94
|
+
has_branching_missions = yes
|
|
95
|
+
has_preview_mission_flag = yes
|
|
96
|
+
num_of_mission_branches = { value = 4 }
|
|
97
|
+
NOT = { currently_selected_branch = { value = 4 } }
|
|
98
|
+
}
|
|
99
|
+
trigger = { can_select_branch = { value = 4 } }
|
|
100
|
+
effect = { preview_mission_branch = { branch = 4 } }
|
|
101
|
+
tooltip = preview_branch_missions_4_title
|
|
102
|
+
}
|
|
103
|
+
custom_button = {
|
|
104
|
+
name = preview_branch_missions_4_highlighted
|
|
105
|
+
potential = {
|
|
106
|
+
ai = no
|
|
107
|
+
has_branching_missions = yes
|
|
108
|
+
has_preview_mission_flag = yes
|
|
109
|
+
num_of_mission_branches = { value = 4 }
|
|
110
|
+
currently_selected_branch = { value = 4 }
|
|
111
|
+
}
|
|
112
|
+
trigger = { can_select_branch = { value = 4 } }
|
|
113
|
+
effect = { preview_mission_branch = { branch = 4 } }
|
|
114
|
+
tooltip = preview_branch_missions_4_title
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
custom_button = {
|
|
118
|
+
name = preview_branch_missions_5
|
|
119
|
+
potential = {
|
|
120
|
+
ai = no
|
|
121
|
+
has_branching_missions = yes
|
|
122
|
+
has_preview_mission_flag = yes
|
|
123
|
+
num_of_mission_branches = { value = 5 }
|
|
124
|
+
NOT = { currently_selected_branch = { value = 5 } }
|
|
125
|
+
}
|
|
126
|
+
trigger = { can_select_branch = { value = 5 } }
|
|
127
|
+
effect = { preview_mission_branch = { branch = 5 } }
|
|
128
|
+
tooltip = preview_branch_missions_5_title
|
|
129
|
+
}
|
|
130
|
+
custom_button = {
|
|
131
|
+
name = preview_branch_missions_5_highlighted
|
|
132
|
+
potential = {
|
|
133
|
+
ai = no
|
|
134
|
+
has_branching_missions = yes
|
|
135
|
+
has_preview_mission_flag = yes
|
|
136
|
+
num_of_mission_branches = { value = 5 }
|
|
137
|
+
currently_selected_branch = { value = 5 }
|
|
138
|
+
}
|
|
139
|
+
trigger = { can_select_branch = { value = 5 } }
|
|
140
|
+
effect = { preview_mission_branch = { branch = 5 } }
|
|
141
|
+
tooltip = preview_branch_missions_5_title
|
|
142
|
+
}
|