Since I do not have any experience on Globals and all of those complicated modding I can not do anything in that angle.
Currently I am Create this:
Code: Select all
<ItemType UNID="&itExclusion;"
attributes= "commonwealth, majorItem, kabuto, speciality, energyWeapon"
name= "[weapon(s)] named "Exclusion""
level= "1"
frequency= "common"
value= "1"
mass= "12000"
description= "This weapon fires 4 independantly directed ion beams that fire in a expanding formation,"
>
<Image
imageID= "&rsItems8;"
imageX= "0"
imageY= "96"
imageWidth= "96"
imageHeight= "96"
/>
<Weapon
type= "beam"
omnidirectional= "true"
multiTarget="true"
damage= "ion:5d2"
fireRate= "5"
lifetime= "20"
powerUse= "350"
missilespeed= "100"
sortName= "exclusion"
sound= "&snLaserCannon;"
>
<Effect>
<Ray
style= "jagged"
shape= "oval"
intensity= "100"
length= "50"
width= "10"
primaryColor= "#00ffff"
secondaryColor= "#00ffff"
/>
</Effect>
<Configuration aimTolerance="5">
<Shot/> <Shot/> <Shot/> <Shot/>
</Configuration>
</Weapon>
</Itemtype>
Each shot separated into angles of 90º each (90º, -90º, 135º, -135º)
Each shot can aim independently, and if there is only one target, all four shots focus to that target and if there is 2 targets, two of the shots go to one and the other two another target, if 3, the nearest target will get 2 and the others 1 and for four, each 1 shot will attack the four targets.
The weapon does not shoot when there is no target to be shot.