Changes between Version 8 and Version 9 of Quagents AINodes
- Timestamp:
- Jun 2, 2011 1:41:20 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Quagents AINodes
v8 v9 15 15 * val1: unused 16 16 * valf1: theta, the heading in which the agent should walk relative to its current facing. 0 is straight ahead, 90 is strafe left, etc. 17 * valf2: unused17 * valf2: speed, 1.0 = normal maximum bot movement speed, 0 = stopped. 2.25 is as fast a rocket, 5 is as fast as a plasma ball. Increasing movement speed also increases how far the bot looks ahead to see if it should say it is blocked. 18 18 19 19 '''Reports:''' … … 21 21 22 22 == AINode_GJumpOnce == 23 This node asks the quagent to make a single forward jump. It won't jump off (or even near) cliffs, into walls, bounce pads, or into slime or lava. The behavior ends only when the quagent has landed ''and is ready to jump again'' (Quake introduces a small delay), even if this does not occur for some time. The behavior ends on the NEXT landing, too, so if called while the bot is already jumping (or otherwise in the air), it will have no effect.23 This node asks the quagent to make a single directional jump. It won't jump off (or even near) cliffs, into walls, bounce pads, or into slime or lava. The behavior ends only when the quagent has landed ''and is ready to jump again'' (Quake introduces a small delay), even if this does not occur for some time. The behavior ends on the NEXT landing, too, so if called while the bot is already jumping (or otherwise in the air), it will have no effect. FIXME: This seems a little buggy - sometimes he jumps twice! 24 24 25 25 '''Parameters:''' 26 26 * val1: state, used as internal state tracking. 27 * valf1: unused28 * valf2: unused27 * valf1: theta, the heading in which the agent should jump relative to its current facing. 0 is straight ahead, 90 is strafe left, etc. 28 * valf2: speed, 1.0 = normal maximum bot movement speed, 0 = stopped. 2.25 is as fast a rocket, 5 is as fast as a plasma ball. Increasing movement speed also increases how far the bot looks ahead to see if it should say it is blocked. 29 29 30 30 '''Reports:'''