-
Notifications
You must be signed in to change notification settings - Fork 459
feat(pve): add new eco unit targeting priority lib for scavengers #5754
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
base: master
Are you sure you want to change the base?
feat(pve): add new eco unit targeting priority lib for scavengers #5754
Conversation
-- 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why 192?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added comment
There was a problem hiding this comment.
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
eco = 0.7, | ||
evenPlayerSpread = 0.3, | ||
tech = 0.5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why these values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment added
Co-authored-by: sprunk <[email protected]>
Co-authored-by: sprunk <[email protected]>
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