// ================== // TEAM MENU // ================== menu team { // ================== // don't render // ================== zone render { invis true } // ================== // background // ================== pic back_ul { image menu/team_ul pos "0 0" } pic back_ur { image menu/team_ur pos "512 0" } pic back_ll { image menu/team_ll pos "0 512" } pic back_lr { image menu/team_lr pos "512 512" } // ================== // names list // ================== func team_clear { *bt_actor0 image hud/buttons1 *bt_actor1 image hud/buttons1 *bt_actor2 image hud/buttons1 *bt_actor3 image hud/buttons1 *bt_actor4 image hud/buttons1 *bt_actor5 image hud/buttons1 *bt_actor6 image hud/buttons1 *bt_actor7 image hud/buttons1 *bt_actor8 image hud/buttons1 *bt_actor9 image hud/buttons1 *bt_actor10 image hud/buttons1 *bt_actor11 image hud/buttons1 *bt_actor12 image hud/buttons1 *bt_actor13 image hud/buttons1 *bt_actor14 image hud/buttons1 *bt_actor15 image hud/buttons1 *bt_actor16 image hud/buttons1 *bt_actor17 image hud/buttons1 *bt_actor18 image hud/buttons1 *txt_actor0 color "0 .78 0 1" *txt_actor1 color "0 .78 0 1" *txt_actor2 color "0 .78 0 1" *txt_actor3 color "0 .78 0 1" *txt_actor4 color "0 .78 0 1" *txt_actor5 color "0 .78 0 1" *txt_actor6 color "0 .78 0 1" *txt_actor7 color "0 .78 0 1" *txt_actor8 color "0 .78 0 1" *txt_actor9 color "0 .78 0 1" *txt_actor10 color "0 .78 0 1" *txt_actor11 color "0 .78 0 1" *txt_actor12 color "0 .78 0 1" *txt_actor13 color "0 .78 0 1" *txt_actor14 color "0 .78 0 1" *txt_actor15 color "0 .78 0 1" *txt_actor16 color "0 .78 0 1" *txt_actor17 color "0 .78 0 1" *txt_actor18 color "0 .78 0 1" } confunc listdel0 { *bt_actor0 image hud/buttons1 } confunc listdel1 { *bt_actor1 image hud/buttons1 } confunc listdel2 { *bt_actor2 image hud/buttons1 } confunc listdel3 { *bt_actor3 image hud/buttons1 } confunc listdel4 { *bt_actor4 image hud/buttons1 } confunc listdel5 { *bt_actor5 image hud/buttons1 } confunc listdel6 { *bt_actor6 image hud/buttons1 } confunc listdel7 { *bt_actor7 image hud/buttons1 } confunc listdel8 { *bt_actor8 image hud/buttons1 } confunc listdel9 { *bt_actor9 image hud/buttons1 } confunc listdel10 { *bt_actor10 image hud/buttons1 } confunc listdel11 { *bt_actor11 image hud/buttons1 } confunc listdel12 { *bt_actor12 image hud/buttons1 } confunc listdel13 { *bt_actor13 image hud/buttons1 } confunc listdel14 { *bt_actor14 image hud/buttons1 } confunc listdel15 { *bt_actor15 image hud/buttons1 } confunc listdel16 { *bt_actor16 image hud/buttons1 } confunc listdel17 { *bt_actor17 image hud/buttons1 } confunc listdel18 { *bt_actor18 image hud/buttons1 } confunc listadd0 { *bt_actor0 image hud/buttons1a } confunc listadd1 { *bt_actor1 image hud/buttons1a } confunc listadd2 { *bt_actor2 image hud/buttons1a } confunc listadd3 { *bt_actor3 image hud/buttons1a } confunc listadd4 { *bt_actor4 image hud/buttons1a } confunc listadd5 { *bt_actor5 image hud/buttons1a } confunc listadd6 { *bt_actor6 image hud/buttons1a } confunc listadd7 { *bt_actor7 image hud/buttons1a } confunc listadd8 { *bt_actor8 image hud/buttons1a } confunc listadd9 { *bt_actor9 image hud/buttons1a } confunc listadd10 { *bt_actor10 image hud/buttons1a } confunc listadd11 { *bt_actor11 image hud/buttons1a } confunc listadd12 { *bt_actor12 image hud/buttons1a } confunc listadd13 { *bt_actor13 image hud/buttons1a } confunc listadd14 { *bt_actor14 image hud/buttons1a } confunc listadd15 { *bt_actor15 image hud/buttons1a } confunc listadd16 { *bt_actor16 image hud/buttons1a } confunc listadd17 { *bt_actor17 image hud/buttons1a } confunc listadd18 { *bt_actor18 image hud/buttons1a } confunc listholdsequip0 { *bt_equip0 tooltip "_Soldier carries equipment" *bt_equip0 texl "48 16" *bt_equip0 texh "64 32" } confunc listholdsequip1 { *bt_equip1 tooltip "_Soldier carries equipment" *bt_equip1 texl "48 16" *bt_equip1 texh "64 32" } confunc listholdsequip2 { *bt_equip2 tooltip "_Soldier carries equipment" *bt_equip2 texl "48 16" *bt_equip2 texh "64 32" } confunc listholdsequip3 { *bt_equip3 tooltip "_Soldier carries equipment" *bt_equip3 texl "48 16" *bt_equip3 texh "64 32" } confunc listholdsequip4 { *bt_equip4 tooltip "_Soldier carries equipment" *bt_equip4 texl "48 16" *bt_equip4 texh "64 32" } confunc listholdsequip5 { *bt_equip5 tooltip "_Soldier carries equipment" *bt_equip5 texl "48 16" *bt_equip5 texh "64 32" } confunc listholdsequip6 { *bt_equip6 tooltip "_Soldier carries equipment" *bt_equip6 texl "48 16" *bt_equip6 texh "64 32" } confunc listholdsequip7 { *bt_equip7 tooltip "_Soldier carries equipment" *bt_equip7 texl "48 16" *bt_equip7 texh "64 32" } confunc listholdsequip8 { *bt_equip8 tooltip "_Soldier carries equipment" *bt_equip8 texl "48 16" *bt_equip8 texh "64 32" } confunc listholdsequip9 { *bt_equip9 tooltip "_Soldier carries equipment" *bt_equip9 texl "48 16" *bt_equip9 texh "64 32" } confunc listholdsequip10 { *bt_equip10 tooltip "_Soldier carries equipment" *bt_equip10 texl "48 16" *bt_equip10 texh "64 32" } confunc listholdsequip11 { *bt_equip11 tooltip "_Soldier carries equipment" *bt_equip11 texl "48 16" *bt_equip11 texh "64 32" } confunc listholdsequip12 { *bt_equip12 tooltip "_Soldier carries equipment" *bt_equip12 texl "48 16" *bt_equip12 texh "64 32" } confunc listholdsequip13 { *bt_equip13 tooltip "_Soldier carries equipment" *bt_equip13 texl "48 16" *bt_equip13 texh "64 32" } confunc listholdsequip14 { *bt_equip14 tooltip "_Soldier carries equipment" *bt_equip14 texl "48 16" *bt_equip14 texh "64 32" } confunc listholdsequip15 { *bt_equip15 tooltip "_Soldier carries equipment" *bt_equip15 texl "48 16" *bt_equip15 texh "64 32" } confunc listholdsequip16 { *bt_equip16 tooltip "_Soldier carries equipment" *bt_equip16 texl "48 16" *bt_equip16 texh "64 32" } confunc listholdsequip17 { *bt_equip17 tooltip "_Soldier carries equipment" *bt_equip17 texl "48 16" *bt_equip17 texh "64 32" } confunc listholdsequip18 { *bt_equip18 tooltip "_Soldier carries equipment" *bt_equip18 texl "48 16" *bt_equip18 texh "64 32" } confunc listholdsnoequip0 { *bt_equip0 tooltip "_Soldier carries no equipment" *bt_equip0 texl "48 32" *bt_equip0 texh "64 48" } confunc listholdsnoequip1 { *bt_equip1 tooltip "_Soldier carries no equipment" *bt_equip1 texl "48 32" *bt_equip1 texh "64 48" } confunc listholdsnoequip2 { *bt_equip2 tooltip "_Soldier carries no equipment" *bt_equip2 texl "48 32" *bt_equip2 texh "64 48" } confunc listholdsnoequip3 { *bt_equip3 tooltip "_Soldier carries no equipment" *bt_equip3 texl "48 32" *bt_equip3 texh "64 48" } confunc listholdsnoequip4 { *bt_equip4 tooltip "_Soldier carries no equipment" *bt_equip4 texl "48 32" *bt_equip4 texh "64 48" } confunc listholdsnoequip5 { *bt_equip5 tooltip "_Soldier carries no equipment" *bt_equip5 texl "48 32" *bt_equip5 texh "64 48" } confunc listholdsnoequip6 { *bt_equip6 tooltip "_Soldier carries no equipment" *bt_equip6 texl "48 32" *bt_equip6 texh "64 48" } confunc listholdsnoequip7 { *bt_equip7 tooltip "_Soldier carries no equipment" *bt_equip7 texl "48 32" *bt_equip7 texh "64 48" } confunc listholdsnoequip8 { *bt_equip8 tooltip "_Soldier carries no equipment" *bt_equip8 texl "48 32" *bt_equip8 texh "64 48" } confunc listholdsnoequip9 { *bt_equip9 tooltip "_Soldier carries no equipment" *bt_equip9 texl "48 32" *bt_equip9 texh "64 48" } confunc listholdsnoequip10 { *bt_equip10 tooltip "_Soldier carries no equipment" *bt_equip10 texl "48 32" *bt_equip10 texh "64 48" } confunc listholdsnoequip11 { *bt_equip11 tooltip "_Soldier carries no equipment" *bt_equip11 texl "48 32" *bt_equip11 texh "64 48" } confunc listholdsnoequip12 { *bt_equip12 tooltip "_Soldier carries no equipment" *bt_equip12 texl "48 32" *bt_equip12 texh "64 48" } confunc listholdsnoequip13 { *bt_equip13 tooltip "_Soldier carries no equipment" *bt_equip13 texl "48 32" *bt_equip13 texh "64 48" } confunc listholdsnoequip14 { *bt_equip14 tooltip "_Soldier carries no equipment" *bt_equip14 texl "48 32" *bt_equip14 texh "64 48" } confunc listholdsnoequip15 { *bt_equip15 tooltip "_Soldier carries no equipment" *bt_equip15 texl "48 32" *bt_equip15 texh "64 48" } confunc listholdsnoequip16 { *bt_equip16 tooltip "_Soldier carries no equipment" *bt_equip16 texl "48 32" *bt_equip16 texh "64 48" } confunc listholdsnoequip17 { *bt_equip17 tooltip "_Soldier carries no equipment" *bt_equip17 texl "48 32" *bt_equip17 texh "64 48" } confunc listholdsnoequip18 { *bt_equip18 tooltip "_Soldier carries no equipment" *bt_equip18 texl "48 32" *bt_equip18 texh "64 48" } confunc listdisable0 { *bt_actor0 image hud/buttons1g } confunc listdisable1 { *bt_actor1 image hud/buttons1g } confunc listdisable2 { *bt_actor2 image hud/buttons1g } confunc listdisable3 { *bt_actor3 image hud/buttons1g } confunc listdisable4 { *bt_actor4 image hud/buttons1g } confunc listdisable5 { *bt_actor5 image hud/buttons1g } confunc listdisable6 { *bt_actor6 image hud/buttons1g } confunc listdisable7 { *bt_actor7 image hud/buttons1g } confunc listdisable8 { *bt_actor8 image hud/buttons1g } confunc listdisable9 { *bt_actor9 image hud/buttons1g } confunc listdisable10 { *bt_actor10 image hud/buttons1g } confunc listdisable11 { *bt_actor11 image hud/buttons1g } confunc listdisable12 { *bt_actor12 image hud/buttons1g } confunc listdisable13 { *bt_actor13 image hud/buttons1g } confunc listdisable14 { *bt_actor14 image hud/buttons1g } confunc listdisable15 { *bt_actor15 image hud/buttons1g } confunc listdisable16 { *bt_actor16 image hud/buttons1g } confunc listdisable17 { *bt_actor17 image hud/buttons1g } confunc listdisable18 { *bt_actor18 image hud/buttons1g } confunc teamselect0 { *txt_actor0 color "1 1 1 1" } confunc teamselect1 { *txt_actor1 color "1 1 1 1" } confunc teamselect2 { *txt_actor2 color "1 1 1 1" } confunc teamselect3 { *txt_actor3 color "1 1 1 1" } confunc teamselect4 { *txt_actor4 color "1 1 1 1" } confunc teamselect5 { *txt_actor5 color "1 1 1 1" } confunc teamselect6 { *txt_actor6 color "1 1 1 1" } confunc teamselect7 { *txt_actor7 color "1 1 1 1" } confunc teamselect8 { *txt_actor8 color "1 1 1 1" } confunc teamselect9 { *txt_actor9 color "1 1 1 1" } confunc teamselect10 { *txt_actor10 color "1 1 1 1" } confunc teamselect11 { *txt_actor11 color "1 1 1 1" } confunc teamselect12 { *txt_actor12 color "1 1 1 1" } confunc teamselect13 { *txt_actor13 color "1 1 1 1" } confunc teamselect14 { *txt_actor14 color "1 1 1 1" } confunc teamselect15 { *txt_actor15 color "1 1 1 1" } confunc teamselect16 { *txt_actor16 color "1 1 1 1" } confunc teamselect17 { *txt_actor17 color "1 1 1 1" } confunc teamselect18 { *txt_actor18 color "1 1 1 1" } confunc teamdeselect0 { *txt_actor0 color "0 .78 0 1" } confunc teamdeselect1 { *txt_actor1 color "0 .78 0 1" } confunc teamdeselect2 { *txt_actor2 color "0 .78 0 1" } confunc teamdeselect3 { *txt_actor3 color "0 .78 0 1" } confunc teamdeselect4 { *txt_actor4 color "0 .78 0 1" } confunc teamdeselect5 { *txt_actor5 color "0 .78 0 1" } confunc teamdeselect6 { *txt_actor6 color "0 .78 0 1" } confunc teamdeselect7 { *txt_actor7 color "0 .78 0 1" } confunc teamdeselect8 { *txt_actor8 color "0 .78 0 1" } confunc teamdeselect9 { *txt_actor9 color "0 .78 0 1" } confunc teamdeselect10 { *txt_actor10 color "0 .78 0 1" } confunc teamdeselect11 { *txt_actor11 color "0 .78 0 1" } confunc teamdeselect12 { *txt_actor12 color "0 .78 0 1" } confunc teamdeselect13 { *txt_actor13 color "0 .78 0 1" } confunc teamdeselect14 { *txt_actor14 color "0 .78 0 1" } confunc teamdeselect15 { *txt_actor15 color "0 .78 0 1" } confunc teamdeselect16 { *txt_actor16 color "0 .78 0 1" } confunc teamdeselect17 { *txt_actor17 color "0 .78 0 1" } confunc teamdeselect18 { *txt_actor18 color "0 .78 0 1" } pic bt_equip0 { pos "24 35" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip1 { pos "24 73" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip2 { pos "24 111" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip3 { pos "24 149" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip4 { pos "24 187" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip5 { pos "24 225" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip6 { pos "24 263" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip7 { pos "24 301" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip8 { pos "24 339" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip9 { pos "24 377" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip10 { pos "24 415" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip11 { pos "24 453" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip12 { pos "24 491" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip13 { pos "24 529" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip14 { pos "24 567" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip15 { pos "24 605" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip16 { pos "24 643" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip17 { pos "24 681" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_equip18 { pos "24 719" image menu/buttons_small mousefx false texl "48 32" texh "64 48" in } pic bt_actor0 { tooltip "_Add/remove this soldier" pos "365 22" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 0" } } pic bt_actor1 { tooltip "_Add/remove this soldier" pos "365 60" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 1" } } pic bt_actor2 { tooltip "_Add/remove this soldier" pos "365 98" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 2" } } pic bt_actor3 { tooltip "_Add/remove this soldier" pos "365 136" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 3" } } pic bt_actor4 { tooltip "_Add/remove this soldier" pos "365 174" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 4" } } pic bt_actor5 { tooltip "_Add/remove this soldier" pos "365 212" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 5" } } pic bt_actor6 { tooltip "_Add/remove this soldier" pos "365 250" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 6" } } pic bt_actor7 { tooltip "_Add/remove this soldier" pos "365 288" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 7" } } pic bt_actor8 { tooltip "_Add/remove this soldier" pos "365 326" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 8" } } pic bt_actor9 { tooltip "_Add/remove this soldier" pos "365 364" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 9" } } pic bt_actor10 { tooltip "_Add/remove this soldier" pos "365 402" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 10" } } pic bt_actor11 { tooltip "_Add/remove this soldier" pos "365 440" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 11" } } pic bt_actor12 { tooltip "_Add/remove this soldier" pos "365 478" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 12" } } pic bt_actor13 { tooltip "_Add/remove this soldier" pos "365 516" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 13" } } pic bt_actor14 { tooltip "_Add/remove this soldier" pos "365 554" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 14" } } pic bt_actor15 { tooltip "_Add/remove this soldier" pos "365 592" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 15" } } pic bt_actor16 { tooltip "_Add/remove this soldier" pos "365 630" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 16" } } pic bt_actor17 { tooltip "_Add/remove this soldier" pos "365 668" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 17" } } pic bt_actor18 { tooltip "_Add/remove this soldier" pos "365 706" texl "154 76" texh "207 113" mousefx true click { cmd "team_hire 18" } } string txt_actor0 { string "*cvar mn_name0" pos "50 32" size "290 16" click { cmd "team_select 0" } } string txt_actor1 { string "*cvar mn_name1" pos "50 70" size "290 16" click { cmd "team_select 1" } } string txt_actor2 { string "*cvar mn_name2" pos "50 108" size "290 16" click { cmd "team_select 2" } } string txt_actor3 { string "*cvar mn_name3" pos "50 146" size "290 16" click { cmd "team_select 3" } } string txt_actor4 { string "*cvar mn_name4" pos "50 184" size "290 16" click { cmd "team_select 4" } } string txt_actor5 { string "*cvar mn_name5" pos "50 222" size "290 16" click { cmd "team_select 5" } } string txt_actor6 { string "*cvar mn_name6" pos "50 260" size "290 16" click { cmd "team_select 6" } } string txt_actor7 { string "*cvar mn_name7" pos "50 298" size "290 16" click { cmd "team_select 7" } } string txt_actor8 { string "*cvar mn_name8" pos "50 336" size "290 16" click { cmd "team_select 8" } } string txt_actor9 { string "*cvar mn_name9" pos "50 374" size "290 16" click { cmd "team_select 9" } } string txt_actor10 { string "*cvar mn_name10" pos "50 412" size "290 16" click { cmd "team_select 10" } } string txt_actor11 { string "*cvar mn_name11" pos "50 450" size "290 16" click { cmd "team_select 11" } } string txt_actor12 { string "*cvar mn_name12" pos "50 488" size "290 16" click { cmd "team_select 12" } } string txt_actor13 { string "*cvar mn_name13" pos "50 526" size "290 16" click { cmd "team_select 13" } } string txt_actor14 { string "*cvar mn_name14" pos "50 564" size "290 16" click { cmd "team_select 14" } } string txt_actor15 { string "*cvar mn_name15" pos "50 602" size "290 16" click { cmd "team_select 15" } } string txt_actor16 { string "*cvar mn_name16" pos "50 640" size "290 16" click { cmd "team_select 16" } } string txt_actor17 { string "*cvar mn_name17" pos "50 678" size "290 16" click { cmd "team_select 17" } } string txt_actor18 { string "*cvar mn_name18" pos "50 716" size "290 16" click { cmd "team_select 18" } } // ================== // actor info // ================== string name { string "*cvar mn_name" pos "475 17" } confunc mn_name_changed { *name mousefx false cmd "team_changename" } pic bt_edit { if "mn_employee_hired == 1" tooltip "_Rename your soldier" image menu/buttons_small pos "875 17" texl "0 48" texh "16 64" click { cmd "msgmenu ?mn_name" *name mousefx true } } model body { md2 "*cvar mn_body" skin "*cvar mn_skin" anim "stand2" origin "580 215 0" angles "0 70 90" scale "6.7 6.7 6.7" color "0.5 0.5 0.5 1" } model head { md2 "*cvar mn_head" skin "*cvar mn_skin" tag "body tag_head" color "0.5 0.5 0.5 1" scale "1.0 1.0 1.0" } pic rank_img { pos "475 370" image "*cvar mn_chrrank_img" } string rank_lbl { pos "475 75" string "*cvar mn_chrrank" } string pwr_lbl { pos "700 80" string "_Strength:" } string pwr_val { pos "975 80" string "*cvar mn_tpwr" align ur } pic pwr_rahmen { pos "707 98" image menu/bar_rahmen } bar pwr_bar { pos "716 103" current "*cvar mn_vpwr" size "245 6" color "0 .8 0 1" max 100 align uc } string spd_lbl { pos "700 110" string "_Speed:" } string spd_val { pos "975 110" string "*cvar mn_tspd" align ur } pic spd_rahmen { pos "707 128" image menu/bar_rahmen } bar spd_bar { pos "716 133" current "*cvar mn_vspd" size "245 6" color "0 .8 0 1" max 100 align uc } string acc_lbl { pos "700 140" string "_Accuracy:" } string acc_val { pos "975 140" string "*cvar mn_tacc" align ur } pic acc_rahmen { pos "707 158" image menu/bar_rahmen } bar acc_bar { pos "716 163" current "*cvar mn_vacc" size "245 6" color "0 .8 0 1" max 100 align uc } string mnd_lbl { pos "700 170" string "_Mind:" } string mnd_val { pos "975 170" string "*cvar mn_tmnd" align ur } pic mnd_rahmen { pos "707 188" image menu/bar_rahmen } bar mnd_bar { pos "716 193" current "*cvar mn_vmnd" size "245 6" color "0 .8 0 1" max 100 align uc } string cls_lbl { pos "700 210" string "_Close Combat:" } string cls_val { pos "975 210" string "*cvar mn_tcls" align ur } pic cls_rahmen { pos "707 228" image menu/bar_rahmen } bar cls_bar { pos "716 233" current "*cvar mn_vcls" size "245 6" color "0 .8 0 1" max 100 align uc } string hvy_lbl { pos "700 240" string "_Heavy Weapons:" } string hvy_val { pos "975 240" string "*cvar mn_thvy" align ur } pic hvy_rahmen { pos "707 258" image menu/bar_rahmen } bar hvy_bar { pos "716 263" current "*cvar mn_vhvy" size "245 6" color "0 .8 0 1" max 100 align uc } string ass_lbl { pos "700 270" string "_Assault Weapons:" } string ass_val { pos "975 270" string "*cvar mn_tass" align ur } pic ass_rahmen { pos "707 288" image menu/bar_rahmen } bar ass_bar { pos "716 293" current "*cvar mn_vass" size "245 6" color "0 .8 0 1" max 100 align uc } string snp_lbl { pos "700 300" string "_Sniper Rifles:" } string snp_val { pos "975 300" string "*cvar mn_tsnp" align ur } pic snp_rahmen { pos "707 318" image menu/bar_rahmen } bar snp_bar { pos "716 323" current "*cvar mn_vsnp" size "245 6" color "0 .8 0 1" max 100 align uc } string exp_lbl { pos "700 330" string "_High-Explosives:" } string exp_val { pos "975 330" string "*cvar mn_texp" align ur } pic exp_rahmen { pos "707 348" image menu/bar_rahmen } bar exp_bar { pos "716 353" current "*cvar mn_vexp" size "245 6" color "0 .8 0 1" max 100 align uc } string hp_lbl { pos "700 360" string "_Health:" } string hp_val { if "mn_show_employee == 1" pos "975 360" string "*cvar mn_thp" align ur } pic hp_rahmen { pos "707 378" image menu/bar_rahmen } bar hp_bar { if "mn_show_employee == 1" pos "716 383" current "*cvar mn_vhp" size "245 6" color "0 .8 0 1" max "*cvar mn_vhpmax" align uc } string missions_lbl { pos "700 393" string "_Missions Performed:" } string missions_val { pos "975 393" string "*cvar mn_chrmis" align ur } string kills_lbl { pos "700 413" string "_Enemies Killed:" } string kills_val { pos "975 413" string "*cvar mn_chrkillalien" align ur } //mn_chrkillcivilian //mn_chrkillteam // ================== // dropship // ================== model dropship { md2 "*cvar mn_aircraft_model" origin "690 640 0" angles "-20 -40 120" scale "1.1 1.1 1.1" color "0.5 0.5 0.5 1" } model dropship_top { md2 "*cvar mn_aircraft_model_top" origin "690 640 0" angles "-20 -40 120" scale "1.1 1.1 1.1" color "0.5 0.5 0.5 1" } model dropship_glass { md2 "*cvar mn_aircraft_model_glass" origin "690 640 0" angles "-20 -40 120" scale "1.1 1.1 1.1" color "0.5 0.5 0.5 1" } string team_members { string "_Team Members:" pos "480 486" } string team_hired { string "*cvar mn_hired" pos "480 508" } // ================== // additional stuff // ================== pic bt_go { tooltip "_Done" image hud/buttons2 mousefx true pos "940 720" texl "0 0" texh "64 37" click { cmd "mn_pop;mn_push equipment" } } func init { team_clear cmd "team_mark;team_select 0" } } // ================== // EQUIPMENT MENU // ================== menu equipment { // ================== // don't render // ================== zone render { invis true } // ================== // background // ================== pic back_ul { image menu/equipment_ul pos "0 0" } pic back_ur { image menu/equipment_ur pos "512 0" } string s_backpack { pos "932 25" align uc string "_Backpack" color "0 0.6 0 1" size "160 25" } string s_left { pos "932 150" align uc string "_Left Hand" color "0 0.6 0 1" size "160 25" } string s_right { pos "610 150" align uc string "_Right Hand" color "0 0.6 0 1" size "160 25" } string s_holster { pos "932 245" align uc string "_Holster" color "0 0.6 0 1" size "160 25" } string s_belt { pos "610 245" align uc string "_Belt" color "0 0.6 0 1" size "160 25" } pic back_ll { image menu/equipment_ll pos "0 512" } pic back_lr { image menu/equipment_lr pos "512 512" } // ================== // names list // ================== func names_clear { *bt_actor0 image hud/buttons1 *bt_actor1 image hud/buttons1 *bt_actor2 image hud/buttons1 *bt_actor3 image hud/buttons1 *bt_actor4 image hud/buttons1 *bt_actor5 image hud/buttons1 *bt_actor6 image hud/buttons1 *bt_actor7 image hud/buttons1 *txt_actor0 color "0 .78 0 1" *txt_actor1 color "0 .78 0 1" *txt_actor2 color "0 .78 0 1" *txt_actor3 color "0 .78 0 1" *txt_actor4 color "0 .78 0 1" *txt_actor5 color "0 .78 0 1" *txt_actor6 color "0 .78 0 1" *txt_actor7 color "0 .78 0 1" } confunc equipdeselect0 { *bt_actor0 image hud/buttons1 *txt_actor0 color "0 .78 0 1" } confunc equipdeselect1 { *bt_actor1 image hud/buttons1 *txt_actor1 color "0 .78 0 1" } confunc equipdeselect2 { *bt_actor2 image hud/buttons1 *txt_actor2 color "0 .78 0 1" } confunc equipdeselect3 { *bt_actor3 image hud/buttons1 *txt_actor3 color "0 .78 0 1" } confunc equipdeselect4 { *bt_actor4 image hud/buttons1 *txt_actor4 color "0 .78 0 1" } confunc equipdeselect5 { *bt_actor5 image hud/buttons1 *txt_actor5 color "0 .78 0 1" } confunc equipdeselect6 { *bt_actor6 image hud/buttons1 *txt_actor6 color "0 .78 0 1" } confunc equipdeselect7 { *bt_actor7 image hud/buttons1 *txt_actor7 color "0 .78 0 1" } confunc equipselect0 { *bt_actor0 image hud/buttons1a *txt_actor0 color "1 1 1 1" } confunc equipselect1 { *bt_actor1 image hud/buttons1a *txt_actor1 color "1 1 1 1" } confunc equipselect2 { *bt_actor2 image hud/buttons1a *txt_actor2 color "1 1 1 1" } confunc equipselect3 { *bt_actor3 image hud/buttons1a *txt_actor3 color "1 1 1 1" } confunc equipselect4 { *bt_actor4 image hud/buttons1a *txt_actor4 color "1 1 1 1" } confunc equipselect5 { *bt_actor5 image hud/buttons1a *txt_actor5 color "1 1 1 1" } confunc equipselect6 { *bt_actor6 image hud/buttons1a *txt_actor6 color "1 1 1 1" } confunc equipselect7 { *bt_actor7 image hud/buttons1a *txt_actor7 color "1 1 1 1" } confunc equipdisable0 { *bt_actor0 image hud/buttons1g } confunc equipdisable1 { *bt_actor1 image hud/buttons1g } confunc equipdisable2 { *bt_actor2 image hud/buttons1g } confunc equipdisable3 { *bt_actor3 image hud/buttons1g } confunc equipdisable4 { *bt_actor4 image hud/buttons1g } confunc equipdisable5 { *bt_actor5 image hud/buttons1g } confunc equipdisable6 { *bt_actor6 image hud/buttons1g } confunc equipdisable7 { *bt_actor7 image hud/buttons1g } pic bt_actor0 { tooltip "_Equip this soldier" pos "10 14" texl "0 0" texh "28 36" mousefx true click { cmd "equip_select 0" } } pic bt_actor1 { tooltip "_Equip this soldier" pos "10 55" texl "32 0" texh "60 36" mousefx true click { cmd "equip_select 1" } } pic bt_actor2 { tooltip "_Equip this soldier" pos "10 96" texl "64 0" texh "92 36" mousefx true click { cmd "equip_select 2" } } pic bt_actor3 { tooltip "_Equip this soldier" pos "10 137" texl "96 0" texh "124 36" mousefx true click { cmd "equip_select 3" } } pic bt_actor4 { tooltip "_Equip this soldier" pos "10 178" texl "0 38" texh "28 74" mousefx true click { cmd "equip_select 4" } } pic bt_actor5 { tooltip "_Equip this soldier" pos "10 219" texl "32 38" texh "60 74" mousefx true click { cmd "equip_select 5" } } pic bt_actor6 { tooltip "_Equip this soldier" pos "10 260" texl "64 38" texh "92 74" mousefx true click { cmd "equip_select 6" } } pic bt_actor7 { tooltip "_Equip this soldier" pos "10 301" texl "96 38" texh "124 74" mousefx true click { cmd "equip_select 7" } } string txt_actor0 { string "*cvar mn_name0" pos "60 23" size "270 16" click { cmd "equip_select 0" } } string txt_actor1 { string "*cvar mn_name1" pos "60 64" size "270 16" click { cmd "equip_select 1" } } string txt_actor2 { string "*cvar mn_name2" pos "60 105" size "270 16" click { cmd "equip_select 2" } } string txt_actor3 { string "*cvar mn_name3" pos "60 146" size "270 16" click { cmd "equip_select 3" } } string txt_actor4 { string "*cvar mn_name4" pos "60 187" size "270 16" click { cmd "equip_select 4" } } string txt_actor5 { string "*cvar mn_name5" pos "60 228" size "270 16" click { cmd "equip_select 5" } } string txt_actor6 { string "*cvar mn_name6" pos "60 269" size "270 16" click { cmd "equip_select 6" } } string txt_actor7 { string "*cvar mn_name7" pos "60 310" size "270 16" click { cmd "equip_select 7" } } // ================== // category buttons // ================== confunc equip_reset { *s_primary color "1 1 1 0.6" *s_secondary color "1 1 1 0.6" *s_misc color "1 1 1 0.6" *s_armor color "1 1 1 0.6" } confunc equip_primary { cmd "equip_type 0;" equip_reset *s_primary color "1 1 1 1" } confunc equip_secondary { cmd "equip_type 1;" equip_reset *s_secondary color "1 1 1 1" } confunc equip_misc { cmd "equip_type 2;" equip_reset *s_misc color "1 1 1 1" } confunc equip_armor { cmd "equip_type 3;" equip_reset *s_armor color "1 1 1 1" } pic bt_primary { tooltip "_Show primary weapons in store" image menu/button_blue mousefx true pos "374 125" texl "0 0" texh "128 52" click { equip_primary } } string s_primary { pos "438 151" align cc color "1 1 1 0.6" font "f_big" string "_Primary" } pic bt_secondary { tooltip "_Show secondary weapons in store" image menu/button_blue mousefx true pos "374 180" texl "0 0" texh "128 52" click { equip_secondary } } string s_secondary { pos "438 206" align cc color "1 1 1 0.6" font "f_big" string "_Secondary" } pic bt_misc { tooltip "_Show miscellaneous equipment in store" image menu/button_blue mousefx true pos "374 235" texl "0 0" texh "128 52" click { equip_misc } } string s_misc { pos "438 261" align cc color "1 1 1 0.6" font "f_big" string "_Misc" } pic bt_armor { tooltip "_Show armour in store" image menu/button_blue mousefx true pos "374 290" texl "0 0" texh "128 52" click { equip_armor } } string s_armor { pos "438 316" align cc color "1 1 1 0.6" font "f_big" string "_Armour" } // ================== // item description // ================== string itemname { string "*cvar mn_itemname" pos "203 390" align uc } item itemmodel { string "*cvar mn_item" pos "203 472" scale "7 7 7" } item weaponmodel { string "*cvar mn_weapon" pos "160 472" scale "7 7 7" } item ammomodel { string "*cvar mn_ammo" pos "340 472" scale "7 7 7" } text description { pos "40 550" size "326 200" format "20 0" texh "17 153" } pic weapon_dec { if "mn_changeweapon == 1" tooltip "_Previous weapon chambered for this ammunition" image menu/buttons_small pos "160 671" texl "0 0" texh "16 16" mousefx true click { cmd mn_decreaseweapon } } pic ammo_dec { if "mn_changeweapon == 2" tooltip "_Previous ammunition compatible with this weapon" image menu/buttons_small pos "160 671" texl "0 0" texh "16 16" mousefx true click { cmd mn_decreaseweapon } } pic weapon_inc { if "mn_changeweapon == 1" tooltip "_Next weapon chambered for this ammunition" image menu/buttons_small pos "367 671" texl "16 0" texh "32 16" mousefx true click { cmd mn_increaseweapon } } pic ammo_inc { if "mn_changeweapon == 2" tooltip "_Next ammunition compatible with this weapon" image menu/buttons_small pos "367 671" texl "16 0" texh "32 16" mousefx true click { cmd mn_increaseweapon } } string header_weapon { if "mn_displayweapon == 1" string "_With weapon:" pos "30 679" align cl font f_small } string header_ammo { if "mn_displayweapon == 2" string "_With ammo:" pos "30 679" align cl font f_small } string weapon_name { string "*cvar mn_researchedlinkname" pos "270 679" align cc font f_small } pic firemode_dec { if "mn_changefiremode == 1" tooltip "_Previous firemode" image menu/buttons_small pos "160 689" texl "0 0" texh "16 16" mousefx true click { cmd mn_decreasefiremode } } pic firemode_inc { if "mn_changefiremode == 1" tooltip "_Next firemode" image menu/buttons_small pos "367 689" texl "16 0" texh "32 16" mousefx true click { cmd mn_increasefiremode } } string header_firemode { if "mn_displayfiremode == 1" string "_Firemode:" pos "30 697" align cl font f_small } string firemode_name { if "mn_displayfiremode == 1" string "*cvar mn_firemodename" pos "270 697" align cc font f_small } // ================== // actor stats // ================== string pwr_lbl { pos "60 375" string "_Strength:" } string pwr_val { pos "335 375" string "*cvar mn_tpwr" align ur } pic pwr_rahmen { pos "67 395" image menu/bar_rahmen } bar pwr_bar { pos "76 400" current "*cvar mn_vpwr" size "245 6" color "0 .8 0 1" max 100 align uc } string spd_lbl { pos "60 410" string "_Speed:" } string spd_val { pos "335 410" string "*cvar mn_tspd" align ur } pic spd_rahmen { pos "67 430" image menu/bar_rahmen } bar spd_bar { pos "76 435" current "*cvar mn_vspd" size "245 6" color "0 .8 0 1" max 100 align uc } string acc_lbl { pos "60 445" string "_Accuracy:" } string acc_val { pos "335 445" string "*cvar mn_tacc" align ur } pic acc_rahmen { pos "67 465" image menu/bar_rahmen } bar acc_bar { pos "76 470" current "*cvar mn_vacc" size "245 6" color "0 .8 0 1" max 100 align uc } string mnd_lbl { pos "60 480" string "_Mind:" } string mnd_val { pos "335 480" string "*cvar mn_tmnd" align ur } pic mnd_rahmen { pos "67 500" image menu/bar_rahmen } bar mnd_bar { pos "76 505" current "*cvar mn_vmnd" size "245 6" color "0 .8 0 1" max 100 align uc } string cls_lbl { pos "60 530" string "_Close Combat:" } string cls_val { pos "335 530" string "*cvar mn_tcls" align ur } pic cls_rahmen { pos "67 550" image menu/bar_rahmen } bar cls_bar { pos "76 555" current "*cvar mn_vcls" size "245 6" color "0 .8 0 1" max 100 align uc } string hvy_lbl { pos "60 565" string "_Heavy Weapons:" } string hvy_val { pos "335 565" string "*cvar mn_thvy" align ur } pic hvy_rahmen { pos "67 585" image menu/bar_rahmen } bar hvy_bar { pos "76 590" current "*cvar mn_vhvy" size "245 6" color "0 .8 0 1" max 100 align uc } string ass_lbl { pos "60 600" string "_Assault Weapons:" } string ass_val { pos "335 600" string "*cvar mn_tass" align ur } pic ass_rahmen { pos "67 620" image menu/bar_rahmen } bar ass_bar { pos "76 625" current "*cvar mn_vass" size "245 6" color "0 .8 0 1" max 100 align uc } string snp_lbl { pos "60 635" string "_Sniper Rifles:" } string snp_val { pos "335 635" string "*cvar mn_tsnp" align ur } pic snp_rahmen { pos "67 655" image menu/bar_rahmen } bar snp_bar { pos "76 660" current "*cvar mn_vsnp" size "245 6" color "0 .8 0 1" max 100 align uc } string exp_lbl { pos "60 670" string "_High-Explosives:" } string exp_val { pos "335 670" string "*cvar mn_texp" align ur } pic exp_rahmen { pos "67 690" image menu/bar_rahmen } bar exp_bar { pos "76 695" current "*cvar mn_vexp" size "245 6" color "0 .8 0 1" max 100 align uc } // ================== // switch // ================== func weapon_stats { *itemname invis false *itemmodel invis false *weaponmodel invis false *ammomodel invis false *description invis false *weapon_dec invis false *ammo_dec invis false *weapon_inc invis false *ammo_inc invis false *header_weapon invis false *header_ammo invis false *weapon_name invis false *firemode_dec invis false *firemode_inc invis false *header_firemode invis false *firemode_name invis false *pwr_lbl invis true *pwr_val invis true *pwr_rahmen invis true *pwr_bar invis true *spd_lbl invis true *spd_val invis true *spd_rahmen invis true *spd_bar invis true *acc_lbl invis true *acc_val invis true *acc_rahmen invis true *acc_bar invis true *mnd_lbl invis true *mnd_val invis true *mnd_rahmen invis true *mnd_bar invis true *cls_lbl invis true *cls_val invis true *cls_rahmen invis true *cls_bar invis true *hvy_lbl invis true *hvy_val invis true *hvy_rahmen invis true *hvy_bar invis true *ass_lbl invis true *ass_val invis true *ass_rahmen invis true *ass_bar invis true *snp_lbl invis true *snp_val invis true *snp_rahmen invis true *snp_bar invis true *exp_lbl invis true *exp_val invis true *exp_rahmen invis true *exp_bar invis true *txt_weaponinfo color "1 1 1 1" *txt_abilities color "0 .78 0 1" } func actor_stats { *itemname invis true *itemmodel invis true *weaponmodel invis true *ammomodel invis true *description invis true *weapon_dec invis true *ammo_dec invis true *weapon_inc invis true *ammo_inc invis true *header_weapon invis true *header_ammo invis true *weapon_name invis true *firemode_dec invis true *firemode_inc invis true *header_firemode invis true *firemode_name invis true *pwr_lbl invis false *pwr_val invis false *pwr_rahmen invis false *pwr_bar invis false *spd_lbl invis false *spd_val invis false *spd_rahmen invis false *spd_bar invis false *acc_lbl invis false *acc_val invis false *acc_rahmen invis false *acc_bar invis false *mnd_lbl invis false *mnd_val invis false *mnd_rahmen invis false *mnd_bar invis false *cls_lbl invis false *cls_val invis false *cls_rahmen invis false *cls_bar invis false *hvy_lbl invis false *hvy_val invis false *hvy_rahmen invis false *hvy_bar invis false *ass_lbl invis false *ass_val invis false *ass_rahmen invis false *ass_bar invis false *snp_lbl invis false *snp_val invis false *snp_rahmen invis false *snp_bar invis false *exp_lbl invis false *exp_val invis false *exp_rahmen invis false *exp_bar invis false *txt_weaponinfo color "0 .78 0 1" *txt_abilities color "1 1 1 1" } string txt_weaponinfo { string "_Object Info" pos "40 722" } zone zone_weaponinfo { pos "20 710" size "180 40" click { weapon_stats } } string txt_abilities { string "_Actor Abilities" pos "207 722" } zone zone_abilities { pos "205 710" size "180 40" click { actor_stats } } // ================== // inventory // ================== string txt_actorname { string "*cvar mn_name" pos "544 22" } model body { md2 "*cvar mn_body" skin "*cvar mn_skin" anim "stand_menu" origin "785 173 0" angles "0 70 90" scale "5 5 5" color "0.5 0.5 0.5 1" } model head { md2 "*cvar mn_head" skin "*cvar mn_skin" tag "body tag_head" color "0.5 0.5 0.5 1" scale "1.0 1.0 1.0" } pic bt_skinforteam { // FIXME: probably add better button here image menu/button_autosell1 tooltip "_Use current skin with every soldier aboard." pos "640 300" texl "0 0" texh "16 16" mousefx true click { cmd "team_changeskinteam" } } string changeskin { string "*cvar mn_skinname" pos "660 300" size "100 16" in { *changeskin color "0.7 0.7 0.7 1" } out { *changeskin color "1 1 1 1" } click { cmd "team_changeskin;" } } // ================== // Containers (see inventory.ufo for the definition) // ================== container extension { pos "548 104" } container right { pos "548 178" } container left { pos "872 178" } container armor { pos "700 100" invis true } container backpack { pos "872 54" } container belt { pos "569 273" } container holster { pos "898 270" } container equip { pos "397 370" } container headgear { pos "548 54" } // ================== // additional stuff // ================== pic bt_go { tooltip "_Done" image hud/buttons2 mousefx true pos "940 720" texl "0 0" texh "64 37" click { cmd "mn_pop" } } func init { names_clear actor_stats cmd "genequip;equip_primary;equip_select 0" } }