4 Singleplayer & Multiplayer menu
7 template for map selection
9 /////////////////////////
10 // map selection window
15 origin "0 30" // to allow easy editing of the posititons
19 name mapselection_frame
24 init nex_xp_build_maplist
29 name mapselection_label
37 name mapselection_prev
40 picture_selected "gfx/m_arrow"
41 picture_pressed "gfx/m_arrow"
42 color_selected "0.5 0.5 1"
43 color_pressed "1 0.2 0.2"
51 name mapselection_next
53 picture "gfx/m_arrow_i"
54 picture_selected "gfx/m_arrow_i"
55 picture_pressed "gfx/m_arrow_i"
56 color_selected "0.5 0.5 1"
57 color_pressed "1 0.2 0.2"
62 // template used to create the different pictures
65 name mapselection_template_picture
66 parent mapselection_frame
75 name mapselection_template_text
76 parent mapselection_frame
87 name mapselection_selsquare
88 parent mapselection_frame
89 color "0.9 0.9 0.6" //"^1 0.5 0.5"
95 //////////////////////
97 // multiplayer options (spawn server)
100 name multiplayer_frame
108 name multiplayer_mapselection
109 parent multiplayer_frame
117 name multiplayer_gamename_text
118 parent multiplayer_frame
121 //font_size "10 10 0"
122 alignment 16 // TEXT_ALIGN_RIGHTPOS
123 flag 256 // FLAG_AUTOSETCLICK
129 name multiplayer_gamename_switch
130 parent multiplayer_gamename_text
132 //font_size "10 10 0"
133 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
134 text "xxx-game (.)(.)"
136 refresh nex_mp_hostname
141 name multiplayer_maxfrag_text
142 parent multiplayer_frame
145 //font_size "10 10 0"
146 alignment 16 // TEXT_ALIGN_RIGHTPOS
147 flag 256 // FLAG_AUTOSETCLICK
153 name multiplayer_maxfrag_switch
154 parent multiplayer_maxfrag_text
156 //font_size "10 10 0"
157 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
160 refresh nex_xp_maxfrags
165 name multiplayer_maxtime_text
166 parent multiplayer_frame
169 //font_size "10 10 0"
170 alignment 16 // TEXT_ALIGN_RIGHTPOS
171 flag 256 // FLAG_AUTOSETCLICK
177 name multiplayer_maxtime_switch
178 parent multiplayer_maxtime_text
180 //font_size "10 10 0"
181 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
184 refresh nex_xp_maxtime
189 name multiplayer_maxclients_text
190 parent multiplayer_frame
193 //font_size "10 10 0"
194 alignment 16 // TEXT_ALIGN_RIGHTPOS
195 flag 256 // FLAG_AUTOSETCLICK
201 name multiplayer_maxclients_switch
202 parent multiplayer_maxclients_text
204 //font_size "10 10 0"
205 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
208 refresh nex_mp_maxclients
213 name multiplayer_maxbots_text
214 parent multiplayer_frame
217 //font_size "10 10 0"
218 alignment 16 // TEXT_ALIGN_RIGHTPOS
219 flag 256 // FLAG_AUTOSETCLICK
225 name multiplayer_maxbots_switch
226 parent multiplayer_maxbots_text
228 //font_size "10 10 0"
229 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
232 refresh nex_xp_maxbots
240 name multiplayer_publicserv_text
241 parent multiplayer_frame
244 //font_size "10 10 0"
245 alignment 16 // TEXT_ALIGN_RIGHTPOS
246 flag 256 // FLAG_AUTOSETCLICK
252 name multiplayer_publicserv_switch
253 parent multiplayer_publicserv_text
255 //font_size "10 10 0"
256 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
259 switchchange nex_mp_publicserv
264 name multiplayer_start
265 parent multiplayer_frame
267 flag 256 // FLAG_AUTOSETCLICK
272 // multiplayer map frame
279 reinit nex_xp_enummaps
284 name multiplayer_map_prev
285 parent multiplayer_map
294 name multiplayer_map_name
295 parent multiplayer_map
302 alignment 1 // ALIGN_CENTER
307 name multiplayer_map_next
308 parent multiplayer_map
317 name multiplayer_map_picture
318 parent multiplayer_map
321 picture "gfx/m_top_singleplayer"
326 name multiplayer_map_info
327 parent multiplayer_map
339 // multiplayer options frame
349 // multiplayer server list
354 // link the background_rect
357 name serverlist_background
358 picture "gfx/m_slist_bg"
364 name serverlist_info1
376 name serverlist_info2
386 // clip rect for the slist
389 name serverlist_cliprect
397 name serverlist_slist
398 parent serverlist_cliprect
402 refresh slist_refresh
403 flag 256 //FLAG_AUTOSETCLICK
407 // this specifies the text bar drawing behavior
412 //this specifies the selection bar drawing behavior
413 color_selected "1 0 0"