《战争(Warfare)》调出坦克车辆直升机及人员的简易方法
批量修改
游戏安装目录 X:\Warfare\basis\console 里 utils.lua 文件(记事本或UE打开)~
将以下文本复制并替换原文件内容即可~
-- 域桦栩睇?趔黻鲨?潆 觐眈铍?
help = function()
console.log("***************************************************************************************")
console.log(" - utils.vtune(frames, framestep, frames_to_wait, need_exit)")
console.log(" Vtune data collection")
console.log(" - frames - for how much frames data will be collected")
console.log(" - framestep - timer step during data collection, ms")
console.log(" - frames_to_wait - for how much frames to wait before data collection")
console.log(" - need_exit - set to true to exit the game after data collection")
console.log("***************************************************************************************")
console.log(" - cheats.givecl(num)")
console.log(" Spawns lates versions of cl tanks at 10, 10")
console.log(" - num - How many cl to spawn")
console.log("***************************************************************************************")
console.log(" - cheats.givery()")
console.log(" Spawns rys squad at 10, 10")
console.log("***************************************************************************************")
console.log(" - cheats*All()")
console.log(" Shows enemy units under the fog of war")
console.log("***************************************************************************************")
console.log(" - cheats.hideAll()")
console.log(" Hides enemy units under the fog of war")
console.log("***************************************************************************************")
end
utils = {
--- 泽黻鲨 玎矬耜噱?襻铕 溧眄 vtune'铎.
--- frames - 觐腓麇耱忸 赅漯钼, ?蝈麇龛?觐蝾瘥?狍潴?耦徼疣螯? 溧眄
--- framestep - ?蜞殪屦?玎 赅漯 忸 怵屐 襻铕?溧眄, 祚
--- frames_to_wait - 觐腓麇耱忸 赅漯钼, 觐蝾瘥?眢骓?镱漕驿囹?镥疱?襻铕铎 溧眄
--- need_exit - 羼腓 true, 蝾 趔黻鲨 镳铊玮钿栩 恹躅?桤 镳桦铈屙? 镱 铌铐鬣龛?襻铕?溧眄
vtune = function(frames, framestep, frames_to_wait, need_exit)
if (frames_to_wait ~= nil) then
console.waitFrames(frames_to_wait)
end
game.startVtuning(frames, framestep)
console.waitFrames(frames + 1)
if (need_exit) then
game.exit()
end
end,
}
cheats = {
--- 耧囿龛?Num 噌疣祚钼 镱耠邃礤?祛滂翳赅鲨??觐铕滂磬蜞?磬麒磬 ?10,10 ?溧脲?镱 5 戾蝠钼 ?鲥眚痼.
--- 漕徉怆弪 桴 ?恹溴脲龛?
--- 徨?镟疣戾蝠钼 - 耧囿龛?钿桧 蜞黻
givetk = function(num)
local dist = 5
local x = 60 - dist
local y = 600 - dist
if ((num == nil) or (num < 1)) then
num = 1
end
for count = 1, num, 1 do
local xx = x + count * dist
local yy = y + count * dist
local zz = game.getLandHeight(xx, yy)
game.selectEntity(game.spawnTank("tank_t72_smoke", xx, yy, zz, 0, "usa"))
end
console.log("CHEATS >> Spawned ", num, " tk")
end,
givecl = function(num)
local dist = 5
local x = 60 - dist
local y = 600 - dist
if ((num == nil) or (num < 1)) then
num = 1
end
for count = 1, num, 1 do
local xx = x + count * dist
local yy = y + count * dist
local zz = game.getLandHeight(xx, yy)
game.selectEntity(game.spawnCar("car_m978_tanker", xx, yy, zz, 0, "usa"))
end
console.log("CHEATS >> Spawned ", num, " cl")
end,
givezsj = function(num)
local dist = 5
local x = 60 - dist
local y = 600 - dist
if ((num == nil) or (num < 1)) then
num = 1
end
for count = 1, num, 1 do
local xx = x + count * dist
local yy = y + count * dist
local zz = game.getLandHeight(xx, yy)
game.selectEntity(game.spawnHeli("vertolet_mi26", xx, yy, zz, 0, "usa"))
end
console.log("CHEATS >> Spawned ", num, " zsj")
end,
givery = function(num)
local dist = 5
local x = 60 - dist
local y = 600 - dist
if ((num == nil) or (num < 1)) then
num = 1
end
for count = 1, num, 1 do
local xx = x + count * dist
local yy = y + count * dist
local zz = game.getLandHeight(xx, yy)
game.selectEntity(game.spawnSquad("us_delta_01", xx, yy, zz, 0, "usa"))
end
console.log("CHEATS >> Spawned ", num, " ry")
end,
--- 镱赅琨忄弪 怦艴 怵嚆钼
showAll = function()
game.enableHideInvisible(false)
console.log("CHEATS >> Enemies are visible now")
end,
--- 镳麇?怦艴 怵嚆钼
showAll = function()
game.enableHideInvisible(true)
console.log("CHEATS >> Enemies are invisible now")
end,
-- 玎耧囿龛?耥囡屦 耜忄??10, 10
}
使用方法:
打开控制台:
Ctrl+~
cheats.givetk (*) 坦克*辆
cheats.givecl (*) 车辆*辆
cheats.givezsj (*) 直升机*架
cheats.givery (*) 人员*人
括号前有空格~ 括号内数量有效~基本出现坐标位于屏幕上方偏右一点
各种类别需要什么具体单位~参考游戏安装目录下(X:\Warfare\basis\textures\ui\pictures\tech_pic)的单位代码即可~
更多《战争(Warfare)》调出坦克车辆直升机及人员的简易方法相关问题
问题:《战锤全面战争》大佬们,中古的火枪威力怎么样啊?和毛瑟1871那种11mm口
回答:看到时候媒体游戏试玩出来就知道了 详情 >
问题:《战锤全面战争》长须之战时的矮人具体有多强有什么黑科技?
回答:这游戏有剧情吗怎么剧透啊 详情 >
问题:《生化危机》请问下生化2重制版中的大卫福特是谁?
回答:我下面的话可能有失公正:“wang yi回帖目前大都是脑残跟风,这么一个具有煽动性的网站发表舆论,正在或已经沦为脑残聚集地的xx吧和xxx吧的脑残粉自然要跟风的,更何况宝马什么的可信度不高,现在新闻的真实程度恐怕只有当事人自己明白…………”我这是怎么了………………... 详情 >
问题:《战锤全面战争》你觉得战锤设计最失败的兵种是什么
回答:别去打了,浪费道具附魔,打不过,你接近他你还不能跑,只能跳着躲,还有一个很恶心的招式,瞬移到你后面掏肛然后塞他自己肛里去了。 详情 >
问题:《战锤全面战争》啊这,南北战争蒸汽坦克不知道和帝国的坦克碰一碰会怎么样
回答:第一人称太恐怖了,第三人称倒是没那么恐怖!生化7我也是玩了几分钟就不敢玩了,在房子里面我连门都不敢开真怕开门后,漆黑的房间里面蹦出一个吓人的怪物 详情 >