Attaching an .fx effect to a weapon

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
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Attaching an .fx effect to a weapon

Post by fiddler_on_the_roof »

can you attach an .fx to a weapon? i tried, but it hasn't worked so far. is there something else i need to do?
here are the two parts i tried in the weapon odf
Hidden/Spoiler:
Effect = "com_sfx_electrostaff_effect"
AttachToHardpoint = "hp_fire1"

Effect = "com_sfx_electrostaff_effect"
AttachToHardpoint = "hp_fire2"
Hidden/Spoiler:
AttachEffect = "com_sfx_electrostaff_effect"
AttachToHardpoint = "hp_fire1"

AttachEffect = "com_sfx_electrostaff_effect"
AttachToHardpoint = "hp_fire2"
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: attaching an .fx effect

Post by Fiodis »

I don't think you can attach an effect to a weapon at all. You could attach it to a unit, though, at the hand that holds the weapon, and position the effect in PE so that it appears on the weapon.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Attaching an .fx effect to a weapon

Post by fiddler_on_the_roof »

ok. thanks
yeah, its a staff, so it wouldn't really work.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Attaching an .fx effect to a weapon

Post by Xavious »

Why not use a couple short lightsaber blades and change the textures on them? I think I've seen it done that way before (I'm assuming you're making the MagnaGuard electrostaff).
Post Reply