Ragdoll menu options

Co-Authored-By: petr666 <5103207+petr666@users.noreply.github.com>
This commit is contained in:
Simon 2023-03-17 21:59:40 +00:00
parent 3a8b6c3a0b
commit e500890d8c
6 changed files with 192 additions and 39 deletions

View file

@ -448,4 +448,19 @@ LANG_ENGLISH "Usable Objects Hint:"
REFERENCE USABLE_OBJECT_HINT_DESC REFERENCE USABLE_OBJECT_HINT_DESC
LANG_ENGLISH "Show icon when looking at objects that can be used." LANG_ENGLISH "Show icon when looking at objects that can be used."
REFERENCE USE_RAGDOLLS_ITEM
LANG_ENGLISH "Use Ragdolls:"
REFERENCE USE_RAGDOLLS_DESC
LANG_ENGLISH "Use ragdolls for dead enemy bodies."
REFERENCE USE_RAGDOLLS_NEVER
LANG_ENGLISH "Never"
REFERENCE USE_RAGDOLLS_DELAYED
LANG_ENGLISH "Delayed"
REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
ENDMARKER ENDMARKER

View file

@ -593,4 +593,24 @@ REFERENCE USABLE_OBJECT_HINT_DESC
LANG_ENGLISH "Show icon when looking at objects that can be used." LANG_ENGLISH "Show icon when looking at objects that can be used."
LANG_FRENCH "#same" LANG_FRENCH "#same"
REFERENCE USE_RAGDOLLS_ITEM
LANG_ENGLISH "Use Ragdolls:"
LANG_FRENCH "#same"
REFERENCE USE_RAGDOLLS_DESC
LANG_ENGLISH "Use ragdolls for dead enemy bodies."
LANG_FRENCH "#same"
REFERENCE USE_RAGDOLLS_NEVER
LANG_ENGLISH "Never"
LANG_FRENCH "#same"
REFERENCE USE_RAGDOLLS_DELAYED
LANG_ENGLISH "Delayed"
LANG_FRENCH "#same"
REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
LANG_FRENCH "#same"
ENDMARKER ENDMARKER

View file

@ -593,4 +593,24 @@ REFERENCE USABLE_OBJECT_HINT_DESC
LANG_ENGLISH "Show icon when looking at objects that can be used." LANG_ENGLISH "Show icon when looking at objects that can be used."
LANG_GERMAN "#same" LANG_GERMAN "#same"
REFERENCE USE_RAGDOLLS_ITEM
LANG_ENGLISH "Use Ragdolls:"
LANG_GERMAN "#same"
REFERENCE USE_RAGDOLLS_DESC
LANG_ENGLISH "Use ragdolls for dead enemy bodies."
LANG_GERMAN "#same"
REFERENCE USE_RAGDOLLS_NEVER
LANG_ENGLISH "Never"
LANG_GERMAN "#same"
REFERENCE USE_RAGDOLLS_DELAYED
LANG_ENGLISH "Delayed"
LANG_GERMAN "#same"
REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
LANG_GERMAN "#same"
ENDMARKER ENDMARKER

View file

@ -593,4 +593,24 @@ REFERENCE USABLE_OBJECT_HINT_DESC
LANG_ENGLISH "Show icon when looking at objects that can be used." LANG_ENGLISH "Show icon when looking at objects that can be used."
LANG_SPANISH "#same" LANG_SPANISH "#same"
REFERENCE USE_RAGDOLLS_ITEM
LANG_ENGLISH "Use Ragdolls:"
LANG_SPANISH "#same"
REFERENCE USE_RAGDOLLS_DESC
LANG_ENGLISH "Use ragdolls for dead enemy bodies."
LANG_SPANISH "#same"
REFERENCE USE_RAGDOLLS_NEVER
LANG_ENGLISH "Never"
LANG_SPANISH "#same"
REFERENCE USE_RAGDOLLS_DELAYED
LANG_ENGLISH "Delayed"
LANG_SPANISH "#same"
REFERENCE USE_RAGDOLLS_INSTANT
LANG_ENGLISH "Instant"
LANG_SPANISH "#same"
ENDMARKER ENDMARKER

View file

@ -2395,6 +2395,45 @@
} }
} }
itemDef
{
name use_ragdolls
group options
type ITEM_TYPE_MULTI
text @MENUS_VR_USE_RAGDOLLS_ITEM
cvar "broadsword"
cvarFloatList
{
@MENUS_VR_USE_RAGDOLLS_NEVER 0
@MENUS_VR_USE_RAGDOLLS_DELAYED 1
@MENUS_VR_USE_RAGDOLLS_INSTANT 2
}
cvarTest ui_iscensored
hideCvar { 1 }
rect 260 314 340 14
textalign ITEM_ALIGN_RIGHT
textalignx 174
textaligny 0
font 4
textscale 1
forecolor .615 .615 .956 1
visible 0
descText @MENUS_VR_USE_RAGDOLLS_DESC
action
{
play "sound/interface/button1.wav"
}
mouseenter
{
show highlight10
}
mouseexit
{
hide highlight10
}
}
itemDef itemDef
{ {
name text name text
@ -2404,7 +2443,7 @@
cvar "se_language" cvar "se_language"
feeder 23 //FEEDER_PLAYER_SPECIES feeder 23 //FEEDER_PLAYER_SPECIES
cvarStrList feeder cvarStrList feeder
rect 260 328 340 14 rect 260 342 340 14
textalign ITEM_ALIGN_RIGHT textalign ITEM_ALIGN_RIGHT
textalignx 174 textalignx 174
textaligny 0 textaligny 0
@ -2420,11 +2459,11 @@
} }
mouseenter mouseenter
{ {
show highlight11 show highlight12
} }
mouseexit mouseexit
{ {
hide highlight11 hide highlight12
} }
} }
@ -2444,7 +2483,7 @@
"Deutsch" "deutsch" "Deutsch" "deutsch"
"Espa<70>ol" "espanol" "Espa<70>ol" "espanol"
} }
rect 260 342 340 14 rect 260 356 340 14
textalign ITEM_ALIGN_RIGHT textalign ITEM_ALIGN_RIGHT
textalignx 174 textalignx 174
textaligny 0 textaligny 0
@ -2461,11 +2500,11 @@
} }
mouseenter mouseenter
{ {
show highlight12 show highlight13
} }
mouseexit mouseexit
{ {
hide highlight12 hide highlight13
} }
} }
@ -2482,7 +2521,7 @@
@MENUS_IN_CINEMATICS 2 @MENUS_IN_CINEMATICS 2
// @MENUS_ALL_VOICEOVERS 1 // @MENUS_ALL_VOICEOVERS 1
} }
rect 260 356 340 14 rect 260 370 340 14
textalign ITEM_ALIGN_RIGHT textalign ITEM_ALIGN_RIGHT
textalignx 174 textalignx 174
textaligny 0 textaligny 0
@ -2498,11 +2537,11 @@
} }
mouseenter mouseenter
{ {
show highlight13 show highlight14
} }
mouseexit mouseexit
{ {
hide highlight13 hide highlight14
} }
} }
@ -2514,7 +2553,7 @@
text @MENUS_SET_LANGUAGE text @MENUS_SET_LANGUAGE
type ITEM_TYPE_BUTTON type ITEM_TYPE_BUTTON
style WINDOW_STYLE_EMPTY style WINDOW_STYLE_EMPTY
rect 260 370 340 14 rect 260 384 340 14
textalign ITEM_ALIGN_CENTER textalign ITEM_ALIGN_CENTER
textalignx 174 textalignx 174
textaligny -5 textaligny -5
@ -2529,15 +2568,15 @@
play "sound/interface/button1" play "sound/interface/button1"
exec "snd_restart" exec "snd_restart"
hide langapply hide langapply
hide highlight14 hide highlight15
} }
mouseEnter mouseEnter
{ {
show highlight14 show highlight15
} }
mouseExit mouseExit
{ {
hide highlight14 hide highlight15
} }
} }

View file

@ -2418,14 +2418,20 @@
itemDef itemDef
{ {
name text name use_ragdolls
group options group options
type ITEM_TYPE_MULTI type ITEM_TYPE_MULTI
text @MENUS_TEXT text @MENUS_VR_USE_RAGDOLLS_ITEM
cvar "se_language" cvar "broadsword"
feeder 23 //FEEDER_PLAYER_SPECIES cvarFloatList
cvarStrList feeder {
rect 260 328 340 14 @MENUS_VR_USE_RAGDOLLS_NEVER 0
@MENUS_VR_USE_RAGDOLLS_DELAYED 1
@MENUS_VR_USE_RAGDOLLS_INSTANT 2
}
cvarTest ui_iscensored
hideCvar { 1 }
rect 260 314 340 14
textalign ITEM_ALIGN_RIGHT textalign ITEM_ALIGN_RIGHT
textalignx 174 textalignx 174
textaligny 0 textaligny 0
@ -2433,7 +2439,7 @@
textscale 1 textscale 1
forecolor .615 .615 .956 1 forecolor .615 .615 .956 1
visible 0 visible 0
descText @MENUS_CHOOSE_THE_LANGUAGE_FOR descText @MENUS_VR_USE_RAGDOLLS_DESC
action action
{ {
@ -2441,30 +2447,23 @@
} }
mouseenter mouseenter
{ {
show highlight11 show highlight10
} }
mouseexit mouseexit
{ {
hide highlight11 hide highlight10
} }
} }
itemDef itemDef
{ {
name voice name text
group options group options
type ITEM_TYPE_MULTI type ITEM_TYPE_MULTI
text @MENUS_VOICE text @MENUS_TEXT
cvarTest com_demo cvar "se_language"
hideCvar { 1 } feeder 23 //FEEDER_PLAYER_SPECIES
cvar "s_language" cvarStrList feeder
cvarStrList
{
"English", "english"
@MENUS_LANG_FRENCH "francais"
"Deutsch" "deutsch"
"Espa<70>ol" "espanol"
}
rect 260 342 340 14 rect 260 342 340 14
textalign ITEM_ALIGN_RIGHT textalign ITEM_ALIGN_RIGHT
textalignx 174 textalignx 174
@ -2473,7 +2472,7 @@
textscale 1 textscale 1
forecolor .615 .615 .956 1 forecolor .615 .615 .956 1
visible 0 visible 0
descText @MENUS_CHOOSE_THE_LANGUAGE_TO descText @MENUS_CHOOSE_THE_LANGUAGE_FOR
action action
{ {
@ -2489,6 +2488,46 @@
} }
} }
itemDef
{
name voice
group options
type ITEM_TYPE_MULTI
text @MENUS_VOICE
cvarTest com_demo
hideCvar { 1 }
cvar "s_language"
cvarStrList
{
"English", "english"
@MENUS_LANG_FRENCH "francais"
"Deutsch" "deutsch"
"Espa<70>ol" "espanol"
}
rect 260 356 340 14
textalign ITEM_ALIGN_RIGHT
textalignx 174
textaligny 0
font 4
textscale 1
forecolor .615 .615 .956 1
visible 0
descText @MENUS_CHOOSE_THE_LANGUAGE_TO
action
{
play "sound/interface/button1.wav"
}
mouseenter
{
show highlight13
}
mouseexit
{
hide highlight13
}
}
itemDef itemDef
{ {
name voice name voice
@ -2502,7 +2541,7 @@
@MENUS_IN_CINEMATICS 2 @MENUS_IN_CINEMATICS 2
// @MENUS_ALL_VOICEOVERS 1 // @MENUS_ALL_VOICEOVERS 1
} }
rect 260 356 340 14 rect 260 370 340 14
textalign ITEM_ALIGN_RIGHT textalign ITEM_ALIGN_RIGHT
textalignx 174 textalignx 174
textaligny 0 textaligny 0
@ -2518,11 +2557,11 @@
} }
mouseenter mouseenter
{ {
show highlight13 show highlight14
} }
mouseexit mouseexit
{ {
hide highlight13 hide highlight14
} }
} }