Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Making player view static while still moving player model

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
timbobsteve Joined: 10 Oct 2005 Posts: 15 |

Posted: Thu Oct 13, 2005 4:00 am Post subject: Making player view static while still moving player model |

Hi all, I posted this as a reply to my other topic, but I thought I would make it a new thread, seeing as how it is a little different. I have managed to make the players view switch to my static camera via the suggestions made in my other post. But now when the view changes to the camera the player controls both the camera view and the player model, i.e. Turning left turns both the player and the camera view left.
How do I go about forcing the camera to remain still while only moving the player model? Do I need to seperate the player model and the player view into seperate entities?
I tried setting the camera.movetype = MOVETYPE_NONE... but this does nothing to stop the camera from moving.
Any help on this matter would be greatly appreciated.

Back to top |

RooT Joined: 07 Sep 2005 Posts: 40 |

Posted: Thu Oct 13, 2005 4:20 am Post subject: maybe? |

i believe you need to give the camera entity something like self.angles = FIXED; im not sure tho, i tried making this same thing once before but messed up to bad and gave up lol, good luck! _________________ My mod site!
Mod Status:
Turret Defense: 30%
UPS: 45%

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Sat Oct 15, 2005 2:27 am Post subject: |

I think you have to spam SVC_SETANGLE every frame. Note that there is NO good way to do this if you are planning multiplayer support. _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT
Page 1 of 1

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group