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

Waypoints spawning too close to AI Vehicles #195

Open
frazzleman10 opened this issue Mar 27, 2024 · 2 comments
Open

Waypoints spawning too close to AI Vehicles #195

frazzleman10 opened this issue Mar 27, 2024 · 2 comments
Labels

Comments

@frazzleman10
Copy link

Ive noticed that in my mission civ vehicles that spawn in will just sit there and not move because the waypoints are spawning too close their vehicles, they will just sit still and cycle through the waypoints that are created. Ive maxed out the MaxTravelRadius but the issue is still persisting.

@nomisum
Copy link
Contributor

nomisum commented Mar 27, 2024

no solution, only my first impressions:

  • i dont see any obvious errors, min distance is half of max radius by default.

  • we dont catch small values and only default to a reasonable distance when value is zero (

    )

  • those really close waypoints seem to fall in between the default radius of 0-15m of fnc_findRandomPos, but the default should never kick in imo.

  • another approach would be to look into taskCycle as it tries to set a really close waypoint for a cycle completion. but this does not explain the small distance of the first wp.

@nomisum nomisum added the bug label Mar 27, 2024
@frazzleman10
Copy link
Author

So how would I go about fixing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants