}
else
dprint("No model parameters for ", e.model, "\n");
- dprint(e.model, " uses ", ftos(e.bone_upperbody), " ", ftos(e.fixbone), "\n");
+ //dprint(e.model, " uses ", ftos(e.bone_upperbody), " ", ftos(e.fixbone), "\n");
get_model_parameters(string_null, 0);
e.skeleton_info_modelindex = e.modelindex;
e.skeleton_info_skin = e.skin;
backward = vectoangles(normalize(level_start - level_end));
if(self.movement_x < 0) // left
- self.angles = backward;
+ self.angles_y = backward_y;
if(self.movement_x > 0) // right
- self.angles = forward;
+ self.angles_y = forward_y;
if(oldmovement_x > 0)
#ifdef CSQC
backward = vectoangles(normalize(vec_to_max(position_b, position_a) - vec_to_min(position_b, position_a)));
if(input_movevalues_y < 0) // left
- view.angles = backward;
+ view.angles_y = backward_y;
if(input_movevalues_y > 0) // favour right
- view.angles = forward;
+ view.angles_y = forward_y;
setproperty(VF_CL_VIEWANGLES, view.angles);
}