December 23, 2024, 03:03:39

Author Topic: Unknown EFX number  (Read 11416 times)

Offline malcolmreed

  • Recruit
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • http://
Unknown EFX number
« on: February 19, 2011, 15:58:00 »
Hi,

I am looking for the identifier of an EFX i saw some time ago.
The efx is the one of an engine that has the ''Jump'' parameter, I already
searched in the tacticstypes sheet but in the engine definition there is no efx definition,
just the parameter ''Jump''.

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Unknown EFX number
« Reply #1 on: February 19, 2011, 20:51:45 »
You mean the ip jump? it's hardcoded, there's no effect for it.

Offline Lt.Brandon

  • Crewman
  • *
  • Posts: 39
  • Karma: 0
  • FIRE ZE MISSILEZ!
    • View Profile
    • War of The Damned MODDB Page
Re: Unknown EFX number
« Reply #2 on: February 20, 2011, 01:05:49 »
Actually, he means the Rift Drive effect, but I do believe it's likely hard coded. I'll look into it, I'm using it on one of my ships and it'd be nice to know if I can change it.

Edit: Well I just went through all the efx/particle code, and it's not there so only thing you could do is try making a script version of it. Well if I ever have a need to make a script version of that I'll send it your way  ;D
« Last Edit: February 20, 2011, 01:35:44 by Lt.Brandon »

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Unknown EFX number
« Reply #3 on: February 20, 2011, 10:01:49 »
Yeah, hardcoded too. And if you manage to make a script out of it I'd love to take a look at it!

Offline malcolmreed

  • Recruit
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • http://
Re: Unknown EFX number
« Reply #4 on: February 20, 2011, 12:48:10 »
Damn! Thanks anyway! I suspected the rift drive was hardcoded... someone knows a weapon with a similar effect, something like an explosion that projects laser rays all over around? I don't know if the nexus engine can even do something like that...

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Unknown EFX number
« Reply #5 on: February 20, 2011, 16:43:43 »
Can you discribe it in more detail? I think that it can be done.

Offline malcolmreed

  • Recruit
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • http://
Re: Unknown EFX number
« Reply #6 on: February 22, 2011, 15:29:08 »
I was thinking about something like a fireball eplosion that spreads laser rays all around like the one in the picture.

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
Re: Unknown EFX number
« Reply #7 on: February 22, 2011, 17:21:11 »
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...

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
Re: Unknown EFX number
« Reply #8 on: February 23, 2011, 11:49:11 »
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: [Select]
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

Offline malcolmreed

  • Recruit
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
    • http://
Re: Unknown EFX number
« Reply #9 on: February 23, 2011, 17:01:18 »
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!