UGX-Mods

Call of Duty 5: World at War => Help Desk => Mapping => Topic started by: SefSefHD on July 01, 2016, 09:35:50 am

Title: Adding FX Easily?
Post by: SefSefHD on July 01, 2016, 09:35:50 am
Is it possible to add basic fire fx to a script_struct? Like no complex scripting and stuff :P

Or do i have to take the long route heh
Title: Re: Adding FX Easily?
Post by: Harry Bo21 on July 01, 2016, 12:54:18 pm
I wouldn't call it "complex" scripting

Just need to load the fx in script, add it to your mod, and thread a function telling it to playfx
Title: Re: Adding FX Easily?
Post by: Koan on July 01, 2016, 12:58:25 pm
I would recommend using UGX Easy FX (https://confluence.ugx-mods.com/display/UGXMODS/Easy-FX) since it means most of it is done for you, all you do is declare/load the FX with one line of code and add a few KVPs to a script_struct.

Follow that tutorial in the link and let us know how you get on.
Title: Re: Adding FX Easily?
Post by: SefSefHD on July 01, 2016, 01:03:29 pm
Been there, Done that :(

Just got an 400 'FX' asset error

Tried removing extra useless fx but same thing comes up
Title: Re: Adding FX Easily?
Post by: Koan on July 01, 2016, 02:11:10 pm
Been there, Done that :(

Just got an 400 'FX' asset error

Tried removing extra useless fx but same thing comes up

How did you "remove" it? Did you just comment out lines in the script? Cause you need to comment out the lines in various CSV files too.

Have a look at: dlc3.csv, mapname.csv, mapname_patch.csv, comment out some FX there, as well as the mod.csv in the Launcher.
Title: Re: Adding FX Easily?
Post by: SefSefHD on July 03, 2016, 06:20:14 pm
Been there, Done that :(

Just got an 400 'FX' asset error

Tried removing extra useless fx but same thing comes up

Played around with the script and got everything to work like a charm! Thank you sir

+Respect
Title: Re: Adding FX Easily?
Post by: Koan on July 03, 2016, 07:15:40 pm
Played around with the script and got everything to work like a charm! Thank you sir

+Respect

Why did you just mark yourself as best answer? :please:
Title: Re: Adding FX Easily?
Post by: SefSefHD on July 04, 2016, 01:01:57 pm
Why did you just mark yourself as best answer? :please:

Whoops, Soz :D