Raised This Month: $ Target: $400
 0% 

Help with fake_player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
terryoh
Member
Join Date: Apr 2010
Old 08-17-2012 , 20:51   Help with fake_player
Reply With Quote #1

Well what I want to know is if it's posible to make the "fake player", already created and with weapon, to look at things like me ....I mean... I can make him to stand still and move his angles like me ...but if I look up ...he is moving like a box ...not like a human ...is it posible to move only his head and arms like a human or the whole body movement it's all I get ?

This is what I've done in prethink :
PHP Code:
VelocityByAim(id,200,veloc)
    
vector_to_angle(veloc,angles)
    
set_pev(entpev_anglesangles
and if I put veloc[2]=0 obviously the fake player it moves it's angles only x y coordonates ... I taught I can make this and add something to move only his head and arms angle only in z coordonate ...I don't know ...

Off: I hope I explained the situation well ..
terryoh is offline
Merciless
BANNED
Join Date: Aug 2009
Location: Belgium
Old 08-17-2012 , 21:56   Re: Help with fake_player
Reply With Quote #2

You cant move uperbody and downbody at same time on a non-player entity.
Merciless is offline
terryoh
Member
Join Date: Apr 2010
Old 08-18-2012 , 09:00   Re: Help with fake_player
Reply With Quote #3

I was afraid of this ...anyway ...another 2 question if I may ...how can I set the weapon to actually fire ? ...not to make damage ...to make the animation of a weapon fireing ..and also ...how can I make the fake player to look at what I look ...with the code I already done ...the fake player it moves it's angles like my ....like If I look forward he look also forward ...doesn't matter where ...how can I make it to move it's angles like it is looking at what I am looking ?

Last edited by terryoh; 08-18-2012 at 09:00.
terryoh is offline
Reply


Thread Tools
Display Modes

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 05:48.


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