游侠NETSHOW论坛

标题: officers不用修改器也能修改的方法 [打印本页]

作者: michmark    时间: 2009-6-25 01:19:39     标题: officers不用修改器也能修改的方法

现在修改器都要钱,真是什么时代,我自己是不用修改器就能修改游戏,不过前题是使用者看懂看不懂?
那我就说明我自己用的方法

1.Go to officers' dir, then to "assets"->"world"->"map you want to edit"->"scripts";
打开world目录下所有scripts的文件
2.Here you'll find the file "_reinforcementDefination.lua", backup & open it with notepad
找到_reinforcementDefination.lua按右键用记事本打开
3. There are some definitions like this:
rnf_Vehicle[0]['type'] = 'm26' rnf_Vehicle[0]['count'] = 0

just change the "0" to any value and you'll have that value available of the corresponding unit (in this case m26) once you start the game.

在第二个0修正你要的数字,数字自己设,除了rnf_Vehicle这项可以设外下面其它像rnf_Vehicle[8]['type']         = 'm8'
rnf_Vehicle[8]['count']         = 100也可以设,不过有一点要注意不要设到
--------------------------------------------------                       
--                        ###########                --
--                          Vehicle Axis                --
--                        ###########                --
这是你玩德军才设
4. Save and play the mission from the beginning.

Cheat Method: Instant Reinforcements
最后用记事本存档
其它下面都不变
------------- litachki ----------------- aircraft = {} lastaircraft = {} ---------------SLOJNOSTI if difficulty == hard then
TankReinfTime = 300
InfReinfTime = 240
ArtilleryDifTime = 180
AirCraftDifTime = 300
end
if difficulty == normal then
TankReinfTime = 240
InfReinfTime = 180
ArtilleryDifTime = 120
AirCraftDifTime = 240
end
if difficulty == easy then
TankReinfTime = 180
InfReinfTime = 120
ArtilleryDifTime = 60
AirCraftDifTime = 180
end
end

4. edit the values (they represents the time in sec. that the recharge takes);

5. Save and play the mission from the beginning
作者: hnren    时间: 2011-1-13 20:54:49

楼主发个开好的行不?谢谢!   这个改完是什么效果啊?
作者: wuucat    时间: 2011-1-13 22:25:22

楼主发个可以玩德軍的。。。。



作者: hnren    时间: 2011-1-13 23:11:39

就是啊,我也想要啊。
作者: 玩无可玩    时间: 2011-1-19 10:29:40

楼主你还是再做做好人,为大家看看怎么改坦克数据吧[伤心啊]




欢迎光临 游侠NETSHOW论坛 (https://game.ali213.net/) Powered by Discuz! X2