Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI hooks and navmesh rebaking modifiers #515

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on May 22, 2024

  1. Update Rust.opj

    Adds the following hooks:
    - AI\OnAICaresAbout
    - AI\OnAIInitialize
    - NPC\OnGetBestRoamPoint
    - Turret\OnTurretCheckHostile
    - Turret\OnTurretShouldTarget
    
    Adds the following modifiers:
    - BaseNavigator::defaultArea
    - BaseNavigator::navMeshQueryFilter
    - DungeonNavmesh::HasBuildOperationStarted
    - DungeonNavmesh::agentTypeId
    - DynamicNavMesh::HasBuildOperationStarted
    - DynamicNavMesh::agentTypeId
    - MonumentNavMesh::HasBuildOperationStarted
    - MonumentNavMesh::agentTypeId
    
    The modifiers are just to allow rebaking navmesh so NPCs can roam freely. 
    Niche application but would be nice to not have to custom patch each time
    
    The AI hooks allow insertion of custom state behaviors as well as custom control of AI targeting.
    The NPC GetBestRoampoint lets you change how roam points are picked so they're not tied to AIInformationZones for free-roaming
    The turret hooks allow custom targeting logic (like targeting NPCs and animals)
    read-0nly authored May 22, 2024
    Configuration menu
    Copy the full SHA
    d307ac8 View commit details
    Browse the repository at this point in the history