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

[Highly Customized] Simplified unloading for miners #1476

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

  • In vanilla, miners must first approach the refinery, then approach the uninstall location, enter the refinery, and finally complete the unloading. When you only have a few miners and the battle is not so urgent, these behaviors work fine and look interesting. But if you have many (say dozens) miners, then they will surround the refinery and cannot unload. Also, for symmetrical maps, there is always a player whose miners have to travel further to unload, thus that player is inherently disadvantaged because of this.
  • Now you can change this behavior by setting HarvesterQuickUnloader to true on the miner. The new behavior is similar to Warcraft or StarCraft: The miner will travel to the nearest available location around the refinery after collection is complete. When it arrives, the minerals it is loaded with will be unloaded directly, and then the miner will set destination to collection. For the miner with Teleporter=yes, we assume it works like a chrono miner in vanilla, and it will teleport directly around the refinery after collection is complete.
    • If you order the miner to unload manually, it will process the old unloading behavior.

In rulesmd.ini:

[SOMETECHNO]                   ; UnitType
HarvesterQuickUnloader=false   ; boolean

Copy link

github-actions bot commented Dec 28, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@TaranDahl
Copy link
Contributor

Tested this locally.
The Teleporter is brutally treated because we don't know how to bring it back using the locomotor. If someone could teach me how to make Locomotor complete this task, that would be great.

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