Page 1 of 1

No soldier when on custom flyer

Posted: Sat Jun 13, 2009 7:42 pm
by MileHighGuy
so i got all the files for the barc speeder and then added the snowspeeder odf and changed it so it looks like a barc speeder and when the unit enters it there is no unit shown riding it

odf
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "flyer"
GeometryName = "rep_hover_barcspeeder.msh"

[Properties]

FLYERSECTION = "BODY"
VehicleType = "fighter"
MapTexture = "speederbike_icon"
HealthTexture = "HUD_speederbike_icon"
VehiclePosition = "common.vehiclepositions.pilot"
MapScale = 1.5
MapViewMin = 300
MapViewMax = 300
//MapSpeedMin
//MapSpeedMax

// PathFollower Attributes
PathFollowerFlyerVsFlyer = "0"
PathFollowerBranchMaxAngle = "45"
PathFollowerMinBranchDist = "50"

GeometryName = "rep_hover_barcspeeder"
//FirstPerson = "all\allsspdr;all_1st_cockpit_snowspeeder"
FirstPersonFOV = "60"
CollisionScale = 1.5
CockpitTension = 28

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

PilotSkillRepairScale = 0.02

TimeRequiredToEject = "2.5"
EjectResistance = "0.01"
TimeTilReboard = "5.0"

AnimationName = "all_fly_snowspeeder"
FinAnimation = "barcspeeder_9pose"

PilotPosition = "hp_pilot"
PilotAnimation = "drivesnowspeeder"
IsPilotExposed = "1"


// SPARK

DamageStartPercent = 70.0
DamageStopPercent = 50.0
DamageEffect = "com_sfx_vehiclespark"
DamageEffectScale = 0.4
DamageInheritVelocity = 0.75
DamageAttachPoint = "hp_damage_1"


// FLAME

DamageStartPercent = 50.0
DamageStopPercent = 10.0
DamageEffect = "com_sfx_vehiclesmoke"
DamageEffectScale = 0.4
DamageInheritVelocity = 0.75
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = 10.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame"
DamageEffectScale = 0.2
DamageInheritVelocity = 0.75
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = 30.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclesmoke"
DamageEffectScale = 0.4
DamageInheritVelocity = 0.75


//ExplosionCritical = "all_fly_snowspeeder_exp"
ExplosionDestruct = "rep_hover_speederbike_exp"

Acceleraton = 30.0
MinSpeed = 15.0
MidSpeed = 35.0
MaxSpeed = 55.0
BoostSpeed = 100.0
//StrafeSpeed = 6.5

BoostAcceleration = 101.0


//StrafeRollAngle = 0.05
BankAngle = 0.8
BankFilter = 4.5
LevelFilter = 5.0

PitchRate = 1.2
PitchFilter = 6.0
PitchFilterDecel = 6.0
PitchBuildupMultiplier = 1.0
TurnRate = 0.8
TurnFilter = 6.0
TurnFilterDecel = 6.0
TurnBuildupMultiplier = 1.0

PCPitchRate = 20.0
PCTurnRate = 20.0
PCSpinRate = 17.0

TakeoffTime = 1.0
TakeoffSpeed = 3.0
LandingTime = 2.0
LandingSpeed = 5.0
TakeoffHeight = 2.5
LandedHeight = 0.5

EyePointOffset = "0.0 0.0 0.0"

TrackCenter = "0.0 4.0 -6.0"
TrackOffset = "0.0 0.0 0.0"
TiltValue = "5.0"

AimTension = "20.0"
MoveTensionX = "4.00"
MoveTensionY = "3.0 15.0"
MoveTensionZ = "4.25"//how much swim the craft has from the center of the screen



WeaponName = "rep_weap_hover_speederbike_cannon"
WeaponAmmo = "0"

WEAPONSECTION = 1

AimerNodeName = "aimer_frontleft_gun"
AimerPitchLimits = "-15.0 15.0"
AimerYawLimits = "-25.0 25.0"
BarrelLength = "2.0"

FireOutsideLimits = "1"

NextAimer = "-"

AimerNodeName = "aimer_frontright_gun"
AimerPitchLimits = "-15.0 15.0"
AimerYawLimits = "-25.0 25.0"
BarrelLength = "2.0"

FireOutsideLimits = "1"

TerrainCollision = "p_sphere1"
TerrainCollision = "p_sphere2"
TerrainCollision = "p_sphere3"
TerrainCollision = "p_sphere4"
TerrainCollision = "p_sphere5"
TerrainCollision = "p_sphere6"
TerrainCollision = "p_sphere7"
TerrainCollision = "p_sphere8"
VehicleCollision = "p_sphere1"
VehicleCollision = "p_sphere2"
VehicleCollision = "p_sphere3"
VehicleCollision = "p_sphere4"
VehicleCollision = "p_sphere5"
VehicleCollision = "p_sphere6"
VehicleCollision = "p_sphere7"
VehicleCollision = "p_sphere8"
BuildingCollision = "p_sphere1"
BuildingCollision = "p_sphere2"
BuildingCollision = "p_sphere3"
BuildingCollision = "p_sphere4"
BuildingCollision = "p_sphere5"
BuildingCollision = "p_sphere6"
BuildingCollision = "p_sphere7"
BuildingCollision = "p_sphere8"

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_hover_barcspeeder_chunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "0.0 0.0 0.0"


CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "rep_hover_barcspeeder_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "0.0 0.0 0.0"


CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "rep_hover_barcspeeder_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "0.0 0.0 0.0"


CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "rep_hover_barcspeeder_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "0.0 0.0 0.0"


CHUNKSECTION = "CHUNK5"
ChunkGeometryName = "rep_hover_barcspeeder_chunk5"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "0.0 0.0 0.0"
ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "DummyRoot"
ContrailAttachOffset = "2.8626 -0.215 -0.9858"
ContrailEffectMinScale = "0.0"
ContrailEffectMaxScale = "0.8"

EnergyBar = 100
EnergyAutoRestore = 10
EnergyBoostDrain = 20
EnergyTrickDrainSingleTap = 15
EnergyTrickDrainDoubleTap = 30

MomentumFilter = 9.0
TrickRollSpeed = 5.0
TrickFlipSpeed = 6.0
TrickSideRollStrafeSpeed = 15.0
TrickFlipCameraDetach = 0.24
TrickSideRollCameraDetach = 0.48

VOUnitType = 134
EngineSound = "speederbike_engine_parameterized"
TakeoffSound = "all_fly_snowspeeder_takeoff"
LandSound = "all_fly_snowspeeder_land"
HurtSound = ""
DeathSound = "com_weap_obj_small_exp"
VehicleCollisionSound ="com_veh_collision_sm"
//TurnOnSound = ""
TurnOffSound = ""
TurnOffTime = "2.0"
TurningOffSound = ""
ImpMusic = "imp_vehicle"
AllMusic = "all_vehicle"
CisMusic = "cis_vehicle"
RepMusic = "rep_vehicle"
MusicSpeed = ".25"
MusicDelay = "3.0"
FoleyFXGroup = "metal_foley"
i added the speeder's 9pose but i think i have to edit the snowspeeders animations. can anyone help?

Re: no soldier when on custom flyer

Posted: Sun Jun 14, 2009 3:35 am
by sampip

Code: Select all

IsPilotExposed = "0"
try setting that to 1. i don't really know much about this, but it might be worth a go.

Re: no soldier when on custom flyer

Posted: Sun Jun 14, 2009 3:37 am
by yukisuna
yup, thats the problem. just do as Sam says, and you'll have your character visible.

Re: no soldier when on custom flyer

Posted: Sun Jun 14, 2009 12:08 pm
by MileHighGuy
yea i tried that out before, hes visible , but hes all twisted up underneath the barcspeeder, is there any way to make him normal?

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 1:10 pm
by Fiodis
Remove any PilotPosition lines or something similar to that?

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 1:29 pm
by MileHighGuy
well i want the pilot to drive it like it would drive a barcspeeder, not make it dissappear

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 1:31 pm
by Maveritchell
MileHighGuy wrote:AnimationName = "all_fly_snowspeeder"
FinAnimation = "barcspeeder_9pose"

PilotPosition = "hp_pilot"
PilotAnimation = "drivesnowspeeder"
Fix it. What doesn't belong?

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 2:07 pm
by MileHighGuy
i removed the snowspeeder pilot animation and theres no pilot again..

and i want to keep the snowspeeders animations because otherwise it looks funny...

sorry if im missing the point of you post, but this is the first time ive edited a vehicle.. :oops:

what do i need to do?

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 2:10 pm
by Maveritchell
MileHighGuy wrote:i removed the snowspeeder pilot animation and theres no pilot again..

and i want to keep the snowspeeders animations because otherwise it looks funny...

sorry if im missing the point of you post, but this is the first time ive edited a vehicle.. :oops:

what do i need to do?
The snowspeeder animations will not do what they need to do for this model. You need to have its own animations (and I doubt that the hover animations that it uses will work at all) or have no animations and have it as an unanimated flyer. It needs to use the pilot position (or 9pose) from the speederbike, not the snowspeeder.

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 2:16 pm
by MileHighGuy
Maveritchell wrote: The snowspeeder animations will not do what they need to do for this model.
is it possible for me to remunge the snowspeeder animations with the important bits from the barc speeder animation?

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 2:18 pm
by Fiodis
Well, the barc speeder and snowspeeder animations are included, so you can bash them together into an animation set. Whether it will work out I don't know, though; I'm guessing not because I'd assume the speeder and flyer have different bone names.

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 2:20 pm
by AceMastermind
You're making this more difficult than it is.....forget about the snow speeder and use the animations that were meant for the barcspeeder and the pilot:

Code: Select all

PilotPosition 			= "hp_rider"
Pilot9Pose	 		= "barc_9pose"

AnimationName 			= "rep_hover_barcspeeder"
FinAnimation			= "barcspeeder_9pose"

Re: no soldier when on custom flyer [ still unsolved ]

Posted: Sun Jun 14, 2009 2:25 pm
by MileHighGuy
thats what i originaly tried.. but that was with the barc speeder odf slighlty edited and the unit shook around.

ill do what you said now

edit: ok it worked- sorta the pilot shakes around alot when he is riding on it. how would i fix this?