Force Changing Animations

tightninja

Member
Is there a way force a player to a specific animation when they are near the bbox of a specified entity?

Is it possible to change player weapon models this way as well?
 
Is there a way force a player to a specific animation when they are near the bbox of a specified entity?

Is it possible to change player weapon models this way as well?
mhh, may be use an attack# on the entity that sends player to pain# and use weaponframe in that specific pain anim, i never done something like that in a pain anim so no idea if it works..
 
It is possible to change animation when player is close to another entity but why would player do that?
If the purpose is to change weapon, it would be easier to use item either using subtype touch or itembox for that.
 
I am working on a ladder system. I have the ladder as an enemy that is constantly attacking but doesn't do any damage, when the ladder hits the player pain animation (attack type bug calculation is still annoying) is the start of the climb and then switches to a weapon model of the player where idle and walk are climbing animations. You can even attack will climbing although it looks weird. I still need to tweak it.
 
I am working on a ladder system. I have the ladder as an enemy that is constantly attacking but doesn't do any damage, when the ladder hits the player pain animation (attack type bug calculation is still annoying) is the start of the climb and then switches to a weapon model of the player where idle and walk are climbing animations. You can even attack will climbing although it looks weird. I still need to tweak it.

This is kind of a Rube Goldberg hackround, and I can't imagine it ever being fully stable. As @Bloodbane notes, there are already ladder systems out there using scripted proximity. Much simpler and won't break every time you encounter a new edge case. I highly recommend you give those a look.

DC
 
Rube Golderg!! HA!! I beg to differ but seriously I was looking at Double Dragon Mini and wish I had seen that sooner. It has other functions I could use as well. I will see if I can adapt somethings and hopefully avoid other edge cases.
 
Back
Top Bottom