Code: Select all
<EffectType UNID="&efLaserBeamDefault2;"
instance= "owner"
>
<Effect>
<Ray
length= "100"
width= "100"
intensity= "100"
primaryColor= "#C42AF1"
secondaryColor= "#C000FF"
/>
</Effect>
<Events>
<GetParameters>
; This event allows us to initialize effect parameters based
; on weapon properties. In particular, we adjust the size of
; the effect based on the amount of average damage.
;
; For weapon effects, gData has the following fields:
;
; damageHP: The average number of hit points of damage.
; speed: The speed of the shot (as a percent of lightspeed).
;
; The event must return a structure with each field representing
; a parameter for the effect. For Ray effects, valid fields are:
; intensity, length, width, primaryColor, and secondaryColor.
(block Nil
{
style: "jagged"
shape: "tapered"
}
)
</GetParameters>
</Events>
</EffectType>