Effects Questions

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Effects Questions

Post 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?
User avatar
swingking
Private Recruit
Posts: 22
Joined: Tue Mar 17, 2009 8:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: somewhere in the gum on your shoe
Contact:

Re: Effects Questions

Post 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.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Effects Questions

Post 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?
User avatar
swingking
Private Recruit
Posts: 22
Joined: Tue Mar 17, 2009 8:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: somewhere in the gum on your shoe
Contact:

Re: Effects Questions

Post by swingking »

could you post your ord and weap files? That might help.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Effects Questions

Post 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.
User avatar
swingking
Private Recruit
Posts: 22
Joined: Tue Mar 17, 2009 8:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: somewhere in the gum on your shoe
Contact:

Re: Effects Questions

Post by swingking »

:D of course! always happy to help
(over the night I thought it might have to do with the common odfs...)
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Effects Questions

Post 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.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Effects Questions

Post by sampip »

Thats exactly what I did. Have we got an FAQ on editing weapons?
Post Reply