by Apeirogon » Thu Aug 29, 2019 1:38 pm
Marisa Kirisame wrote:Rachael and I talked about this long ago. Exporting bots really would mean having to rewrite the whole thing from scratch. Perhaps just only providing the base skeleton for the AI then having someone else do the rest of the job.
If you mean pathfinding, it can be done by adding read only thinker field to sector struct which would contain, and monitor, all data about neighbor and "self" sectors, like area, size, height, lines status, accessibility (for actors) to other sectors, stuff for creating and using A* graph, discrete math and graph theory stuff.
But Im not sure that sector struct is suitable place for this, since Im not familiar with gzdoom well enough.
[quote="Marisa Kirisame"]Rachael and I talked about this long ago. Exporting bots really would mean having to rewrite the whole thing from scratch. Perhaps just only providing the base skeleton for the AI then having someone else do the rest of the job.[/quote]
If you mean pathfinding, it can be done by adding read only thinker field to sector struct which would contain, and monitor, all data about neighbor and "self" sectors, like area, size, height, lines status, accessibility (for actors) to other sectors, stuff for creating and using A* graph, discrete math and graph theory stuff.
But Im not sure that sector struct is suitable place for this, since Im not familiar with gzdoom well enough.