Can we give players new Anims ? ? ?
I have some questions about player models and how does HL1 engine handles model animations.
I don't know if I posted in the correct place but it's a problem that is linked to amxx scripting because what I have in mind it's making a plugin that will give player new animations for example (obvoius I will not make anny plugins because I don't have knowledge in scripting) In CS 1.6 there's a "player.mdl" model in cstrike\models dir. I assume that this model is the basic model that HL1 engine uses for all calculations (hitboxex/animations/bones) regardless of the model that a player has choosen. It's like a "standard measure unit" let's say... 1Q: If a player that joins a server has custom player models that differs from server's (animations/hitboxex) how does HL1 engine handles the hitboxes, damage etc. ? 2Q: Is there any way that we can give a player model some new animations ? (Just like a "hat/head/beret/backweapon/parachute" model for example that is folowing a player model animation) Explanation: Making a model that consists only of custom animations, precaching it and then with a plugin assign those animations to a player model and playing them at the right moment. Other method: Making a custom player model including the custom animations (after the normal animations) that will replace user's player model and with the plugin playing the custom animations when needed. Example of plugin that can make use of this functions: Ex1: When the round ends and a team wins the round play a random dance animation on winning team players. Ex2: Adding custom player knife animations and custom knife skins so we can have a "scrim fight" between two players. Ex3: Giving players "sprint animations" and a key to bind for sprint Ex4: Give players "climb animations" so when a player climb a ladder he will have a custom climb anim. Ex5: Give player/weapons "holster & draw anims" Etc... The possibilities are infinite. |
Re: Can we give players new Anims ? ? ?
Imp.
|
Re: Can we give players new Anims ? ? ?
I've thought about this awhile ago. Having a model of just animations is possible. Even if the player has it on there computer, there would be no way of setting the animations from that file onto an existing model. There is one thing I haven't tried. Create an entity, set the model to the animations model. And snap it to a player with TE_ATTACHMENT.
|
Re: Can we give players new Anims ? ? ?
Quote:
|
Re: Can we give players new Anims ? ? ?
Quote:
What about the second method: having the client download the new player model with the custom animations included then the plugin will play the custom animations at the right time ? BTW: Quote:
|
Re: Can we give players new Anims ? ? ?
Quote:
|
Re: Can we give players new Anims ? ? ?
You'd have to recompile the whole model. Source works differently where the models are all small because animations are stored on their own separate models. Players will have to dl the new models.
|
Re: Can we give players new Anims ? ? ?
Quote:
About the source engine.... sorry for pointing that out (it has absolutelly nothing to do with this thread... ) |
Re: Can we give players new Anims ? ? ?
ya sure, that could work. Just place the animations you want after the cs required ones and u'll be fine.
|
Re: Can we give players new Anims ? ? ?
Well that was the answer I was expecting Tirant :mrgreen:
Btw I assume you are familiar with animating HL1 player models by any chance :)? And about the first question ? Anyone has any ideas ? Quote:
|
| All times are GMT -4. The time now is 18:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.