Modular Robot/Turret AI
Posted: Wed Nov 07, 2018 3:59 am
Something along the lines of
Robotics gets a new console to program "AI scripting"
You have "Scripts" which are either triggered by events (like damage, or just it sees someone and tries to assess target, signals, etc etc). Each scripting disk can contain multiple of these.
Each script has a list of "Rules".
Each script also has hard-set variables like "mob" for things like damage reaction or when it sees someone, and a limited amount of user variables.
They're followed from first to last, much like AI laws for comparison
There could be ones that say "DO <ACTION>"
Or ones that say "IF <Condition> <Comparator> <Value>, DO <ACTION>"
Oh yeah and this entire thing would be something like "block programming" or something similar to nanite programming so no copypaste ntsl-lite
Actions could be things like
Set a variable to something
Execute a certain script with certain variables as parameters
For things that can attack, immediately attempt to detain/attack/arrest, ignore target, or continue.
Switch between stun/lethal modes
Moving to a certain location (navgiation beacons being player buildable when?)
Dragging things slowly, loading crates (probably not happening if anything because there's no worth)
The most obvious use of this system would be things like beepsky/turret programming (Arrest anyone without clothes on, arrest anyone who is a certain species <-- don't do this please this is a war crime, arrest anyone who is a clown, etc etc)
But the system would be made to be modular enough to work for other bots, although it'll probably never happen and if it's made it'll probably stay as something for programming turrets/attack bots
So yeah, I guess I'm proposing crappy player-defined GOAP and a rehash of circuitry attack bots.
Discuss.
Robotics gets a new console to program "AI scripting"
You have "Scripts" which are either triggered by events (like damage, or just it sees someone and tries to assess target, signals, etc etc). Each scripting disk can contain multiple of these.
Each script has a list of "Rules".
Each script also has hard-set variables like "mob" for things like damage reaction or when it sees someone, and a limited amount of user variables.
They're followed from first to last, much like AI laws for comparison
There could be ones that say "DO <ACTION>"
Or ones that say "IF <Condition> <Comparator> <Value>, DO <ACTION>"
Oh yeah and this entire thing would be something like "block programming" or something similar to nanite programming so no copypaste ntsl-lite
Actions could be things like
Set a variable to something
Execute a certain script with certain variables as parameters
For things that can attack, immediately attempt to detain/attack/arrest, ignore target, or continue.
Switch between stun/lethal modes
Moving to a certain location (navgiation beacons being player buildable when?)
Dragging things slowly, loading crates (probably not happening if anything because there's no worth)
The most obvious use of this system would be things like beepsky/turret programming (Arrest anyone without clothes on, arrest anyone who is a certain species <-- don't do this please this is a war crime, arrest anyone who is a clown, etc etc)
But the system would be made to be modular enough to work for other bots, although it'll probably never happen and if it's made it'll probably stay as something for programming turrets/attack bots
So yeah, I guess I'm proposing crappy player-defined GOAP and a rehash of circuitry attack bots.
Discuss.