Raised This Month: $ Target: $400
 0% 

Attaching the view point and locking movement.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Trp. Jed
Member
Join Date: Aug 2004
Old 09-24-2004 , 12:40   Attaching the view point and locking movement.
Reply With Quote #1

Couple of questions although the two aren't related per-se.

1) I read you can attach the first person viewpoint of the player to an attachment point in a model but I haven't been able to work out how this is done. Could anyone provide an example?

2) Is it possible, and how would I go about doing it, so that the vertical movement of the players viewpoint is locked yet I can still read off the vertical angle their using for aiming. Think of how a canon would work - I want to use a similar system wher the play can pan left-right as usual but when they move the mouse up and down their view stays looking ahead but I am still able to read off the vertical angle.
Trp. Jed is offline
Ingram
Veteran Member
Join Date: May 2004
Old 09-24-2004 , 17:10  
Reply With Quote #2

1. i was unable to do this too, i don't even think hullu's eye plugin does this(try looking at it)
2. pev_view_ofs is the height that the player is, its normally set to 28
Ingram is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 09-24-2004 , 17:33  
Reply With Quote #3

Don't think setting the view as first person is available with amx right now. I recommend looking at the HL SDK to figure out how to do this.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Ingram
Veteran Member
Join Date: May 2004
Old 09-24-2004 , 17:43  
Reply With Quote #4

look at engine
Ingram is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode