Snayff / nqp3

1 stars 2 forks source link

Hierarchical AI (Unit and Actor) #29

Open Snayff opened 1 year ago

Snayff commented 1 year ago

Suggested Feature

Unit AI makes high level decisions and Actor AI takes over for more granular decision making.

Requirements

Additional Context

The unit "banner" is the invisible agent that represents the focal point of the unit and is the entity that the actors in that unit follow.

eh-jogos commented 1 year ago

PR #46 implements

  • [x] Unit AI determines a target position for Unit. This is based on approximate position of an Enemy Unit.

Or at least a first draft/prototype version of it.

After implementing this part I really don't think it should work like:

  • [ ] Actor AI overrides Unit AI's direction in the following circumstances:
    • [ ] an enemy actor is in range of an action

I'll try to elaborate more about it replying to your question on discord, or we can talk more about some other time.