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

151 lines
6.9 KiB
Plaintext

{
menuDef
{
name "dpad_hd"
rect 0 -16 640 480 4 4
visible when((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!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()))) && (!isempjammed())) && (!dvarint(scr_gameended))) && (!selecting_location())) && (!spectatingfree()));
itemDef
{
rect -81 -39 32 32 10 10
type 8
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
ownerdraw 171
textalign 2
textalignx -21
textaligny -9
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -81 -39 32 32 10 10
decoration
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(1));
textalign 1
textaligny 35
textscale 0.25
textstyle 6
textfont 6
forecolor 1 1 0 1
exp text "^3" + keybinding("+actionslot 1");
}
itemDef
{
rect -61 -29 32 32 10 10
type 8
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
ownerdraw 173
textalign 2
textalignx -21
textaligny -9
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -61 -29 32 32 10 10
decoration
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(3));
textalign 1
textaligny 35
textscale 0.25
textstyle 6
textfont 6
forecolor 1 1 0 1
exp text "^3" + keybinding("+actionslot 3");
}
itemDef
{
rect -61 -61 32 32 10 10
type 8
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
ownerdraw 174
textalignx -40
textaligny -5
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -61 -61 32 32 10 10
decoration
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(4));
textalign 1
textaligny 35
textscale 0.25
textstyle 6
textfont 6
forecolor 1 1 0 1
exp text "^3" + keybinding("+actionslot 4");
}
itemDef
{
rect -68.6667 -42.3333 42.6667 42.6667 10 10
style 3
decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && (!dvarbool(gpad_style)));
textscale 0.55
forecolor 1 1 1 0.65
background "hud_dpad_xbox360"
}
itemDef
{
rect -68.6667 -42.3333 42.6667 42.6667 10 10
style 3
decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && dvarbool(gpad_style));
textscale 0.55
forecolor 1 1 1 0.65
background "hud_dpad_ps3"
}
itemDef
{
rect -68.6667 -42 42.6667 42.6667 10 10
style 3
decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && actionslotusable(3));
textscale 0.55
forecolor 1 0.9 0.5 1
background "hud_dpad_arrow_left"
}
itemDef
{
rect -93 -33 32 32 10 10
type 8
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use));
ownerdraw 173
textalign 2
textalignx -21
textaligny -3
textscale 0.3333
textstyle 3
textfont 10
}
itemDef
{
rect -68.6667 -42 42.6667 42.6667 10 10
style 3
decoration
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && actionslotusable(4));
textscale 0.55
forecolor 1 0.9 0.5 1
background "hud_dpad_arrow_right"
exp forecolor a 0.25 + (sin(milliseconds() / 200) + 1);
}
itemDef
{
rect -30 -36 32 32 10 10
type 8
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use));
ownerdraw 174
textalignx -40
textscale 0.3333
textstyle 3
textfont 10
}
}
}