Raised This Month: $ Target: $400
 0% 

Player model inside a giant ball model?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-20-2013 , 08:57   Re: Player model inside a giant ball model?
Reply With Quote #9

You can add a bone to the model and connect it to a different bone on the player model skeleton. Then, once you create the entity with the model and set its movetype and aiment like this:

Code:
set_pev( iEnt, pev_movetype, MOVETYPE_FOLLOW ) set_pev( iEnt, pev_aiment, id ) // where id is the index of player who should be inside the ball

the ball will be attached to the player, which unlike setting its origin on think, doesn't look laggy.

Check at how Hats do this. It's pretty easy to do, but you need to have basic 3ds max knowledge.
Backstabnoob is offline
 



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 06:30.


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