Raised This Month: $ Target: $400
 0% 

about alive player's view


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Enigmaya
Member
Join Date: Aug 2005
Old 10-17-2005 , 05:43   about alive player's view
Reply With Quote #1

how to set an alive player's view follow another alive player's view?

i used engfunc(EngFunc_SetView, id, id) ...
but the view doesn't follow
and the position is not very suit...

created a cam(entity) and used engfunc(EngFunc_SetView, id, entid)...
could set the position.
but the view doesn't follow also.

tried entity_set_int(id,EV_INT_iuser3,id)
//just know Iuser3 can set the camera endpos to the killer!
but nothing appear...

how to .....??

PS: what's EV_INT_iuser3,EV_INT_iuser2,EV_INT_iuser4,EV_ INT_iuser1?
__________________
==Enigma==
If you believe in Light, it's because of Obscurity
If you believe in Joy, it's because of Sadness
And if you believe in God, it's because of the Devil !

==蜻 蜓==
Enigmaya is offline
Send a message via MSN to Enigmaya
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-17-2005 , 16:51  
Reply With Quote #2

You will have to make a camera and constantly update its position, or set it to follow the person by setting its movetype to MOVETYPE_FOLLOW and it's EV_ENT_aiment to the ent it should follow, and then update the camera's angles to that of the player's as well I believe.

EV_INT_user1-4 are just custom variables put in by Valve so mod-makers had more space to easily store data.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Enigmaya
Member
Join Date: Aug 2005
Old 10-18-2005 , 02:44  
Reply With Quote #3

Quote:
Originally Posted by XxAvalanchexX
You will have to make a camera and constantly update its position, or set it to follow the person by setting its movetype to MOVETYPE_FOLLOW and it's EV_ENT_aiment to the ent it should follow, and then update the camera's angles to that of the player's as well I believe.

EV_INT_user1-4 are just custom variables put in by Valve so mod-makers had more space to easily store data.

i tried it.
can follow the target player. so cool...
but doesn't change the position of view.
on half of the body.not head.

EV_INT_user1-4 。。。what‘s their difference?
just know Iuser3 can set the camera endpos to the kille.
__________________
==Enigma==
If you believe in Light, it's because of Obscurity
If you believe in Joy, it's because of Sadness
And if you believe in God, it's because of the Devil !

==蜻 蜓==
Enigmaya is offline
Send a message via MSN to Enigmaya
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 23:59.


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