-
-
Notifications
You must be signed in to change notification settings - Fork 103
[New feature]Tiberium eater logic #1619
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: develop
Are you sure you want to change the base?
[New feature]Tiberium eater logic #1619
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. |
from previous PR#1111 mobile-refinery
I don't see an equivalent of MobileRefinery.DisplayColor=, so color not being customizable anymore is intended? |
I think maybe it's better to use same color as other give money logic. |
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.
since it's a per frame logic on techno, we should be more careful about its cost
Seems to work fine, found no issues ingame. |
…tsuNegi/Phobos into origin/feature/tiberium_eater
…tsuNegi/Phobos into origin/feature/tiberium_eater
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.
LGTM, only find some minor things.
TiberiumEater.TransDelay
is 0 or larger.TiberiumEater.TransDelay
大于等于0时,单位将可以实时将矿石转换为资金,就像《命令与征服3:凯恩之怒》中GDI史诗载具MARV那样。TiberiumEater.TransDelay
specifies the interval in game frames between two mining "processes".TiberiumEater.TransDelay
指定两次转换之间的间隔帧数。TiberiumEater.AmountPerCell
controls how many "bails" of ore can be mined at each cell at once.TiberiumEater.AmountPerCell
控制每次在每格内转换多少数量的矿石。TiberiumEater.CashMultiplier
.TiberiumEater.CashMultiplier
来进行调整。TiberiumEater.Display=true
will create a flying text displaying the total cash amount received each mining process.TiberiumEater.Display.Houses
controlls who can see this text.TiberiumEater.Display=true
将会显示转换后获得的金额。TiberiumEater.Display.Houses
控制谁可以看见显示的金额。TiberiumEater.Anims
contains 8 entries, then an entry will be picked according to unit facing. Otherwise, an entry will be chosen at random.TiberiumEater.Anims
包含8个动画,那么将会根据单位的朝向进行选择;其他情况下,将会随机选择动画。TiberiumEater.AnimMove=true
, the animations will move with the unit.TiberiumEater.AnimMove=true
,动画将会跟随单位移动。In
rulesmd.ini
: