mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-10 06:42:17 +00:00
Ragdoll menu options
Co-Authored-By: petr666 <5103207+petr666@users.noreply.github.com>
This commit is contained in:
parent
3a8b6c3a0b
commit
e500890d8c
6 changed files with 192 additions and 39 deletions
|
@ -448,4 +448,19 @@ LANG_ENGLISH "Usable Objects Hint:"
|
|||
REFERENCE USABLE_OBJECT_HINT_DESC
|
||||
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
|
||||
|
|
|
@ -593,4 +593,24 @@ REFERENCE USABLE_OBJECT_HINT_DESC
|
|||
LANG_ENGLISH "Show icon when looking at objects that can be used."
|
||||
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
|
||||
|
|
|
@ -593,4 +593,24 @@ REFERENCE USABLE_OBJECT_HINT_DESC
|
|||
LANG_ENGLISH "Show icon when looking at objects that can be used."
|
||||
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
|
||||
|
|
|
@ -593,4 +593,24 @@ REFERENCE USABLE_OBJECT_HINT_DESC
|
|||
LANG_ENGLISH "Show icon when looking at objects that can be used."
|
||||
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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
name text
|
||||
|
@ -2404,7 +2443,7 @@
|
|||
cvar "se_language"
|
||||
feeder 23 //FEEDER_PLAYER_SPECIES
|
||||
cvarStrList feeder
|
||||
rect 260 328 340 14
|
||||
rect 260 342 340 14
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 174
|
||||
textaligny 0
|
||||
|
@ -2420,11 +2459,11 @@
|
|||
}
|
||||
mouseenter
|
||||
{
|
||||
show highlight11
|
||||
show highlight12
|
||||
}
|
||||
mouseexit
|
||||
{
|
||||
hide highlight11
|
||||
hide highlight12
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2444,7 +2483,7 @@
|
|||
"Deutsch" "deutsch"
|
||||
"Espa<70>ol" "espanol"
|
||||
}
|
||||
rect 260 342 340 14
|
||||
rect 260 356 340 14
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 174
|
||||
textaligny 0
|
||||
|
@ -2461,11 +2500,11 @@
|
|||
}
|
||||
mouseenter
|
||||
{
|
||||
show highlight12
|
||||
show highlight13
|
||||
}
|
||||
mouseexit
|
||||
{
|
||||
hide highlight12
|
||||
hide highlight13
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2482,7 +2521,7 @@
|
|||
@MENUS_IN_CINEMATICS 2
|
||||
// @MENUS_ALL_VOICEOVERS 1
|
||||
}
|
||||
rect 260 356 340 14
|
||||
rect 260 370 340 14
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 174
|
||||
textaligny 0
|
||||
|
@ -2498,11 +2537,11 @@
|
|||
}
|
||||
mouseenter
|
||||
{
|
||||
show highlight13
|
||||
show highlight14
|
||||
}
|
||||
mouseexit
|
||||
{
|
||||
hide highlight13
|
||||
hide highlight14
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2514,7 +2553,7 @@
|
|||
text @MENUS_SET_LANGUAGE
|
||||
type ITEM_TYPE_BUTTON
|
||||
style WINDOW_STYLE_EMPTY
|
||||
rect 260 370 340 14
|
||||
rect 260 384 340 14
|
||||
textalign ITEM_ALIGN_CENTER
|
||||
textalignx 174
|
||||
textaligny -5
|
||||
|
@ -2529,15 +2568,15 @@
|
|||
play "sound/interface/button1"
|
||||
exec "snd_restart"
|
||||
hide langapply
|
||||
hide highlight14
|
||||
hide highlight15
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
show highlight14
|
||||
show highlight15
|
||||
}
|
||||
mouseExit
|
||||
{
|
||||
hide highlight14
|
||||
hide highlight15
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2418,22 +2418,28 @@
|
|||
|
||||
itemDef
|
||||
{
|
||||
name text
|
||||
name use_ragdolls
|
||||
group options
|
||||
type ITEM_TYPE_MULTI
|
||||
text @MENUS_TEXT
|
||||
cvar "se_language"
|
||||
feeder 23 //FEEDER_PLAYER_SPECIES
|
||||
cvarStrList feeder
|
||||
rect 260 328 340 14
|
||||
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_CHOOSE_THE_LANGUAGE_FOR
|
||||
visible 0
|
||||
descText @MENUS_VR_USE_RAGDOLLS_DESC
|
||||
|
||||
action
|
||||
{
|
||||
|
@ -2441,30 +2447,23 @@
|
|||
}
|
||||
mouseenter
|
||||
{
|
||||
show highlight11
|
||||
show highlight10
|
||||
}
|
||||
mouseexit
|
||||
{
|
||||
hide highlight11
|
||||
hide highlight10
|
||||
}
|
||||
}
|
||||
|
||||
itemDef
|
||||
{
|
||||
name voice
|
||||
name text
|
||||
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"
|
||||
}
|
||||
text @MENUS_TEXT
|
||||
cvar "se_language"
|
||||
feeder 23 //FEEDER_PLAYER_SPECIES
|
||||
cvarStrList feeder
|
||||
rect 260 342 340 14
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 174
|
||||
|
@ -2473,7 +2472,7 @@
|
|||
textscale 1
|
||||
forecolor .615 .615 .956 1
|
||||
visible 0
|
||||
descText @MENUS_CHOOSE_THE_LANGUAGE_TO
|
||||
descText @MENUS_CHOOSE_THE_LANGUAGE_FOR
|
||||
|
||||
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
|
||||
{
|
||||
name voice
|
||||
|
@ -2502,7 +2541,7 @@
|
|||
@MENUS_IN_CINEMATICS 2
|
||||
// @MENUS_ALL_VOICEOVERS 1
|
||||
}
|
||||
rect 260 356 340 14
|
||||
rect 260 370 340 14
|
||||
textalign ITEM_ALIGN_RIGHT
|
||||
textalignx 174
|
||||
textaligny 0
|
||||
|
@ -2518,11 +2557,11 @@
|
|||
}
|
||||
mouseenter
|
||||
{
|
||||
show highlight13
|
||||
show highlight14
|
||||
}
|
||||
mouseexit
|
||||
{
|
||||
hide highlight13
|
||||
hide highlight14
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue