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
340 // creategame options frame
345 origin "436 0" //270+175
355 name creategame_opt_server_name_text
356 parent creategame_opt
360 //font_size "10 10 0"
361 alignment 16 // TEXT_ALIGN_RIGHTPOS
362 flag 256 // FLAG_AUTOSETCLICK
368 name creategame_opt_server_name_edit
369 parent creategame_opt_server_name_text
372 //font_size "10 10 0"
373 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
374 text "xxx-game (.)(.)" //please remove this somewhen - I dont have the power to ^_^
376 refresh nex_xp_hostname
384 name creategame_opt_gamemode_text
385 parent creategame_opt
389 //font_size "10 10 0"
390 alignment 16 // TEXT_ALIGN_RIGHTPOS
391 flag 256 // FLAG_AUTOSETCLICK
397 name creategame_opt_gamemode_switch
398 parent creategame_opt_gamemode_text
401 //font_size "10 10 0"
402 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
403 text "'Deathmatch' 'Instagib' 'DarkArena' 'HeadHunter' 'SlowMo' 'Speedy' 'GrapplingHook'"
405 switchchange nex_xp_gamemode
410 name creategame_opt_maxfrag_text
411 parent creategame_opt
414 //font_size "10 10 0"
415 alignment 16 // TEXT_ALIGN_RIGHTPOS
416 flag 256 // FLAG_AUTOSETCLICK
422 name creategame_opt_maxfrag_switch
423 parent creategame_opt_maxfrag_text
425 //font_size "10 10 0"
426 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
429 refresh nex_xp_maxfrags
434 name creategame_opt_maxtime_text
435 parent creategame_opt
438 //font_size "10 10 0"
439 alignment 16 // TEXT_ALIGN_RIGHTPOS
440 flag 256 // FLAG_AUTOSETCLICK
446 name creategame_opt_maxtime_switch
447 parent creategame_opt_maxtime_text
449 //font_size "10 10 0"
450 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
453 refresh nex_xp_maxtime
458 name creategame_opt_maxbots_text
459 parent creategame_opt
462 //font_size "10 10 0"
463 alignment 16 // TEXT_ALIGN_RIGHTPOS
464 flag 256 // FLAG_AUTOSETCLICK
470 name creategame_opt_maxbots_switch
471 parent creategame_opt_maxbots_text
473 //font_size "10 10 0"
474 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
477 refresh nex_xp_maxbots
485 name creategame_opt_skilllevel_text
486 parent creategame_opt
489 //font_size "10 10 0"
490 alignment 16 // TEXT_ALIGN_RIGHTPOS
491 flag 256 // FLAG_AUTOSETCLICK
497 name creategame_opt_skilllevel_switch
498 parent creategame_opt_skilllevel_text
500 //font_size "10 10 0"
501 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
502 text "'N00b' 'Normal' 'Hard' 'Masochist'"
504 switchchange nex_xp_skilllevel
505 init nex_xp_skilllevel
510 name creategame_opt_maxclients_text
511 parent creategame_opt
514 //font_size "10 10 0"
515 alignment 16 // TEXT_ALIGN_RIGHTPOS
516 flag 256 // FLAG_AUTOSETCLICK
522 name creategame_opt_maxclients_switch
523 parent creategame_opt_maxclients_text
525 //font_size "10 10 0"
526 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
529 refresh nex_xp_maxclients
537 name creategame_opt_publicserv_text
538 parent creategame_opt
541 //font_size "10 10 0"
542 alignment 16 // TEXT_ALIGN_RIGHTPOS
543 flag 256 // FLAG_AUTOSETCLICK
549 name creategame_opt_publicserv_switch
550 parent creategame_opt_publicserv_text
552 //font_size "10 10 0"
553 flag 260 // FLAG_AUTOSETCLICK | FLAG_NOSELECT
556 switchchange nex_xp_publicserv
561 name creategame_opt_start
562 parent creategame_opt
564 flag 256 // FLAG_AUTOSETCLICK
570 // multiplayer server list
575 // link the background_rect
578 name serverlist_background
579 picture "gfx/m_slist_bg"
585 name serverlist_info1
587 text "" // "INFO TEXT 1"
597 name serverlist_info2
599 text "" //"INFO TEXT 2"
607 // clip rect for the slist
610 name serverlist_cliprect
618 name serverlist_slist
619 parent serverlist_cliprect
623 refresh slist_refresh
624 flag 256 //FLAG_AUTOSETCLICK
628 // this specifies the text bar drawing behavior
633 //this specifies the selection bar drawing behavior
634 color_selected "1 0 0"