战地2吧 关注:142,957贴子:3,882,976
  • 7回复贴,共1

弹药包,医疗包和扳手在其他兵种上添加后能够有效的修改方法

只看楼主收藏回复

因为在网上没有找到类似的一个关于这个主题的问题,而且我曾经在其他兵种上修改过后,弹药包,医疗包什么的都只能扔掉才能用,所以实在不好玩,然后就无聊就尝试了一下,发现了一个修改有效的方法,修改过后就如补给兵,医疗兵,工程兵一样的存在。


IP属地:广东1楼2015-12-26 01:40回复
    以修改bf2原版mod为例:
    首先,依照以下位置打开压缩文件:
    游戏所在盘符:\BattleField2\mods\bf2\Objects_server.zip
    打开Objects_server.zip后,这里以为中国反坦克兵种添加弹药包为例,
    根据以下路径找到文件:Kits\ch\CH_AT.con
    解压CH_AT.con文件,然后鼠标右键选择“属性”,把“只读”去掉。
    到这里,基本准备就完成了。然后就可以开始按照下面的方法为兵种添加各种辅助工具了!
    弹药包添加方法:
    在“ObjectTemplate.hasCollisionPhysics 1”这行代码之后,
    在“ObjectTemplate.unlockIndex 1”这行代码之前,
    添加
    ObjectTemplate.abilityRestoreRate 0.05
    ObjectTemplate.abilityInVehicleRadius 7
    ObjectTemplate.abilityInVehicleStrength 0.2
    ObjectTemplate.abilityInVehicleMaterial 91
    然后在“ObjectTemplate.addTemplate ParachuteLauncher
    rem -------------------------------------”之后
    在“ObjectTemplate.createComponent VehicleHud”之前,
    添加
    ObjectTemplate.createComponent Ability
    ObjectTemplate.ability.hasAmmoAbility 1
    最后在“ObjectTemplate.sprintStaminaDissipationFactor xxx”之后
    在“rem ---BeginComp:Radio ---
    ObjectTemplate.createComponent Radio”之前
    添加
    rem ---BeginComp:HelpHud ---
    ObjectTemplate.createComponent HelpHud
    ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_KIT_SUPPORT_inVehicle"
    ObjectTemplate.HelpHud.helpSoundKey "HUD_HELP_KIT_SUPPORT_inVehicle"
    rem ---EndComp ---
    即可
    最后记得保存后改为只读
    医疗包添加方法:
    在“ObjectTemplate.hasCollisionPhysics 1”这行代码之后,
    在“ObjectTemplate.unlockIndex 1”这行代码之前,
    添加
    ObjectTemplate.abilityRestoreRate 0.05
    ObjectTemplate.abilityInVehicleRadius 7
    ObjectTemplate.abilityInVehicleStrength 0.25
    ObjectTemplate.abilityInVehicleMaterial 73
    然后在“ObjectTemplate.addTemplate ParachuteLauncher
    rem -------------------------------------”之后
    在“ObjectTemplate.createComponent VehicleHud”之前,
    添加
    ObjectTemplate.createComponent Ability
    ObjectTemplate.ability.hasHealingAbility 1
    最后在“ObjectTemplate.sprintStaminaDissipationFactor xxx”之后
    在“rem ---BeginComp:Radio ---
    ObjectTemplate.createComponent Radio”之前
    添加
    rem ---BeginComp:HelpHud ---
    ObjectTemplate.createComponent HelpHud
    ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_KIT_MEDIC_inVehicle"
    ObjectTemplate.HelpHud.helpSoundKey "HUD_HELP_KIT_MEDIC_inVehicle"
    rem ---EndComp ---
    扳手添加方法:
    在“ObjectTemplate.hasCollisionPhysics 1”这行代码之后,
    在“ObjectTemplate.unlockIndex 1”这行代码之前,
    添加
    ObjectTemplate.abilityRestoreRate 0.05
    ObjectTemplate.abilityInVehicleRadius 7
    ObjectTemplate.abilityInVehicleStrength 0.1
    ObjectTemplate.abilityInVehicleMaterial 84
    然后在“ObjectTemplate.addTemplate ParachuteLauncher
    rem -------------------------------------”之后
    在“ObjectTemplate.createComponent VehicleHud”之前,
    添加
    ObjectTemplate.createComponent Ability
    ObjectTemplate.ability.hasRepairingAbility 1
    最后在“ObjectTemplate.sprintStaminaDissipationFactor xxx”之后
    在“rem ---BeginComp:Radio ---
    ObjectTemplate.createComponent Radio”之前
    添加
    rem ---BeginComp:HelpHud ---
    ObjectTemplate.createComponent HelpHud
    ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_KIT_ENGINEER_inVehicle"
    ObjectTemplate.HelpHud.helpSoundKey "HUD_HELP_KIT_ENGINEER_inVehicle"
    rem ---EndComp ---
    最后,记得记得要保存之后要改为只读文件(其实我觉得不改也没有什么问题的说!因为我以前改枪械的参数的时候为了方便修改,所以就都没有上只读锁)。


    IP属地:广东3楼2015-12-26 01:44
    回复
      又到了交配的季节,这位年轻的楼主又开始发一些奇奇怪怪的帖子,来博取异性的注意,虽然他还是会和往年一样无功而返,但是,让我们跟随这位小伙的脚步,看他今年是否能够创造奇迹,送出祖传的染色体呢?让我们拭目以待...


      来自Android客户端4楼2015-12-26 01:46
      收起回复
        另外想问下大家,乃们的模组都在哪里下的啊?!我各种找不到!!


        IP属地:广东5楼2015-12-26 02:14
        回复


          IP属地:天津来自Android客户端6楼2015-12-26 08:21
          回复