// ================== // HOSPITAL MENU // ================== menu hospital { // ================== // don't render // ================== zone render { invis false } // ================== // background // ================== pic back_ul { image menu/hosp_ul pos "0 0" } pic back_ur { image menu/hosp_ur pos "512 0" } pic back_ll { image menu/hosp_ll pos "0 512" } pic back_lr { image menu/hosp_lr pos "512 512" } // ================== // employee list // ================== text hosp_list { pos "30 30" size "420 712" // bgcolor "1 1 1 0.5" format "22 170" click rclick num 21 mousefx true } // ================== // healing limit // ================== string txt_hosp_heal_caption { string "_Capacity" pos "510 80" font f_normal align ul } string txt_hosp_heal_limit { font f_normal string "*cvar mn_hosp_heal_limit" pos "975 80" align ur } // ================== // healing limit // ================== string txt_hosp_healing_caption { string "_Currently healing" pos "510 110" font f_normal align ul } string txt_hosp_healing_value { font f_normal string "*cvar mn_hosp_healing" pos "975 110" align ur } // ================== // medics // ================== string txt_hosp_medics_caption { string "_Medics" pos "510 140" font f_normal align ul } string txt_hosp_medics { font f_normal string "*cvar mn_hosp_medics" pos "975 140" align ur } // ================== // 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" } } // ================== // init function // ================== func init { cmd hosp_init } } // ====================== // HOSPITAL EMPLOYEE MENU // ====================== menu hospital_employee { // ================== // don't render // ================== zone render { invis false } // ================== // background // ================== pic back_ul { image menu/hosp_empl_ul pos "0 0" } pic back_ur { image menu/hosp_empl_ur pos "512 0" } pic back_ll { image menu/hosp_empl_ll pos "0 512" } pic back_lr { image menu/hosp_empl_lr pos "512 512" } // ================== // actor info // ================== string txt_name { string "*cvar mn_name" pos "475 17" } 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 health { pos "700 374" string "_Health:" font f_normal } string health_val { pos "975 374" string "*cvar mn_hp" align ur font f_normal } pic health_rahmen { pos "707 398" image menu/bar_rahmen } bar health_bar { pos "716 403" current "*cvar mn_hp" size "245 6" color "0 .8 0 1" max "*cvar mn_hpmax" align uc } // ================== // action buttons // ================== pic button_hosp_heal_start { tooltip "_Heal this soldier" image menu/button pos "45 100" texl "0 0" texh "230 64" mousefx true click { cmd "hosp_start_healing; hosp_init;mn_pop;" } out { *txt_hosp_heal_start color "0 0.8 0 1" *button_hosp_heal_start texl "0 0" *button_hosp_heal_start texh "230 64" } in { *txt_hosp_heal_start color "1 1 1 1" *button_hosp_heal_start texl "230 0" *button_hosp_heal_start texh "460 64" } } string txt_hosp_heal_start { string "_Heal" color "0 0.8 0 1" pos "164 133" font f_menu align cc } /* pic button_hosp_bionic_start { tooltip "TODO: this function will be available in future versions" image menu/button pos "45 170" texl "0 0" texh "230 64" mousefx true click { cmd "" } out { *txt_hosp_bionic_start color "0 0.8 0 1" *button_hosp_bionic_start texl "0 0" *button_hosp_bionic_start texh "230 64" } in { *txt_hosp_bionic_start color "1 1 1 1" *button_hosp_bionic_start texl "230 0" *button_hosp_bionic_start texh "460 64" } } string txt_hosp_bionic_start { string "_Implants" color "0 0.8 0 1" pos "164 203" font f_menu align cc } */ // ================== // 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" } } // ================== // init function // ================== func init { cmd hosp_empl_init } }