Raised This Month: $12 Target: $400
 3% 

Having a player model (with no animations) what uses other player model's animation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 05-22-2015 , 11:22   Having a player model (with no animations) what uses other player model's animation
Reply With Quote #1

Hello everyone, long time no see ...
Anyways.

So i took one costom player model, its skeleton is same as default one's.
It also had same animations as default models.
I removed all animations from that player model.

Usually player models with animations are 1-3mb
but one without them is 100-300kb

Now in order to use that model without animation and forcing model to use
one of the default model's animation would be:
-creating new entity
-giving it that new model
-set_pev pev_aim_ent so model would follow the player and its animation, angle and everything
-make the default player's entity invisible

this way is terrible because:
1. i would be using one extra entity for each player
2. it will use alot more cpu/gpu even when old model is invisible
it still acts like it renders 2 entities even tho one is invisible.

Is there any other way to do what i want?
A way without creating an extra entity.
Thank you!
.Dare Devil. 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 18:08.


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