Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: 0rph3u5 on January 17, 2016, 08:27:13 am

Title: explosion-effect with Electronics flag?
Post by: 0rph3u5 on January 17, 2016, 08:27:13 am
Hey all,

is it possible to give an explosion created by the explosion-effect the same flags you can give weapons in the weapons.tbl/tbm?

I am asking cause I am trying to get a sort of mobile EMP generator to work in a mission which is supposed to have a bigger effect than just what the engine defines as EMP...
Title: Re: explosion-effect with Electronics flag?
Post by: karajorma on January 17, 2016, 11:54:09 am
We could probably quite easily add support for an electronics effect to the SEXP, but it doesn't seem to be able to do it now.
Title: Re: explosion-effect with Electronics flag?
Post by: General Battuta on January 17, 2016, 12:01:03 pm
Use weapon-create
Title: Re: explosion-effect with Electronics flag?
Post by: 0rph3u5 on January 17, 2016, 02:38:15 pm
We could probably quite easily add support for an electronics effect to the SEXP, but it doesn't seem to be able to do it now.

That would be nice in the long run but, forgive me ignorant mortal for saying this, but this would take longer than I would like - esspecially considering it might require adding new parameters to the SEXP (and of course the unfortunate snowball effect, I just realized this would have in regard of other weapons flags like the leech effect)

Use weapon-create

Sounds good ... I'll have to test that, shouldn't be too hard to table a weapon with the requisite parameters and keep it spawning inside the ship I want to have the pulse originate from
Title: Re: explosion-effect with Electronics flag?
Post by: 0rph3u5 on January 17, 2016, 02:44:03 pm
Use weapon-create

Tested with a superpowered copy and paste of the D-Missile, worked - made me realize there is a bug in the concept I had not worked out (how to stop the pulse from shutting down the ship sending it - after I only need to make the HUD highlight the danger area and then done)

Thank you