Fambaa Shield?

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
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Fambaa Shield?

Post by Darth_Z13 »

So for Toola I want the shield generator to actually spit out a shield, probably the one from BF1's Naboo Fambaa. My question is, how would I do this? I copied over all the effects and ODF's from BF1 and set up the shield generator the same way it was in the shipped Naboo map (where the shield was a weapon).
Hidden/Spoiler:
[code][GameObjectClass]
ClassLabel = "commandpost"
GeometryName = "hoth_bldg_shieldgenerator.msh"

[Properties]

SwitchClassRadius = "25.0"
BUILDINGSECTION = "BODY"

Label = "Shield Generator"
MapTexture = "hud_dest_icon"
MapScale = 3.0

GeometryName = "hoth_bldg_shieldgenerator"
DestroyedGeometryName = "hoth_bldg_shieldgenerator_dst"

MaxHealth = "120000.0"
ExplosionName = "hoth_bldg_shieldgenerator_exp"

DamageStartPercent = 85.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclespark"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_2"

DamageStartPercent = 70.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclesmoke"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = 55.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_3"

DamageStartPercent = 40.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_4"

DamageStartPercent = 25.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_5"


HoloOdf = "com_holo_controlzone"
HoloImageGeometry = "alliance com_icon_alliance"
AmbientSound = "all hoth_shield_amb"
HoloTurnOnTime = 2.2

FoleyFXGroup = "metal_foley"

WeaponName = "nab_weap_bldg_fambaa_shield"
WeaponAmmo = 2

[InstanceProperties]

CaptureRegion = ""
ControlRegion = ""
KillRegion = ""
SpawnPath = ""
AllyPath = ""
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_DEF_Alliance = 10
Value_DEF_CIS = 10
Value_DEF_Empire = 10
Value_DEF_Republic = 10
Value_DEF_Locals = 10
VO_All_AllCapture = ""
VO_All_AllLost = ""
VO_All_AllInDispute = ""
VO_All_AllSaved = ""
VO_All_AllInfo = ""
VO_All_ImpCapture = ""
VO_All_ImpLost = ""
VO_All_ImpInDispute = ""
VO_All_ImpSaved = ""
VO_All_ImpInfo = ""
VO_Imp_AllCapture = ""
VO_Imp_AllLost = ""
VO_Imp_AllInDispute = ""
VO_Imp_AllSaved = ""
VO_Imp_AllInfo = ""
VO_Imp_ImpCapture = ""
VO_Imp_ImpLost = ""
VO_Imp_ImpInDispute = ""
VO_Imp_ImpSaved = ""
VO_Imp_ImpInfo = ""
VO_Rep_RepCapture = ""
VO_Rep_RepLost = ""
VO_Rep_RepInDispute = ""
VO_Rep_RepSaved = ""
VO_Rep_RepInfo = ""
VO_Rep_CISCapture = ""[/code]
Needless to say (as I wouldn't be posting a topic if it worked perfectly :) ) it didn't work. Could a Fambaa shield expert please help me out?
User avatar
Hero_Unit
Private First Class
Posts: 78
Joined: Tue Mar 13, 2007 3:15 pm

RE: Fambaa Shield?

Post by Hero_Unit »

I am not sure, but I believe it has something to do with the ClassLabel line, if you change it to commandarmedanimatedbuilding instead of commandpost, it should work(at least that's how the fambaa was in the bf1 odf.).
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Fambaa Shield?

Post by Teancum »

The Fambaa needs to be it's own side since it's got animations.
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

RE: Fambaa Shield?

Post by PvtParts »

Tean, have you got fambaa anims working?

Do tell!

I have them ingame with working shields, but no anims.
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Fambaa Shield?

Post by Darth_Z13 »

I don't want a Fambaa, I want the shield generator to put out a shield. Is it possible?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: Fambaa Shield?

Post by FragMe! »

Without actually totally playing with this but looking at the ODFs for the fambaa and to use it for the Hoth Shield Generator you will have to change the class label to at least a commandarmedbuilding, I don't think you need the animated part but the other thing is as it is treated as a weapon you may need a hardpoint to attach it to. Look at the Buildingsection="turret1" in the fambaa odf. You may be able to get away with using one of the damage_hp in the shield generator it has five of them so you get a little less flame but you may get the shield.


As mentioned I am just surmising this from looking at the ODFs and actually haven't tried it so it is only theory
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

I'd suggest getting a working fambaa w/ shield ingame first. Once thats done all you need to do is replace the msh, and edit any hp references accordingly. It also might not line up right but its easy enough to either adjust the effect or move the object.
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

That makes sense with the damage_hp thing but I tested it and it doesn't work. I'll try PvtParts idea now.

EDIT: His didn't work either. :(
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Post by FragMe! »

did you also copy over the nab1_weap_bldg_fambaa_generator.odf and nab1_weap_bldg_fambaa_shield.odf files?
Actually looking back at your odf I guess you did since you named it as the weapon
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

I actually did this before just for boredom. lol.
Hidden/Spoiler:
[quote][GameObjectClass]
ClassLabel = "commandpost"
GeometryName = "hoth_bldg_shieldgenerator.msh"

[Properties]

BUILDINGSECTION = "BODY"

Label = "Shield Generator"
MapTexture = "hud_dest_icon"
MapScale = 3.0

GeometryName = "hoth_bldg_shieldgenerator"
DestroyedGeometryName = "hoth_bldg_shieldgenerator_dst"

MaxHealth = "50000.0"
ExplosionName = "imp_walk_atst_exp"

BUILDINGSECTION = "TURRET1"

PilotType = "self"
Controllable = "0"
AutoFire = "1"

TurretNodeName = "hp_damage_1"
YawLimits = "150.0 210.0"
PitchLimits = "-30.0 30.0"
MaxTurnSpeed = "0.0"
MaxPitchSpeed = "0.0"
RestDir = "0 0 -1"

WeaponName = "nab_weap_bldg_fambaa_generator"
WeaponAmmo = "0"


DamageStartPercent = 85.0
DamageStopPercent = 0.0
DamageEffect = "vehiclespark"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_2"

DamageStartPercent = 70.0
DamageStopPercent = 0.0
DamageEffect = "vehiclesmoke"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = 55.0
DamageStopPercent = 0.0
DamageEffect = "vehicleflame"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_3"

DamageStartPercent = 40.0
DamageStopPercent = 0.0
DamageEffect = "vehicleflame"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_4"

DamageStartPercent = 25.0
DamageStopPercent = 0.0
DamageEffect = "vehicleflame"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage_5"


HoloOdf = "com_holo_controlzone"
HoloImageGeometry = "alliance com_icon_alliance"
AmbientSound = "all hoth_shield_amb"
HoloTurnOnTime = 2.2

FoleyFXGroup = "metal_foley"

[InstanceProperties]

CaptureRegion = ""
ControlRegion = ""
KillRegion = ""
SpawnPath = ""
AllyPath = ""
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_DEF_Alliance = 10
Value_DEF_CIS = 10
Value_DEF_Empire = 10
Value_DEF_Republic = 10
Value_DEF_Locals = 10
VO_All_AllCapture = ""
VO_All_AllLost = ""
VO_All_AllInDispute = ""
VO_All_AllSaved = ""
VO_All_AllInfo = ""
VO_All_ImpCapture = ""
VO_All_ImpLost = ""
VO_All_ImpInDispute = ""
VO_All_ImpSaved = ""
VO_All_ImpInfo = ""
VO_Imp_AllCapture = ""
VO_Imp_AllLost = ""
VO_Imp_AllInDispute = ""
VO_Imp_AllSaved = ""
VO_Imp_AllInfo = ""
VO_Imp_ImpCapture = ""
VO_Imp_ImpLost = ""
VO_Imp_ImpInDispute = ""
VO_Imp_ImpSaved = ""
VO_Imp_ImpInfo = ""
VO_Rep_RepCapture = ""
VO_Rep_RepLost = ""
VO_Rep_RepInDispute = ""
VO_Rep_RepSaved = ""
VO_Rep_RepInfo = ""
VO_Rep_CISCapture = ""[/quote]
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

Thanks -_- but it didn't work.
Post Reply