-
-
Notifications
You must be signed in to change notification settings - Fork 103
Mobile Refinery Logic #707
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
Mobile Refinery Logic #707
Conversation
TransRate= and MaxAmount= need more explanation on what exactly they do, i had to figure it out by trial and error (they didn't do what i expected). Same for Offsets - are they in cells or leptons? (answer: leptons, but i had to figure it out myself) Otherwise appears to work fine, although i think outright clearing the cell is too much. It would be better if it instead reduced the tiberium on the cell by a specified amount. Or perhaps a rate at which it reduced each cell of its tiberium (defaulting to instantly?). |
I'll add more info about that, and the offset will use cell, no longer leptons. And are you want a tag to limit the total convert ore value in one time when set multi cells? |
It's bad... |
Nightly build for this pull request:
|
I misunderstood the function. I will fix MaxAmount soon. |
Tested this newer build and everything appears to work fine. However, since you changed how MobileRefinery.MaxAmount= works, the name might not be appropriate anymore. :P I have an issue with how MobileRefinery.TransRate= works currently, though, as the timer appears to be counting all the time. That means, if the intervals are long enough. the unit can walk over a tiberium patch between the timer's intervals and nothing will be collected. IMO the timer should apply only while still occupying a cell (like standing still or moving very slowly), and once the unit moves to another cell the timer should reset and it should immediately collect MobileRefinery.MaxAmount= of tiberium. But i feel that i'm already making too many request, so perhaps should wait for feedback from others before anything is changed. :P |
Why has this been closed? Was there not enough feedback on this? |
The code has not been updated for a long time. Now it is more troublesome to handle. Later, I will restart or open another pull request. |
Good to hear that, i was afraid it was being abandoned. |
|
I had recreate a new PR#1111 for this logic |
Transfer to #1619 |
Techno can convert the ore under its feet into cash in real time, like GDI's EPIC unit MARV in Command & Conquer 3 Kane's Wrath. It also work on airforce unit.
This logic cannot work on buildings.
in
rulesmd.ini