Inside3D!
     

Making player view static while still moving player model

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
timbobsteve



Joined: 10 Oct 2005
Posts: 15

PostPosted: Thu Oct 13, 2005 4:00 am    Post subject: Making player view static while still moving player model Reply with quote

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
View user's profile Send private message
RooT



Joined: 07 Sep 2005
Posts: 40

PostPosted: Thu Oct 13, 2005 4:20 am    Post subject: maybe? Reply with quote

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
View user's profile Send private message AIM Address
Sajt



Joined: 16 Oct 2004
Posts: 1026

PostPosted: Sat Oct 15, 2005 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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