Page 1 of 1

Faamba Shield Generator [Solved]

Posted: Tue Aug 14, 2007 7:31 am
by EGG_GUTS
How do I get it working? It doesn't even have animations. I placed as a prop. Am I spose to spawn it like a vehicle? ]v[ got it working.

Does Anyone now how to get it working?

Thanks

Posted: Tue Aug 14, 2007 9:27 am
by Ace_Azzameen_5
I believe there is an old SWBF post that gave its requirements. But I assume you have traced the ODF all the way to the Shield Weapon.

After that, their is an .fx file with the name found in this line of the weapon:

ShieldEffect = "fambaa?_shield"

In \BFBuilder\Assets\Shipped Common Animations\nab_walk_fambaa
you will find the animation MSH's. I don't know if you need anything else.

I'm not sure about the ShieldType: Fambaa2 in the fx file. I could never find that file and it might have been hard coded. If so it might not work in SWBF 2 and you'll need that line to say "droidekashield" instead. Which will look funny turning on.

P.S. If you get a shield texture working, bigger than the droideka's please tell me (send assets?) 'cause mines' stuck invisible.

Posted: Tue Aug 14, 2007 4:23 pm
by PvtParts
I got it working. (with shield texture and stuff too, Ace)

The fambaa in bf2 lacks anims, so I had to give it infinite health from the lua.

Edit: Above didn't really make sense. I had to give it infinite health because, due to its lack of animations, upon dieing it simply disappeared from the map. Which, as you could guess, was not appropriate.

Other than that it works the same - map starts, shield spreads down around area. You can then 'kill' the shield by attacking either the fambaa or the shield itself. However, once its down it just disappears and the fambaa just stands there. Its not really that big a deal but just don't expect any nice death anims.

I'll try to dig up everything in a few minutes, then I'll edit this post and give you everything you need (I changed the fambaa effect a tad bit to make it the same size as in the movies, but that is an edit within the effect file itself and should have nothing to do with the odf).

I will post the code here and then make a rar with all the needed assets and a set-up folder structure.

Posted: Tue Aug 14, 2007 5:37 pm
by Ace_Azzameen_5
Yeah, what about the BF1 asset anims?

Also, you have to edit the odf to match the fx shield size or else you'll have an invisible shield and a shield that lets weapons fire right through it.

Posted: Tue Aug 14, 2007 9:37 pm
by PvtParts
Bf1 anims dont work in bf2 last I heard (I mean that was a while ago I haven't been around much lately). Though Teancum did get the Kaadu working. I dunno you'd have to ask him but yeah as far as I'm concerned no anims.

I haven't got to it yet I had to do yardwork tonight I will try to get to it tomorrow.

Fambaa animations

Posted: Tue Aug 14, 2007 9:44 pm
by AceMastermind
This is the munged Fambaa animations for SWBF2:
fambaa_animations

Extract the files:
nab_walk_fambaa.anims
nab_walk_fambaa.zaabin
nab_walk_fambaa.zafbin

to:
data_ABC/worlds/abc/munged

Posted: Wed Aug 15, 2007 11:11 pm
by 1z2x3c
for some resen when i place the fambaa the shield dosnt come out.

Posted: Fri Aug 17, 2007 8:18 pm
by EGG_GUTS
Ok so it all works Kudoz to Ace, Ace, and Pvt (By thew way I'll still send you that Duros pilot skin, I've been busy :wink: ) But the shield is really weak, anyway of increasing it's health

Posted: Fri Aug 17, 2007 8:40 pm
by 1z2x3c
edit the nab_weap_bldg_fambaa_sheild

health is in here some where

Posted: Fri Aug 17, 2007 9:02 pm
by EGG_GUTS
I did it said 100000 I changed it to 900000 and it did nothing.

Posted: Fri Aug 17, 2007 9:18 pm
by 1z2x3c
add this to your lua and delete the original one... the addshield is the prob, its set at -10000 or someting. just change it to this!!! wala it should work!!!



MaxShield = 50000
AddShield = -10
AddShieldOff = 1000

Posted: Fri Aug 17, 2007 9:27 pm
by EGG_GUTS
Ok, thanks 1z. :wink: