《战争召唤:地狱之门东线》中的很多东西都是可以进行修改的,就算是游戏中的战斗单位属性也可以进行修改,而修改AI的方法就是先去steamsteamappscommonCall to Arms - Gates of Hellresource右键用压缩文件打开gamelogic.pak。
战争召唤地狱之门东线游戏单位怎么修改
单位修改
steamsteamappscommonCall to Arms - Gates of Hellresourceentity
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
{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}修改修改武器的名字
("abm_dymamic"
zeroing
dispersion
{place "mgun2"
{type "coaxial"}
{foresight "foresight5"}
{gunner "gunner"}
{charger "charger"}
{place "mgun1"
{type "hull"}
{weapon "mg34_tank" filled}
{foresight "foresight4"}
{gunner "gunner3"}
{charger "gunner3"}
{place "mgun"
{type "aa"}
{gunner "commander"}
{charger "commander"}
{LinkBone "mgun_rot"}
{LinkAnimation "off"}
{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"}
{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.最早出现时间
gamelogic.pak/set/multiplayer/units
{"is2_43"
{cost 1350}