Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 26, 2014 13:13:59 GMT -5
gremline_rg_crowdAnimation_02.zip (108.23 KB) <- scene I am working on zipped. I'm working in MiArmyExpressfor2014 in Maya 2014 on Windows 7. If that matters. I'm just starting MiArmy, read the manual and going through the videos. I'm excited, it looks really cool. I want to have my character's HP or MP go down when they're in a bound. I have a super simple setup, just a sliding forward action for movement. I created a bound object for the agents to walk into. Then I put in the AutoFill "bound.in input" and the AutoFill "hp -2 per second" Decision. The resulting action in the scene makes all the characters' HP go immediately to 0 as soon as the start moving. The same thing happens no matter what number I put in for the Decision Value, 0, 0.01, 1, 100, -200... they all make the Agent's HP go to zero. If I change it from hp to mp the same thing happens with the mp. The same thing happens if I have 20 for the min/max HP or MP for the agent or if they are different. Do I have to initialize again the HP/MP? Does this happen to you with my file? Do I need to setup some counter logic? Help!
|
|
|
Post by Yeah YANG on Sept 27, 2014 4:18:20 GMT -5
Hello kleer001, Nice to talk with you Thank you for testing our tools! Your problem is very simple, just need add a HP change range sentence in default decision node, It will change the HP to "change rate" mode and it's change rate is 0 default. Like the below picture: I hope this is helpful. Best regards! --Yeah View Attachment <- scene I am working on zipped. I'm working in MiArmyExpressfor2014 in Maya 2014 on Windows 7. If that matters. I'm just starting MiArmy, read the manual and going through the videos. I'm excited, it looks really cool. I want to have my character's HP or MP go down when they're in a bound. I have a super simple setup, just a sliding forward action for movement. I created a bound object for the agents to walk into. Then I put in the AutoFill "bound.in input" and the AutoFill "hp -2 per second" Decision. The resulting action in the scene makes all the characters' HP go immediately to 0 as soon as the start moving. The same thing happens no matter what number I put in for the Decision Value, 0, 0.01, 1, 100, -200... they all make the Agent's HP go to zero. If I change it from hp to mp the same thing happens with the mp. The same thing happens if I have 20 for the min/max HP or MP for the agent or if they are different. Do I have to initialize again the HP/MP? Does this happen to you with my file? Do I need to setup some counter logic? Help!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 29, 2014 17:19:48 GMT -5
Ah that makes sense. Thank you!
|
|