Mojave-Sun / mojave-sun

This repo is for archival purposes, please see https://github.com/Mojave-Sun/mojave-sun-13 for current development.
GNU Affero General Public License v3.0
13 stars 46 forks source link

Ports over ai nodes and sample roaming test #252

Closed ma44 closed 3 years ago

ma44 commented 3 years ago

Not final implementation, includes a simple way of testing the possibilities of the system

About The Pull Request

Ports over the node system from TGMC, allowing for simplification of having things do patrols, includes weighted values to manipulate where the thing being controlled will choose what route to take.

Also ports over the "pathfinder" element which allows for basic control on whenever something has maintained distance or that it's pathing has been blocked, it had the patrol system juryrigged into it and that's not really it's purpose so this is obviously why it's a draft PR.

Why It's Good For The Game

Can allow for spicy things like respawning ghouls at night patrolling or a return-to-home + patrol system for dungeons

ma44 commented 3 years ago

Waiting on AI behaviors expansion and rebase to continue with this.