Intern all default values; Remove no longer needed configuration files

This commit is contained in:
Petr Bartos 2023-04-14 22:19:47 +02:00
parent 32c4e6eac1
commit a72ca459c5
13 changed files with 24 additions and 405 deletions

View file

@ -295,7 +295,7 @@ void VR_Init()
vr_switch_sticks = Cvar_Get( "vr_switch_sticks", "0", CVAR_ARCHIVE); vr_switch_sticks = Cvar_Get( "vr_switch_sticks", "0", CVAR_ARCHIVE);
vr_immersive_cinematics = Cvar_Get("vr_immersive_cinematics", "1", CVAR_ARCHIVE); vr_immersive_cinematics = Cvar_Get("vr_immersive_cinematics", "1", CVAR_ARCHIVE);
vr_screen_dist = Cvar_Get( "vr_screen_dist", "2.5", CVAR_ARCHIVE); vr_screen_dist = Cvar_Get( "vr_screen_dist", "3.5", CVAR_ARCHIVE);
vr_weapon_velocity_trigger = Cvar_Get( "vr_weapon_velocity_trigger", "2.0", CVAR_ARCHIVE); vr_weapon_velocity_trigger = Cvar_Get( "vr_weapon_velocity_trigger", "2.0", CVAR_ARCHIVE);
vr_force_velocity_trigger = Cvar_Get( "vr_force_velocity_trigger", "2.0", CVAR_ARCHIVE); vr_force_velocity_trigger = Cvar_Get( "vr_force_velocity_trigger", "2.0", CVAR_ARCHIVE);
vr_force_distance_trigger = Cvar_Get( "vr_force_distance_trigger", "0.15", CVAR_ARCHIVE); vr_force_distance_trigger = Cvar_Get( "vr_force_distance_trigger", "0.15", CVAR_ARCHIVE);
@ -320,6 +320,8 @@ void VR_Init()
} }
vr.menu_right_handed = vr_control_scheme->integer == 0; vr.menu_right_handed = vr_control_scheme->integer == 0;
Cvar_Get ("openXRHMD", gAppState.OpenXRHMD, CVAR_ARCHIVE);
} }
int VR_main( int argc, char* argv[] ); int VR_main( int argc, char* argv[] );

View file

@ -170,7 +170,7 @@ window_t WIN_Init( const windowDesc_t *windowDesc, glconfig_t *glConfig )
r_stencilbits = Cvar_Get( "r_stencilbits", "8", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_stencilbits = Cvar_Get( "r_stencilbits", "8", CVAR_ARCHIVE_ND|CVAR_LATCH );
r_depthbits = Cvar_Get( "r_depthbits", "24", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_depthbits = Cvar_Get( "r_depthbits", "24", CVAR_ARCHIVE_ND|CVAR_LATCH );
r_colorbits = Cvar_Get( "r_colorbits", "32", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_colorbits = Cvar_Get( "r_colorbits", "32", CVAR_ARCHIVE_ND|CVAR_LATCH );
r_ignorehwgamma = Cvar_Get( "r_ignorehwgamma", "0", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_ignorehwgamma = Cvar_Get( "r_ignorehwgamma", "1", CVAR_ARCHIVE|CVAR_LATCH );
r_ext_multisample = Cvar_Get( "r_ext_multisample", "0", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_ext_multisample = Cvar_Get( "r_ext_multisample", "0", CVAR_ARCHIVE_ND|CVAR_LATCH );
Cvar_Get( "r_availableModes", "", CVAR_ROM ); Cvar_Get( "r_availableModes", "", CVAR_ROM );

View file

@ -2551,7 +2551,7 @@ void NPC_InitAI ( void )
//5 = kyle and any enemy //5 = kyle and any enemy
//6 = also when kyle takes pain or enemy jedi dodges player saber swing or does an acrobatic evasion //6 = also when kyle takes pain or enemy jedi dodges player saber swing or does an acrobatic evasion
// NOTE : I also create this in UI_Init() // NOTE : I also create this in UI_Init()
d_slowmodeath = gi.cvar ( "d_slowmodeath", "3", CVAR_ARCHIVE );//save this setting d_slowmodeath = gi.cvar ( "d_slowmodeath", "4", CVAR_ARCHIVE );//save this setting
d_saberCombat = gi.cvar ( "d_saberCombat", "0", CVAR_CHEAT ); d_saberCombat = gi.cvar ( "d_saberCombat", "0", CVAR_CHEAT );
} }

View file

@ -665,10 +665,10 @@ void G_InitCvars( void ) {
g_TeamBeefDirectorsCut = gi.cvar( "g_TeamBeefDirectorsCut", "1", CVAR_ARCHIVE ); // Team Beef Director's Cut tweaks g_TeamBeefDirectorsCut = gi.cvar( "g_TeamBeefDirectorsCut", "1", CVAR_ARCHIVE ); // Team Beef Director's Cut tweaks
g_saberAutoDeflect1stPerson = gi.cvar( "g_saberAutoDeflect1stPerson", "0", CVAR_ARCHIVE );//Whether the saber will auto deflect missiles in first person g_saberAutoDeflect1stPerson = gi.cvar( "g_saberAutoDeflect1stPerson", "0", CVAR_ARCHIVE );//Whether the saber will auto deflect missiles in first person
g_saberAutoBlocking = gi.cvar( "g_saberAutoBlocking", "0", CVAR_CHEAT );//must press +block button to do any blocking g_saberAutoBlocking = gi.cvar( "g_saberAutoBlocking", "1", CVAR_CHEAT );//must press +block button to do any blocking
g_saberRealisticCombat = gi.cvar( "g_saberMoreRealistic", "3", CVAR_ARCHIVE );//makes collision more precise, increases damage g_saberRealisticCombat = gi.cvar( "g_saberMoreRealistic", "3", CVAR_ARCHIVE );//makes collision more precise, increases damage
debug_subdivision = gi.cvar( "debug_subdivision", "0", CVAR_ARCHIVE );//debug for dismemberment debug_subdivision = gi.cvar( "debug_subdivision", "0", CVAR_ARCHIVE );//debug for dismemberment
g_dismemberProbabilities = gi.cvar ( "g_dismemberProbabilities", "1", CVAR_ARCHIVE );//0 = ignore probabilities, 1 = use probabilities g_dismemberProbabilities = gi.cvar ( "g_dismemberProbabilities", "100", CVAR_ARCHIVE );//0 = ignore probabilities, 1 = use probabilities
g_saberDamageCapping = gi.cvar( "g_saberDamageCapping", "1", CVAR_CHEAT );//caps damage of sabers vs players and NPC who use sabers g_saberDamageCapping = gi.cvar( "g_saberDamageCapping", "1", CVAR_CHEAT );//caps damage of sabers vs players and NPC who use sabers
g_saberMoveSpeed = gi.cvar( "g_saberMoveSpeed", "1", CVAR_CHEAT );//how fast you run while attacking with a saber g_saberMoveSpeed = gi.cvar( "g_saberMoveSpeed", "1", CVAR_CHEAT );//how fast you run while attacking with a saber
g_saberAnimSpeed = gi.cvar( "g_saberAnimSpeed", "1.2", CVAR_CHEAT );//how fast saber animations run g_saberAnimSpeed = gi.cvar( "g_saberAnimSpeed", "1.2", CVAR_CHEAT );//how fast saber animations run

View file

@ -1602,7 +1602,7 @@ void R_Register( void )
r_vertexLight = ri.Cvar_Get( "r_vertexLight", "0", CVAR_ARCHIVE | CVAR_LATCH ); r_vertexLight = ri.Cvar_Get( "r_vertexLight", "0", CVAR_ARCHIVE | CVAR_LATCH );
r_subdivisions = ri.Cvar_Get ("r_subdivisions", "4", CVAR_ARCHIVE_ND | CVAR_LATCH); r_subdivisions = ri.Cvar_Get ("r_subdivisions", "4", CVAR_ARCHIVE_ND | CVAR_LATCH);
ri.Cvar_CheckRange( r_subdivisions, 0, 80, qfalse ); ri.Cvar_CheckRange( r_subdivisions, 0, 80, qfalse );
r_intensity = ri.Cvar_Get ("r_intensity", "1", CVAR_LATCH|CVAR_ARCHIVE_ND ); r_intensity = ri.Cvar_Get ("r_intensity", "1.07", CVAR_LATCH|CVAR_ARCHIVE );
// //
// temporary latched variables that can only change over a restart // temporary latched variables that can only change over a restart
@ -1632,7 +1632,11 @@ void R_Register( void )
// r_dlightBacks = ri.Cvar_Get( "r_dlightBacks", "0", CVAR_ARCHIVE ); // r_dlightBacks = ri.Cvar_Get( "r_dlightBacks", "0", CVAR_ARCHIVE );
r_finish = ri.Cvar_Get ("r_finish", "0", CVAR_ARCHIVE_ND); r_finish = ri.Cvar_Get ("r_finish", "0", CVAR_ARCHIVE_ND);
r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR", CVAR_ARCHIVE ); r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR", CVAR_ARCHIVE );
r_gamma = ri.Cvar_Get( "r_gamma", "1.027344", CVAR_ARCHIVE_ND ); if (strstr(ri.Cvar_VariableString("openXRHMD"), "pico") != NULL) {
r_gamma = ri.Cvar_Get( "r_gamma", "1.30", CVAR_ARCHIVE );
} else {
r_gamma = ri.Cvar_Get( "r_gamma", "1.15", CVAR_ARCHIVE );
}
r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE_ND ); r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE_ND );
r_dlightStyle = ri.Cvar_Get ("r_dlightStyle", "1", CVAR_ARCHIVE_ND); r_dlightStyle = ri.Cvar_Get ("r_dlightStyle", "1", CVAR_ARCHIVE_ND);

View file

@ -1542,7 +1542,7 @@ void R_Register( void )
r_vertexLight = ri.Cvar_Get( "r_vertexLight", "0", CVAR_ARCHIVE | CVAR_LATCH ); r_vertexLight = ri.Cvar_Get( "r_vertexLight", "0", CVAR_ARCHIVE | CVAR_LATCH );
r_subdivisions = ri.Cvar_Get ("r_subdivisions", "4", CVAR_ARCHIVE_ND | CVAR_LATCH); r_subdivisions = ri.Cvar_Get ("r_subdivisions", "4", CVAR_ARCHIVE_ND | CVAR_LATCH);
ri.Cvar_CheckRange( r_subdivisions, 0, 80, qfalse ); ri.Cvar_CheckRange( r_subdivisions, 0, 80, qfalse );
r_intensity = ri.Cvar_Get ("r_intensity", "1", CVAR_LATCH|CVAR_ARCHIVE_ND ); r_intensity = ri.Cvar_Get ("r_intensity", "1.07", CVAR_LATCH|CVAR_ARCHIVE );
// //
// temporary latched variables that can only change over a restart // temporary latched variables that can only change over a restart
@ -1568,7 +1568,11 @@ void R_Register( void )
// r_dlightBacks = ri.Cvar_Get( "r_dlightBacks", "0", CVAR_ARCHIVE ); // r_dlightBacks = ri.Cvar_Get( "r_dlightBacks", "0", CVAR_ARCHIVE );
r_finish = ri.Cvar_Get ("r_finish", "0", CVAR_ARCHIVE_ND); r_finish = ri.Cvar_Get ("r_finish", "0", CVAR_ARCHIVE_ND);
r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR", CVAR_ARCHIVE ); r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR", CVAR_ARCHIVE );
r_gamma = ri.Cvar_Get( "r_gamma", "1", CVAR_ARCHIVE_ND ); if (strstr(ri.Cvar_VariableString("openXRHMD"), "pico") != NULL) {
r_gamma = ri.Cvar_Get( "r_gamma", "1.30", CVAR_ARCHIVE );
} else {
r_gamma = ri.Cvar_Get( "r_gamma", "1.15", CVAR_ARCHIVE );
}
r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE_ND ); r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE_ND );
r_dlightStyle = ri.Cvar_Get ("r_dlightStyle", "1", CVAR_ARCHIVE_ND); r_dlightStyle = ri.Cvar_Get ("r_dlightStyle", "1", CVAR_ARCHIVE_ND);

View file

@ -299,7 +299,7 @@ void UI_Init( int apiVersion, uiimport_t *uiimport, qboolean inGameLoad )
ui.Cvar_Create( "cg_crosshairIdentifyTarget", "1", CVAR_ARCHIVE ); ui.Cvar_Create( "cg_crosshairIdentifyTarget", "1", CVAR_ARCHIVE );
ui.Cvar_Create( "g_subtitles", "0", CVAR_ARCHIVE ); ui.Cvar_Create( "g_subtitles", "0", CVAR_ARCHIVE );
ui.Cvar_Create( "cg_marks", "1", CVAR_ARCHIVE ); ui.Cvar_Create( "cg_marks", "1", CVAR_ARCHIVE );
ui.Cvar_Create( "d_slowmodeath", "3", CVAR_ARCHIVE ); ui.Cvar_Create( "d_slowmodeath", "4", CVAR_ARCHIVE );
ui.Cvar_Create( "cg_shadows", "1", CVAR_ARCHIVE ); ui.Cvar_Create( "cg_shadows", "1", CVAR_ARCHIVE );
ui.Cvar_Create( "cg_runpitch", "0.0", CVAR_ARCHIVE ); ui.Cvar_Create( "cg_runpitch", "0.0", CVAR_ARCHIVE );

View file

@ -2148,7 +2148,7 @@ void NPC_InitAI ( void )
//4 = kyle and last enemy in a group //4 = kyle and last enemy in a group
//5 = kyle and any enemy //5 = kyle and any enemy
//6 = also when kyle takes pain or enemy jedi dodges player saber swing or does an acrobatic evasion //6 = also when kyle takes pain or enemy jedi dodges player saber swing or does an acrobatic evasion
d_slowmodeath = gi.cvar ( "d_slowmodeath", "3", CVAR_ARCHIVE );//save this setting d_slowmodeath = gi.cvar ( "d_slowmodeath", "4", CVAR_ARCHIVE );//save this setting
d_saberCombat = gi.cvar ( "d_saberCombat", "0", CVAR_CHEAT ); d_saberCombat = gi.cvar ( "d_saberCombat", "0", CVAR_CHEAT );
} }

View file

@ -574,7 +574,7 @@ void G_InitCvars( void ) {
g_spskill = gi.cvar ("g_spskill", "0", CVAR_ARCHIVE | CVAR_SAVEGAME|CVAR_NORESTART); g_spskill = gi.cvar ("g_spskill", "0", CVAR_ARCHIVE | CVAR_SAVEGAME|CVAR_NORESTART);
g_knockback = gi.cvar( "g_knockback", "1000", CVAR_CHEAT ); g_knockback = gi.cvar( "g_knockback", "1000", CVAR_CHEAT );
g_dismemberment = gi.cvar ( "g_dismemberment", "3", CVAR_ARCHIVE );//0 = none, 1 = arms and hands, 2 = legs, 3 = waist and head, 4 = mega dismemberment g_dismemberment = gi.cvar ( "g_dismemberment", "3", CVAR_ARCHIVE );//0 = none, 1 = arms and hands, 2 = legs, 3 = waist and head, 4 = mega dismemberment
g_dismemberProbabilities = gi.cvar ( "g_dismemberProbabilities", "1", CVAR_ARCHIVE );//0 = ignore probabilities, 1 = use probabilities g_dismemberProbabilities = gi.cvar ( "g_dismemberProbabilities", "100", CVAR_ARCHIVE );//0 = ignore probabilities, 1 = use probabilities
g_synchSplitAnims = gi.cvar ( "g_synchSplitAnims", "1", 0 ); g_synchSplitAnims = gi.cvar ( "g_synchSplitAnims", "1", 0 );
g_inactivity = gi.cvar ("g_inactivity", "0", 0); g_inactivity = gi.cvar ("g_inactivity", "0", 0);
@ -589,7 +589,7 @@ void G_InitCvars( void ) {
g_TeamBeefDirectorsCut = gi.cvar( "g_TeamBeefDirectorsCut", "1", CVAR_ARCHIVE ); // Team Beef Director's Cut tweaks g_TeamBeefDirectorsCut = gi.cvar( "g_TeamBeefDirectorsCut", "1", CVAR_ARCHIVE ); // Team Beef Director's Cut tweaks
g_saberAutoDeflect1stPerson = gi.cvar( "g_saberAutoDeflect1stPerson", "0", CVAR_ARCHIVE );//Whether the saber will auto deflect missiles in first person g_saberAutoDeflect1stPerson = gi.cvar( "g_saberAutoDeflect1stPerson", "0", CVAR_ARCHIVE );//Whether the saber will auto deflect missiles in first person
g_saberAutoBlocking = gi.cvar( "g_saberAutoBlocking", "0", CVAR_ARCHIVE|CVAR_CHEAT );//must press +block button to do any blocking g_saberAutoBlocking = gi.cvar( "g_saberAutoBlocking", "1", CVAR_ARCHIVE|CVAR_CHEAT );//must press +block button to do any blocking
g_saberRealisticCombat = gi.cvar( "g_saberRealisticCombat", "1", CVAR_ARCHIVE );//makes collision more precise, increases damage g_saberRealisticCombat = gi.cvar( "g_saberRealisticCombat", "1", CVAR_ARCHIVE );//makes collision more precise, increases damage
g_saberMoveSpeed = gi.cvar( "g_saberMoveSpeed", "1", CVAR_ARCHIVE|CVAR_CHEAT );//how fast you run while attacking with a saber g_saberMoveSpeed = gi.cvar( "g_saberMoveSpeed", "1", CVAR_ARCHIVE|CVAR_CHEAT );//how fast you run while attacking with a saber
g_saberAnimSpeed = gi.cvar( "g_saberAnimSpeed", "1.2", CVAR_ARCHIVE|CVAR_CHEAT );//how fast saber animations run g_saberAnimSpeed = gi.cvar( "g_saberAnimSpeed", "1.2", CVAR_ARCHIVE|CVAR_CHEAT );//how fast saber animations run

View file

@ -747,7 +747,7 @@ window_t WIN_Init( const windowDesc_t *windowDesc, glconfig_t *glConfig )
r_stencilbits = Cvar_Get( "r_stencilbits", "8", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_stencilbits = Cvar_Get( "r_stencilbits", "8", CVAR_ARCHIVE_ND|CVAR_LATCH );
r_depthbits = Cvar_Get( "r_depthbits", "24", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_depthbits = Cvar_Get( "r_depthbits", "24", CVAR_ARCHIVE_ND|CVAR_LATCH );
r_colorbits = Cvar_Get( "r_colorbits", "32", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_colorbits = Cvar_Get( "r_colorbits", "32", CVAR_ARCHIVE_ND|CVAR_LATCH );
r_ignorehwgamma = Cvar_Get( "r_ignorehwgamma", "0", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_ignorehwgamma = Cvar_Get( "r_ignorehwgamma", "1", CVAR_ARCHIVE|CVAR_LATCH );
r_ext_multisample = Cvar_Get( "r_ext_multisample", "0", CVAR_ARCHIVE_ND|CVAR_LATCH ); r_ext_multisample = Cvar_Get( "r_ext_multisample", "0", CVAR_ARCHIVE_ND|CVAR_LATCH );
Cvar_Get( "r_availableModes", "", CVAR_ROM ); Cvar_Get( "r_availableModes", "", CVAR_ROM );

View file

@ -1,191 +0,0 @@
// generated by OpenJK SP, do not modify
unbindall
bind "SHIFT" "+speed"
bind "CTRL" "+use"
bind "ALT" "+altattack"
bind "TAB" "datapad"
bind "ENTER" "invuse"
bind "KP_PGDN" "use_seeker"
bind "KP_LEFTARROW" "use_lightamp_goggles"
bind "KP_5" "use_sentry"
bind "F1" "force_throw"
bind "F2" "force_pull"
bind "F3" "force_speed"
bind "F4" "force_distract"
bind "SPACE" "+moveup"
bind "," "+moveleft"
bind "-" "weapon 0"
bind "." "+moveright"
bind "/" "+mlook"
bind "0" "weapon 10"
bind "1" "weapon 1"
bind "2" "weapon 2"
bind "3" "weapon 3"
bind "4" "weapon 4"
bind "5" "weapon 5"
bind "6" "weapon 6"
bind "7" "weapon 7"
bind "8" "weapon 8"
bind "9" "weapon 9"
bind "A" "+moveleft"
bind "B" "use_bacta"
bind "C" "+movedown"
bind "D" "+moveright"
bind "E" "+use"
bind "F" "+useforce"
bind "G" "zoom"
bind "L" "saberAttackCycle"
bind "M" "datapad"
bind "P" "cg_thirdperson !"
bind "Q" "weapprev"
bind "R" "weapnext"
bind "S" "+back"
bind "V" "+strafe"
bind "W" "+forward"
bind "X" "forcenext"
bind "Z" "forceprev"
bind "[" "invprev"
bind "\" "weapongrabbed"
bind "]" "invnext"
bind "`" "toggleconsole"
bind "~" "toggleconsole"
bind "F5" "force_heal"
bind "F6" "+force_grip"
bind "F7" "+force_lightning"
bind "MWHEELUP" "weapprev"
bind "MWHEELDOWN" "weapnext"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+altattack"
bind "PGUP" "+lookup"
bind "F9" "load quik"
bind "F10" "uimenu ingameloadmenu"
bind "F11" "uimenu ingamesavemenu"
bind "F12" "save quik*"
bind "END" "centerview"
bind "PGDN" "+lookdown"
bind "MOUSE3" "zoom"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
seta cg_autoswitch "1"
seta cg_bobpitch "0.002"
seta cg_bobroll "0.002"
seta cg_bobup "0.0"
seta cg_crosshairForceHint "1"
seta cg_crosshairIdentifyTarget "1"
seta cg_crosshairSize "18"
seta cg_crosshairX "0"
seta cg_crosshairY "0"
seta cg_draw2D "1"
seta cg_drawAmmoWarning "1"
seta cg_drawCrosshair "4"
seta cg_drawCrosshairForce "4"
seta cg_drawFPS "0"
seta cg_drawGun "1"
seta cg_drawSnapshot "0"
seta cg_drawStatus "1"
seta cg_drawTimer "0"
seta cg_dynamicCrosshair "1"
seta cg_forceSpeedFOVAdjust "1"
seta cg_fov "80"
seta cg_fovAspectAdjust "0"
seta cg_fovViewModel "0"
seta cg_fovViewmodelAdjust "1"
seta cg_gunAutoFirst "1"
seta cg_heightAdjust "0.0"
seta cg_hudFiles "ui/jk2hud.txt"
seta cg_marks "1"
seta cg_missionInfoCentered "1"
seta cg_reliableAnimSounds "1"
seta cg_runpitch "0.002"
seta cg_runroll "0.005"
seta cg_saberAutoThird "0"
seta cg_shadows "1"
seta cg_simpleItems "0"
seta cg_stereoSeparation "0.065"
seta cg_thirdPersonRange "80"
seta cg_worldScale "33.5"
seta cg_zProj "64"
seta cl_consoleKeys "~ ` 0x7e 0x60 0xb2"
seta cl_consoleUseScanCode "1"
seta cl_renderer "rd-gles-jo"
seta com_maxfps "125"
seta d_slowmodeath "4"
seta expanded_menu_enabled "0"
seta g_TeamBeefDirectorsCut "1"
seta g_JKXRHelpEnabled "1"
seta g_dismemberment "3"
seta g_dismemberprobabilities "100"
seta g_saberAnimSpeed "1.200000"
seta g_saberAutoAim "1"
seta g_saberAutoBlocking "1"
seta g_saberAutoDeflect1stPerson "0"
seta g_saberMoveSpeed "1"
seta g_saberRealisticCombat "1"
seta g_spskill "1"
seta g_subtitles "0"
seta r_centerWindow "0"
seta r_customheight "1024"
seta r_customwidth "1600"
seta r_dynamiclight "1"
seta r_fullscreen "0"
seta r_mode "4"
seta r_modelpoolmegs "20"
seta r_noborder "0"
seta r_picmip "0"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_vertexLight "0"
seta r_gamma "1.3"
seta r_intensity "1.07"
seta r_ignorehwgamma "1"
seta s_initsound "1"
seta s_khz "44"
seta s_language "english"
seta s_mixPreStep "0.05"
seta s_mixahead "0.2"
seta s_mp3overhead "31776"
seta s_musicvolume "0.25"
seta s_separation "0.5"
seta s_soundpoolmegs "25"
seta s_volume "0.5"
seta s_volumeVoice "1.0"
seta se_language "english"
seta sensitivity "5"
seta sex "male"
seta sp_language "0"
seta ui_PrecacheModels "1"
seta ui_iscensored "0"
seta ui_menuFiles "ui/menus.txt"
seta ui_r_glCustom "4"
seta ui_screenshotType "jpg"
seta vr_control_scheme "0"
seta vr_immersive_cinematics "1"
seta vr_positional_factor "12"
seta vr_screen_dist "3.500000"
seta vr_switch_sticks "0"
seta vr_turn_angle "45"
seta vr_turn_mode "0"
seta vr_two_handed_weapons "1"
seta vr_virtual_stock "0"
seta vr_walkdirection "1"
seta vr_weapon_adjustment_1 "0.55,-4.89,8.12,-12.36,-28.60,10.80,-199.50"
seta vr_weapon_adjustment_10 "1.624,-3.042,6.823,-9.175,24.600,0.000,-26.400"
seta vr_weapon_adjustment_11 "0.998,-5.711,9.158,-9.740,29.900,0.000,-15.200"
seta vr_weapon_adjustment_12 "1.424,-2.107,6.236,-8.006,29.900,0.000,-23.100"
seta vr_weapon_adjustment_13 "1.000,-6.500,9.240,-12.680,15.300,0.000,0.000"
seta vr_weapon_adjustment_14 "0.52,-12.87,13.29,-22.09,11.30,26.60,-3.40"
seta vr_weapon_adjustment_18 "0.510,-8.235,10.706,-3.922,-5.600,0.400,0.000"
seta vr_weapon_adjustment_19 "0.43,-8.97,13.22,-21.68,-4.80,-4.50,-0.40"
seta vr_weapon_adjustment_2 "0.952,-3.908,4.874,-9.349,0.000,0.000,0.000"
seta vr_weapon_adjustment_20 "0.44,-13.55,12.79,-26.06,0.30,-1.40,-0.40"
seta vr_weapon_adjustment_22 "0.64,-12.59,12.94,-20.44,11.30,26.60,-3.40"
seta vr_weapon_adjustment_3 "0.884,-4.140,7.036,-10.204,-0.000,0.000,0.000"
seta vr_weapon_adjustment_4 "0.844,-3.555,9.526,-3.246,0.000,0.000,0.000"
seta vr_weapon_adjustment_5 "1.500,-2.747,5.707,-7.827,1.800,0.000,0.000"
seta vr_weapon_adjustment_6 "0.700,-4.029,10.714,-6.771,0.000,0.000,0.000"
seta vr_weapon_adjustment_7 "0.844,-4.787,9.526,-9.550,0.000,0.000,0.000"
seta vr_weapon_adjustment_8 "1.000,-4.780,8.240,-10.440,0.000,0.000,0.000"
seta vr_weapon_adjustment_9 "1.100,-4.036,7.309,-7.836,0.000,0.000,0.000"
seta vr_weapon_pitchadjust "-20.0"
seta vr_weapon_velocity_trigger "2"

View file

@ -1,191 +0,0 @@
// generated by OpenJK SP, do not modify
unbindall
bind "SHIFT" "+speed"
bind "CTRL" "+use"
bind "ALT" "+altattack"
bind "TAB" "datapad"
bind "ENTER" "invuse"
bind "KP_PGDN" "use_seeker"
bind "KP_LEFTARROW" "use_lightamp_goggles"
bind "KP_5" "use_sentry"
bind "F1" "force_throw"
bind "F2" "force_pull"
bind "F3" "force_speed"
bind "F4" "force_distract"
bind "SPACE" "+moveup"
bind "," "+moveleft"
bind "-" "weapon 0"
bind "." "+moveright"
bind "/" "+mlook"
bind "0" "weapon 10"
bind "1" "weapon 1"
bind "2" "weapon 2"
bind "3" "weapon 3"
bind "4" "weapon 4"
bind "5" "weapon 5"
bind "6" "weapon 6"
bind "7" "weapon 7"
bind "8" "weapon 8"
bind "9" "weapon 9"
bind "A" "+moveleft"
bind "B" "use_bacta"
bind "C" "+movedown"
bind "D" "+moveright"
bind "E" "+use"
bind "F" "+useforce"
bind "G" "zoom"
bind "L" "saberAttackCycle"
bind "M" "datapad"
bind "P" "cg_thirdperson !"
bind "Q" "weapprev"
bind "R" "weapnext"
bind "S" "+back"
bind "V" "+strafe"
bind "W" "+forward"
bind "X" "forcenext"
bind "Z" "forceprev"
bind "[" "invprev"
bind "\" "weapongrabbed"
bind "]" "invnext"
bind "`" "toggleconsole"
bind "~" "toggleconsole"
bind "F5" "force_heal"
bind "F6" "+force_grip"
bind "F7" "+force_lightning"
bind "MWHEELUP" "weapprev"
bind "MWHEELDOWN" "weapnext"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+altattack"
bind "PGUP" "+lookup"
bind "F9" "load quik"
bind "F10" "uimenu ingameloadmenu"
bind "F11" "uimenu ingamesavemenu"
bind "F12" "save quik*"
bind "END" "centerview"
bind "PGDN" "+lookdown"
bind "MOUSE3" "zoom"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
seta cg_autoswitch "1"
seta cg_bobpitch "0.002"
seta cg_bobroll "0.002"
seta cg_bobup "0.0"
seta cg_crosshairForceHint "1"
seta cg_crosshairIdentifyTarget "1"
seta cg_crosshairSize "18"
seta cg_crosshairX "0"
seta cg_crosshairY "0"
seta cg_draw2D "1"
seta cg_drawAmmoWarning "1"
seta cg_drawCrosshair "4"
seta cg_drawCrosshairForce "4"
seta cg_drawFPS "0"
seta cg_drawGun "1"
seta cg_drawSnapshot "0"
seta cg_drawStatus "1"
seta cg_drawTimer "0"
seta cg_dynamicCrosshair "1"
seta cg_forceSpeedFOVAdjust "1"
seta cg_fov "80"
seta cg_fovAspectAdjust "0"
seta cg_fovViewModel "0"
seta cg_fovViewmodelAdjust "1"
seta cg_gunAutoFirst "1"
seta cg_heightAdjust "0.0"
seta cg_hudFiles "ui/jk2hud.txt"
seta cg_marks "1"
seta cg_missionInfoCentered "1"
seta cg_reliableAnimSounds "1"
seta cg_runpitch "0.002"
seta cg_runroll "0.005"
seta cg_saberAutoThird "0"
seta cg_shadows "1"
seta cg_simpleItems "0"
seta cg_stereoSeparation "0.065"
seta cg_thirdPersonRange "80"
seta cg_worldScale "33.5"
seta cg_zProj "64"
seta cl_consoleKeys "~ ` 0x7e 0x60 0xb2"
seta cl_consoleUseScanCode "1"
seta cl_renderer "rd-gles-jo"
seta com_maxfps "125"
seta d_slowmodeath "4"
seta expanded_menu_enabled "0"
seta g_TeamBeefDirectorsCut "1"
seta g_JKXRHelpEnabled "1"
seta g_dismemberment "3"
seta g_dismemberprobabilities "100"
seta g_saberAnimSpeed "1.200000"
seta g_saberAutoAim "1"
seta g_saberAutoBlocking "1"
seta g_saberAutoDeflect1stPerson "0"
seta g_saberMoveSpeed "1"
seta g_saberRealisticCombat "1"
seta g_spskill "1"
seta g_subtitles "0"
seta r_centerWindow "0"
seta r_customheight "1024"
seta r_customwidth "1600"
seta r_dynamiclight "1"
seta r_fullscreen "0"
seta r_mode "4"
seta r_modelpoolmegs "20"
seta r_noborder "0"
seta r_picmip "0"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_vertexLight "0"
seta r_gamma "1.15"
seta r_intensity "1.07"
seta r_ignorehwgamma "1"
seta s_initsound "1"
seta s_khz "44"
seta s_language "english"
seta s_mixPreStep "0.05"
seta s_mixahead "0.2"
seta s_mp3overhead "31776"
seta s_musicvolume "0.25"
seta s_separation "0.5"
seta s_soundpoolmegs "25"
seta s_volume "0.5"
seta s_volumeVoice "1.0"
seta se_language "english"
seta sensitivity "5"
seta sex "male"
seta sp_language "0"
seta ui_PrecacheModels "1"
seta ui_iscensored "0"
seta ui_menuFiles "ui/menus.txt"
seta ui_r_glCustom "4"
seta ui_screenshotType "jpg"
seta vr_control_scheme "0"
seta vr_immersive_cinematics "1"
seta vr_positional_factor "12"
seta vr_screen_dist "3.500000"
seta vr_switch_sticks "0"
seta vr_turn_angle "45"
seta vr_turn_mode "0"
seta vr_two_handed_weapons "1"
seta vr_virtual_stock "0"
seta vr_walkdirection "1"
seta vr_weapon_adjustment_1 "0.55,-4.89,8.12,-12.36,-28.60,10.80,-199.50"
seta vr_weapon_adjustment_10 "1.624,-3.042,6.823,-9.175,24.600,0.000,-26.400"
seta vr_weapon_adjustment_11 "0.998,-5.711,9.158,-9.740,29.900,0.000,-15.200"
seta vr_weapon_adjustment_12 "1.424,-2.107,6.236,-8.006,29.900,0.000,-23.100"
seta vr_weapon_adjustment_13 "1.000,-6.500,9.240,-12.680,15.300,0.000,0.000"
seta vr_weapon_adjustment_14 "0.52,-12.87,13.29,-22.09,11.30,26.60,-3.40"
seta vr_weapon_adjustment_18 "0.510,-8.235,10.706,-3.922,-5.600,0.400,0.000"
seta vr_weapon_adjustment_19 "0.43,-8.97,13.22,-21.68,-4.80,-4.50,-0.40"
seta vr_weapon_adjustment_2 "0.952,-3.908,4.874,-9.349,0.000,0.000,0.000"
seta vr_weapon_adjustment_20 "0.44,-13.55,12.79,-26.06,0.30,-1.40,-0.40"
seta vr_weapon_adjustment_22 "0.64,-12.59,12.94,-20.44,11.30,26.60,-3.40"
seta vr_weapon_adjustment_3 "0.884,-4.140,7.036,-10.204,-0.000,0.000,0.000"
seta vr_weapon_adjustment_4 "0.844,-3.555,9.526,-3.246,0.000,0.000,0.000"
seta vr_weapon_adjustment_5 "1.500,-2.747,5.707,-7.827,1.800,0.000,0.000"
seta vr_weapon_adjustment_6 "0.700,-4.029,10.714,-6.771,0.000,0.000,0.000"
seta vr_weapon_adjustment_7 "0.844,-4.787,9.526,-9.550,0.000,0.000,0.000"
seta vr_weapon_adjustment_8 "1.000,-4.780,8.240,-10.440,0.000,0.000,0.000"
seta vr_weapon_adjustment_9 "1.100,-4.036,7.309,-7.836,0.000,0.000,0.000"
seta vr_weapon_pitchadjust "-20.0"
seta vr_weapon_velocity_trigger "2"

View file

@ -229,15 +229,6 @@ import java.util.Vector;
copy_asset("/sdcard/JKXR/JK3/base", "z_vr_assets_base.pk3", true); copy_asset("/sdcard/JKXR/JK3/base", "z_vr_assets_base.pk3", true);
copy_asset("/sdcard/JKXR/JK3/base", "z_vr_assets_jka.pk3", true); copy_asset("/sdcard/JKXR/JK3/base", "z_vr_assets_jka.pk3", true);
//Bummser's default configuration
if (manufacturer.contains("meta")) {
//Meta Quest
copy_asset_with_rename("/sdcard/JKXR/JK2/base", "openjo_sp_quest.cfg", "openjo_sp.cfg", false);
} else {
//Pico XR
copy_asset_with_rename("/sdcard/JKXR/JK2/base", "openjo_sp_pico.cfg", "openjo_sp.cfg", false);
}
//Bunch of cool mods and their credits - only copy if user wants them //Bunch of cool mods and their credits - only copy if user wants them
if (!new File("/sdcard/JKXR/JK2/base/no_copy").exists()) { if (!new File("/sdcard/JKXR/JK2/base/no_copy").exists()) {
copy_asset("/sdcard/JKXR/JK2/base", "packaged_mods_credits.txt", false); copy_asset("/sdcard/JKXR/JK2/base", "packaged_mods_credits.txt", false);