有没有人能出一个Mod制作的教程,想改星域AI
星域的AI太2了,完全不能放任自流。。。空间站的修建也要自己搞定。。。要是能自己写一下AI就好了{:3_107:}
00_defines.lua裡面
SECTOR_STATION_BUDGET_FRACTION = 0.30, -- Fraction of budget going to stations
SECTOR_BUILDING_BUDGET_FRACTION = 0.50, -- Fraction of budget going to buildings
SECTOR_SPACEPORT_BUDGET_FRACTION = 0.10,-- Fraction of budget going to spaceports
SECTOR_ARMY_BUDGET_FRACTION = 0.10, -- Fraction of budget going to armies
SECTOR_MINERALS_NEED_THRESHOLD = 5, -- Minerals needed per month before starting to build other buildings
他有分給空間站資源 資源夠他就會蓋了 lfst 发表于 2016-8-11 11:04
00_defines.lua裡面
SECTOR_STATION_BUDGET_FRACTION = 0.30, -- Fraction of budget going to stations
...
恩,差不多看懂了。
那如果我想让星域能够自己改建农场,把食物控制在低水平,也可以通过改这些数据做到么?
POP_FOOD_MIN = 3 -- AI should always prioritize to get more food when planet food total is below this value
你看這行 我用了前人分享的aigo, 但虽然改了试用版本, 但对1.31版完全没效果,
也曾参考了别人写的destiny MOD中的的两个文字档 一个在common 另一个在 localisation
依样画葫芦的 修正了aigo MOD, 还是没用。
又干脆把aigo的内容并入到destiny中进入游戏还是没有完全变化
能否有哪位出一个适用1.31或1.3*版的AI强化 MOD呢??????
感谢!!!! SECTOR_MINERALS_NEED_THRESHOLD = 5, -- Minerals needed per month before starting to build other buildings
请问是什么意思????
还有, 如果想像楼上那位同学依样修改AI的粮食
那我应该在下面那行:
POP_FOOD_MIN = 3 -- AI should always prioritize to get more food when planet food total is below this value
请问这个3及上面那句5是什么意思???
是矿物至少要保持5的存量才会开始建设吗?? 还是别的一????
麻烦请回覆, 谢谢!!!
页:
[1]