|
本帖最后由 53243336 于 2013-9-11 14:46 编辑
其实这个游戏里面非有必要改的就是:人口(2500最合适)矿场 变电站范围 太阳能供电值 TTG电信覆盖范围 教堂的接待人数 购物中心的接待人数 这些在游戏里都是最缺的 其他的真的别去改 尤其是住房,你房子改成住几百人 你建造几个房子就可以住几千人了 那你还能建造大城市吗?因为那时空闲的房子太多了。 房子就是要人数少 然后多多发展房子 后期才有大城市的感觉
local GameEntityCount = 200000
local MaxPopulation = 2000(人数2000够了)
-- Original mod code
function NoLimitsMod()
-- Sets the entity count
config.MaxGameObjectExCount = GameEntityCount
config.MaxGameObjectCount = GameEntityCount
-- Remove the road construction limitations
road_construction.ReachedLimit = function(x)
return false
end
-- Sets the population
MigrationMaxCitizens = MaxPopulation
ImmigrationRandomize = function(y)
return MulDivRound(y, MaxPopulation - CitizenCount, 60)
end
太阳能电力
SolarPlant["upgrades"][1]["param1"] = 500
SolarPlant["upgrades"][2]["param1"] = 600
SolarPlant["upgrades"][3]["param1"] = 700
TTG电信覆盖范围
TelecomHQ["upgrades"][1]["param1"] = 400
TelecomHQ["upgrades"][2]["param1"] = 500
TelecomHQ["upgrades"][3]["param1"] = 600
TelecomHQ["modes"][1]["param1"] = 35
水处理厂
g_Classes.WaterTreatment.num_workers = 10
g_Classes.WaterTreatment.job_quality = 85
g_Classes.WaterTreatment.clamp_radius = 6000
小教堂
g_Classes.Church.num_people_serviced = 50
g_Classes.Church.num_workers = 5
g_Classes.Church.job_quality = 85
大教堂
g_Classes.CrystalCathedral.num_people_serviced = 100
g_Classes.CrystalCathedral.num_workers = 10
g_Classes.CrystalCathedral.base_service_quality = 240
end
-- Only fire once
local FiredOnce = false
-- UA Set Mode
OnMsg.UASetMode = function(actions,mode)
-- Fire until fired once
if not FiredOnce then
-- If we boot, trip it ...
if(mode == "Boot") then
FiredOnce = true
-- Run the thread to bypass it
CreateRealTimeThread(function()
-- Do mod loading code here.
NoLimitsMod()
-- Reconfigure/force the settings every map load.
OnMsg.MapPermanentObjectsLoaded = function()
NoLimitsMod()
end
end)
end
end
end
-- Legacy load (what the original mod used)
OnMsg.ClassesPreprocess = function()
NoLimitsMod()
end
其他的根本不需要修改 很合理的 改了干什么呢?
解压后 直接把Game放到游戏根目录下即可!跑到2160年了都没问题 将近跑了150年了 呵呵
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|