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

tamed animal / follower behavior update #174

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

Conversation

stevenstuber
Copy link

@stevenstuber stevenstuber commented Feb 12, 2025

Problem: 'all stop' makes creatures head south and directionally glitch out, also minor glitch when they have no order and bounce around

Fix:

  • limits them to roam 5 spaces from their home: m_Mobile.RangeHome = 5;

  • I put WalkRandomInHome inside a random if statement so it happens less frequently (looks more natural), this applies to 'all stop' and when they have no order

  • Line 7791 and 7792 are unintentionally causing issues, each time this runs it will update the 'home' location and cause it to drift off, luckily it is already set on line 7114 in the OrderType.Stop handler.

My small group of friends is running this change with no issues so far for a few days

…ovements so it doesnt look so glitchy, also prevents it from updating its home location on each pass so it wont run off into the sunset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant