why the vapor trails of this weapon looks messed up ?
It's a missile launcher with vapor trails that lanches 6 missiles at the same time
Can somebody tells me (if possible) how to make the trails looks better when the missile are not lock onto a target ? Currently 3 of them are shot straight and 3 are diagonal, and I don't know why.
Maybe it's just a limitation of the vaportrail effect.
Here is the weapon...
Code: Select all
<!-- Napoleon Launcher -->
<ItemType UNID="&itNapoleonLauncher;"
name= "Napoleon Launcher"
level= "6"
value= "19000"
mass= "4500"
frequency= "rare"
modifiers= "MajorItem; Launcher; Ammo; Specialty"
description= "The Napoleon is a 6 muzzled missile launcher, each ammo cartridge contains 6 mini missiles that automatically track on the nearest target."
>
<Image imageID="&rsItems1;" imageX="0" imageY="480" imageWidth="96" imageHeight="96"/>
<Weapon
fireRate= "30"
powerUse= "10"
launcher= "true"
>
<Missiles>
<Missile ammoID="&itNapoleonMissile;"
type= "missile"
lifetime= "120"
damage= "blast:1d6+2; WMD4"
missileSpeed= "50"
maneuverability="2"
directional= "true"
hitEffect= "&efFragmentationExplosion;"
sound= "&snMissileLauncher;"
vaporTrailLength="40"
vaporTrailWidth="110"
vaporTrailWidthInc="5"
vaporTrailColor="0xff, 0x00, 0x00"
>
<Image imageID="&rsMissiles2;" imageX="0" imageY="0" imageWidth="32" imageHeight="32" imageFrameCount="0" imageTicksPerFrame="0"/>
<Fragment
count= "5d6"
type= "missile"
lifetime= "5"
damage= "blast:1d6+2; WMD4"
missileSpeed= "5-48"
>
<Effect>
<ImageAndTail
imageID= "&rsMissiles4;"
imageX= "0"
imageY= "0"
imageWidth= "16"
imageHeight= "16"
imageFrameCount= "4"
imageTicksPerFrame= "1"
length= "32"
width= "8"
primaryColor= "0xff, 0xff, 0xff"
secondaryColor= "0xc0, 0xc2, 0x85"
/>
</Effect>
</Fragment>
</Missile>
</Missiles>
<Configuration aimTolerance="5">
<Shot posAngle="-90" posRadius="10" angle="-3"/>
<Shot posAngle="90" posRadius="10" angle="3"/>
<Shot posAngle="-90" posRadius="5" angle="-2"/>
<Shot posAngle="90" posRadius="5" angle="2"/>
<Shot posAngle="0" posRadius="0" angle="-1"/>
<Shot posAngle="0" posRadius="0" angle="1"/>
</Configuration>
</Weapon>
</ItemType>
<!-- Napoleon missile -->
<ItemType UNID="&itNapoleonMissile;"
name= "Napoleon missile"
level= "6"
value= "40"
mass= "40"
frequency= "uncommon"
numberAppearing= "8d20"
modifiers= "Consumable; Missile"
description= "The Napoleon is a non military multi missile compatible with the Napoleon Launcher. Each cartridge contains in 6 mini missiles."
sortName= "Napoleon.20"
>
<Image imageID="&rsItems1;" imageX="0" imageY="96" imageWidth="96" imageHeight="96"/>
</ItemType>