You are viewing a potentially older version of this package. View all versions.
ThinkInvis-NavYoink-1.0.0 icon

NavYoink

A small library for keeping track of nav graph nodes to allow dynamic removal.

Date uploaded 3 days ago
Version 1.0.0
Download link ThinkInvis-NavYoink-1.0.0.zip
Downloads 1417
Dependency string ThinkInvis-NavYoink-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2103 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2103

README

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: https://github.com/ThinkInvis/RoR2-NavYoink/blob/master/changelog.md

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.