Nexus Modding > Mod Development / Released Mods

Unknown EFX number

<< < (2/2)

Mularac:
Can you discribe it in more detail? I think that it can be done.

malcolmreed:
I was thinking about something like a fireball eplosion that spreads laser rays all around like the one in the picture.

Mularac:
If those lasers are just for show and are not meant to hit anything, then I think it could be done... But it would require some coding in the area of particles and stuff.
I veliebe there was a mod somewhere that did some work with particles, perhaps we can use that to get started. I'll see if I can find it in my old computer...

Arparso:
Yeah, you'll definitely need particles for that. There's no way to do this just with an EFX block, because there you can't tell the laser rays to shoot off in all directions. It's easy to do this with particles, though: just create a spherical emitter shooting off a number of rays, where the emitted ray particles primarily consist of a SNAKE effect. SNAKE is actually better suited for engine trails and the like, but with some tweaking you could probably also create some convincing laser rays.

Here's an example from my "Silvester fun mod" doing something similar:


--- Code: ---PARTICLE "colorful explosion"

duration 10

EMITTER

sphere 10
velocity [200,400]
maxcount [50,100]

EMIT
duration 5
position {cont vel e.wind}

SNAKE
Type 13
TextureScale 1
StartRadius 40
EndRadius 50
heatcolor [<1.5,1,0>,<0.25,1,0>] {dur 4.5 lerpto [<1.5,1,0>,<0.25,1,0>]} {intv 4.5,5 lerpto <0.75,0,0>}
Decay 1
Sustain .1
END


END
END

EMITTER

sphere 10
velocity [200,400]
maxcount [400,800]

EMIT
duration 5
position {cont vel e.wind}

SEQUENCE
type #ANI_SPARK
size {dur 2.5 lerp [50,100], [100,200], 0.7}
heatcolor [<1.5,1,0>,<0.25,1,0>] {dur 4.5 lerpto [<1.5,1,0>,<0.25,1,0>]} {intv 4.5,5 lerpto <0.75,0,0>}
END
END
END
END
--- End code ---

malcolmreed:
Yeah, the 'colorful explosion' is more or less what I was searching for... it will require some adjustment but my laser cluster missile is no more just an idea! Thank you!

Navigation

[0] Message Index

[*] Previous page

Go to full version