mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Fix remote turret on-screen help
This commit is contained in:
parent
82af313786
commit
fada09a0bb
7 changed files with 27 additions and 3 deletions
|
@ -281,7 +281,9 @@ void G_SetViewEntity( gentity_t *self, gentity_t *viewEntity )
|
|||
if ( !self->s.number )
|
||||
{
|
||||
if (viewEntity->client && viewEntity->client->NPC_class == CLASS_MOUSE) {
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_DROID_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_DROID_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
} else if (Q_stricmp( "misc_panel_turret", viewEntity->classname ) == 0) {
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_TURRET_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
} else {
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_CAMERA_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
}
|
||||
|
|
|
@ -238,7 +238,9 @@ void G_SetViewEntity( gentity_t *self, gentity_t *viewEntity )
|
|||
if ( !self->s.number )
|
||||
{
|
||||
if (viewEntity->client && viewEntity->client->NPC_class == CLASS_MOUSE) {
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_DROID_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_DROID_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
} else if (Q_stricmp( "misc_panel_turret", viewEntity->classname ) == 0) {
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_TURRET_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
} else {
|
||||
CG_CenterPrint( "@VR_INGAME_EXIT_CAMERA_VIEW", SCREEN_HEIGHT * 0.95 );
|
||||
}
|
||||
|
|
|
@ -19,4 +19,7 @@ LANG_ENGLISH "Press 'JUMP' to exit, thumbstick 'UP/DOWN' to switch view."
|
|||
REFERENCE EXIT_DROID_VIEW
|
||||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||
|
||||
REFERENCE EXIT_TURRET_VIEW
|
||||
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||
|
||||
ENDMARKER
|
||||
|
|
|
@ -21,4 +21,8 @@ REFERENCE EXIT_DROID_VIEW
|
|||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||
LANG_FRENCH "#same"
|
||||
|
||||
REFERENCE EXIT_TURRET_VIEW
|
||||
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||
LANG_FRENCH "#same"
|
||||
|
||||
ENDMARKER
|
||||
|
|
|
@ -21,4 +21,8 @@ REFERENCE EXIT_DROID_VIEW
|
|||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||
LANG_GERMAN "#same"
|
||||
|
||||
REFERENCE EXIT_TURRET_VIEW
|
||||
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||
LANG_GERMAN "#same"
|
||||
|
||||
ENDMARKER
|
||||
|
|
|
@ -21,4 +21,8 @@ REFERENCE EXIT_DROID_VIEW
|
|||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||
LANG_SPANISH "#same"
|
||||
|
||||
REFERENCE EXIT_TURRET_VIEW
|
||||
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||
LANG_SPANISH "#same"
|
||||
|
||||
ENDMARKER
|
||||
|
|
|
@ -3,7 +3,7 @@ CONFIG W:\bin\striped.cfg
|
|||
ID 999
|
||||
REFERENCE VR_INGAME
|
||||
DESCRIPTION "customized in game text for VR port"
|
||||
COUNT 2
|
||||
COUNT 3
|
||||
INDEX 0
|
||||
{
|
||||
REFERENCE EXIT_CAMERA_VIEW
|
||||
|
@ -14,3 +14,8 @@ INDEX 1
|
|||
REFERENCE EXIT_DROID_VIEW
|
||||
TEXT_LANGUAGE1 "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||
}
|
||||
INDEX 2
|
||||
{
|
||||
REFERENCE EXIT_TURRET_VIEW
|
||||
TEXT_LANGUAGE1 "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue