Page 1 of 1

Custom vehicle: Third person view and S-foil problem

Posted: Sun Apr 14, 2013 11:53 pm
by JazzMaster
I was able to get the 3 seater arc-170 into a map i've been working on but i've ran into two problems. In the pilot position, the third person view is set so you can't see the vehicle at all unless you have landed or you are holding down S, and even then you can only see the cockpit and nose of the vehicle.

I am very new to editing odf's. From what I have gathered I think it should have something to do with "EyePointOffSet", "TrackCenter" and "TrackOffset" but i have no idea how to edit those parameters.

ODF file:
Hidden/Spoiler:
[code][GameObjectClass]
ClassLabel = "flyer"
GeometryName = "rep_fly_arc170fighter.msh"

[Properties]
HUDModel = "hud_arc170_shape"
FLYERSECTION = "BODY"
VehicleType = "fighter"

MapTexture = "arc170_icon"
HealthTexture = "HUD_rep_jedistarfighter_icon"
VehiclePosition = "common.vehiclepositions.pilot"

MapScale = 1.5
MapViewMin = 750
MapViewMax = 750

// PathFollower Attributes
PathFollowerClass = "rep"
PathFollowerClass_CTF = "rep_flag"
PathFollowerBranchPaths = "6"
PathFollowerBranchMaxAngle = "60"
PathFollowerMinBranchDist = "190.0"
PathFollowerBranchRange = "1500"

SquadronFormation = "five-form"
SquadronFormation = "eschleft-form"
//-----------------------------------

GeometryName = "rep_fly_arc170fighter"
AnimationName = "rep_fly_arc170fighter"
FirstPerson = "REP\repjedfi;rep_1st_cockpit_jedistarfighter"
//ForceMode = "1"

//MaxHealth = 3800.0
MaxHealth = "2250"
HealthType = "vehicle"
//HitLocation = "p_crithit 0"

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

PilotSkillRepairScale = 0.02

TakeoffTime = 1.0
TakeoffSpeed = 10.0
LandingTime = 1.0
LandingSpeed = 10.0
TakeoffHeight = 2.0
LandedHeight = 1.1

TargetableCollision = "CollisionMesh"

WEAPONSECTION = 1
WeaponName = "rep_weap_fly_arc170_cannon"
WeaponAmmo = 0

AimerNodeName = "hp_fire_l1"
NextAimer = "-"
AimerNodeName = "hp_fire_r1"


WEAPONSECTION = 2
WeaponName = "rep_weap_fly_arc170_bomb"
WeaponAmmo = 3

AimerNodeName = "hp_fire_l2"
NextAimer = "-"
AimerNodeName = "hp_fire_r2"

FLYERSECTION = "TURRET1"

//FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
PitchRate = 0.8
PitchFilter = 2.75
TurnRate = 1.3
TurnFilter = 2.75


PitchLimits = "-0 0"
YawLimits = "-0 0"
EyePointOffset = "0.0 10.0 0.0"
TrackCenter = "0.0 7.0 -10.0"
TrackOffset = "0.0 -1.0 20.0"
TiltValue = "7.0"

ForceMode = 1

WEAPONSECTION = "1"
WeaponName = "rep_weap_fly_vwing_ptorpedo"
WeaponAmmo = "5"

VehiclePosition = "common.vehiclepositions.copilot"


FLYERSECTION = "TURRET2"

FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
//ForceMode = "2"
ThirdPersonFOV = "55"

VehiclePosition = "common.vehiclepositions.gunner"

EyePointOffset = "0.0 8.0 0.0"
TrackCenter = "0.0 10.0 0.0"
TrackOffset = "0.0 0.0 7.0"
TiltValue = "0.0"

//ForceMode = 1

PitchRate = "1"
PitchFilter = "3.75"
TurnRate = "1"
TurnFilter = "3.75"

WeaponName = "rep_weap_fly_jedifighter_cannon"
WeaponAmmo = "0"

YawLimits = "120 240"
PitchLimits = "-17.0 20.0"

AimerNodeName = "hp_fire_reartop"
AimerYawLimits = "-35 110"
AimerPitchLimits = "-15 25"
FirePointName = "hp_fire_reartop"

NextAimer = "-"

AimerNodeName = "hp_fire_reartop"
AimerYawLimits = "-110 35"
AimerPitchLimits = "-15 25"
FirePointName = "hp_fire_reartop"

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


CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_fly_arc170fighter_chunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "1"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "8.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "rep_fly_arc170fighter_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.5 2.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "10.0"
ChunkUpFactor = "6.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "rep_fly_arc170fighter_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "12.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "rep_fly_arc170fighter_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "8.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK5"
ChunkGeometryName = "rep_fly_arc170fighter_chunk5"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.5 2.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "10.0"
ChunkUpFactor = "6.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK6"
ChunkGeometryName = "rep_fly_arc170fighter_chunk6"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "12.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"

CHUNKSECTION = "CHUNK7"
ChunkGeometryName = "rep_fly_arc170fighter_chunk7"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "12.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"

ThrustEffect = "com_sfx_exhaust_xwing"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "1.5419 -0.2269 -4.4174"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "2.2"
ThrustEffectScaleStart = "0.0"

ThrustEffect = "com_sfx_exhaust_xwing"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "-1.5419 -0.2269 -4.4174"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "2.2"
ThrustEffectScaleStart = "0.0"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "7.8376 -0.8179 -0.4615"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-7.8376 -0.8179 -0.4615"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "7.8376 -0.8179 -0.4615"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-7.8376 -0.8179 -0.4615"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"


DamageStartPercent = 85.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage1"

DamageStartPercent = 75.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage2"

DamageStartPercent = 75.0
DamageStopPercent = 45.0
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage1"

DamageStartPercent = 55.0
DamageStopPercent = 25.0
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage2"

DamageStartPercent = 45.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage1"

DamageStartPercent = 25.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage2"

//ExplosionCritical = "rep_fly_jedifighter_sc_exp"
ExplosionDestruct = "rep_fly_jedifighter_sc_exp"

//SOUND************************
VOUnitType = 129
EngineSound = "rep_fly_arc170_engine_parameterized"
TakeoffSound = "rep_fly_arc170_take_off"
LandSound = "rep_fly_arc170_land"
HurtSound = "imp_weap_ord_exp_lg"
DeathSound = "imp_weap_ord_exp_lg"
VehicleCollisionSound = "com_veh_collision_lg"
TurnOnSound = "rep_fly_arc170_turn_on"
TurnOffSound = "rep_fly_arc170_airbrakes_off" //Played when the flyer turns off
TurnOffTime = "1.5" //Time it takes to turn off the flyer (in seconds)
TurningOffSound = "rep_fly_arc170_turn_off" // Played when a soldier leaves the flyer
Music = ""
CISMusic = "cis_vehicle"
RepMusic = "rep_vehicle"
MusicSpeed = "0.3"
MusicDelay = "3.0"
AfterburnerOnSound = ""
AfterburnerOffSound = ""
AfterburnerSpeed = ""
Cockpit1stPersonSound = "rep_inf_com_space_chatter"
Cockpit3rdPersonSound = "rep_inf_com_space_chatter"
BoostSound = "rep_fly_arc170_shift_up_property 0.11 1"
BoostSound = "rep_fly_arc170_shift_up_property 0.53 1"
BoostSound = "rep_fly_arc170_shift_up_high_property 0.69 1"
BoostSound = "rep_fly_arc170_shift_down_property 0.17 0"
BoostSound = "rep_fly_arc170_shift_down_property 0.69 0"
TrickSound = "rep_fly_arc170_roll" //Played when the flyer performs a roll
FlipSound = "rep_fly_arc170_flip" //Played when the flyer performs a flip
ProximityMinDist = "25" // Distance from target where proximity parameter of engine is 0.
ProximityMaxDist = "100" // Distance from target where proximity parameter of engine is 1.
FoleyFXGroup = "metal_foley"

//MinSpeed = 35.0
//MidSpeed = 70
//MaxSpeed = 95.0
//BoostAcceleration = 80.0
//BoostSpeed = 150.0

// ***************************************************************************************

EnergyBar = "80"
EnergyAutoRestore = "7.5"
EnergyBoostDrain = "20"
EnergyTrickDrainSingleTap = "15"
EnergyTrickDrainDoubleTap = "30"

FirstPersonFOV = "52"
CockpitTension = "22"
CollisionScale = 1.5
CollisionThreshold = 5.0

PitchRate = 1.25
PitchFilter = 6.0
PitchFilterDecel = 6.0
PitchBuildupMultiplier = 1.0
TurnRate = 1.0
TurnFilter = 6.0
TurnFilterDecel = 6.0
TurnBuildupMultiplier = 1.0

BankAngle = 0.8
BankFilter = 3.5
LevelFilter = 1.5
LevelFilterLanding = 5.0 // LevelFilter for landing
RollRate = 3.15

PCPitchRate = 15.0
PCSpinRate = 15.0
PCTurnRate = 25.0

EyePointOffset = "0.0 1.0 -2.0"
TrackCenter = "0.0 3.0 -7.0"
TiltValue = "5.0"

AimTension = "20.0"

MoveTensionX = "2.8"
MoveTensionY = "2.8 12.0"
MoveTensionZ = "4.25"


BlurEffect = 0.9
BlurStart = 40.0

FOVEffect3rd = 90
FOVEFFectMinCamOffset3rd = "0.0 2.0 10.0"
FOVEFFectMaxCamOffset3rd = "0.0 4.0 -18.0"

FOVEffect1st = 90

Acceleraton = 40.0
MinSpeed = 35.0
MidSpeed = 70
MaxSpeed = 95.0
BoostAcceleration = 80.0
BoostSpeed = 150.0

TrickRollSpeed = 5.0
TrickFlipSpeed = 5.0
TrickSideRollStrafeSpeed = 30
TrickFlipCameraDetach = 0.24
TrickSideRollCameraDetach = 0.48
[/code]
Now issue number 2: During takeoff the s-foils do not lock into attack position. I tried adding the basepose and takeoff animation files into the sides msh folder but it did not work.

Re: custom vehicle: third person view and S-foil problem

Posted: Mon Apr 15, 2013 12:09 am
by Marth8880
http://www.secretsociety.com/forum/down ... mented.txt

This should come in handy. I'LL TAKE IT. But seriously though, yeah, refer to that doc for most things in this situation.

Re: custom vehicle: third person view and S-foil problem

Posted: Mon Apr 15, 2013 12:40 am
by JazzMaster
I've read that doc, but what i don't get is how to enter the certain values to get the results i want. For example: i get that the eyepoint is the camera, but what do x, y, and z control exactly? what kind values would i enter to make the camera move farther from or closer to the focal point?

Re: custom vehicle: third person view and S-foil problem

Posted: Mon Apr 15, 2013 1:30 am
by Marth8880
Think of it as an actual physical camera from a modeling perspective.

EyePointOffset I believe represents where the camera's focal point is - basically like the "interest" null for Softimage cams.
TrackCenter is the camera's position.
TrackOffset...I wanna say pretty much just offsets TrackCenter if needed for whatever space magic-y reason.

For the pilot, the center point (0,0,0) for all coordinates is the center point of the vehicle's mesh; the center point for a vehicle's turrets is the specified turret node.

The best way to figure out how the camera works is to set all of the values to zero and then individually testing what each value does. Like for instance, setting all values to zero, testing to see where the camera is, then setting like the y-coordinate for TrackCenter to 10.0 or something, testing to see where the camera is then, etc., wash, rinse, burn, pillage, eat, sleep, die, I'LL TAKE IT, repeat.

Re: custom vehicle: third person view and S-foil problem

Posted: Tue Apr 16, 2013 11:07 pm
by JazzMaster
So i did some messing around with the camera's.. I was able to change the copilot and gunner camera's but i was unsuccessful with changing the position of the pilots camera. none of the values i entered made a difference in game :faint:

Re: custom vehicle: third person view and S-foil problem

Posted: Wed Apr 17, 2013 2:12 am
by Marth8880
Hmm. Could you please post your ODF?

Re: custom vehicle: third person view and S-foil problem

Posted: Wed Apr 17, 2013 2:28 am
by JazzMaster
Guitarpat94 wrote:
ODF file:
Hidden/Spoiler:
[code][GameObjectClass]
ClassLabel = "flyer"
GeometryName = "rep_fly_arc170fighter.msh"

[Properties]
HUDModel = "hud_arc170_shape"
FLYERSECTION = "BODY"
VehicleType = "fighter"

MapTexture = "arc170_icon"
HealthTexture = "HUD_rep_jedistarfighter_icon"
VehiclePosition = "common.vehiclepositions.pilot"

MapScale = 1.5
MapViewMin = 750
MapViewMax = 750

// PathFollower Attributes
PathFollowerClass = "rep"
PathFollowerClass_CTF = "rep_flag"
PathFollowerBranchPaths = "6"
PathFollowerBranchMaxAngle = "60"
PathFollowerMinBranchDist = "190.0"
PathFollowerBranchRange = "1500"

SquadronFormation = "five-form"
SquadronFormation = "eschleft-form"
//-----------------------------------

GeometryName = "rep_fly_arc170fighter"
AnimationName = "rep_fly_arc170fighter"
FirstPerson = "REP\repjedfi;rep_1st_cockpit_jedistarfighter"
//ForceMode = "1"

//MaxHealth = 3800.0
MaxHealth = "2250"
HealthType = "vehicle"
//HitLocation = "p_crithit 0"

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

PilotSkillRepairScale = 0.02

TakeoffTime = 1.0
TakeoffSpeed = 10.0
LandingTime = 1.0
LandingSpeed = 10.0
TakeoffHeight = 2.0
LandedHeight = 1.1

TargetableCollision = "CollisionMesh"

WEAPONSECTION = 1
WeaponName = "rep_weap_fly_arc170_cannon"
WeaponAmmo = 0

AimerNodeName = "hp_fire_l1"
NextAimer = "-"
AimerNodeName = "hp_fire_r1"


WEAPONSECTION = 2
WeaponName = "rep_weap_fly_arc170_bomb"
WeaponAmmo = 3

AimerNodeName = "hp_fire_l2"
NextAimer = "-"
AimerNodeName = "hp_fire_r2"

FLYERSECTION = "TURRET1"

//FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
PitchRate = 0.8
PitchFilter = 2.75
TurnRate = 1.3
TurnFilter = 2.75


PitchLimits = "-0 0"
YawLimits = "-0 0"
EyePointOffset = "0.0 10.0 0.0"
TrackCenter = "0.0 7.0 -10.0"
TrackOffset = "0.0 -1.0 20.0"
TiltValue = "7.0"

ForceMode = 1

WEAPONSECTION = "1"
WeaponName = "rep_weap_fly_vwing_ptorpedo"
WeaponAmmo = "5"

VehiclePosition = "common.vehiclepositions.copilot"


FLYERSECTION = "TURRET2"

FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
//ForceMode = "2"
ThirdPersonFOV = "55"

VehiclePosition = "common.vehiclepositions.gunner"

EyePointOffset = "0.0 8.0 0.0"
TrackCenter = "0.0 10.0 0.0"
TrackOffset = "0.0 0.0 7.0"
TiltValue = "0.0"

//ForceMode = 1

PitchRate = "1"
PitchFilter = "3.75"
TurnRate = "1"
TurnFilter = "3.75"

WeaponName = "rep_weap_fly_jedifighter_cannon"
WeaponAmmo = "0"

YawLimits = "120 240"
PitchLimits = "-17.0 20.0"

AimerNodeName = "hp_fire_reartop"
AimerYawLimits = "-35 110"
AimerPitchLimits = "-15 25"
FirePointName = "hp_fire_reartop"

NextAimer = "-"

AimerNodeName = "hp_fire_reartop"
AimerYawLimits = "-110 35"
AimerPitchLimits = "-15 25"
FirePointName = "hp_fire_reartop"

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


CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_fly_arc170fighter_chunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "1"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "8.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "rep_fly_arc170fighter_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.5 2.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "10.0"
ChunkUpFactor = "6.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "rep_fly_arc170fighter_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "12.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "rep_fly_arc170fighter_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "8.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK5"
ChunkGeometryName = "rep_fly_arc170fighter_chunk5"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.5 2.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "10.0"
ChunkUpFactor = "6.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK6"
ChunkGeometryName = "rep_fly_arc170fighter_chunk6"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "12.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"

CHUNKSECTION = "CHUNK7"
ChunkGeometryName = "rep_fly_arc170fighter_chunk7"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "12.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"

ThrustEffect = "com_sfx_exhaust_xwing"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "1.5419 -0.2269 -4.4174"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "2.2"
ThrustEffectScaleStart = "0.0"

ThrustEffect = "com_sfx_exhaust_xwing"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "-1.5419 -0.2269 -4.4174"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "2.2"
ThrustEffectScaleStart = "0.0"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "7.8376 -0.8179 -0.4615"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-7.8376 -0.8179 -0.4615"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "7.8376 -0.8179 -0.4615"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-7.8376 -0.8179 -0.4615"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"


DamageStartPercent = 85.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage1"

DamageStartPercent = 75.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage2"

DamageStartPercent = 75.0
DamageStopPercent = 45.0
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage1"

DamageStartPercent = 55.0
DamageStopPercent = 25.0
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage2"

DamageStartPercent = 45.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage1"

DamageStartPercent = 25.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehicleflame_sc"
DamageEffectScale = 1.0
DamageInheritVelocity = 0.0
DamageAttachPoint = "hp_damage2"

//ExplosionCritical = "rep_fly_jedifighter_sc_exp"
ExplosionDestruct = "rep_fly_jedifighter_sc_exp"

//SOUND************************
VOUnitType = 129
EngineSound = "rep_fly_arc170_engine_parameterized"
TakeoffSound = "rep_fly_arc170_take_off"
LandSound = "rep_fly_arc170_land"
HurtSound = "imp_weap_ord_exp_lg"
DeathSound = "imp_weap_ord_exp_lg"
VehicleCollisionSound = "com_veh_collision_lg"
TurnOnSound = "rep_fly_arc170_turn_on"
TurnOffSound = "rep_fly_arc170_airbrakes_off" //Played when the flyer turns off
TurnOffTime = "1.5" //Time it takes to turn off the flyer (in seconds)
TurningOffSound = "rep_fly_arc170_turn_off" // Played when a soldier leaves the flyer
Music = ""
CISMusic = "cis_vehicle"
RepMusic = "rep_vehicle"
MusicSpeed = "0.3"
MusicDelay = "3.0"
AfterburnerOnSound = ""
AfterburnerOffSound = ""
AfterburnerSpeed = ""
Cockpit1stPersonSound = "rep_inf_com_space_chatter"
Cockpit3rdPersonSound = "rep_inf_com_space_chatter"
BoostSound = "rep_fly_arc170_shift_up_property 0.11 1"
BoostSound = "rep_fly_arc170_shift_up_property 0.53 1"
BoostSound = "rep_fly_arc170_shift_up_high_property 0.69 1"
BoostSound = "rep_fly_arc170_shift_down_property 0.17 0"
BoostSound = "rep_fly_arc170_shift_down_property 0.69 0"
TrickSound = "rep_fly_arc170_roll" //Played when the flyer performs a roll
FlipSound = "rep_fly_arc170_flip" //Played when the flyer performs a flip
ProximityMinDist = "25" // Distance from target where proximity parameter of engine is 0.
ProximityMaxDist = "100" // Distance from target where proximity parameter of engine is 1.
FoleyFXGroup = "metal_foley"

//MinSpeed = 35.0
//MidSpeed = 70
//MaxSpeed = 95.0
//BoostAcceleration = 80.0
//BoostSpeed = 150.0

// ***************************************************************************************

EnergyBar = "80"
EnergyAutoRestore = "7.5"
EnergyBoostDrain = "20"
EnergyTrickDrainSingleTap = "15"
EnergyTrickDrainDoubleTap = "30"

FirstPersonFOV = "52"
CockpitTension = "22"
CollisionScale = 1.5
CollisionThreshold = 5.0

PitchRate = 1.25
PitchFilter = 6.0
PitchFilterDecel = 6.0
PitchBuildupMultiplier = 1.0
TurnRate = 1.0
TurnFilter = 6.0
TurnFilterDecel = 6.0
TurnBuildupMultiplier = 1.0

BankAngle = 0.8
BankFilter = 3.5
LevelFilter = 1.5
LevelFilterLanding = 5.0 // LevelFilter for landing
RollRate = 3.15

PCPitchRate = 15.0
PCSpinRate = 15.0
PCTurnRate = 25.0

EyePointOffset = "0.0 1.0 -2.0"
TrackCenter = "0.0 3.0 -7.0"
TiltValue = "5.0"

AimTension = "20.0"

MoveTensionX = "2.8"
MoveTensionY = "2.8 12.0"
MoveTensionZ = "4.25"


BlurEffect = 0.9
BlurStart = 40.0

FOVEffect3rd = 90
FOVEFFectMinCamOffset3rd = "0.0 2.0 10.0"
FOVEFFectMaxCamOffset3rd = "0.0 4.0 -18.0"

FOVEffect1st = 90

Acceleraton = 40.0
MinSpeed = 35.0
MidSpeed = 70
MaxSpeed = 95.0
BoostAcceleration = 80.0
BoostSpeed = 150.0

TrickRollSpeed = 5.0
TrickFlipSpeed = 5.0
TrickSideRollStrafeSpeed = 30
TrickFlipCameraDetach = 0.24
TrickSideRollCameraDetach = 0.48
[/code]
:)

Re: custom vehicle: third person view and S-foil problem

Posted: Wed Apr 17, 2013 2:58 am
by Marth8880
Ah. Thought you made changes. Well I can tell you this right now: vehicle parameters are loaded more-or-less chronologically - rather, they're loaded in order by line. So the parameters for each part of the vehicle have to go inside the proper "SECTION", which for the pilot is everything before the turret sections. If that makes any sense. :p

Re: custom vehicle: third person view and S-foil problem

Posted: Sun Apr 21, 2013 6:44 pm
by JazzMaster
The changes weren't important. That's why i didn't post them. The problem was what you explained in your last post; it was in the wrong section. the camera issue is solved now!

Now i just can't seem to figure out how to get the takeoff animation working. but i'm sure ill figure it out after a bit more research.

I really appreciated your help, Marth. thank you!