Skip to content

Conversation

tetrisface
Copy link
Contributor

@tetrisface tetrisface commented Aug 24, 2025

Work done

Issue with description: #5286

I think that the scavenger unit targeting is lacking in end game (tons of units?). So I hope that is where this PR can make the largest difference.
Ready for testing.

Test steps

  • Weight settings have been tested standalone and gives the intended behavior
  • Stable without errors

-- Get map dimensions for tile-based calculations
local mapSizeX = (Game and Game.mapSizeX) or 4096
local mapSizeZ = (Game and Game.mapSizeZ) or 4096
local tileSize = 192
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 192?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aligns nicely with tiles on full metal plate

Comment on lines 201 to 203
eco = 0.7,
evenPlayerSpread = 0.3,
tech = 0.5,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these values?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment added

@tetrisface tetrisface marked this pull request as ready for review August 30, 2025 19:43
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.

2 participants