Miners back to work when ore regenerated#2157
Miners back to work when ore regenerated#2157TaranDahl wants to merge 9 commits intoPhobos-developers:developfrom
Conversation
|
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. |
|
I checked it works, the harvesters come to life one after the other, not at the same time, it looks very good |
|
I think this should be made permanently enabled and not so that players have to enable it in the map or something else. no one will want to disable this option. there is no reason for this |
|
Besides, it seems to solve this problem too: CnCNet/cncnet-yr-client-package#303 in general this is a very significant improvement over the original game. There's always been a problem with these harvesters. In this regard, everyone has already gotten used to living with it. now the convenience will be significantly increased |
Fine by me. What do you think? @Metadorius |
|
How does it work? Is there some kind of timer that checks for ore at certain times? If so, you can make the delay much longer because checking more frequently is unnecessary and could cause lags with a lot of harvesters. Or no? I think checking every one or 1.5 minutes would be fine. |
Yeah. The mission timer is used for the interval.
I used a hardcoded value, 100 frames. Regarding whether it will cause lag, I think there's no need to worry. This check cycle is longer than the original check cycle of the "miner returns to work" behavior (which is about 1 second). If the original CMIN didn't cause lag, then the new behavior won't cause lag either. |
I agree |

Uh oh!
There was an error while loading. Please reload this page.