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 // creategame map frame
279 reinit nex_xp_enummaps
284 name creategame_map_prev
285 parent creategame_map
294 name creategame_map_name
295 parent creategame_map
302 alignment 1 // ALIGN_CENTER
307 name creategame_map_next
308 parent creategame_map
317 name creategame_map_picture
318 parent creategame_map
321 picture "gfx/m_nomap"
326 name creategame_map_info
327 parent creategame_map
339 // creategame options frame
344 origin "436 0" //270+175
354 name creategame_opt_server_name_text
355 parent creategame_opt
359 //font_size "10 10 0"
360 alignment 16 // TEXT_ALIGN_RIGHTPOS
361 flag 256 // FLAG_AUTOSETCLICK
367 name creategame_opt_server_name_edit
368 parent creategame_opt_server_name_text
371 //font_size "10 10 0"
372 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
373 text "xxx-game (.)(.)" //please remove this somewhen - I dont have the power to ^_^
375 refresh nex_xp_hostname
383 name creategame_opt_gamemode_text
384 parent creategame_opt
388 //font_size "10 10 0"
389 alignment 16 // TEXT_ALIGN_RIGHTPOS
390 flag 256 // FLAG_AUTOSETCLICK
396 name creategame_opt_gamemode_switch
397 parent creategame_opt_gamemode_text
400 //font_size "10 10 0"
401 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
402 text "'Deathmatch' 'Instagib' 'DarkArena' 'HeadHunter' 'SlowMo' 'Speedy' 'GrapplingHook'"
404 switchchange nex_xp_gamemode
409 name creategame_opt_maxfrag_text
410 parent creategame_opt
413 //font_size "10 10 0"
414 alignment 16 // TEXT_ALIGN_RIGHTPOS
415 flag 256 // FLAG_AUTOSETCLICK
421 name creategame_opt_maxfrag_switch
422 parent creategame_opt_maxfrag_text
424 //font_size "10 10 0"
425 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
428 refresh nex_xp_maxfrags
433 name creategame_opt_maxtime_text
434 parent creategame_opt
437 //font_size "10 10 0"
438 alignment 16 // TEXT_ALIGN_RIGHTPOS
439 flag 256 // FLAG_AUTOSETCLICK
445 name creategame_opt_maxtime_switch
446 parent creategame_opt_maxtime_text
448 //font_size "10 10 0"
449 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
452 refresh nex_xp_maxtime
457 name creategame_opt_maxbots_text
458 parent creategame_opt
461 //font_size "10 10 0"
462 alignment 16 // TEXT_ALIGN_RIGHTPOS
463 flag 256 // FLAG_AUTOSETCLICK
469 name creategame_opt_maxbots_switch
470 parent creategame_opt_maxbots_text
472 //font_size "10 10 0"
473 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
476 refresh nex_xp_maxbots
484 name creategame_opt_skilllevel_text
485 parent creategame_opt
488 //font_size "10 10 0"
489 alignment 16 // TEXT_ALIGN_RIGHTPOS
490 flag 256 // FLAG_AUTOSETCLICK
496 name creategame_opt_skilllevel_switch
497 parent creategame_opt_skilllevel_text
499 //font_size "10 10 0"
500 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
501 text "'N00b' 'Normal' 'Hard'"
503 switchchange nex_xp_skilllevel
504 init nex_xp_skilllevel
509 name creategame_opt_maxclients_text
510 parent creategame_opt
513 //font_size "10 10 0"
514 alignment 16 // TEXT_ALIGN_RIGHTPOS
515 flag 256 // FLAG_AUTOSETCLICK
521 name creategame_opt_maxclients_switch
522 parent creategame_opt_maxclients_text
524 //font_size "10 10 0"
525 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
528 refresh nex_xp_maxclients
533 name creategame_opt_start
534 parent creategame_opt
536 flag 256 // FLAG_AUTOSETCLICK
542 // multiplayer server list
547 // link the background_rect
550 name serverlist_background
551 picture "gfx/m_slist_bg"
557 name serverlist_info1
569 name serverlist_info2
579 // clip rect for the slist
582 name serverlist_cliprect
590 name serverlist_slist
591 parent serverlist_cliprect
595 refresh slist_refresh
596 flag 256 //FLAG_AUTOSETCLICK
600 // this specifies the text bar drawing behavior
605 //this specifies the selection bar drawing behavior
606 color_selected "1 0 0"