Vehicle Weapon Errors

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
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Vehicle Weapon Errors

Post by theITfactor »

I am getting these errors for fred's light speeder. They don't crash the map but I want to fix them (they might crash the map if there is a gunner, I haven't checked yet).
Message Severity: 3
.\Source\Aimer.cpp(684)
Aimer "all_hover_speeder_light BODY WEAPON1" mount node "barrel-left" not found

Message Severity: 3
.\Source\Aimer.cpp(711)
Aimer "all_hover_speeder_light BODY WEAPON1" barrel node "barrel_left" not found

Message Severity: 3
.\Source\Aimer.cpp(753)
Aimer "all_hover_speeder_light BODY WEAPON1" fire node "hp_fire_2" is not a child of aimer node

Message Severity: 3
.\Source\Aimer.cpp(684)
Aimer "(null)" mount node "gun_right" not found

Message Severity: 3
.\Source\Aimer.cpp(711)
Aimer "(null)" barrel node "barrel_right" not found

Message Severity: 3
.\Source\Aimer.cpp(753)
Aimer "(null)" fire node "hp_fire_3" is not a child of aimer node

Message Severity: 3
.\Source\Aimer.cpp(684)
Aimer "all_hover_speeder_light BODY WEAPON2" mount node "hp_missile_1" not found

Message Severity: 3
.\Source\Aimer.cpp(684)
Aimer "(null)" mount node "hp_missile_2" not found

Message Severity: 3
.\Source\Aimer.cpp(684)
Aimer "all_hover_speeder_light TURRET1 WEAPON1" mount node "turret_body" not found

Message Severity: 3
.\Source\Aimer.cpp(684)
Aimer "(null)" mount node "turret_aimer" not found

Message Severity: 3
.\Source\Aimer.cpp(711)
Aimer "(null)" barrel node "turret_barrel" not found

Message Severity: 3
.\Source\Aimer.cpp(753)
Aimer "(null)" fire node "hp_fire_1" is not a child of aimer node
User avatar
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Post by Challenger33 »

I get a variation of these errors-they are the same in essence, except they are for jedi starfighters. They also do not crash the map, even with a gunner. But I would still want to know how to fix these errors, because it probably affects something, I just haven't figured it out yet.

-:royal:
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Post by Syth »

Does it have a msh option? I know a couple of freds models are missing them, and with out them some model groups are left out when the vehicle is munged. Some of his ODFs call for the wrong names too.

This what the speeder msh option should look like
-keep barrel_turret turret_housing turret_body barrel_right barrel-left gun_body p_vehiclesphere2 p_vehiclesphere1
-lodgroup bigmodel
-shadowOn
And if you need an ODF I made one some time ago...
[GameObjectClass]
ClassLabel = "hover"
GeometryName = "all_hover_speeder_light.msh"

[Properties]
WaterEffect = "waterwake_lg"

FLYERSECTION = "BODY"
VehicleType = "light"
AISizeType = "MEDIUM"
FirstPersonFOV = 52
CockpitTension = 42

WaterEffect = "waterwake_lg"
WakeEffect = "hailfire_wake"

MapTexture = "combatspeeder_icon"
HealthTexture = "HUD_combat_speeder_icon"
VehiclePosition = "common.vehiclepositions.pilot"
MapScale = 1.5

GeometryName = "all_hover_speeder_light"
//FirstPerson = "all\allcmspd;all_1st_cockpit_combatspeeder"
ExplosionName = "all_hover_combatspeeder_exp"

MaxHealth = 2000.0
HealthType = "vehicle"
//HitLocation = "p_crithit 0"

CollisionScale = 1.5
CollisionThreshold = 5.0

SetAltitude = 0.5
GravityScale = 4.0
LiftSpring = 10.0
LiftDamp = 3.0

Acceleration = 10
Deceleration = 2.0
Traction = 75.0
ForwardSpeed = 20.0
ReverseSpeed = 15.0
StrafeSpeed = 3.0
BoostSpeed = 30.0
BoostFOV = 65
BoostAcceleration = 15.0

EnergyBar = 50
EnergyAutoRestore = 7.5
EnergyBoostDrain = 20
EnergyTrickDrainSingleTap = 0
EnergyTrickDrainDoubleTap = 0

SpinRate = 1.7
TurnRate = 1.7
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 10.0

AddSpringBody = "-1.8 1.4 1.7 2.5"
BodySpringLength = 1.0
AddSpringBody = "1.8 1.4 1.7 2.5"
BodySpringLength = 1.0

AddSpringBody = "0.0 2.4 -2.0 3.5"
BodySpringLength = 1.0
BodyOmegaXSpringFactor = 2

VelocitySpring = 5
VelocityDamp = 2.5
OmegaXSpring = 3.0
OmegaXDamp = 3.0
OmegaZSpring = 5.0
OmegaZDamp = 1.5

StrafeRollAngle = 0.01
ThrustPitchAngle = 0.0
BankAngle = -0.01
BankFilter = 3//low is slow - How quickly the bank returns to level
LevelSpring = 2.0//low is slow - the force the restores level
LevelDamp = 1.0//low is slow - the force that reduces the momentum of the rotation

PCPitchRate = "15.0"
PCSpinRate = "25.0"
PCTurnRate = "30.0"

EyePointOffset = "0.0 1.0 -2.2"
TrackCenter = "0.0 2.0 -5"
TrackOffset = "0.0 0.5 5"
TiltValue = "3.0"

AutoAimSize = 1.0

PitchLimits = "-7 25"
YawLimits = "-90 90"

PilotPosition = "hp_pilot"
PilotAnimation = "drive"

VehiclePosition = "common.vehicleposition.pilot"

WEAPONSECTION = 1
WeaponName = "all_weap_hover_speeder_cannon"
WeaponAmmo = "0"

AimerNodeName = "barrel-left"
AimerPitchLimits = "-25.0 90.0"
AimerYawLimits = "-25.0 15.0"
FirePointName = "hp_fire_1"

NextAimer = "-"

AimerNodeName = "barrel_right"
AimerPitchLimits = "-25.0 90.0"
AimerYawLimits = "-15.0 25.0"
FirePointName = "hp_fire_2"

//////////////////////////////////////////////////////////////

FLYERSECTION = "TURRET1"
VehiclePosition = "common.vehiclepositions.gunner"
FirstPerson = "all\allsccam;all_1st_cockpit_securitycam"
CockpitTension = 40
EyePointOffset = "0.0 1.0 -2.2"
TrackCenter = "0.0 2.5 -5"
TrackOffset = "0.0 0.5 2"
TiltValue = "5.0"

PitchLimits = "-25.0 20.0"
YawLimits = "-180 180"
PCPitchRate = 15.0
PCTurnRate = 20.0

TurnRate = 1.5
TurnFilter = 5.0
PitchRate = 0.5
PitchFilter = 1.0
PitchDamp = 1.0

WeaponName = "all_weap_hover_speeder_turret"
WeaponAmmo = "0"


TurretNodeName = "gun_body"
AimerNodeName = "barrel_turret"
AimerPitchLimits = "-25 20"
AimerYawLimits = "-90.0 90.0"

PilotPosition = "hp_gunner"
PilotAnimation = "drive"


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

AISizeType = "MEDIUM"
MovingTurnOnly = 1

// ---------- COLLISION ---------------

VehicleCollision = "p_vehiclesphere1"
VehicleCollision = "p_vehiclesphere2"

SoldierCollision = "CollisionMesh"
SoldierCollision = "p_turret"
SoldierCollision = "p_barrel"

OrdnanceCollision = "CollisionMesh"
OrdnanceCollision = "p_turret"
OrdnanceCollision = "p_barrel"

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "all_hover_rebel_attack_speeder_chunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 4.0 1.5"
ChunkBounciness = 0.5
ChunkStickiness = 0.25
ChunkSpeed = "10.0"
ChunkUpFactor = "13.00"
ChunkTrailEffect = "mediumsmoketrail"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "all_hover_rebel_attack_speeder_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "2"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 0.5 2.0"
ChunkBounciness = 0.4
ChunkStickiness = 0.25
ChunkSpeed = "8.0"
ChunkUpFactor = "2.00"
ChunkTrailEffect = "mediumsmoketrail"

ChunkSmokeEffect = "smokeplume"
ChunkSmokeNodeName = "hp_smoke_2"


CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "all_hover_rebel_attack_speeder_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "mediumsmoketrail"
ChunkPhysics = "FULL"
ChunkOmega = "3.0 2.0 2.0"
ChunkSpeed = "14.0"
ChunkBounciness = 0.5
ChunkStickiness = 0.25


CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "all_hover_rebel_attack_speeder_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "3"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "mediumsmoketrail"
ChunkPhysics = "FULL"
ChunkOmega = "3.0 1.0 2.0"
ChunkSpeed = "9.0"
ChunkBounciness = 0.3
ChunkStickiness = 0.45

ChunkSmokeEffect = "smokeplume"
ChunkSmokeNodeName = "hp_smoke_4"



DamageStartPercent = 50.0
DamageStopPercent = 30.0
DamageEffect = "vehiclespark"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.5
DamageAttachPoint = "hp_damage_3"

DamageStartPercent = 50.0
DamageStopPercent = 30.0
DamageEffect = "vehiclespark"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.5
DamageAttachPoint = "hp_damage_4"

DamageStartPercent = 50.0
DamageStopPercent = 30.0
DamageEffect = "vehiclespark"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.5
DamageAttachPoint = "hp_damage_5"

DamageStartPercent = 30.0
DamageStopPercent = 2.0
DamageEffect = "vehiclesmoke"
DamageEffectScale = 1.5
DamageInheritVelocity = 0.5
DamageAttachPoint = "hp_damage_1"

//DamageStartPercent = 5.0
//DamageStopPercent = 0.0
//DamageEffect = "vehicleflame"
//DamageEffectScale = 1.5
//DamageInheritVelocity = 0.5
//DamageAttachPoint = "hp_damage_1"

DamageStartPercent = 30.0
DamageStopPercent = 2.0
DamageEffect = "vehiclesmoke"
DamageInheritVelocity = 0.5
DamageAttachPoint = "hp_damage_2"

//DamageStartPercent = 5.0
//DamageStopPercent = 0.0
//DamageEffect = "vehicleflame"
//DamageEffectScale = 1.5
//DamageInheritVelocity = 0.5
//DamageAttachPoint = "hp_damage_2"

VOUnitType = 52
EngineSound = "speederbike_engine_parameterized"
HurtSound = ""
DeathSound = "com_weap_obj_small_exp"
VehicleCollisionSound ="com_veh_collision_sm"
TurnOnSound = ""
TurnOffSound = ""
Music = ""
ImpMusic = "imp_vehicle"
AllMusic = "all_vehicle"
CisMusic = "cis_vehicle"
MusicSpeed = "0.5"
MusicDelay = "3.0"
GroundedSound = ""
GroundedHeight = ""
FoleyFXGroup = "metal_foley"
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Post by theITfactor »

I can't find all_weap_hover_speeder_turret or all_weap_hover_speeder_cannon

Does anyone have them or are they under a different name?
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Post by Syth »

oh, those are just weapon odf's I made, it doesnt matter what weapon odfs it uses; just have it use the combat speeders lasers (all_weap_hover_combatspeeder_cannon)
Post Reply