Loading...
  OR  Zero-K Name:    Password:   

Post edit history

AI and fire/art

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
5/13/2018 6:56:27 AMAUrankAdminSaktoth before revert after revert
Before After
1 So units do not dodge shots, they have 0 shot awareness. What they do is when on Attack Move or Idle AI and closing on a unit which has an AI tag which marks that unit as having 'dodgable projectiles', they will jink from side to side in the hopes of dodging projectiles. 1 I've not built any of the AI myself so take what I say with a grain of salt. But units do not dodge shots, they have 0 shot awareness. What they do is when on Attack Move or Idle AI and closing on a unit which has an AI tag which marks that unit as having 'dodgable projectiles', they will jink from side to side in the hopes of dodging projectiles.
2 \n 2 \n
3 The AI constantly keeping track of incoming projectiles, tracking their trajectory and moving out of the way is probably possible in theory (The game is open source) but if every unit was doing it all the time it might get pretty intensive and laggy. If you want your units to dodge projectiles you can put them on patrol, put them on repeat and give them a few move orders, or just queue up a bunch of move orders to keep them on the move. You can distract shots from your defenses by putting raiders in front moving back and forth. 3 The AI constantly keeping track of incoming projectiles, tracking their trajectory and moving out of the way is probably possible in theory (The game is open source) but if every unit was doing it all the time it might get pretty intensive and laggy. If you want your units to dodge projectiles you can put them on patrol, put them on repeat and give them a few move orders, or just queue up a bunch of move orders to keep them on the move. You can distract shots from your defenses by putting raiders in front moving back and forth.
4 \n 4 \n
5 Trying to get out of fire might be nice though. 5 Trying to get out of fire might be nice though. 'In a Fireball' events probably do not trigger often enough that you could not have a 'run away from the fire' part of the idle AI. Again the game is open source so anyone can write these kinds of AI's if they have the skill.