mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-01-31 04:50:45 +00:00
pm_projectileorigin added
new cvar to enable and disable the new projectile direction correction for weapons. check the weapon.cpp for more info.
This commit is contained in:
parent
10be5f2713
commit
d92edb81e2
2 changed files with 5 additions and 3 deletions
|
@ -279,6 +279,7 @@ idCVar pm_thirdPersonDeath( "pm_thirdPersonDeath", "0", CVAR_GAME | CVAR_NE
|
|||
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_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_crossHairOrigin( "pm_crossHairOrigin", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "Set to 1 to use the player's right hand to draw from. Improves aiming around corners and less crosshair sticking. set to 0 to draw from camera origin & less bobbing." );
|
||||
idCVar pm_projectileOrigin( "pm_projectileOrigin", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "Set to 1 to launch projectiles from the weapon's world model barrel joint & towards the crosshair. Launchfrombarrel needs to be set to 0 in projectile def to enable." );
|
||||
|
||||
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, "" );
|
||||
|
|
|
@ -202,10 +202,11 @@ extern idCVar pm_thirdPerson;
|
|||
extern idCVar pm_thirdPersonDeath;
|
||||
extern idCVar pm_modelView;
|
||||
extern idCVar pm_airTics;
|
||||
////REVILITY START OFFSETS THE THIRDPERSON CAMERA LEFT TO RIGHT
|
||||
extern idCVar pm_thirdPersonSideScale;
|
||||
|
||||
extern idCVar pm_thirdPersonSideScale; //rev 2018
|
||||
extern idCVar pm_crossHairOrigin; //rev 2018
|
||||
////REVILITY END OFFSETS THE THIRDPERSON CAMERA LEFT TO RIGHT
|
||||
extern idCVar pm_projectileOrigin; //rev 2018
|
||||
|
||||
|
||||
extern idCVar g_showPlayerShadow;
|
||||
extern idCVar g_showHud;
|
||||
|
|
Loading…
Reference in a new issue