《戰爭召喚:地獄之門東線》中的很多東西都是可以進行修改的,就算是遊戲中的戰鬥單位屬性也可以進行修改,而修改AI的方法就是先去steam\steamapps\common\Call to Arms – Gates of Hellesource右鍵用壓縮文件打開gamelogic.pak。
戰爭召喚地獄之門東線遊戲單位怎麼修改
單位修改(修改後敵我都有效)
steam\steamapps\common\Call to Arms – Gates of Hellesource\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}
來源:3DMGAME