View Single Post
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