Add weapon pitch to menu

This commit is contained in:
Petr Bartos 2023-03-21 19:03:57 +01:00
parent cfe7b8b8bc
commit 53a36c1ca3
2 changed files with 34 additions and 0 deletions

View file

@ -345,6 +345,23 @@ itemDef
visible 1
}
itemDef {
name vr
group grpControls
type ITEM_TYPE_SLIDER
text "Weapon Pitch:"
cvarfloat "vr_weapon_pitchadjust" 0 -25 5
rect 82 225 290 12
textalign ITEM_ALIGN_RIGHT
textalignx 142
textaligny 10
textscale .23
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .07
forecolor 1 1 1 1
visible 1
}
// TOOLS MESSAGE //
itemDef

View file

@ -318,6 +318,23 @@ itemDef
visible 1
}
itemDef {
name ingame_vr
group grpControls
type ITEM_TYPE_SLIDER
text "Weapon Pitch:"
cvarfloat "vr_weapon_pitchadjust" 0 -25 5
rect 82 225 290 12
textalign ITEM_ALIGN_RIGHT
textalignx 142
textaligny 10
textscale .23
style WINDOW_STYLE_FILLED
backcolor 1 1 1 .07
forecolor 1 1 1 1
visible 1
}
itemDef {
name yesno_message