Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rexbot AI #10

Open
EIREXE opened this issue Dec 17, 2024 · 0 comments
Open

Rexbot AI #10

EIREXE opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@EIREXE
Copy link
Contributor

EIREXE commented Dec 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant