;; =========================================================================== ;; Synchronous updates ;; =========================================================================== (time ?timestamp) Agents: (type-of ?id agent) (agent ?id) (name ?id ?name) (location ?id ?x ?y ?z) (velocity ?id ?vx ?vy ?vz) (rotation ?id ?pitch ?yaw ?roll) --- (target ?target ?self) (health ?id ?health) (currentammo ?id ?currentammo) Navigation Point: (type-of ?id navigation-point) (navigation-point ?id) (location ?id ?x ?y ?z) (reachable ?id ?reachable?) Domination Point: (type-of ?id domination-point) (domination-point ?id) (location ?id ?x ?y ?z) (point-controller ?id ?controller) (reachable ?id ?reachable?) Inventory Item: (type-of ?id inventory-item) (inventory-item ?id ?class) (location ?id ?x ?y ?z) (reachable ?id ?reachable?) ;; =========================================================================== ;; Asynchronous updates ;; =========================================================================== Hearing: (global-utterance ((?* ?utterance-list))) (pickup-heard ?pitch ?yaw ?roll) (sound-heard ?pitch ?yaw ?roll ?source) Colliding: (wall-collision ?wall-name ?lx ?ly ?lz ?ax ?ay ?az) (ledge-encountered ?x ?y ?z ?fell) (agent-collision ?other-agent ?x ?y ?z) Zones: (zone-entry ?zone) Inventory: (pickup ?id ?class) Damage: (receiving-damage ?type ?amount ?source) (inflicting-damage ?type ?amount ?destination) Obituaries: (expired ?obituary ?source ?type) (expired self ?source ?type) ;; =========================================================================== ;; Actions ;; =========================================================================== Moving: (set-walk ?yes-or-no) (runto-location ?x ?y ?z ?w) ; blends according to weight (runto-target ?target) (strafeto-target ?x ?y ?z ?w ?target) ; blends according to weight (strafeto-focus ?x ?y ?z ?w ?fx ?fy ?fz) ; blends according to weight (stop-moving ?when) (jump ?when) Shooting: (changeweapon ?id) (shoot-location ?x ?y ?z) (shoot-target ?target) (stop-shooting ?when) Turning: (turnto-location ?x ?y ?z ?w) ; blends according to weight (turnto-target ?target) (turnto-rotation ?pitch ?yaw ?roll) (rotate-pitch ?amount) (rotate-yaw ?amount) Communicating: (say-to-everyone ?statement) (upload-cmd ?command)