Another stupid view question

JNightshade

Newbie
Joined
Nov 20, 2004
Messages
2,273
Reaction score
0
Does anyone know of a command to offset the player model in thirdperson mode? cam_idealyaw doesn't actually change the model, it changes the view. I'd like to have a character be a bit more to the right of the crosshair (trying to go for a RE4-style camera). Thanks.
 
if you want him a bit right of the camera then move the camera abit left. it would be exactly the same.
 
no, I phrased it badly. What I meant was, cam_idealyaw ROTATES the camera. I simply want it transposed a bit, so he's to the right.
 
no, I don't think so. Distance places the camera a certain distance from the player, and pitch rotates up or down around the player.

Grr! This is really bugging me- I'm pretty sure I've run out of cam commands.
 
ill have a look now. ok could be some of these

static ConVar c_orthowidth( "c_orthowidth", "100", FCVAR_ARCHIVE );
static ConVar c_orthoheight( "c_orthoheight", "100", FCVAR_ARCHIVE );

if your using a third person camera code then its probally this:

tatic kbutton_t cam_pitchup, cam_pitchdown, cam_yawleft, cam_yawright;
static kbutton_t cam_in, cam_out, cam_move;

yaw left and right bit.

otherwise could be this?

#define CAM_DIST_DELTA 1.0
#define CAM_ANGLE_DELTA 2.5
#define CAM_ANGLE_SPEED 2.5
#define CAM_MIN_DIST 30.0
#define CAM_ANGLE_MOVE .5
#define MAX_ANGLE_DIFF 10.0
#define PITCH_MAX 90.0
#define PITCH_MIN 0
#define YAW_MAX 135.0
#define YAW_MIN -135.0
 
yeah... but I've pretty much lost interest at this point. I <3 ADD.
 
Back
Top