modding:xml:weapon_with_multiple_projectiles
Example 2
This is a weapon that fires multiple projectiles:
<Weapon fireRate= "15" powerUse= "10" > <Missiles> <Missile ammoID= "&itAmmo1;" type= "missile" damage= "kinetic:1d6+1; momentum1" missileSpeed= "40" interaction= "80" lifetime= "60" sound= "&snRecoillessCannon;" > <Effect> <Bolt length= "16" width= "3" primaryColor= "0xcd, 0xf3, 0xff" secondaryColor= "0x8f, 0xa9, 0xb2" /> </Effect> </Missile> <Missile ammoID= "&itAmmo2;" type= "missile" damage= "kinetic:1d6+1; momentum1" missileSpeed= "40" interaction= "80" lifetime= "60" sound= "&snRecoillessCannon;" > <Effect> <Bolt length= "16" width= "3" primaryColor= "0xcd, 0xf3, 0xff" secondaryColor= "0x8f, 0xa9, 0xb2" /> </Effect> </Missile> </Missiles> </Weapon>
modding/xml/weapon_with_multiple_projectiles.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1