Page 1 of 1

K-wing doesn't want to land [Solved]

Posted: Sat Jun 24, 2006 4:40 am
by MasterSkywalker
Hi,
I got the un-used K-wing from the assets back to work, but i'm still having trouble with it. It doesn't matter what I do, it just doesn't want to land.
This is my K-wings ODF:
Hidden/Spoiler:
[quote][GameObjectClass]
ClassLabel = "commandflyer"
GeometryName = "all_fly_kwing.msh"

[Properties]
FLYERSECTION = "BODY"

ReserveOneForPlayer = "1"

VehicleType = "transport"
MapTexture = "gunship_icon"
HealthTexture = "HUD_rep_gunship_icon"

MapScale = 1.5
MapViewMin = 750
MapViewMax = 750

MaxShield = 1000
AddShield = 1

GeometryName = "all_fly_kwing"
AnimationName = "all_fly_kwing"
//FirstPerson = "ALL\allkwing;all_1st_cockpit_kwing"
FirstPersonFOV = "60"
CockpitTension = "12"
ThirdPersonFOV = "55"

// PathFollower Attributes
PathFollowerClass = "transport"
PathFollowerBranchPaths = "4"
PathFollowerBranchMaxAngle = "45"
PathFollowerMinBranchDist = "250.0"
PathFollowerBranchRange = "1500"

SpawnPointCount = "6"
SpawnPointLocation = "-6.0 -3.0 8.0 0"
SpawnPointLocation = "6.0 -3.0 8.0 0"
SpawnPointLocation = "-7.0 -3.0 0.0 0"
SpawnPointLocation = "7.0 -3.0 0.0 0"
SpawnPointLocation = "-6.0 -3.0 -8.0 0"
SpawnPointLocation = "6.0 -3.0 -8.0 0"
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_ATK_Locals = 0
Value_DEF_Alliance = 0
Value_DEF_CIS = 0
Value_DEF_Empire = 0
Value_DEF_Republic = 0
Value_DEF_Locals = 0
HUDIndexDisplay = 0

CollisionScale = "2.5"
CollisionThreshold = "5.0"

CollisionInflict = "0.1"

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

TakeoffTime = 1.5
TakeoffSpeed = 10.0
LandingTime = 2.5
LandingSpeed = 6.0
TakeoffHeight = 1.5

PilotSkillRepairScale = 0.015

Acceleraton = 30.0
MinSpeed = 20.0
MidSpeed = 40.0
MaxSpeed = 60.0

EnergyBar = "140"
EnergyAutoRestore = "12.5"
EnergyBoostDrain = "20"
EnergyTrickDrainSingleTap = "0"
EnergyTrickDrainDoubleTap = "0"

BoostAcceleration = "30"
BoostSpeed = "100"
TrickRollSpeed = "0"
TrickFlipSpeed = "0"
TrickSideRollStrafeSpeed = "0"

FOVEffect3rd = 90

//PCPitchRate = 15.0
//PCSpinRate = 15.0
//PCTurnRate = 25.0

PitchRate = .65
PitchFilter = 2.75
TurnRate = .35
TurnFilter = 2.75
BankAngle = 2.5
BankFilter = 2.5
LevelFilter = 5.0
LevelFilter = 1.5
LevelFilterLanding = 5.0 // LevelFilter for landing
RollRate = 1


EyePointOffset = "0.0 0.0 10.0"
TrackCenter = "0.0 0.0 0.0"
TrackOffset = "0.0 0.0 0.0"
TiltValue = "13.0"

AimTension = "30.0"

FOVEFFectMinCamOffset3rd = "0.0 8.0 25.0"
FOVEFFectMaxCamOffset3rd = "0.0 13.0 10.0"

MoveTensionX = "0.7"
MoveTensionY = "1.0 10.0"
MoveTensionZ = "4.25"

WeaponName = "all_weap_fly_xwing_sc_cannon"
WeaponAmmo = "0"
AimerNodeName = "hp_laser_01"
VehicleCollision = "p_front_sphere"
WEAPONSECTION = "1"
NextAimer = "-"
AimerNodeName = "hp_laser_03"
SoldierCollision = "p_wing1"
SoldierCollision = "p_wing2"
SoldierCollision = "p_wing3"
SoldierCollision = "p_wing4"
SoldierCollision = "p_laser1"
OrdnanceCollision = "p_wing1"
OrdnanceCollision = "p_wing2"
OrdnanceCollision = "p_wing3"
OrdnanceCollision = "p_wing4"
OrdnanceCollision = "p_laser1"
BuildingCollision = "p_left_sphere"
AimerYawLimts = "-90 90"
NextAimer = "-"

WeaponSection = "2"
WeaponName = "all_weap_fly_ywing_bomb"
WeaponAmmo = "0"
FirePointName = "hp_fire1"

VehiclePosition = "common.vehiclepositions.pilot"

//********************************
//********** CO PILOT *********
//********************************
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 = "all_weap_fly_gunship_guided_rocket"
WeaponAmmo = "0"

VehiclePosition = "common.vehiclepositions.copilot"


CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "all_fly_kwing_chunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = "explosion"
ChunkPhysics = "FULL"
ChunkOmega = "3.0 0.5 1.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "7.0"
ChunkUpFactor = "4.00"
ChunkTrailEffect = "mediumsmoketrail"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "all_fly_kwing_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "2"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "3.0 -0.5 0.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "6.0"
ChunkUpFactor = "8.00"
ChunkTrailEffect = "mediumsmoketrail"

CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "all_fly_kwing_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = "explosion"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 1.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "5.0"
ChunkUpFactor = "4.00"
ChunkTrailEffect = "mediumsmoketrail"

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "all_fly_kwing_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "2"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 0.5 2.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "8.0"
ChunkUpFactor = "3.00"
ChunkTrailEffect = "mediumsmoketrail"
//////////////////////////
////DAMAGE///////////
///////////////

// SPARK

DamageStartPercent = "85"
DamageStopPercent = "25"
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = "1"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = "75"
DamageStopPercent = "15"
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = "1"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_2"

DamageStartPercent = "65"
DamageStopPercent = "5"
DamageEffect = "com_sfx_vehiclespark_sc"
DamageEffectScale = "1"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_3"

// SMOKE

DamageStartPercent = "75"
DamageStopPercent = "35"
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = "1"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = "65"
DamageStopPercent = "25"
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = "1"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_2"

DamageStartPercent = "55"
DamageStopPercent = "0.1"
DamageEffect = "com_sfx_vehiclesmoke_sc"
DamageEffectScale = "1"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_3"

// FLAME

DamageStartPercent = "35"
DamageStopPercent = "0.1"
DamageEffect = "com_sfx_vehicleflame_sc"
DamageEffectScale = "0.75"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_1"

DamageStartPercent = "25"
DamageStopPercent = "0.1"
DamageEffect = "com_sfx_vehicleflame_sc"
DamageEffectScale = "0.75"
DamageInheritVelocity = "0.0"
DamageAttachPoint = "hp_damage_2"


ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-10.0 -0.75 -4.7162"
ContrailEffectMinScale = "0.0"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "10.0 -0.75 -4.7162"
ContrailEffectMinScale = "0.0"
ContrailEffectMaxScale = "0.8"



//ExplosionCritical = "all_fly_gunship_exp"
ExplosionDestruct = "all_fly_gunship_exp"


VOUnitType = 131
EngineSound = "all_fly_gunship_engine_parameterized"
TakeoffSound = "all_fly_gunship_take_off"
LandSound = "all_fly_gunship_land"
HurtSound = "imp_weap_ord_exp_lg"
DeathSound = "imp_weap_ord_exp_lg"
VehicleCollisionSound = "com_veh_collision_lg"
TurnOnSound = "all_fly_gunship_turn_on"
TurningOffSound = "all_fly_gunship_turn_off"
TurnOffSound = "all_fly_gunship_airbrakes_off"
TurnOffTime = "1.5"
Cockpit1stPersonSound = "all_inf_com_space_chatter" // Sound which is triggered every frame when the player is in first person mode.
Cockpit3rdPersonSound = "all_inf_com_space_chatter" // Sound which is triggered every frame when the player is in third person mode.
AllMusic = "all_vehicle"
ImpMusic = "imp_vehicle"
MusicSpeed = ".30"
MusicDelay = "3.0"
FoleyFXGroup = "metal_foley"
BoostSound = "all_fly_gunship_shift_up_property 0.16 1"
BoostSound = "all_fly_gunship_shift_up_property 0.53 1"
BoostSound = "all_fly_gunship_shift_up_high_property 0.66 1"
BoostSound = "all_fly_gunship_shift_down_property 0.17 0"
BoostSound = "all_fly_gunship_shift_down_property 0.9 0"
TrickSound = "all_gunship_has_no_trick" //Played when the flyer performs a roll
FlipSound = "all_gunship_has_no_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.
//Acceleraton = 30.0
//MinSpeed = 20.0 =.2
//MidSpeed = 40.0 =.4
//MaxSpeed = 60.0 =.6
//BoostSpeed = "100" = 1.0
[/quote]
Thanks in advance :)
MS

Posted: Sat Jun 24, 2006 5:04 am
by Dragonum
there is a k-wing odf
C:\BF2_ModTools\assets\sides\all\odf
try this

Posted: Sat Jun 24, 2006 6:09 am
by MasterSkywalker
I know their was a K-wing ODF, but I started of from the Gunship one. Thx dude for the help :)

Posted: Mon Jun 26, 2006 11:03 pm
by Big_rich
you did make a new side right? Cause without making a new side none of the changes you make to the k-wing will stick.

Posted: Tue Jun 27, 2006 12:42 am
by [RDH]Zerted
Do you have any landing regions?

Posted: Tue Jun 27, 2006 3:00 pm
by jangoisbaddest
^^Zerted is right. If you have even one landing region on the map, the rest of the area won't let you land. That's why you can only land in the hangars on space maps. Make sure you are in a landing region, or have none (in which case you can land anywhere on the map).

Posted: Tue Jun 27, 2006 3:54 pm
by MasterSkywalker
jangoisbaddest and Zerted: Euh, I fixed the K-wing 3 days ago, everything is working fine, and yes I know about the landing regions (Btw. All my ships wanted to land exept the K-wing)
Big_rich: No, I didn't make a new, I started of the Alliance Gunship ODF and hex edited the K-wing Chunks, weapons and model in. Now I use a combination of both and they work fine now.

Posted: Tue Jun 27, 2006 4:37 pm
by [RDH]Zerted
Its good that you where able to fix it. When you are finished with a thread, please edit your first post and put 'Done', 'Finished', or something like that in the title.

Posted: Tue Jun 27, 2006 4:53 pm
by MasterSkywalker
Oops, sorry :oops:.