Having a player model (with no animations) what uses other player model's animation
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! |
Re: Having a player model (with no animations) what uses other player model's animati
Just a small question, why do you need to remove the animation of the models? To save some hard disk memory?
Btw I don't think your way could work properly. |
Re: Having a player model (with no animations) what uses other player model's animati
i dont know exactly what you mean.. but maybe this will help you, https://forums.alliedmods.net/showthread.php?t=91860
|
Re: Having a player model (with no animations) what uses other player model's animati
Quote:
2. My way works ... it just works, its not a good solution yet it works. Quote:
To everyone else who is reading this: Am i really that bad at explaining things? Are they only ones who doesn't understand, is it me or ... ? yea ... let me know please. |
Re: Having a player model (with no animations) what uses other player model's animati
Quote:
Btw can you give me the non-animation model? I wanna try it out. |
Re: Having a player model (with no animations) what uses other player model's animati
so, you want players to not wait much at downloading resources?
|
Re: Having a player model (with no animations) what uses other player model's animati
create a default model (animations) w/o mesh , and replace the pmodel ent model.
problem :now you dont have more weapons :p ; perfect for zombies |
Re: Having a player model (with no animations) what uses other player model's animati
Quote:
All tho you can't see player holding weapon ... thats the down side of this. I guess im going to create model with default animation and with no mesh ( still there has to be some polys for each joint, other ways compiler would not let me ) then going to add this model to player and create an entity for real model what would follow the animations. I could use this extra entity's p_model for hats or stuff like these. |
| All times are GMT -4. The time now is 01:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.