收藏本站

您现在的位置:首页››攻略››单机游戏攻略

文明太空修改全地图战略资源数量的方法一览

时间:2014-10-30 09:00:22来源:3dm作者:jk111u热度:14

文明太空中大家有没有觉得全地图战略资源数量不多呢?大家怎么怎么修改呢?下面小编为大家带来的就是文明太空修改全地图战略资源数量的方法一览,一起看看吧。

文明太空中大家有没有觉得全地图战略资源数量不多呢?大家怎么怎么修改呢?下面小编为大家带来的就是文明太空修改全地图战略资源数量的方法一览,一起看看吧。

文明太空修改全地图战略资源数量的方法一览

首先找到你的游戏目录下的这个文件,备份之后就可以修改了。

(各位自己把正斜线看成反斜线,我是日文操作系统没法输入正斜线)

assets/Gameplay/Lua/AssignStartingPlots.lua

打开上述文件,找到第9437行代码附近找到如下两个函数,改变函数中各个初始战略资源数量即可,海洋战略资源另有函数,不过这里改动了就足够了。

function AssignStartingPlots:GetMajorStrategicResourceQuantityValues()

-- This function determines quantity per tile for each strategic resource's major deposit size.

-- Note: scripts that cannot place petroleum in the sea need to increase amounts on land to compensate.

-- Note: Large deposits of Xenomass are already on the board, having been placed in the hearts of Wild Areas in FeatureGenerator.

local firaxite_base, geothermal_base, petroleum_base, titanium_base, floatstone_base, xenomass_base = 7, 5, 5, 5, 6, 7;

local firaxite_range, geothermal_range, petroleum_range, titanium_range, floatstone_range, xenomass_range = 4, 2, 3, 3, 5, 4;

-- Check the resource setting.

if self.resource_setting == 1 then -- Sparse

firaxite_base, geothermal_base, petroleum_base, titanium_base, floatstone_base, xenomass_base = 5, 3, 4, 4, 5, 5;

firaxite_range, geothermal_range, petroleum_range, titanium_range, floatstone_range, xenomass_range = 3, 2, 3, 3, 3, 3;

elseif self.resource_setting == 3 then -- Abundant

firaxite_base, geothermal_base, petroleum_base, titanium_base, floatstone_base, xenomass_base = 9, 5, 6, 6, 8, 9;

firaxite_range, geothermal_range, petroleum_range, titanium_range, floatstone_range, xenomass_range = 5, 3, 4, 4, 6, 5;

end

self.firaxite_base, self.geothermal_base, self.petroleum_base = firaxite_base, geothermal_base, petroleum_base;

self.titanium_base, self.floatstone_base, self.xenomass_base = titanium_base, floatstone_base, xenomass_base;

self.firaxite_range, self.geothermal_range, self.petroleum_range = firaxite_range, geothermal_range, petroleum_range;

self.titanium_range, self.floatstone_range, self.xenomass_range = titanium_range, floatstone_range, xenomass_range;

end

------------------------------------------------------------------------------

function AssignStartingPlots:GetSmallStrategicResourceQuantityValues()

-- This function determines quantity per tile for each strategic resource's small deposit size.

local firaxite_base, geothermal_base, petroleum_base, titanium_base, floatstone_base, xenomass_base = 2, 1, 2, 2, 2, 2;

local firaxite_range, geothermal_range, petroleum_range, titanium_range, floatstone_range, xenomass_range = 2, 2, 2, 2, 2, 2;

-- Check the resource setting.

if self.resource_setting == 1 then -- Sparse

firaxite_base, geothermal_base, petroleum_base, titanium_base, floatstone_base, xenomass_base = 2, 1, 2, 2, 2, 2;

firaxite_range, geothermal_range, petroleum_range, titanium_range, floatstone_range, xenomass_range = 1, 1, 1, 1, 1, 1;

elseif self.resource_setting == 3 then -- Abundant

firaxite_base, geothermal_base, petroleum_base, titanium_base, floatstone_base, xenomass_base = 3, 2, 3, 3, 3, 3;

firaxite_range, geothermal_range, petroleum_range, titanium_range, floatstone_range, xenomass_range = 2, 2, 2, 2, 2, 2;

end

self.minor_firaxite_base, self.minor_geothermal_base, self.minor_petroleum_base = firaxite_base, geothermal_base, petroleum_base;

self.minor_titanium_base, self.minor_floatstone_base, self.minor_xenomass_base = titanium_base, floatstone_base, xenomass_base;

self.minor_firaxite_range, self.minor_geothermal_range, self.minor_petroleum_range = firaxite_range, geothermal_range, petroleum_range;

self.minor_titanium_range, self.minor_floatstone_range, self.minor_xenomass_range = titanium_range, floatstone_range, xenomass_range;

end

我相信各位都知道要做什么,以及怎么做了

k73更懂你:文明太空

本类推荐

勇者斗恶龙10激活码领取方法大全

剑侠情缘手游魂石获得途径一览

日本亚马逊购物图文教程

收藏本站|联系我们|发展历程|版权声明|下载帮助|广告服务|软件提交|意见反馈

Copyright 2008-2020破解游戏排行榜版权所有鄂ICP备17000873号

k73所有游戏及软件下载资源均来源自互联网,并由网友上传分享。如有侵权,请来电来函告之。

k73手游