Doom III Engine

Anything that has nothing to do with hexen.
User avatar
RaVeN
Finished the First Round!
Posts: 258
Joined: Tue Aug 11, 2009 10:03 pm
Location: Ukraine
Contact:

Doom III Engine

Postby RaVeN » Fri Nov 23, 2012 2:31 pm

Need some help: can you provide tutorial how to modify death camera angle.
After you die in doom3 camera is rotated at some angle how to make it not rotate? guess angle 0 *C

deadite4
Site Admin
Posts: 654
Joined: Fri Aug 07, 2009 2:58 pm
Location: Any Town, USA
Contact:

Re: Doom III Engine

Postby deadite4 » Sun Nov 25, 2012 9:11 pm

I haven't confirmed it but most likely in player.def

"pm_deadheight" "20"
"pm_deadviewheight" "10"
Sounds Great. Do it again.

User avatar
RaVeN
Finished the First Round!
Posts: 258
Joined: Tue Aug 11, 2009 10:03 pm
Location: Ukraine
Contact:

Re: Doom III Engine

Postby RaVeN » Wed Jan 30, 2013 2:29 pm

I am return back to that issue and have fixed it
player.cpp
----------
void idPlayer::GetViewPos( idVec3 &origin, idMat3 &axis ) const {
idAngles angles;

// if dead, fix the angle and don't add any kick
if ( health <= 0 ) {
angles.yaw = viewAngles.yaw;
angles.roll = 0; // i am fixed death camera from 40 to 0, as i more like old school fps'es =) its now like doom2, i suggest you use same in your project, hexen 1 has same death camera
angles.pitch = -15;
axis = angles.ToMat3();
origin = GetEyePosition();
} else {
.................


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest