Page 2 of 2

Re: Unexplained crash?

Posted: Wed Jul 28, 2010 8:28 am
by stardestroyer001
Okay. Recap . . .

Game file (SC1c_cmn.lua)
Along with everything else in ReadDataFile("dc:SIDE\\rep.lvl", . . . "rep_fly_anakinstarfighterobiwan_sc"
^
|
|
Side REQ (DATA_SC1/Sides/rep/rep.req)
Along with everything else is "rep_fly_anakinstarfighterobiwan_sc"
^
|
|
Ship ODF (rep_fly_anakinstarfighterobiwan_sc)
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "flyer"
GeometryName = "rep_fly_anakinstarfighterobiwan.msh"

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

MapTexture = "anistarfighter_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_anakinstarfighterobiwan"
AnimationName = "rep_fly_anakinstarfighterobiwan"
FirstPerson = "REP\repjedfi;rep_1st_cockpit_jedistarfighter"
//ForceMode = "1"

MaxHealth = 1500.0
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 = 12.5
TakeoffHeight = 1.5
LandedHeight = 0.7

WEAPONSECTION = 1
WeaponName = "rep_weap_fly_anakin_cannon"
WeaponAmmo = 0

AimerNodeName = "hp_fire_l"
AimerYawLimts = "-90 90"
AimerPitchLimts = "-90 90"

NextAimer = "-"

AimerNodeName = "hp_fire_r"
AimerYawLimts = "-90 90"
AimerPitchLimts = "-90 90"


WEAPONSECTION = 2
WeaponName = "rep_weap_fly_anakin_missile"
WeaponAmmo = 0

AimerNodeName = "hp_cannon_l"
NextAimer = "-"
AimerNodeName = "hp_cannon_r"


//PilotPosition = "hp_pilot"
//PilotAnimation = "drive"
//IsPilotExposed = "0"

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_fly_anakinstarfighterobiwan_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 = "2.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "rep_fly_anakinstarfighterobiwan_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_anakinstarfighterobiwan_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "12.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "rep_fly_anakinstarfighterobiwan_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "6.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"


ThrustEffect = "com_sfx_exhaust_jedistarfighter_blue"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "0.3091 -0.2137 -2.2377"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"

ThrustEffect = "com_sfx_exhaust_jedistarfighter_blue"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "-0.3091 -0.2137 -2.2377"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "0.3091 -0.2137 -2.2377"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-0.3091 -0.2137 -2.2377"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "0.3091 -0.2137 -2.2377"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-0.3091 -0.2137 -2.2377"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "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.
//Acceleraton = 50.0
//MinSpeed = 35.0 .21
//MidSpeed = 80 .47
//MaxSpeed = 105 .62
//BoostAcceleration = 80.0
//BoostSpeed = 170.0


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

EnergyBar = 100
EnergyAutoRestore = 10
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.25
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 0.0 0.0"
//TrackOffset = "0.0 2.5 8.0"
TiltValue = "5.0"

AimTension = "20.0"

MoveTensionX = "3.7"
MoveTensionY = "3.2 15.0"
MoveTensionZ = "4.25"


BlurEffect = 0.9
BlurStart = 40.0

FOVEffect3rd = 90
FOVEFFectMinCamOffset3rd = "0.0 3.0 12.0"
FOVEFFectMaxCamOffset3rd = "0.0 6.0 -18.0"

FOVEffect1st = 90

Acceleraton = 50.0
MinSpeed = 35.0
MidSpeed = 80
MaxSpeed = 105
BoostAcceleration = 80.0
BoostSpeed = 170.0

TrickRollSpeed = 6.0
TrickFlipSpeed = 9.0
TrickSideRollStrafeSpeed = 30
TrickFlipCameraDetach = 0.24
TrickSideRollCameraDetach = 0.48
A) and B) stem from this.
^
|
|
A) Ship MSH
(referenced as the ship's geometry in the ODF above)
("rep_fly_anakinstarfighterobiwan")
Hidden/Spoiler:
An example of the only things I changed in the ship's MSH.
rep_fly_aobstarfighter.tga rep_fly_aobstarfighter_rig_new_s_collision_PC rep_fly_aobstarfighter_lowrez.tga
^ ^
| |
| |
|rep_fly_aobstarfighter.tga and rep_fly_aobstarfighter_lowrez.tga
|(only rep_fly_aobstarfighter.tga has been changed, coloured red)
|
|
|
Related to Ship MSH:
rep_fly_anakinstarfighterobiwan.msh.option
(not modded)

B) Chunk MSH

rep_fly_anakinstarfighterobiwan_chunk1.msh
rep_fly_anakinstarfighterobiwan_chunk2.msh
rep_fly_anakinstarfighterobiwan_chunk3.msh
rep_fly_anakinstarfighterobiwan_chunk4.msh
NOT MODDED! Only name changed from stock name + correctly referenced in Ship ODF.

Other files:
rep_fly_aobstarfighter.msh.option
Modded
(internals fixed to aob instead of ani)
rep_fly_aobstarfighter.tga.option
Not modded
rep_fly_aobstarfighter_bump.tga
Not modded
rep_fly_aobstarfighter_bump.tga.option
Not modded

And that's it. If you think you've found anything let me know. Luckily, since I decided not to increase this value number for the chunks and instead called it aob instead of ani, my VisualMunge stopped crashing.

Re: Unexplained crash?

Posted: Wed Jul 28, 2010 10:33 am
by FragMe!
If you are hexediting the msh files what you change it to has to have the same amount of letters as what it was when it started.
This goes for both msh and tga files.

Re: Unexplained crash?

Posted: Fri Jul 30, 2010 9:40 pm
by stardestroyer001
FragMe! wrote:If you are hexediting the msh files what you change it to has to have the same amount of letters as what it was when it started.
This goes for both msh and tga files.
The msh files I modded have the same amount of letters (as I changed all references of ani to aob).
Does the name of the msh file itself, referenced in the odf, have anything to do with it?
And what do you mean, "both msh and tga files"? Tga's are pictures, right? (besides, how are you supposed to retexture something if you can't do it without crashing?)

Re: Unexplained crash?

Posted: Sat Jul 31, 2010 5:47 am
by DarthD.U.C.K.
you must reference the name of the msh correctly in the odf => if you change the name of the msh you also have to change it in the odf

Re: Unexplained crash?

Posted: Sat Jul 31, 2010 7:05 am
by stardestroyer001
I know, all names in the odf are accurate to their respective names. I don't think that's the problem.

Re: Unexplained crash?

Posted: Sat Jul 31, 2010 7:12 am
by ThePanda
For the sake of it, I don't think you have to change 'rep_fly_aobstarfighter_rig_new_s_collision_PC' to what you have. Leaving it as 'rep_fly_anistarfighter_rig_new_s_collision_PC' might help. Not sure though.

Re: Unexplained crash?

Posted: Sat Jul 31, 2010 8:30 pm
by stardestroyer001
ThePanda wrote:For the sake of it, I don't think you have to change 'rep_fly_aobstarfighter_rig_new_s_collision_PC' to what you have. Leaving it as 'rep_fly_anistarfighter_rig_new_s_collision_PC' might help. Not sure though.
That gave me an idea.
I have created a totally new side and have just renamed the odf and req files to obiwan (remembering to update the contents). Now there isn't any crash :D but after munging the retextured tga file does not appear in-game, as if I had changed nothing. All that's there is a stock starfighter with no name. Why is that?

EDIT: Instead of differently-coloured fighters I now have two Jedi Starfighters, both using one texture. :(

Need help getting custom starfighter to work . . . Part II

Posted: Sun Oct 31, 2010 9:02 am
by stardestroyer001
I've posted a thread abut a month and a half ago, but no solution. I have to try again.
How do I make a copy of a starfighter?

I've tried using the hex edit method, but the game gives me a Sev 3 and tells me it's missing its geometry. It crashes the game.
Original thread: http://www.gametoast.com/forums/viewtop ... 7&start=20
The starfighters names are different from the one in the old thread, now I have rep_fly_obiwanstarfighter as the name.
-Side's REQ file references the starfighter's REQ file.
Hidden/Spoiler:
ucft
{
REQN
{
"lvl"
"cis_inf_magnaguard_ptc"
"rep_fly_obiwanstarfighter_sc"
"rep_fly_arc170fighter3"
}
}
-starfighter's REQ file references the ODF.
Hidden/Spoiler:
ucft
{
REQN
{
"class"
"rep_fly_obiwanstarfighter_sc"
}
}
-ODF file:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "flyer"
GeometryName = "rep_fly_obiwanstarfighter.msh"

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

MapTexture = "anistarfighter_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_anakinstarfighter"
AnimationName = "rep_fly_anakinstarfighter"
OverrideTexture = "rep_fly_obistarfighter.tga"
FirstPerson = "REP\repjedfi;rep_1st_cockpit_jedistarfighter"
//ForceMode = "1"

MaxHealth = 1500.0
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 = 12.5
TakeoffHeight = 1.5
LandedHeight = 0.7

WEAPONSECTION = 1
WeaponName = "rep_weap_fly_arc170_cannon"
WeaponAmmo = 0

AimerNodeName = "hp_fire_l"
AimerYawLimts = "-90 90"
AimerPitchLimts = "-90 90"

NextAimer = "-"

AimerNodeName = "hp_fire_r"
AimerYawLimts = "-90 90"
AimerPitchLimts = "-90 90"


WEAPONSECTION = 2
WeaponName = "rep_weap_fly_anakinioncannon"
WeaponAmmo = 0

AimerNodeName = "hp_cannon_l"
NextAimer = "-"
AimerNodeName = "hp_cannon_r"


//PilotPosition = "hp_pilot"
//PilotAnimation = "drive"
//IsPilotExposed = "0"

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_fly_anakinstarfighter_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 = "2.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "rep_fly_anakinstarfighter_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_anakinstarfighter_chunk3"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.0 1.5"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "12.0"
ChunkUpFactor = "0.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "rep_fly_anakinstarfighter_chunk4"
ChunkNodeName = ""
ChunkTerrainCollisions = "0"
ChunkTerrainEffect = ""
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "1.0 1.0 1.0"
ChunkSpeed = "6.0"
ChunkGravity = "0.0 0.0 0.0"
ChunkVelocityFactor = "0.15"

ChunkSmokeEffect = "com_sfx_smokeplume"
ChunkSmokeNodeName = "hp_smoke1"


ThrustEffect = "com_sfx_exhaust_jedistarfighter_blue"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "0.3091 -0.2137 -2.2377"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"

ThrustEffect = "com_sfx_exhaust_jedistarfighter_blue"
ThrustAttachPoint = "dummyroot"
ThrustAttachOffset = "-0.3091 -0.2137 -2.2377"
ThrustEffectMinScale = "0.5"
ThrustEffectMaxScale = "1.4"
ThrustEffectScaleStart = "0.55"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "0.3091 -0.2137 -2.2377"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-0.3091 -0.2137 -2.2377"
ContrailEffectMinScale = "0.2"
ContrailEffectMaxScale = "0.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "0.3091 -0.2137 -2.2377"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "1.2"
ContrailEffectMaxScale = "1.8"

ContrailEffect = "com_sfx_contrail"
ContrailAttachPoint = "dummyroot"
ContrailAttachOffset = "-0.3091 -0.2137 -2.2377"
ContrailEffectMinSpeed = "0.0"
ContrailEffectMinScale = "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.
//Acceleraton = 50.0
//MinSpeed = 35.0 .21
//MidSpeed = 80 .47
//MaxSpeed = 105 .62
//BoostAcceleration = 80.0
//BoostSpeed = 170.0


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

EnergyBar = 100
EnergyAutoRestore = 10
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.25
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 0.0 0.0"
//TrackOffset = "0.0 2.5 8.0"
TiltValue = "5.0"

AimTension = "20.0"

MoveTensionX = "3.7"
MoveTensionY = "3.2 15.0"
MoveTensionZ = "4.25"


BlurEffect = 0.9
BlurStart = 40.0

FOVEffect3rd = 90
FOVEFFectMinCamOffset3rd = "0.0 3.0 12.0"
FOVEFFectMaxCamOffset3rd = "0.0 6.0 -18.0"

FOVEffect1st = 90

Acceleraton = 50.0
MinSpeed = 35.0
MidSpeed = 80
MaxSpeed = 105
BoostAcceleration = 80.0
BoostSpeed = 170.0

TrickRollSpeed = 6.0
TrickFlipSpeed = 9.0
TrickSideRollStrafeSpeed = 30
TrickFlipCameraDetach = 0.24
TrickSideRollCameraDetach = 0.48
As you can see, I've changed the geometry name back to the stock ones so the map wouldn't give me the Sev 3. I've also tried overriding the textures with the ones that I want, but no changes were noticed.

MSH: Has the tgas changed to obistarfighter.tga (my replacements), but the rig_s_collision thing has been left alone. No extra characters were added.

I have double-checked file names, they are all correct with one another, so that's not an issue. I have also made sure not to add extra characters to names of files or what-not. So what have I done wrong? Please post soon.

Trouble getting custom starfighter to work

Posted: Sun Oct 31, 2010 2:43 pm
by AceMastermind
I merged your new topic with the old one, you don't need 2 topics discussing the same problem.
I don't understand how this could still be a problem since the folks who helped you originally gave you some very good advice judging by what i've read.

What you're trying to do is not difficult at all, you simply want more of the same vehicle with some visual changes which is what THIS tutorial explains. The tutorial is about units but the principle is the same.
You must create a custom side with your files since you have made changes to them that were not done originally, therefore follow THIS tutorial. Take your time and pay attention to what you're doing while you are performing the steps, it's really easy for some to get too excited and make rookie mistakes during the process. Practice on a test map first.

Re: Trouble getting custom starfighter to work?

Posted: Wed Nov 03, 2010 10:48 am
by stardestroyer001
Thanks for the advice and links to the tuts, but I've tried that and more, and the game is still crashing immediately upon launch.

("And more" meaning double-checking everything, starting the process from scratch, manual cleaning, and anything not covered in the tuts to make sure I did/do everything right).

EDIT: I've even reinstalled BF2 ModTools to see if the problem would be fixed (perhaps a corrupt file in the data or assets folders, or in my map). It's not fixed, it's still crashing. Please help!