Surviving Mars

Surviving Mars

Elevator A.I.
 此主题已被置顶,因此可能具有重要性
SkiRich  [开发者] 2018 年 9 月 6 日 上午 1:43
Feature requests
Place all feature requests here.
< >
正在显示第 1 - 15 条,共 33 条留言
Quirquie 2018 年 9 月 6 日 上午 11:36 
Would it be possible to set rare metal limits. Like say I don't want to export if I have under 200 rare metals and then want to export when I get up to 500. Is this something that can be done?
SkiRich  [开发者] 2018 年 9 月 6 日 下午 12:10 
引用自 Quirquie
Would it be possible to set rare metal limits. Like say I don't want to export if I have under 200 rare metals and then want to export when I get up to 500. Is this something that can be done?
Thats a pretty good idea. Let me explore how best to implement. The space elevator acts just like a universal storage depot so maybe this would be easy to just add another slider. I'll keep you posted here.
最后由 SkiRich 编辑于; 2018 年 9 月 6 日 下午 12:49
Quirquie 2018 年 9 月 6 日 下午 12:34 
Oh I hope it is as easy as you think it is, I just ran out of electronics because I didn't notice the elevator was holding all my rare metals!
SkiRich  [开发者] 2018 年 9 月 6 日 下午 12:48 
引用自 Quirquie
Oh I hope it is as easy as you think it is, I just ran out of electronics because I didn't notice the elevator was holding all my rare metals!
Yep, I realized thats the reason why. I'll be thinking about how best to implement this today, and if I can get a decent workflow I'll start coding for it.
SkiRich  [开发者] 2018 年 9 月 6 日 下午 3:18 
@Quirquie, do you have the save game just before you ran out of precious metals and the last of them went up in export? I need a save to test the new feature with.
If you do put it here and let me know.
It appears I can make this happens fairly easily.
My file drop ... SkiRich file drop[www.dropbox.com]
最后由 SkiRich 编辑于; 2018 年 9 月 6 日 下午 3:19
Quirquie 2018 年 9 月 6 日 下午 5:36 
I saved over the file already, I am sure I can make it happen again rather quickly.
Quirquie 2018 年 9 月 6 日 下午 6:06 
So how do I find the save file?
Quirquie 2018 年 9 月 6 日 下午 6:11 
Found and uploaded!
SkiRich  [开发者] 2018 年 9 月 6 日 下午 6:16 
Got it. This is what I am coding:
A new AI Slider for rare metals will be in the infopanel.
It will be the minimum rare metals in stock to keep before allowing exports.
If set higher than zero it disables manual control of the rare Metals Export.
it will allow an export when there is the minimum rare metals plus the elevator export maximum export space, which by default is 100.
So setting the slider to 200, the elevator will wait till 300 metals are in stock, fill up the elevator pod and allow it to go on the next cycle of either the regular export time or when a AI order is placed.
If this logic sounds good, let me know. now is the time to ask for changes.
SkiRich  [开发者] 2018 年 9 月 6 日 下午 6:37 
Slight modification from above. It would be too confusing to users to have the AI wait till amount + storage space. most users will see that the elevator is not filling when they have X+more but less than export storage of metals.
So instead the slider will be the threshold to engage the auto export, which means setting it to something like 200 will allow the elevator to export starting at 201.

An example of how this will look will be the following.
Set slider to 200.
No exports when metal lower than 200.
Say you mine 25 more metals. inventory is now 225. exports allowed. If you dont mine more metals, then on next export 100 metals will be exported and your inventory will drop to 125, and the ai will shut down auto export and wait till your inventory increases again.
Quirquie 2018 年 9 月 6 日 下午 7:38 
That sounds great!
SkiRich  [开发者] 2018 年 9 月 8 日 上午 12:47 
Its done. Auto Export Control. I'll be testing for a day and putting it through its paces before uploading the new version. Barring any bugs, Sunday it should be updated.
Quirquie 2018 年 9 月 8 日 上午 1:47 
Sweet, thank you!
SkiRich  [开发者] 2018 年 9 月 9 日 上午 10:32 
New version will be published today.
Thanks Quirquie for the savegame, tested against it and it does exactly what you wanted.
最后由 SkiRich 编辑于; 2018 年 9 月 9 日 上午 10:34
Quirquie 2018 年 9 月 9 日 上午 11:20 
Yay! I can't wait to try it out in my next game, I think I may be past needing it in my current game, I have 18k rare metals lol.
< >
正在显示第 1 - 15 条,共 33 条留言
每页显示数: 1530 50