Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Kestrellius on September 06, 2018, 08:05:35 am

Title: Can't isolate certain elements of bomb explosion
Post by: Kestrellius on September 06, 2018, 08:05:35 am
I've made a slightly modified version of the Cyclops, but the explosion and shockwave don't look quite right, even though as far as I can tell I copied all the elements from weapons.tbl and the mv-effects-wep.tbm correctly (replacing the retail data with the .tbm data when necessary).

Specifically, the explosion doesn't cause the screen to flash when looked at directly, and there's no glowing orange point that lingers for a moment after the shockwave is gone. I think the lingering glow is capflash.eff, but it might be something else that looks similar. Thing is, I can't see anything anywhere in the data for the MediaVPs Cyclops that would tell it to use capflash.

Anybody know what this is? Is there an extra .tbm file hidden somewhere that I'm not seeing, that's modifying the original Cyclops and that I'll need to replicate?
Title: Re: Can't isolate certain elements of bomb explosion
Post by: Novachen on September 06, 2018, 08:19:35 am
Mhh not sure, but actually it looks like, that you should edit the mv_wep_exp_flashes.cfg aswell.

It is in mv_effects\config.
Title: Re: Can't isolate certain elements of bomb explosion
Post by: Kestrellius on September 06, 2018, 08:47:25 am
Mhh not sure, but actually it looks like, that you should edit the mv_wep_exp_flashes.cfg aswell.

It is in mv_effects\config.

That was it! Thanks!

(For people in the future with the same question: I didn't edit the original file; I copied the .cfg file into a config folder in one of my packages, then deleted the contents and added an entry for my custom bomb.)
Title: Re: Can't isolate certain elements of bomb explosion
Post by: Colonol Dekker on September 06, 2018, 09:10:03 am
This topic piqued my interest.  But I can't help with this I'm sorry.
Title: Re: Can't isolate certain elements of bomb explosion
Post by: Novachen on September 06, 2018, 09:12:06 am
copied the .cfg file into a config folder in one of my packages, then deleted the contents and added an entry for my custom bomb.

You should not do that, because on this way, you deactivate the effects for all the other weapons, because only your cfg is used due to the same file name. There is nothing like a modular config file in FSO.

You have to use a complete config file that has all weapons that are present in your mod with it. So in your case, because you are only use .tbms, you have to add your new bombs (and beams) to the original content for a whole new mv_wep_exp_flashes.cfg, that your mod is using :)
Title: Re: Can't isolate certain elements of bomb explosion
Post by: General Battuta on September 06, 2018, 12:47:39 pm
Why contain it?
Title: Re: Can't isolate certain elements of bomb explosion
Post by: Nightmare on September 06, 2018, 12:58:21 pm
Why contain it?

Because it's a sick feature
Title: Re: Can't isolate certain elements of bomb explosion
Post by: General Battuta on September 06, 2018, 02:53:36 pm
That was not the response I was looking for
Title: Re: Can't isolate certain elements of bomb explosion
Post by: Spoon on September 06, 2018, 03:30:22 pm
Why contain it?
s'cool