zb-menus/ui_mp/hud_fullscreen.menu
2025-01-09 11:51:52 +01:00

185 lines
10 KiB
Plaintext

{
menuDef
{
name "hud_fullscreen"
rect 0 0 640 480 4 4
visible 1
itemDef
{
rect 0 0 640 480 4 4
type 8
visible when(((!(weaponname() == "heli_remote_mp")) && (!(((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")))) && ((!(spectatingclient() && dvarbool(cg_thirdPersonSpectator))) || inkillcam()));
ownerdraw 112
textscale 0.55
background "splatter_alt"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(scopedthermal() && (!(spectatingclient() && dvarbool(cg_thirdPersonSpectator))));
textscale 0.55
forecolor 0.9 1 1 0.3
background "ac130_overlay_grain"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(((((getperk("equipment") == "_specialty_blastshield") && ((!dvarint(scr_gameended)) || inkillcam())) && (!(weaponname() == "heli_remote_mp"))) && (!(((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")))) && (!missilecam()));
textscale 0.55
background "ballistic_overlay"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(isempjammed());
textscale 0.55
forecolor 0.9 1 1 0.3
background "ac130_overlay_grain"
}
itemDef
{
rect 0 -75 40 40 2 10
type 8
visible when((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!spectatingclient())) && (!inkillcam())) && (!dvarint(scr_gameended))) && (!flashbanged())) && (!(((((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (weaponname() == "ac130_105mm_mp")) || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam()))) && (!(((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!flashbanged())) && (!isempjammed())) && (!dvarint(scr_gameended))) && (((milliseconds() - localvarint("ui_show_youKilled")) < 2500) && (!((milliseconds() - localvarint("ui_show_killedBy")) < 4000)))) && (!dvarbool(ui_hide_playercards))) && (!((milliseconds() - localvarint("ui_show_killedBy")) < 4000))) || (((!ui_active()) && ((milliseconds() - localvarint("ui_show_killedBy")) < 4000)) && (!dvarbool(ui_hide_playercards))))));
ownerdraw 80
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect 0 -125 40 40 2 10
type 8
visible when(((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!spectatingclient())) && (!inkillcam())) && (!dvarint(scr_gameended))) && (!flashbanged())) && (!(((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp"))) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam())));
ownerdraw 72
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect 0 -125 0 0 2 2
decoration
type 8
visible when((!ui_active()) && (!spectatingclient()));
ownerdraw 113
textscale 0.375
textstyle 3
textfont 1
}
itemDef
{
name "talking"
rect 108 48 24 24 8 8
decoration
type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
ownerdraw 266
textscale 0.55
forecolor 1 1 1 0.85
exp rect y (6 + (((((dvarstring(ui_danger_team) == "contested") || (((dvarstring(ui_danger_team) != "BombExploded") && ((team("name") == "TEAM_ALLIES") && (dvarstring(ui_danger_team) == "axis"))) || ((team("name") == "TEAM_AXIS") && (dvarstring(ui_danger_team) == "allies")))) || ((dvarstring(ui_danger_team) != "BombExploded") && (dvarstring(ui_danger_team) == "none"))) || (((dvarstring(ui_danger_team) != "BombExploded") && ((team("name") == "TEAM_ALLIES") && (dvarstring(ui_danger_team) == "allies"))) || ((team("name") == "TEAM_AXIS") && (dvarstring(ui_danger_team) == "axis")))) * 16)) + (dvarint(ui_bomb_timer) * 26);
}
itemDef
{
name "talker1"
rect 0 136 18 18 8 8
decoration
type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
ownerdraw 193
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
name "talker2"
rect 0 154 18 18 8 8
decoration
type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
ownerdraw 194
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
name "talker3"
rect 0 172 18 18 8 8
decoration
type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
ownerdraw 195
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
name "talker4"
rect 0 190 18 18 8 8
decoration
type 8
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
ownerdraw 196
textalignx 18
textaligny 17
textscale 0.375
textstyle 3
}
itemDef
{
text "@CGAME_FOLLOWING"
rect -100 20 200 0 2 1
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended)));
textalign 9
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect -120 -35 180 5 3 1
type 8
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended)));
ownerdraw 61
textalign 4
textscale 0.375
textstyle 3
forecolor 1 1 1 0.65
}
itemDef
{
rect 6 -60 10 10 8 10
type 19
visible when((!inkillcam()) && (!ui_active()));
textscale 0.375
textstyle 3
forecolor 1 1 1 0.45
gamemsgwindowmode 1
}
itemDef
{
rect 0 -60 10 10 9 9
type 19
visible when((!inkillcam()) && (!ui_active()));
textalign 1
textscale 0.375
textstyle 3
textfont 1
gamemsgwindowindex 1
gamemsgwindowmode 1
}
}
}