通博娛樂城官方網站tb5688.club點右邊~進入

《通博最高指挥官》游戏修改详细心得

1、安装目录\gamedata\*.scd文件为zip编码,只要更改后辍为.zip .rar即可打开。

2、后面的.bp和.lua文件用记事本即可打开。

3、修改前去掉.scd文件只读属性。

—————————————–

要修改的文件为:

units.scd (所有单位蓝图,blueprint(bp))

projectiles.scd (发射物,弹头等,后面有修改核弹和战列舰主炮需要)

mods.scd (安装时官方带的3个mod,最后一个为2倍资源)

————————————————–

先来说说这个mods.scd的修改,以2倍资源来举例:

打开mods.scd(rar)\mods\ResourceRich\hook\lua\system\Blueprints.lua

文件内容:

function ModBlueprints(all_bps)

local econScale = 30.0

#loop through the blueprints and adjust as desired.

for id,bp in all_bps.Unit do

if bp.Economy.ProductionPerSecondMass then

bp.Economy.ProductionPerSecondMass = bp.Econo通博娛樂城優惠my.ProductionPerSecondMass * econScale

end

if bp.Economy.ProductionPerSecondEnergy then

bp.Economy.ProductionPerSecondEnergy = bp.Economy.ProductionPerSecondEnergy * econS通博娛樂城評價cale

end

end

end

将econScale符值,数字即为资源倍数。

更改后保存文件,会提示更新压缩包,确定,最后将后辍改回.scd即可游戏。

(建议只修改此mod来进行游戏,按下面方法修改单位的话,会大大减少游戏乐趣及游戏寿命,hehe~)

[$HR getPages$]

units.scd的修改(这个文件有650多M,改后重新压缩时间较长)

打开units.rar\units\,会看到很多UAB0101这样的目录:

先看我整理的我喜欢的Cybran族单位目录参照

urb0101 = landfactory

0103 = Naval Factory

0201 = t2 landfactory

0203 = T2 Naval Factory

0301 = T3 Land Factory

0302 = Tier 3 Air Unit Factory

0303 = T3 Naval Factory

0304 = Quantum Gate

1101 = Power Generator

1102 = Hydrocarbon Power Plant

1103 = Tier 1 Mass Extractor

1104 = Mass Fabricator

1105 = Energy Storage

1106 = Mass Storage

1201 = Tier 2 Power Generator

1202 = Tier 2 Mass Extractor

1301 = Power Generator

1302 = Tier 2 Mass Extractor

1303 = T3 Mass Fabricator

2108 = Tactical Missile Launcher

2302 = Long Range Artillery

2305 = Strategic Missile Launcher

3104 = Omni Sensor Suite

3201 = Long Range Radar

4202 = Shield Generator

4302 = Strategic Missile Defense

url0001 = Commander Unit

1015 = T1 Engineer

0208 = Tier 2 Engineer

0309 = Tier 3 Engineer

0402 = Spider Bot

urs0201 = Destroyer

0202 = Cruiser

0203 = Attack Sub

0302 = Battleship

0303 = Aircraft Carrier

0304 = Strategic Missile Submarine

[$HR getPages$]

看到了么,URB****、UEL****、UAS****等目通博录,其中U就是unit,R、E、A等就是cybran,uef,aeon三族的简写,而第三位的B、L、S、A等就是building、land、sea、air的简写。

——————————————————————-

怎么找到要修改的单位对应的目录呢?以URB4202(Cybran族的护盾)为例。

打开lua.scd(rar)\lua\modules\basetemplates.lua(基本模板),翻至最后,看最后几百行,:)

有这样的定义:

# Cybran Building List(Cybran族建筑列表)

# -Shield Defense(护盾定义)

{

‘T2ShieldDefense’,

‘urb4202’, —-当当当当

},

# Artillery Structures(小二炮定义,hehe~,它的确是T2么)

{

‘T2Artillery’,

‘urb2303’, —-当当当当

},

知道了吧,找到了吧。

打开units.scd(rar)\units\URB4202\URB4202_script.lua,看上面几行注释,有gas powered程序员留下的描述:#** Summary : Cybran S通博娛樂城ptthield Generator Script。

如果有东西不好找,把units.scd全部解压出来,然后用windows搜索关键字。

[$HR getPages$]

终于到具体修改了:

URB4202(Cybran族的护盾)

units.scd(rar)\units\URB4202\URB4202_unit.bp (蓝图文件)

我摘其中的几段给大家,很简单的。

Categories = {(种类定义)

‘SELECTABLE’,

‘BUILTBYTIER2ENGINEER’,

‘BUILTBYTIER3ENGINEER’,

‘BUILTBYTIER2COMMANDER’,

‘BUILTBYTIER3COMMANDER’,

‘CYBRAN’,(所属种族)

‘STRUCTURE’,

‘DEFENSE’,

‘TECH2’,

‘SHIELD’,

‘DRAGBUILD’,

‘SIZE12’,

‘VISIBLETORECON’,

‘RECLAIMABLE’,

},

Defense = {

ArmorType = ‘Normal’,

Health = 50000,(生命值)

MaxHealth = 50000,(最大生命值)

RegenRate = 200,(通博娛樂城優惠回血率,就是量,200/秒)

Shield = {(能量盾定义)

ShieldEnergyDrainRechargeTime = 5,

ShieldMaxHealth = 4000,

ShieldRechargeTime = 18,(格挡后重新充能时间)

ShieldRegenRate = 800,

ShieldRegenStartTime = 13,

ShieldSize = 18,

ShieldVerticalOffset = -3,

},(很容易懂的吧)

},

Economy = {

BuildCostEnergy = 2000,(建造需电能,越多所需建造时间越长)

&nbs