[HELP] Fambaa Shield

Started by Snake, September 12, 2013, 03:43:40 PM

Previous topic - Next topic
I can't figure out how to get this to work. I've set them up right and the animations work but the shield will never come up. Apparently, the shield is fired by someone that enters the fambaa and fires it. (It's set up as a turret so I assume that's how it works) but I can't enter it.
=AaTc= Forever

SALLY....

-Retired Modder

Is it self piloted? pilottype self?

Keep in mind Famba is SP only.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

[spoiler]
[GameObjectClass]

ClassLabel      ="commandarmedanimatedbuilding"
GeometryName      ="nab1_walk_fambaa.msh"


[Properties]

GeometryName      ="nab1_walk_fambaa"

BUILDINGSECTION    ="BODY"
Label          ="Control Zone"
MapTexture       ="hud_dest_icon"
MapScale       =3.0

GeometryName      ="nab1_walk_fambaa"
AnimationName      ="nab_walk_fambaa"
IdleAnimation      ="fambaa_idle"
DeathAnimation      ="fambaa_death"

MaxHealth       ="10000.0"
RespawnTime       ="6000000"

AmbientSound        = "all famba_moan"
AmbientSound        = "cis famba_moan"
AmbientSound        = "imp famba_moan"
AmbientSound        = "rep famba_moan"
HurtSound   = "famba_hurt"
DeathSound   = "famba_death"
SpawnPointCount       = "6"
SpawnPointLocation       = "8.0 0.0 0.0 5"
SpawnPointLocation       = "8.0 0.0 4.0 5"
SpawnPointLocation       = "8.0 0.0 -4.0 5"
SpawnPointLocation       = "-8.0 0.0 0.0 355"
SpawnPointLocation       = "-8.0 0.0 4.0 355"
SpawnPointLocation       = "-8.0 0.0 -4.0 355"

BUILDINGSECTION = "TURRET1"

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

TurretNodeName = "hp_fire"
PitchLimits = "0.0 0.0"
YawLimits = "0.0 0.0"
MaxTurnSpeed = "0.0"
MaxPitchSpeed = "0.0"

WeaponName = "nab_weap_bldg_fambaa_shield"
WeaponAmmo = 2

[InstanceProperties]
CaptureRegion = ""
ControlRegion = ""
KillRegion = ""
SpawnPath = "FambaSpawnPath"
AllyPath = ""
AllyCount = 65536
Radius = 0.0
ValueBleed = 15
Value_ATK_Alliance =
Value_ATK_CIS =
Value_ATK_Empire =
Value_ATK_Republic =
Value_DEF_Alliance =
Value_DEF_CIS =
Value_DEF_Empire =
Value_DEF_Republic =
Value_DEF_Locals =
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 = "cis_destroy_famba"
VO_Rep_CISCapture = ""
VO_Rep_CISLost = ""
VO_Rep_CISInDispute = ""
VO_Rep_CISSaved = ""
VO_Rep_CISInfo = "cis_destroy_famba"
VO_CIS_RepCapture = ""
VO_CIS_RepLost = ""
VO_CIS_RepInDispute = ""
VO_CIS_RepSaved = ""
VO_CIS_RepInfo = "cis_destroy_famba"
VO_CIS_CISCapture = ""
VO_CIS_CISLost = ""
VO_CIS_CISInDispute = ""
VO_CIS_CISSaved = ""
VO_CIS_CISInfo = "cis_destroy_famba"
Strategic_Filter1 = ""
Strategic_Filter2 = ""
Strategic_Filter3 = ""
Strategic_Filter4 = ""
Strategic_Filter5 = ""
Strategic_Filter6 = ""


SoldierBan = ""
HoverBan = ""
SmallBan = ""
MediumBan = ""
HugeBan = ""

CollisionScale    = 100.0
[/spoiler]

Yes, it's pilot type self. But why won't the shield fire? I even tried setting an explosion of a weapon to the fambaa shield fx but nothing would happen.
=AaTc= Forever

SALLY....

-Retired Modder

Quote from: Snake on September 12, 2013, 05:17:38 PM
Yes, it's pilot type self. But why won't the shield fire?
Pretty sure it would need something to fire at. So if you happen to be an enemy of fambas, and you jump over where the shield fires (or however it does that..) I doubt you'll be getting anything to happen.

Try setting it to where you can get in it.

It's set to autofire though. I don't understand why it isn't working..
=AaTc= Forever

SALLY....

-Retired Modder

Before very long time i did it work but don't remember correctly how i did it.I remember only that you have to add the name of the shield in the REQ file,or it was the name of the famba itself...dont remember.Well add them both and try.But don't worry i will add shields in my map too so i will check this too after some time :)

September 14, 2013, 01:31:16 AM #7 Last Edit: September 14, 2013, 01:33:31 AM by Sereja
A working building shield, odf:
[spoiler]
[GameObjectClass]       
GeometryScale = 9.3
ClassLabel      =   "armedbuilding"
GeometryName    =   "effect_vacuum.msh"


[Properties]       

GeometryName            = "effect_arrow"

BUILDINGSECTION ="BODY"

GeometryName            = "effect_arrow"

BUILDINGSECTION = "TURRET1"

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

TurretNodeName = "hp_fire"
PitchLimits = "0.0 0.0"
YawLimits = "0.0 0.0"
MaxTurnSpeed = "0.0"
MaxPitchSpeed = "0.0"

WeaponName = "nab_weap_bldg_orb_shield_sm"
WeaponAmmo = 200
[/spoiler]

A working weapon shield odf:
[spoiler][WeaponClass]

ClassLabel = "shield"

[Properties]
IconTexture     = "HUD_shield_icon"
RoundsPerClip = "1"
//ShotDelay = "0.1"
ReloadTime = "0.0"

LockOnAngle = 0
LockOnRange = 0

TriggerSingle = 1

MaxShield = 100000
AddShield = 1000
AddShieldOff        = 300

ShieldRadius = "9.3 9.3"

FireSound          = ""
FireEmptySound    = ""
FireLoopSound      = ""
ReloadSound        = ""
ChargeSound        = ""
ChangeModeSound    = ""
WeaponChangeSound = ""

ShieldEffect = "fambaa_shield5"
[/spoiler]
Beauty is, the way to perfection.

Glory to Ukraine!  :mf:

Quote from: Sereja on September 14, 2013, 01:31:16 AM
A working building shield, odf:
[spoiler]
[GameObjectClass]       
GeometryScale = 9.3
ClassLabel      =   "armedbuilding"
GeometryName    =   "effect_vacuum.msh"


[Properties]       

GeometryName            = "effect_arrow"

BUILDINGSECTION ="BODY"

GeometryName            = "effect_arrow"

BUILDINGSECTION = "TURRET1"

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

TurretNodeName = "hp_fire"
PitchLimits = "0.0 0.0"
YawLimits = "0.0 0.0"
MaxTurnSpeed = "0.0"
MaxPitchSpeed = "0.0"

WeaponName = "nab_weap_bldg_orb_shield_sm"
WeaponAmmo = 200
[/spoiler]

A working weapon shield odf:
[spoiler][WeaponClass]

ClassLabel = "shield"

[Properties]
IconTexture     = "HUD_shield_icon"
RoundsPerClip = "1"
//ShotDelay = "0.1"
ReloadTime = "0.0"

LockOnAngle = 0
LockOnRange = 0

TriggerSingle = 1

MaxShield = 100000
AddShield = 1000
AddShieldOff        = 300

ShieldRadius = "9.3 9.3"

FireSound          = ""
FireEmptySound    = ""
FireLoopSound      = ""
ReloadSound        = ""
ChargeSound        = ""
ChangeModeSound    = ""
WeaponChangeSound = ""

ShieldEffect = "fambaa_shield5"
[/spoiler]
nice mods have u tested them on MP

Why there is 2 geometrynames vacuum and arrow.Lol i don't understand this?For what is vacuum and what arrow is doing?Can someone explaine me this? :D

Quote from: Ginev on September 15, 2013, 08:33:32 AM
Why there is 2 geometrynames vacuum and arrow.Lol i don't understand this?For what is vacuum and what arrow is doing?Can someone explaine me this? :D

Idk but i dont think it does anything significant. The game only reads one geometry name. I changed it to a different geometry and deleted the second geometry line and it works fine. Btw, thanks Sereja
=AaTc= Forever

SALLY....

-Retired Modder