mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-30 16:31:03 +00:00
cvar_archive hdr, pm_modelview, pm_thirdperson
This should fix hdr always resetting every time the game is restarted, thirdperson view sometimes not enabled by default, and the need for pm_modelview to be turned on for cross hair trace line origin fix. Also cleaned up formatting around hdr cvars, and third person camera cvars.
This commit is contained in:
parent
825f5f8372
commit
72f407bbd7
1 changed files with 32 additions and 34 deletions
|
@ -268,17 +268,16 @@ idCVar pm_runroll( "pm_runroll", "0.005", CVAR_GAME | CVAR_NETWORKSYNC |
|
||||||
idCVar pm_bobup( "pm_bobup", "0.005", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_FLOAT, "" );
|
idCVar pm_bobup( "pm_bobup", "0.005", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_FLOAT, "" );
|
||||||
idCVar pm_bobpitch( "pm_bobpitch", "0.002", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_FLOAT, "" );
|
idCVar pm_bobpitch( "pm_bobpitch", "0.002", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_FLOAT, "" );
|
||||||
idCVar pm_bobroll( "pm_bobroll", "0.002", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_FLOAT, "" );
|
idCVar pm_bobroll( "pm_bobroll", "0.002", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_FLOAT, "" );
|
||||||
|
idCVar pm_airTics( "pm_air", "1800", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_INTEGER, "how long in milliseconds the player can go without air before he starts taking damage" );
|
||||||
|
|
||||||
idCVar pm_thirdPersonRange( "pm_thirdPersonRange", "75", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "camera distance from player in 3rd person" );
|
idCVar pm_thirdPersonRange( "pm_thirdPersonRange", "75", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "camera distance from player in 3rd person" );
|
||||||
idCVar pm_thirdPersonHeight( "pm_thirdPersonHeight", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "height of camera from normal view height in 3rd person" );
|
idCVar pm_thirdPersonHeight( "pm_thirdPersonHeight", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "height of camera from normal view height in 3rd person" );
|
||||||
idCVar pm_thirdPersonAngle( "pm_thirdPersonAngle", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "direction of camera from player in 3rd person in degrees (0 = behind player, 180 = in front)" );
|
idCVar pm_thirdPersonAngle( "pm_thirdPersonAngle", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "direction of camera from player in 3rd person in degrees (0 = behind player, 180 = in front)" );
|
||||||
idCVar pm_thirdPersonClip( "pm_thirdPersonClip", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "clip third person view into world space" );
|
idCVar pm_thirdPersonClip( "pm_thirdPersonClip", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "clip third person view into world space" );
|
||||||
idCVar pm_thirdPerson( "pm_thirdPerson", "1", CVAR_GAME | CVAR_NETWORKSYNC |CVAR_BOOL, "enables third person view" ); //ivan
|
idCVar pm_thirdPerson( "pm_thirdPerson", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_BOOL, "enables third person view" ); //ivan
|
||||||
idCVar pm_thirdPersonDeath( "pm_thirdPersonDeath", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "enables third person view when player dies" );
|
idCVar pm_thirdPersonDeath( "pm_thirdPersonDeath", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "enables third person view when player dies" );
|
||||||
idCVar pm_modelView( "pm_modelView", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_INTEGER, "draws camera from POV of a player models joint. (1 = always, 2 = when dead)", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> ); //2018 Revility. 3rdperson crosshair fix
|
idCVar pm_modelView( "pm_modelView", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_INTEGER, "draws camera from POV of a player model's joint (1 = always, 2 = when dead)", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> );
|
||||||
idCVar pm_airTics( "pm_air", "1800", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_INTEGER, "how long in milliseconds the player can go without air before he starts taking damage" );
|
|
||||||
////REVILITY START OFFSETS THE THIRDPERSON CAMERA LEFT TO RIGHT
|
|
||||||
idCVar pm_thirdPersonSideScale( "pm_thirdPersonSideScale", "-0.45", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "offsets camera from left to right in 3rd person. 0 is center. use negatives to move right and decimals for small offsets." );
|
idCVar pm_thirdPersonSideScale( "pm_thirdPersonSideScale", "-0.45", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "offsets camera from left to right in 3rd person. 0 is center. use negatives to move right and decimals for small offsets." );
|
||||||
////REVILITY END OFFSETS THE THIRDPERSON CAMERA LEFT TO RIGHT
|
|
||||||
|
|
||||||
idCVar g_showPlayerShadow( "g_showPlayerShadow", "0", CVAR_GAME | CVAR_ARCHIVE | CVAR_BOOL, "enables shadow of player model" );
|
idCVar g_showPlayerShadow( "g_showPlayerShadow", "0", CVAR_GAME | CVAR_ARCHIVE | CVAR_BOOL, "enables shadow of player model" );
|
||||||
idCVar g_showHud( "g_showHud", "1", CVAR_GAME | CVAR_ARCHIVE | CVAR_BOOL, "" );
|
idCVar g_showHud( "g_showHud", "1", CVAR_GAME | CVAR_ARCHIVE | CVAR_BOOL, "" );
|
||||||
|
@ -353,11 +352,10 @@ idCVar g_grabberEnableShake( "g_grabberEnableShake", "1", CVAR_GAME | CVAR_B
|
||||||
idCVar g_grabberRandomMotion( "g_grabberRandomMotion", "1", CVAR_GAME | CVAR_BOOL | CVAR_CHEAT, "enable random motion on the grabbed object" );
|
idCVar g_grabberRandomMotion( "g_grabberRandomMotion", "1", CVAR_GAME | CVAR_BOOL | CVAR_CHEAT, "enable random motion on the grabbed object" );
|
||||||
idCVar g_grabberHardStop( "g_grabberHardStop", "1", CVAR_GAME | CVAR_BOOL | CVAR_CHEAT, "hard stops object if too fast" );
|
idCVar g_grabberHardStop( "g_grabberHardStop", "1", CVAR_GAME | CVAR_BOOL | CVAR_CHEAT, "hard stops object if too fast" );
|
||||||
idCVar g_grabberDamping( "g_grabberDamping", "0.5", CVAR_GAME | CVAR_FLOAT | CVAR_CHEAT, "damping of grabber" );
|
idCVar g_grabberDamping( "g_grabberDamping", "0.5", CVAR_GAME | CVAR_FLOAT | CVAR_CHEAT, "damping of grabber" );
|
||||||
//rev grab
|
|
||||||
|
|
||||||
// HDR related - J.C.Denton
|
// HDR related - J.C.Denton
|
||||||
|
idCVar r_HDR_enable ( "r_HDR_enable", "1", CVAR_GAME | CVAR_ARCHIVE | CVAR_BOOL, " Enables HDR Rendering & post-processing.");
|
||||||
idCVar r_HDR_enable ( "r_HDR_enable", "1", CVAR_GAME | CVAR_BOOL, " Enables HDR Rendering & post-processing.");
|
|
||||||
idCVar r_HDR_enableDebugMode ( "r_HDR_enableDebugMode", "0", CVAR_GAME | CVAR_INTEGER, " Shows all the textures generated for HDR postprocess. \n 1: Shows all textures \n 2: Decodes and shows all textures");
|
idCVar r_HDR_enableDebugMode ( "r_HDR_enableDebugMode", "0", CVAR_GAME | CVAR_INTEGER, " Shows all the textures generated for HDR postprocess. \n 1: Shows all textures \n 2: Decodes and shows all textures");
|
||||||
idCVar r_HDR_postProcess ( "r_HDR_postProcess", "1", CVAR_GAME | CVAR_INTEGER, " Activates HDR bloom . \n 1: HDR Bloom with automatic eye exposure ");
|
idCVar r_HDR_postProcess ( "r_HDR_postProcess", "1", CVAR_GAME | CVAR_INTEGER, " Activates HDR bloom . \n 1: HDR Bloom with automatic eye exposure ");
|
||||||
idCVar r_HDR_middleGray ( "r_HDR_middleGray", "0.1", CVAR_GAME | CVAR_FLOAT, " Middle gray value for overall scene . Range 0 - 1. (Works only when automatic exposure is on) ");
|
idCVar r_HDR_middleGray ( "r_HDR_middleGray", "0.1", CVAR_GAME | CVAR_FLOAT, " Middle gray value for overall scene . Range 0 - 1. (Works only when automatic exposure is on) ");
|
||||||
|
@ -382,6 +380,6 @@ idCVar r_HDR_vignetteBias ( "r_HDR_vignetteBias", "0.45", CVAR_GAME | CVAR
|
||||||
|
|
||||||
|
|
||||||
//Ivan start
|
//Ivan start
|
||||||
idCVar s_music_volume( "s_music_volume", "0", CVAR_GAME | CVAR_INTEGER | CVAR_ARCHIVE, "In-game music volume." );
|
idCVar s_music_volume ( "s_music_volume", "0", CVAR_GAME | CVAR_INTEGER | CVAR_ARCHIVE, "In-game music volume." );
|
||||||
idCVar ruiner_bind_run_once( "ruiner_bind_run_once", "0", CVAR_GAME | CVAR_BOOL | CVAR_ARCHIVE, "Rebind all controls once for Ruiner." );
|
idCVar ruiner_bind_run_once ( "ruiner_bind_run_once", "0", CVAR_GAME | CVAR_BOOL | CVAR_ARCHIVE, "Rebind all controls once for Ruiner." );
|
||||||
//Ivan end
|
//Ivan end
|
||||||
|
|
Loading…
Reference in a new issue