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.