Multiple Animation Sequences for one Stance?

正在查看此主题的用户

VitorHL

Recruit
First of all: My main language isn't English... so sorry for the bad orthography here  :wink:

Hello, i noticed that some mods have "multiple sequences" that plays aleatory for stances and running when you possess a weapon like a lance or a rifle, i liked the idea and tried to reply in my module but without sucess...

The idea is that every time that the player stand with a crossbow in hand a different a sequence starts and repeat theyself until the player moves, but when i tried to do this and tested it in the game the various sequences played one per one every time that i stands with a crossbow instead a single sequence repeat theyself...

Here is the code that i edited in "module_animations.py":

插入代码块:
 ["stand_crossbow", 0, amf_client_prediction,
   [0.99, "staff_cstance", 0, 99, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],
   [0.59, "staff_cstance1", 0, 59, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],
   [0.58, "staff_cstance2", 0, 58, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],
   [0.60, "staff_cstance3", 0, 60, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],   
   [1.34, "staff_cstance4", 0, 134, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],
   [0.60, "staff_cstance5", 0, 60, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],
   [0.79, "staff_cstance6", 0, 69, arf_use_stand_progress|amf_restart|arf_cyclic, 0, (0, 0, 0), 0.0],   
 ],

I also tried to put the sequence time in a high value, but the result was so "static" ... so this is out of question ...

I will be glad if anyone knows how to help me
 
后退
顶部 底部