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 ( !self->s.number )
|
||||||
{
|
{
|
||||||
if (viewEntity->client && viewEntity->client->NPC_class == CLASS_MOUSE) {
|
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 {
|
} else {
|
||||||
CG_CenterPrint( "@VR_INGAME_EXIT_CAMERA_VIEW", SCREEN_HEIGHT * 0.95 );
|
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 ( !self->s.number )
|
||||||
{
|
{
|
||||||
if (viewEntity->client && viewEntity->client->NPC_class == CLASS_MOUSE) {
|
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 {
|
} else {
|
||||||
CG_CenterPrint( "@VR_INGAME_EXIT_CAMERA_VIEW", SCREEN_HEIGHT * 0.95 );
|
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
|
REFERENCE EXIT_DROID_VIEW
|
||||||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
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
|
ENDMARKER
|
||||||
|
|
|
@ -21,4 +21,8 @@ REFERENCE EXIT_DROID_VIEW
|
||||||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||||
LANG_FRENCH "#same"
|
LANG_FRENCH "#same"
|
||||||
|
|
||||||
|
REFERENCE EXIT_TURRET_VIEW
|
||||||
|
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||||
|
LANG_FRENCH "#same"
|
||||||
|
|
||||||
ENDMARKER
|
ENDMARKER
|
||||||
|
|
|
@ -21,4 +21,8 @@ REFERENCE EXIT_DROID_VIEW
|
||||||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||||
LANG_GERMAN "#same"
|
LANG_GERMAN "#same"
|
||||||
|
|
||||||
|
REFERENCE EXIT_TURRET_VIEW
|
||||||
|
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||||
|
LANG_GERMAN "#same"
|
||||||
|
|
||||||
ENDMARKER
|
ENDMARKER
|
||||||
|
|
|
@ -21,4 +21,8 @@ REFERENCE EXIT_DROID_VIEW
|
||||||
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
LANG_ENGLISH "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
||||||
LANG_SPANISH "#same"
|
LANG_SPANISH "#same"
|
||||||
|
|
||||||
|
REFERENCE EXIT_TURRET_VIEW
|
||||||
|
LANG_ENGLISH "Press 'JUMP' to exit, use main controller to aim and shoot."
|
||||||
|
LANG_SPANISH "#same"
|
||||||
|
|
||||||
ENDMARKER
|
ENDMARKER
|
||||||
|
|
|
@ -3,7 +3,7 @@ CONFIG W:\bin\striped.cfg
|
||||||
ID 999
|
ID 999
|
||||||
REFERENCE VR_INGAME
|
REFERENCE VR_INGAME
|
||||||
DESCRIPTION "customized in game text for VR port"
|
DESCRIPTION "customized in game text for VR port"
|
||||||
COUNT 2
|
COUNT 3
|
||||||
INDEX 0
|
INDEX 0
|
||||||
{
|
{
|
||||||
REFERENCE EXIT_CAMERA_VIEW
|
REFERENCE EXIT_CAMERA_VIEW
|
||||||
|
@ -14,3 +14,8 @@ INDEX 1
|
||||||
REFERENCE EXIT_DROID_VIEW
|
REFERENCE EXIT_DROID_VIEW
|
||||||
TEXT_LANGUAGE1 "Press 'JUMP' to exit, press 'USE' to activate buttons."
|
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