上次我们说到了生命修改,这次教大家修改武器数据
不想修改的可以直接下载复制到游戏目录
链接:
生效方法:需要在 HomeworldRM.ex的快捷方式后加空格-overrideBigFile -mod yaoduMOD.Big,yaoduMODCH.big 注意文件要放在游戏目录\data下 ship和weapon两个文件夹
本次教程附带耀峰号战列舰的三个主武器文件 是在WEAPON文件夹下的三个文件
如图 打开wepn文件修改数据即可 需要将所有文件放置到游戏目录的data下
接下来是weapon文件的说明,转载
以导弹alos_hugemissle为例
只看前两行
StartWeaponConfig(NewWeaponType,"Fixed","Missile","alos_hugemissle","Normal",320,18000,0,0,0,0,1,0,1,50,0,0,0,0,0,0,0.1,"Normal",0,0,0) 武器速度和射程 光线类速度为0 另外两个武器文件都是光线类型
AddWeaponResult(NewWeaponType,"Hit","DamageHealth","Target",55,55,"") 红色是伤害数字,随自己喜好修改
对于耀峰号ship文件,打开 alos_battleship_super_basic.ship
拉到最后
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG01", "weapon", "Innate", "Indestructible", "alos_huge_1400mmgunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG02", "weapon", "Innate", "Indestructible", "alos_huge_1400mmgunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG03", "weapon", "Innate", "Indestructible", "alos_huge_1400mmgunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG04", "weapon", "Innate", "Indestructible", "alos_huge_1400mmgunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG05", "weapon", "Innate", "Indestructible", "alos_huge_1400mmgunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG06", "weapon", "Innate", "Indestructible", "alos_huge_ionturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG07", "weapon", "Innate", "Indestructible", "alos_huge_ionturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG08", "weapon", "Innate", "Indestructible", "alos_huge_ionturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG09", "weapon", "Innate", "Indestructible", "alos_huge_ionturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG10", "weapon", "Innate", "Indestructible", "alos_huge_ionturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG11", "weapon", "Innate", "Indestructible", "alos_huge_ionturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG12", "weapon", "Innate", "Indestructible", "alos_heavy_gunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG13", "weapon", "Innate", "Indestructible", "alos_heavy_gunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG14", "weapon", "Innate", "Indestructible", "alos_heavy_gunturretX4", "", "", "", "", "", "", "", "")
StartShipHardPointConfig(NewShipType, "1", "WeaponAAG15", "weapon", "Innate", "Indestructible", "alos_heavy_gunturretX4", "", "", "", "", "", "", "", "") 上面这部分是武器挂载点,可以不管
下面是武器部分 红色是添加的 "alos_hugemissle"部分是使用的武器名字,可以直接复制一遍,就有了两倍的武器,也可以修改为自己想要的武器 "vgr_huge_hugemissleside" 是维格儿的红莲导弹马卡恩之怒版本,修改添加就有下图效果
"weaponmissle1", 是武器挂载点 就是炮塔位置,有1 2是因为战列舰有两个左右两个导弹发射口 注意不要输错了
StartShipWeaponConfig(NewShipType, "alos_hugemissle", "weaponmissle1", "")
StartShipWeaponConfig(NewShipType, "alos_hugemissle", "weaponmissle1", "")
StartShipWeaponConfig(NewShipType, "vgr_huge_hugemissleside", "weaponmissle1", "")
StartShipWeaponConfig(NewShipType, "alos_hugemissle", "weaponmissle2", "")
StartShipWeaponConfig(NewShipType, "alos_hugemissle", "weaponmissle2", "")
StartShipWeaponConfig(NewShipType, "vgr_huge_hugemissleside", "weaponmissle2", "")
StartShipWeaponConfig(NewShipType, "alos_hugeioncannonfront", "weaponmissle3", "")
StartShipWeaponConfig(NewShipType, "alos_hugeioncannonfront", "weaponmissle4", "")
StartShipWeaponConfig(NewShipType, "alos_hugeioncannonfront", "weaponmissle5", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG01", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG02", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG03", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG04", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG05", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG06", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG07", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG08", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG09", "")
StartShipWeaponConfig(NewShipType, "alos_small_PlasmaAAgun", "weaponsideAAG10", "")
|