I've recently begun digging through the SDK and trying my hand at
coding seeing as I have so much free time now after graduation (and a
crappy economy).

I'm trying to create a 3rd-person, over-the-shoulder camera ala Gears
of War, complete with an aiming mode that dynamically zooms the camera
(and moves it "intelligently" to keep the player view open).

I got one working all nice and lovely, but the file I modified was
clientmode_shared.cpp. I realized this was likely a poor decision
since it causes muzzle flashes and shell ejections to be messed up.
Also, OB (I'm using the beta SDK) already has a 3rd person camera, so I
thought I would try to modify that. However, upon looking in
in_camera.cpp (the cam_think functions) it appears I only have control
over the distance of the camera away from the player as well as the
pitch and yaw of the camera. I can't, for the life of me, figure out
how to shift the origin of the camera up and to the right like I want.

Does anyone have any advice? Is it even possible to do in in_camera.cpp
or do I need to override the players view camera origin in
clientmode_shared.cpp like I had before? And then of course I would
have to fix muzzle flashes and shell ejections, which I have no idea
how to fix either.

Thanks for any help anyone can offer.

--Chris

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to