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

Populate the blueprint field AverageDensity of units #6279

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

Garanas
Copy link
Member

@Garanas Garanas commented Jun 20, 2024

Description of the proposed changes

Affects the behavior of units when they bump into each other. Units with more weight push units with less weight. As a result units with more health will receive less to no pushback from units with less health.

Units still try to stop for other units. When the engine decides for the unit to push on through the unit with the most health will have a much, much better time.

Testing done on the proposed changes

Start the game and spawn in various units with different health values and observe how they behave.

Additional context

The current values are the same as used in this mod that was created to allow people to test the behavior changes:

image

Checklist

  • Changes are annotated, including comments where useful
  • Changes are documented in the changelog for the next game version

@Garanas Garanas added area: unit-blueprint related to issues in unit blueprints (*_unit.bp) feature: pathfinding related to pathfinding labels Jun 20, 2024
@Garanas
Copy link
Member Author

Garanas commented Jun 24, 2024

There's been no objections to these changes. They're not harmful to the game and I think we can get a better understanding if we'd include them with the release. Then we can tweak the values and re-bake it as our understanding improves.

@Garanas Garanas mentioned this pull request Jun 27, 2024
3 tasks
@Garanas Garanas merged commit 738fe61 into develop Jul 2, 2024
1 check passed
@Garanas Garanas deleted the feature/unit-average-density branch July 2, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: unit-blueprint related to issues in unit blueprints (*_unit.bp) feature: pathfinding related to pathfinding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant