Page 1 of 1

Effects Questions

Posted: Sun Apr 05, 2009 9:44 am
by sampip
Just some quick, and probably relatively easy questions:
1. Where does it state in the weapon odf's what effect that they actually fire? I can find the muzzle flash, and explosion file in there, but no bullet effect. Does the bullet have its own msh?

2. I seem to have my Droideka sheild effects in my rep folder. I also have all the blue bullet effects in my CIS folder, along with another load of rep effects. I've tried editing a few effects in GIMP, but nothing visibly happens. Is this correct?

3. If I was to have an weapon that fires invisible shots, what would I need to do to ensure that it still fires a bullet, just invisble in the correct place, without editing the muzzle flash or the explosion part?

Re: Effects Questions

Posted: Sun Apr 05, 2009 4:04 pm
by swingking
1) the "effect" you are looking for is actually a .tga file.
It is also not referenced in the weapons .odf, rather its _ord file.
All you have to do is look in your msh file for the tga referenced in the _ord file.

2) I'm not sure exactly what you want here, but effect files with the .fx extension don't show up
in gimp. to edit them, get the particle editor.
BUT:
If the file you are editing is a .tga file, make sure you munge your side.

3) remove the line where it asks for the _ord's texture. if that doesn't help, look in the
_ord for Taivyx's M16, our your side's shotgun _ord.

Re: Effects Questions

Posted: Sun Apr 05, 2009 4:14 pm
by sampip
Ok, I edited the ord to look like the shotgun, but now the weapon fires red bullets. Is this default for a rifle?

Re: Effects Questions

Posted: Sun Apr 05, 2009 6:42 pm
by swingking
could you post your ord and weap files? That might help.

Re: Effects Questions

Posted: Mon Apr 06, 2009 12:37 pm
by sampip
I've worked out what it was. I didn't edit the common files. I have now, and now they bullets are white. Will post my odfs when I get time later this evening.

EDIT: Nevermind. I've figured out what it was. I hadn't got rid of the BulletLength and width sections, so it still thought the bullet was ingame. Thanks for the help though.

Re: Effects Questions

Posted: Mon Apr 06, 2009 3:33 pm
by swingking
:D of course! always happy to help
(over the night I thought it might have to do with the common odfs...)

Re: Effects Questions

Posted: Mon Apr 06, 2009 10:56 pm
by jedimoose32
sampip wrote:If I was to have an weapon that fires invisible shots, what would I need to do to ensure that it still fires a bullet, just invisble in the correct place, without editing the muzzle flash or the explosion part?
In the ordnance's odf file, you have to find the part where it says "texture= "com_sfx_laser_red"" or whatever yours says, and simply delete it to look like:

texture = "" (in other words there should be nothing between the quotes)

To be safe, you could also delete the values for light and light radius.

Re: Effects Questions

Posted: Tue Apr 07, 2009 4:01 pm
by sampip
Thats exactly what I did. Have we got an FAQ on editing weapons?