--===========================================================================
--  Purpose : Lua definition file for Homeworld Ship.
--            Contains loading information and flight dynamics information (among other things?)
--
--  Copyright Relic Entertainment, Inc.  All rights reserved.
--===========================================================================
NewShipType = StartShipConfig()
NewShipType.displayedName="Cylon Raider"
NewShipType.sobDescription="A slow, but well armored three-man fighter craft."
NewShipType.maxhealth=150
NewShipType.regentime=0
NewShipType.minRegenTime=0
NewShipType.sideArmourDamage=1
NewShipType.rearArmourDamage=1
NewShipType.isTransferable=1
NewShipType.useEngagementRanges=0
NewShipType.unitCapsNumber=3
NewShipType.SquadronSize=6
NewShipType.formationSpacing=40
NewShipType.passiveFormation="ScatterWide"
NewShipType.defensiveFormation="ScatterDelta_Long"
NewShipType.aggressiveFormation="ScatterNarrow"
NewShipType.mass=10
NewShipType.collisionMultiplier=35
NewShipType.thrusterMaxSpeed=390
NewShipType.mainEngineMaxSpeed=390
NewShipType.rotationMaxSpeed=165
NewShipType.thrusterAccelTime=2
NewShipType.thrusterBrakeTime=1
NewShipType.mainEngineAccelTime=2
NewShipType.mainEngineBrakeTime=1
NewShipType.rotationAccelTime=0.6
NewShipType.rotationBrakeTime=0.3
NewShipType.thrusterUsage=0.25
NewShipType.accelerationAngle=170
NewShipType.mirrorAngle=30
NewShipType.secondaryTurnAngle=90
NewShipType.maxBankingAmount=85
NewShipType.descendPitch=0
NewShipType.goalReachEpsilon=5
NewShipType.slideMoveRange=0
NewShipType.controllerType="Ship"
NewShipType.tumbleStaticX=10
NewShipType.tumbleStaticY=20
NewShipType.tumbleStaticZ=5
NewShipType.tumbleDynamicX=2
NewShipType.tumbleDynamicY=10
NewShipType.tumbleDynamicZ=5
NewShipType.tumbleSpecialDynamicX=800
NewShipType.tumbleSpecialDynamicY=1000
NewShipType.tumbleSpecialDynamicZ=700
NewShipType.relativeMoveFactor=6
NewShipType.swayUpdateTime=2
NewShipType.swayOffsetRandomX=75
NewShipType.swayOffsetRandomY=75
NewShipType.swayOffsetRandomZ=75
NewShipType.swayBobbingFactor=0.02
NewShipType.swayRotateFactor=0.5
NewShipType.dustCloudDamageTime=160
NewShipType.nebulaDamageTime=30
NewShipType.MinimalFamilyToFindPathAround="SuperCap"
NewShipType.mirrorAboveManeuver="ImmelMann_speedy, OneEightyDegRightTurn, OneEightyDegLeftTurn"
NewShipType.mirrorBelowManeuver="Split_S_speedy, OneEightyDegRightTurn, OneEightyDegLeftTurn"
NewShipType.specialTurnLeftManeuver="NinetyDegLeftTurn"
NewShipType.specialTurnRightManeuver="NinetyDegRightTurn"
NewShipType.testManeuver1="RollCW"
NewShipType.testManeuver2="RollCCW"
NewShipType.testManeuver3="Loop"
NewShipType.BuildFamily="Fighter_Cyo"
NewShipType.AttackFamily="Fighter"
NewShipType.DockFamily="Fighter"
NewShipType.AvoidanceFamily="Strikecraft"
NewShipType.DisplayFamily="Fighter"
NewShipType.AutoFormationFamily="Fighter"
NewShipType.CollisionFamily="Small"
NewShipType.ArmourFamily="Unarmoured"
NewShipType.UnitCapsFamily="Fighter"
NewShipType.fighterValue=8
NewShipType.corvetteValue=0
NewShipType.frigateValue=0
NewShipType.neutralValue=0
NewShipType.antiFighterValue=8
NewShipType.antiCorvetteValue=0
NewShipType.antiFrigateValue=0
NewShipType.totalValue=8
NewShipType.buildCost=500
NewShipType.buildTime=35
NewShipType.buildPriorityOrder=20
NewShipType.retaliationRange=5500
NewShipType.retaliationDistanceFromGoal=160
NewShipType.visualRange=1000
NewShipType.prmSensorRange=3000
NewShipType.secSensorRange=4000
NewShipType.detectionStrength=1
NewShipType.TOIcon="Triangle"
NewShipType.TOScale=1
NewShipType.TODistanceFade0=7000
NewShipType.TODistanceDisappear0=5000
NewShipType.TODistanceFade1=2500
NewShipType.TODistanceDisappear1=2000
NewShipType.TODistanceFade2=12000
NewShipType.TODistanceDisappear2=35000
NewShipType.TOGroupScale=1
NewShipType.TOGroupMergeSize=0
NewShipType.mouseOverMinFadeSize=0.045
NewShipType.mouseOverMaxFadeSize=0.1
NewShipType.healthBarStyle=0
NewShipType.nlips=0.00075
NewShipType.nlipsRange=6000
NewShipType.nlipsFar=0.0004
NewShipType.nlipsFarRange=10000
NewShipType.SMRepresentation="HardDot"
NewShipType.meshRenderLimit=10400
NewShipType.dotRenderLimit=10
NewShipType.visibleInSecondary=1
NewShipType.minLOD=0.2
NewShipType.goblinsStartFade=200
NewShipType.goblinsOff=200
NewShipType.upLOD=500
NewShipType.upLOD=750
NewShipType.upLOD=2500
NewShipType.downLOD=515
NewShipType.downLOD=765
NewShipType.downLOD=2515
NewShipType.minimumZoomFactor=0.75
NewShipType.selectionLimit=150000
NewShipType.preciseATILimit=0
NewShipType.selectionPriority=75
NewShipType.militaryUnit=1
NewShipType.mirrorAboveManeuver="Loop, OneEightyDegRightTurn, OneEightyDegLeftTurn"
NewShipType.mirrorBelowManeuver="Split_S_speedy, Loop, OneEightyDegRightTurn, OneEightyDegLeftTurn, Split_S_speedy, Split_S_speedy"
NewShipType.specialTurnLeftManeuver="NinetyDegLeftTurn, None, None"
NewShipType.specialTurnRightManeuver="NinetyDegRightTurn, None, None"
NewShipType.testManeuver1="RollCW"
NewShipType.testManeuver2="RollCCW"
NewShipType.testManeuver3="Loop"
addAbility(NewShipType,"MoveCommand",1,0);
addAbility(NewShipType,"CanDock",1,1);
NewShipType.dockTimeBetweenTwoFormations=0.5
NewShipType.dockTimeBeforeStart=0.5
NewShipType.dockNrOfShipsInDockFormation=1
NewShipType.dockFormation="n_delta"
NewShipType.queueFormation="ScatterNarrow"
NewShipType.dontDockWithOtherRaceShips=0
NewShipType.ignoreRaceWhenDocking=0
addAbility(NewShipType,"CanLaunch");
NewShipType.launchTimeBetweenTwoFormations=0.5
NewShipType.launchTimeBeforeStart=0.5
NewShipType.launchNrOfShipsInDockFormation=1
NewShipType.launchFormation="n_delta"
addAbility(NewShipType,"ParadeCommand",1);
addAbility(NewShipType,"WaypointMove");
addAbility(NewShipType,"CanAttack",1,9,1,0,0.35,1,"Fighter, Corvette, Frigate, Utility, SmallCapitalShip, BigCapitalShip, Mothership","FlyBy_VInterceptor_vs_Frigate",{Fighter="Flyby_VInterceptor_vs_Fighter"},{SubSystem="TopAttack_VInterceptor_vs_Subsystem"},{SmallCapitalShip="Flyby_VInterceptor_vs_CapShip"},{BigCapitalShip="Flyby_VInterceptor_vs_CapShip"},{Mothership="Flyby_VInterceptor_vs_Mothership"},{ResourceLarge="Flyby_VInterceptor_vs_ResourceLarge"});
addAbility(NewShipType,"GuardCommand",1,3000,500);
addAbility(NewShipType,"HyperspaceViaGateCommand",1,3,1,0.3);
addAbility(NewShipType,"RetireAbility",1,0);
LoadModel(NewShipType,1);
StartShipWeaponConfig(NewShipType,"Cyo_RaiderBlaster","Weapon_L","Weapon_L");
StartShipWeaponConfig(NewShipType,"Cyo_RaiderBlaster","Weapon_R","Weapon_R");
addShield(NewShipType,"EMP",75,20);
NewShipType.sobDieTime=0.1
NewShipType.sobSpecialDieTime=2
NewShipType.specialDeathSpeed=40
NewShipType.chanceOfSpecialDeath=0.25
NewShipType.deadSobFadeTime=1
setEngineTrail(NewShipType,0,0,"trail_ribbon.tga",0,0,0,0);
setEngineTrail(NewShipType,1,0,"trail_ribbon.tga",0,0,0,0);
setEngineBurn(NewShipType,12,0.5,1,12,0,0.7,0.1,10);
loadShipPatchList(NewShipType,"data:sound/sfx/ship/Vaygr/Fighter/"
                             ,0,"VScoutEng","");
