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

Adjust commander weights #126

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

Adjust commander weights #126

wants to merge 1 commit into from

Conversation

frans-bergman
Copy link
Collaborator

Make melee units better at following their commander.

Make melee units better at following their commander.
@palmdrop
Copy link
Owner

Not sure if it's a good idea to increase view range of melee units. It was reduced, along with that of the rest of the unit, to create more reasonable behaviors, reduce the risk of the boids just moving in a single big clump, and to increase performance. With a view range of 3.0, the grid has almost no impact. I think we should find another solution to the issue with commanders.

@VidarHook
Copy link
Collaborator

Not sure if it's a good idea to increase view range of melee units. It was reduced, along with that of the rest of the unit, to create more reasonable behaviors, reduce the risk of the boids just moving in a single big clump, and to increase performance. With a view range of 3.0, the grid has almost no impact. I think we should find another solution to the issue with commanders.

On the other hand, I found you could temporarily create a new list for neighbor and distances for a specific boid type and for a specific function in the burst job without too much impact as long as no heavy calculations are made on said list. Give that a shot and report back.

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.

None yet

3 participants