Skyhammer_216's LMB wont turn [Solved]

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
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Skyhammer_216's LMB wont turn [Solved]

Post by Executer94 »

I downloaded Skyhammer_216's LMB (the missile turret) and placed it in my map. When I play and use it I can shoot and turn around with the view but the turret itself wont move.

Here is the odf:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "armedbuilding"
GeometryName = "LMB.msh"

[Properties]

BUILDINGSECTION = "BODY"

//Pilottype = "self"

MapTexture = "turret_icon"
MapScale = "1.2"

GeometryName = "LMB"

ExplosionName = "tur_bldg_beam_exp"

DestroyedGeometryName = "wrecked"

MaxHealth = "5000.0"

HealthTypeForLockOn = "Droid"

BUILDINGSECTION = "TURRET1"
//Pilottype = "self"
ForceMode = 1
TurretNodeName = "aimer_y"

PitchLimits = "-10 30"
YawLimits = "-180 180"

PitchTurnFactor = "0.0"

//FirstPerson = "com\comviewf;com_1st_cockpit_viewfinder"
ThirdPersonFOV = "65"
WeaponName = "LMB_missile"
WeaponAmmo = "0"

MaxTurnSpeed = "15.0"
MaxPitchSpeed = "15.0"
//PitchRate = "2.0"
//TurnRate = "5.0"
PCMaxPitchSpeed = "15.0"
PCMaxTurnSpeed = "15.0"

//HitLocation = "p_-os_gun 10"

AimerNodeName = "aimer_x"
AimerPitchLimits = "-30 30"
AimerYawLimits = "0 0"

BarrelNodeName = "hp_fire1"
//BarrelRecoil = "0.0"
FirePointName = "hp_barrel1"

NextBarrel = "-"

BarrelNodeName = "hp_barrel2"
//BarrelRecoil = "0.0"
FirePointName = "hp_fire2"

TurretYawSound = "turret_whir_yaw_lp defer"
TurretYawSoundPitch = "0.7"
TurretPitchSound = "turret_whir_pitch_lp defer"
TurretPitchSoundPitch = "0.7"
TurretAmbientSound = ""
TurretActivateSound = "vehicle_equip defer"
TurretDeactivateSound = "vehicle_equip defer"
TurretStartSound = ""
TurretStopSound = ""

//FoleyFXGroup = "metal_foley"

//DamageStartPercent = 50.0
//DamageStopPercent = 30.0
//DamageEffect = "com_sfx_vehiclespark"

//DamageStartPercent = 30.0
//DamageStopPercent = 0.0
//DamageEffect = "com_sfx_smokeplume"
//DamageAttachPoint = "hp_smoke_1"
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Skyhammer_216's LMB wont turn

Post by Darth_Spiderpig »

What's inside the msh.option file?
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Skyhammer_216's LMB wont turn

Post by Executer94 »

There is no option file as far as I see.
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Skyhammer_216's LMB wont turn

Post by Darth_Spiderpig »

Hehe, then create one and put -keep aimer_y aimer_x hp_fire hp_fire2 hp_barrel1 hp_barrel2

That should do the trick.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Skyhammer_216's LMB wont turn

Post by Executer94 »

Not the two barrels are turning but the "head" stands still.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Skyhammer_216's LMB wont turn

Post by DarthD.U.C.K. »

hmm, that sounds like the turretnode is improperly named, could you please upload the msh or post a link to the pack that includes the turret?
you dont need to keep firepoints in the msh.option by the way.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Skyhammer_216's LMB wont turn

Post by Executer94 »

Here is the link to the turret:
http://www.megaupload.com/?d=C5PVS81X

Thanks man you help me alot around here :)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Skyhammer_216's LMB wont turn

Post by DarthD.U.C.K. »

no problem :)
are you sure you posted the right odf? the the turretnodename in the msh really is "aimer_y" and in the other thread you posted an error that compleained about the turretnode "turret_y" not existing.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Skyhammer_216's LMB wont turn

Post by Executer94 »

Ohhh yeah I tried to fix the problem myself before and used the hoth turret as example and copied all the stuff in it. Here is the right odf:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "armedbuilding"
GeometryName = "LMB.msh"

[Properties]

BUILDINGSECTION = "BODY"

//Pilottype = "self"

MapTexture = "turret_icon"
MapScale = "1.2"

GeometryName = "LMB"

ExplosionName = "tur_bldg_beam_exp"

DestroyedGeometryName = "wrecked"

MaxHealth = "5000.0"

HealthTypeForLockOn = "Droid"

BUILDINGSECTION = "TURRET1"
//Pilottype = "self"
ForceMode = 1
TurretNodeName = "aimer_y"

PitchLimits = "-10 30"
YawLimits = "-180 180"

PitchTurnFactor = "0.0"

//FirstPerson = "com\comviewf;com_1st_cockpit_viewfinder"
ThirdPersonFOV = "65"
WeaponName = "cis_weap_missile"
WeaponAmmo = "0"

MaxTurnSpeed = "15.0"
MaxPitchSpeed = "15.0"
//PitchRate = "2.0"
//TurnRate = "5.0"
PCMaxPitchSpeed = "15.0"
PCMaxTurnSpeed = "15.0"

//HitLocation = "p_-os_gun 10"

AimerNodeName = "aimer_x"
AimerPitchLimits = "-30 30"
AimerYawLimits = "0 0"

BarrelNodeName = "hp_fire1"
//BarrelRecoil = "0.0"
FirePointName = "hp_barrel1"

NextBarrel = "-"

BarrelNodeName = "hp_barrel2"
//BarrelRecoil = "0.0"
FirePointName = "hp_fire2"

TurretYawSound = "turret_whir_yaw_lp defer"
TurretYawSoundPitch = "0.7"
TurretPitchSound = "turret_whir_pitch_lp defer"
TurretPitchSoundPitch = "0.7"
TurretAmbientSound = ""
TurretActivateSound = "vehicle_equip defer"
TurretDeactivateSound = "vehicle_equip defer"
TurretStartSound = ""
TurretStopSound = ""

//FoleyFXGroup = "metal_foley"

//DamageStartPercent = 50.0
//DamageStopPercent = 30.0
//DamageEffect = "com_sfx_vehiclespark"

//DamageStartPercent = 30.0
//DamageStopPercent = 0.0
//DamageEffect = "com_sfx_smokeplume"
//DamageAttachPoint = "hp_smoke_1"
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Skyhammer_216's LMB wont turn

Post by DarthD.U.C.K. »

try a clean. and check if there is still an error about "turret_y" missing.
the original odf has to work if you add the msh.option with to keep the aimers and barrels.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Skyhammer_216's LMB wont turn

Post by Executer94 »

It works! Thank you man! :D
Post Reply