您的位置:首页 → 《战争召唤:地狱之门东线》游戏单位怎么修改

《战役召唤:地狱之门东线》中的好多东西都是能够进行修改的,就算是游戏中的对打单元属性也能够进行修改,而修改AI的教程便是先去steam\steamapps\common\Call to Arms - Gates of Hell\resource右键用压缩文件打开gamelogic.pak。

兵戈召唤地狱之门东线游戏单元何如修改

单元修改(修改后敌我都有效)

steam\steamapps\common\Call to Arms - Gates of Hell\resource\entity

entity.pak/-vehicle/germany/tank_heavy/tiger1hunt

以这个虎式精英为例:

首先打开def后缀文件

{weapon "mgun" {mask "mountable"}}武器的弹药量

{box

{item "bulletger_88_l56 apcbche" 32} ; 92 rounds

{item "bulletger_88_l56 he" 46}

{item "bulletger_88_l56 apcr" 4}

{item "bulletger_88_l56 heat" 9}

{item "ammo mgun_ger belt" 4500} ; 32 belts (150 rounds each)

{item "mg34_drum" filled {user "mgun"}}

{item "geballteladung_3kg" 1}

{item "nbks grenade" 6}

{place "gun"武器类别

{RestoreIKAfterAim}

{weapon "88mm_kwk36" filling "bulletger_88_l56 apcbche" 1}修改修改武器的名字(其余后背细说)

{gunner "gunner"}

{charger "charger"}

("abm_dymamic"

zeroing(1.0)

dispersion(0.50)

)

}

{place "mgun2"

{type "coaxial"}

{weapon "mg34_tank" filled}

{foresight "foresight5"}

{gunner "gunner"}

{charger "charger"}

("abm_mgun")

{basic}

}

{place "mgun1"

{type "hull"}

{weapon "mg34_tank" filled}

{foresight "foresight4"}

{gunner "gunner3"}

{charger "gunner3"}

("abm_mgun")

{basic}

{ai_in_manual}

}

{place "mgun"

{type "aa"}

{gunner "commander"}

{charger "commander"}

{LinkBone "mgun_rot"}

{LinkAnimation "off"}

("abm_mgun")

{basic}

{ai_in_manual}

speed(38) ;----------Max speed when fully accelerated on road, km/h.在道路上无缺加快时的最大速率

reverse(12) ;--------Max speed in reverse on road, km/h. (+2 of real life speed)道路上倒车时的最大速率

traverse(25) ;-------Track traverse, per second, in degrees.???

weight(57) ;---------Weight in Tonnes.

power(600) ;---------Engine Power, in hp. //engine was governed to 2500 max rpm which reduced it from 700HP to 600HP发动机功率

track(3.5) ;---------Track performance: (0,10], 10=ideal. Sluggish tanks and vehicles with narrow and non-gripping tracks have a lower performance.

fuel(540) ;----------Fuel capacity in Litres.燃料

type(fuel) ;---------Fuel type. (diesel OR fuel)燃料类别

range(80) ;----------Range in km, off-road.???

武器修改在gamelogic.pak/set/stuff/gun

以b4为例:

{filling "bulletrus_203"}

{fireSound "gun/gun_203_210"}

{fireSoundclose "gun/gun_203_210"}

{reloadSound "tank/reload_howitzer"}

("super_heavy_artillery")

{calibre 203}口径

{range 440 440} ; // 18km射程

("reload time" seconds(70))装填速率

("velocity" mps(218))炮弹飞行速率

("accuracy_indirect" ; // Applies logic for accuracy of indirect weapons over 200m

r1(1.50)直射精度 ; // Accuracy radius for direct-fire munitions

r2(12) 曲射精度 ; // Accuracy radius for indirect fire

rmax(38) 最大射程精度 ; // Accuracy radius for indirect fire at maximum range

range_ap(200) 200米ap低落 ; // Range after which accuracy drops to prevent farshooting.

range_heat(200) ; // Range after which accuracy drops to prevent farshooting.

range_he(440) ; // Range after which accuracy drops to prevent farshooting.

)

}

其他说明:

1.gamelogic.pak/set/multiplayer/units/conquest 修改驾驶员(不确定,很久没自新)

2.武器伤害在shell里相对的弹药类别(没自新,看不懂)

3.装甲在ext里(没研究过)

4.gamelogic.pak/script/multiplayer/rus里找到相对单元修改出现概率

{priority = 1.0, type = {"Tank", "Medium", "Class1",}, unit = "t3485_44"},

5.最先出现时间(第几局AI能用上)

gamelogic.pak/set/multiplayer/units

{"is2_43"

("vehicle2" side(rus) period(mid) min_stage(12) max_stage(13) cw(8) cp(30) crew1(tankman:3) crew2(tank_commander:1))

{cost 1350}

智能推荐