NavYoink
A small library for keeping track of nav graph nodes to allow dynamic removal.
About this mod Author’s original text
NavYoink
Description
NavYoink is a library mod. It won't do much on its own, but it may be required for some other mods.
For developers: NavYoink makes objects remember which NodeGraph nodes they're occupying, through addition of a NodeOccupationInfo component; and adds some extension methods to DirectorCore (using static ThinkInvisible.NavYoink.Extensions;) to allow erasing or migrating NodeGraph occupations for a specific object.
Changelog
The 5 latest updates are listed below. For a full changelog, see:
1.0.0
- Initial release. Moved from TILER2: component NodeOccupationInfo; and extension methods RemoveOccupiedNode, RemoveAllOccupiedNodes, and UpdateOccupiedNodesReference.
- Tweaked OccupyNearbyNodes_OnSceneDirectorPrePopulateSceneServer hook to no longer bypass the vanilla method. Nodes covered by multiple OccupyNearbyNodes components are now assigned to only whichever of the latter is first in default enumeration order, instead of to all of them.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: