How do I add in a custom weapon?
Posted: Tue Nov 25, 2014 7:22 am
I've been working on a few private mods (mainly just adding in ships such as the Millennium Falcon, Normandy and the Forward Unto Dawn) and I want to add a custom weapon to the Dawn. Since I'm new to modding I have no idea how to do so.
I want to add this weapon:
<weaponBlueprint name="BOMB_DAMAGE_1">
<type>BOMB</type>
<tip>tip_bombs</tip>
<title>Magnetic Accelerator Cannon</title>
<short>MAC</short>
<locked>0</locked>
<desc>A large coilgun that serves as the primary offensive weapon for UNSC warships. It fires slugs of ferric Tungsten approximately 9.1 meters long at around 30,000 meters per second.</desc>
<tooltip>A large coilgun. It fires slugs of tungsten at 30,000 m/s</tooltip>
<damage>2</damage>
<sysDamage>1</sysDamage>
<persDamage>2</persDamage>
<missiles>1</missiles>
<shots>1</shots>
<sp>5</sp>
<fireChance>0</fireChance>
<breachChance>10</breachChance>
<cooldown>15</cooldown>
<power>3</power>
<cost>60</cost>
<bp>4</bp>
<rarity>0</rarity>
<image>bomb_breach</image>
<explosion>explosion_random</explosion>
<launchSounds>
<sound>bombTeleport</sound>
</launchSounds>
<hitShipSounds>
<sound>smallExplosion</sound>
</hitShipSounds>
<weaponArt>bomb_breach</weaponArt>
<iconImage>bomb</iconImage>
</weaponBlueprint>
All I did was modify the code for the breach bomb.
I have tried looking at guides but none of them have helped.
I want to add this weapon:
<weaponBlueprint name="BOMB_DAMAGE_1">
<type>BOMB</type>
<tip>tip_bombs</tip>
<title>Magnetic Accelerator Cannon</title>
<short>MAC</short>
<locked>0</locked>
<desc>A large coilgun that serves as the primary offensive weapon for UNSC warships. It fires slugs of ferric Tungsten approximately 9.1 meters long at around 30,000 meters per second.</desc>
<tooltip>A large coilgun. It fires slugs of tungsten at 30,000 m/s</tooltip>
<damage>2</damage>
<sysDamage>1</sysDamage>
<persDamage>2</persDamage>
<missiles>1</missiles>
<shots>1</shots>
<sp>5</sp>
<fireChance>0</fireChance>
<breachChance>10</breachChance>
<cooldown>15</cooldown>
<power>3</power>
<cost>60</cost>
<bp>4</bp>
<rarity>0</rarity>
<image>bomb_breach</image>
<explosion>explosion_random</explosion>
<launchSounds>
<sound>bombTeleport</sound>
</launchSounds>
<hitShipSounds>
<sound>smallExplosion</sound>
</hitShipSounds>
<weaponArt>bomb_breach</weaponArt>
<iconImage>bomb</iconImage>
</weaponBlueprint>
All I did was modify the code for the breach bomb.
I have tried looking at guides but none of them have helped.