|||| 8 - 15 nov 2014 ||||
day1 cover nodes
got some cover node behavior working today, cover nodes have some radius & FOV to control how AI decide which ones to use:
use radius - if AI is within this radius, they consider using the node
threat radius - if player within this, the node is invalidated ( ai appears to fallback)
boundary radius - if player is within this & within the node's FOV, the node is valid for the AI
when an AI uses a node, it becomes claimed, if the AI leaves the node it gets released, and has a cooldown time until another AI can use it again.
Once I get some animations the nodes will specify the type of cover behavior the AI should use (peek left, peek right, crouch etc)