Skip to content

Rexbot AI #10

@EIREXE

Description

@EIREXE

Rexbot is the AI system used in the game, it's a tangentially related system to valve's nextbot, but with more flexibility and in some cases less features, as they were deemed to complicated or too hard to use.

Action stack

Actions are placed in a stack, only the current action is executed, an action can choose to continue, to replace itself with a new action action, to end itself or to suspend its execution until another new action is completed.

Query system

Much like nextbot, every action can query the current action stack for information about what to do.

Rexbot supports queries using internet strings, which may return UNDEFINED, NO or YES.

An example of an AI query would be "should we retreat?" to which another action might respond that we should retreat, or not, the action can then decide what to do.

Why not GOAP?

GOAP is nice, but it's relatively hard to control and has the potential for emergent behaviors, which may be frustrating in a stealth game, we need as much control as possible, even if that requires writing more code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions