How do I change the landing effect for flyers? [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
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

How do I change the landing effect for flyers? [Solved]

Post by fasty »

I recently downloaded the Conversion Pack Vehicles Side and I put a jedi starfighter into my map. It works great except when I land with it there's a huge black dust cloud that significantly lowers my FPS and makes my screen almost freeze for a few seconds. I believe it also makes my map crash later on after I've used it, about five minutes later it will crash to desktop with no errors in the error log. I'm pretty sure I have all the effects needed in my effects folder and all the msh & tga files. So how do I get rid of the dust cloud? I would like to get rid of the cloud completely and have no effect for when I land.
Here's a video of the ship landing:
http://www.xfire.com/video/534a07/

And here's rep_fly_jedifighter.odf
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "flyer"
GeometryName = "rep_fly_jedifighter.msh"

[Properties]
FLYERSECTION = "BODY"

HUDModel = "hud_jedistarfighter_shape"
VehicleType = "fighter"

MapTexture = "jedi_starfighter_icon"
HealthTexture = "HUD_rep_jedistarfighter_icon"
VehiclePosition = "common.vehiclepositions.pilot"
MapScale = 1.5

// PathFollower Attributes
PathFollowerClass = "Fighter"
PathFollowerBranchPaths = "5"
PathFollowerBranchMaxAngle = "60"
//-----------------------------------

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

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

PilotSkillRepairScale = 0.02

TakeoffTime = 0.75
TakeoffSpeed = 10.0
LandingTime = 0.75
LandingSpeed = 10.0
TakeoffHeight = 1.5
LandedHeight = 1.1

TerrainCollision = ""
TerrainCollision = "p_spherefront2"
PC:TerrainCollision = "p_spherefront3"

BuildingCollision = "p_spherefront1"
BuildingCollision = "p_spherefront2"
PC:BuildingCollision = "p_spherefront3"

VehicleCollision = "p_spherefront1"
VehicleCollision = "p_spherefront2"
PC:VehicleCollision = "p_spherefront3"

WEAPONSECTION = 1
WeaponName = "rep_weap_fly_anakin_cannon"
WeaponAmmo = 0

AimerNodeName = "hp_gun_2"
NextAimer = "-"
AimerNodeName = "hp_gun_4"


WEAPONSECTION = 2
WeaponName = "rep_weap_fly_anakin_missile"
WeaponAmmo = 0

AimerNodeName = "hp_gun_1"
NextAimer = "-"
AimerNodeName = "hp_gun_3"


PilotPosition = "hp_active"
PilotAnimation = "drive"
IsPilotExposed = "1"



CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_fly_jedifighter_chunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "1"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkPhysics = "FULL"
ChunkOmega = "3.0 3.0 2.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "13.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "rep_fly_jedifighter_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkPhysics = "FULL"
ChunkOmega = "3.0 3.5 3.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "15.0"
ChunkUpFactor = "6.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "rep_fly_jedifighter_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "4"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 2.0"
ChunkSpeed = "18.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"


ThrustEffect = "com_sfx_exhaust_jedistarfighter"
ThrustAttachPoint = "DummyRoot"
ThrustAttachOffset = "0.7368 -0.3585 -2.4618"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"

ThrustEffect = "com_sfx_exhaust_jedistarfighter"
ThrustAttachPoint = "DummyRoot"
ThrustAttachOffset = "-0.7368 -0.3585 -2.4618"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "0.7368 -0.3585 -2.4618"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-0.7368 -0.3585 -2.4618"
ContrailEffectMinSpeed = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "0.7368 -0.3585 -2.4618"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-0.7368 -0.3585 -2.4618"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinSpeed = "1.2"
ContrailEffectMaxScale = "1.8"

// SPARK

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

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

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

// SMOKE

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

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

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

// FLAME

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

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


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

//SOUNDS*******************8
VOUnitType = 128
EngineSound = "rep_fly_anakinfighter_engine_parameterized"
TakeoffSound = "rep_fly_anakinfighter_take_off"
LandSound = "rep_fly_anakinfighter_land"
HurtSound = "r2_damage"
DeathSound = "imp_weap_ord_exp_lg"
VehicleCollisionSound = "com_veh_collision_lg"
TurnOnSound = "rep_fly_anakinfighter_turn_on"
TurnOffSound = "rep_fly_anakinfighter_turn_off"
TurnOffTime = "1.5"
TurningOffSound = "rep_fly_anakinfighter_airbrakes_off"
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"
FoleyFXGroup = "metal_foley"

BoostSound = "rep_fly_anakinfighter_shift_up_low_property 0.11 1"
BoostSound = "rep_fly_anakinfighter_shift_up_high_property 0.15 1"
BoostSound = "rep_fly_anakinfighter_shift_up_property 0.53 1"
BoostSound = "rep_fly_anakinfighter_shift_up_high_property 0.66 1"
BoostSound = "rep_fly_anakinfighter_shift_down_property 0.17 0"
BoostSound = "rep_fly_anakinfighter_shift_down_property 0.41 1"
BoostSound = "rep_fly_anakinfighter_shift_down_high_property 0.9 0"
TrickSound = "rep_fly_anakinfighter_roll" //Played when the flyer performs a roll
FlipSound = "rep_fly_anakinfighter_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.


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

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

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

PitchRate = 1.2
PitchFilter = 4.0
PitchFilterDecel = 4.0
PitchBuildupMultiplier = 1.5
TurnRate = 1.2
TurnFilter = 4.0
TurnFilterDecel = 4.0
TurnBuildupMultiplier = 1.25

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 2.0 -9.0"
CollisionScale = "1.5"
TiltValue = "5"

AimTension = "20.0"//how much the reticule swims
MoveTensionX = "4.00"
MoveTensionY = "4.25"
MoveTensionZ = "4.25"

BlurEffect = 0.9
BlurStart = 40.0

FOVEffect3rd = 90
FOVEFFectMinCamOffset3rd = "0.0 2.5 10.0"
FOVEFFectMaxCamOffset3rd = "0.0 2.5 -18.0"

FOVEffect1st = 90

Acceleraton = 30.0
MinSpeed = 20.0
MidSpeed = 45.0
MaxSpeed = 72.0
BoostAcceleration = 100.0
BoostSpeed = 100.0

TrickRollSpeed = 6.0
TrickFlipSpeed = 12.0
TrickSideRollStrafeSpeed = 30
TrickFlipCameraDetach = 0.24
TrickSideRollCameraDetach = 0.48
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How do I change the landing effect for my starfighter

Post by Marth8880 »

In your map's .req file, look for this:

Code: Select all

REQN
{
	"config"
	"flyerspray"
	"walkerstomp"
	"hailfire_wake"
}
Delete "flyerspray". While I'm not sure if this is the right one, I am making an educated guess that it is.
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: How do I change the landing effect for my starfighter

Post by fasty »

Wow, that worked thanks.
Post Reply