|
Author
|
Message
|
|
Junior Member
|

11-08-2009
, 00:57
Re: Replacing player model (death animations only)
|
#1
|
Ok, it seems to be impossible to replace player models in real time, so:
1. On event death, get player direction and player model sequence (animation, crouch, hs, etc).
2. Remove original player model.
3. Create new entity with custom skeleton player model (with death animations/sequences only), taking care about original direction and sequence.
4. After reproduced player death animation (with custom skeleton model), replace it with static dead sekeleton, on ground, with the same direction.
I'll compile the necesary sequences/animations for the skeleton player model.
PD: Another way:
1. On event death, get player direction and player model sequence (animation, crouch, hs, etc).
2. Remove player original model.
3. Create new entity with custom skeleton player model (with death animations/sequences and static death skeleton), taking care about original direction and sequence.
4. After reproduced death animation, change the sequence to one static dead skeleton (included in the same model), on ground, with the same direction.
I think this second way it's more efficient and can be done.
Any sugestion?
Thanks, I've no skill coding/scripting.
PD: I dunno if this has to be in requests. ??
|
|
|
|