Guest

View Thread

 Print Thread
Help Requested - my autocannons hate me!
Dafeaz
Alright, I've been trying to get Ace's Arelian Defender working on my current build of V11 8.0, and as per his instructions I replaced a buggy weapon file with the AC100x4 off the HGN_BATTLECARRIER. Straight copy/paste.

However, now when I load up the game, my bin/release/hw2 file says the following.

Download source  Code
Wed Oct 03 10:45:04 2007
 Loaded Archive: 'Homeworld2.big'
 Loaded Archive: 'english.big'
 Uing ..profiles\ for profiles folder
 GAME -- Using player profile Player1
 Changing from a 32 bit colour depth in winNT (5.1 build 2600), Service Pack 2
 Using NVIDIA Corporation's 2.0.3 GeForce 7300 LE/PCI/SSE2/3DNOW! renderer (Suspected driver is nvoglnt.dll 6.14.10.9148)
 Loaded Archive: 'englishSpeech.big'
 Loaded Archive: 'Music.big'
 SOUND -- created destination [ fdaudio ], handle [ 4 ] with [ 48 ] channels created
 SOUND -- created destination [ fda streamer ], handle [ 5 ] with [ 8 ] channels created
 Build name: The Dust Wars  - AutoBuild3569 - Ordered by smmatte
 Built by  : mrbuild
 Data path : C:\PROGRA~1\Sierra\HOMEWO~1\data
 Resetting fp control word.
 CmdLine: -overridebigfile
 Starting Level: data:LevelData\Multiplayer\Deathmatch\(BY_INNERLIFE)BHARAT NEBULA 2P_LITE.LEVEL
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Could not find a type for an AttackStyle action
 Warning! WeaponStatic file 'hgnws_4xAC100-m2' not loaded! -- FATAL EXIT -- weaponstatic/232:! --stack trace-- 0x0044A097: GSLobbySessionDesc::operator=               () 0x0047B7F8: GSLobbySessionDesc::operator=               () 0x003D46B5: lua_error                                   () 0x003D4749: lua_error                                   ()  0x003D4751: lua_error                                   () 0x003D47EE: lua_error                                   () 0x003D481E: lua_call                                    () 0x003D4A13: lua_dobuffer                                () 0x0046CB81: GSLobbySessionDesc::operator=               () 0x0047681E: GSLobbySessionDesc::operator=               () 0x00442EA9: GSLobbySessionDesc::operator=               () 0x00431692: GSLobbySessionDesc::operator=               () 0x00541B86: GSTracker::operator=                        () 0x005424C6: GSTracker::operator=                        () 0x00578204: getLibraryID                                () 0x00579086: getLibraryID                                () 0x0059865E: getLibraryID                                () 0x00599CDD: getLibraryID                                () 0x004952A1: GSLobbySessionDesc::operator=               () 0x00490C11: GSLobbySessionDesc::operator=               ()  0x004911D2: GSLobbySessionDesc::operator=               () 
 





This is odd, as from what I can see it's basically saying that the AC100s don't exist...but I copied them directly from a working ship in a working build.

Here are the ship files for the AD and battlecarrier from which I used as a basis.

Download source  Code
NewShipType = StartShipConfig()
NewShipType.displayedName = "Arelian Defender BV"
NewShipType.sobDescription = "Defiance II-C1 Fleet Monitor"
NewShipType.maxhealth = 6000000
NewShipType.regentime = 1000
NewShipType.minRegenTime = 333
NewShipType.frontArmourDamage = 0.1
NewShipType.sideArmourDamage = 0.1
NewShipType.rearArmourDamage = 1.2
NewShipType.isTransferable = 0
NewShipType.useEngagementRanges = 1
NewShipType.unitCapsNumber = 8
NewShipType.paradeData = "hgn_battlecarrier_parade"
NewShipType.SquadronSize = 1
NewShipType.passiveFormation = "Spear"
NewShipType.defensiveFormation = "x"
NewShipType.aggressiveFormation = "Claw"
NewShipType.mass = 1000
NewShipType.collisionMultiplier = 1
NewShipType.thrusterMaxSpeed = 140
NewShipType.mainEngineMaxSpeed = 200
NewShipType.rotationMaxSpeed = 6
NewShipType.thrusterAccelTime = 19
NewShipType.thrusterBrakeTime = 14
NewShipType.mainEngineAccelTime = 35
NewShipType.mainEngineBrakeTime = 35
NewShipType.rotationAccelTime = 10
NewShipType.rotationBrakeTime = 10
NewShipType.thrusterUsage = 1
NewShipType.accelerationAngle = 35
NewShipType.mirrorAngle = 0
NewShipType.secondaryTurnAngle = 0
NewShipType.maxBankingAmount = 100
NewShipType.descendPitch = 75
NewShipType.goalReachEpsilon = 2000
NewShipType.slideMoveRange = 350
NewShipType.controllerType = "Ship"
NewShipType.tumbleStaticX = 2
NewShipType.tumbleStaticY = 4
NewShipType.tumbleStaticZ = 3
NewShipType.tumbleDynamicX = 1
NewShipType.tumbleDynamicY = 2
NewShipType.tumbleDynamicZ = 1
NewShipType.tumbleSpecialDynamicX = 1
NewShipType.tumbleSpecialDynamicY = 2
NewShipType.tumbleSpecialDynamicZ = 1
NewShipType.relativeMoveFactor = 1
NewShipType.swayUpdateTime = 10
NewShipType.swayOffsetRandomX = 10
NewShipType.swayOffsetRandomY = 10
NewShipType.swayOffsetRandomZ = 10
NewShipType.swayBobbingFactor = 0
NewShipType.swayRotateFactor = 0
NewShipType.useTargetRandom = 1
NewShipType.targetRandomPointXMin = -0.2
NewShipType.targetRandomPointXMax = 0.5
NewShipType.targetRandomPointYMin = -0.2
NewShipType.targetRandomPointYMax = 0.2
NewShipType.targetRandomPointZMin = -0.8
NewShipType.targetRandomPointZMax = 0.8
NewShipType.dustCloudDamageTime = 0
NewShipType.nebulaDamageTime = 0
NewShipType.MinimalFamilyToFindPathAround = "MotherShip"
NewShipType.BuildFamily = "Shipyard_Hgn"
NewShipType.AttackFamily = "BigCapitalShip"
NewShipType.DockFamily = "BattleCruiser"
NewShipType.AvoidanceFamily = "BattleCruiser"
NewShipType.DisplayFamily = "Capital"
NewShipType.AutoFormationFamily = "CapShip"
NewShipType.CollisionFamily = "Big"
NewShipType.ArmourFamily = "Composite"
NewShipType.UnitCapsFamily = "Capital"
NewShipType.UnitCapsShipType = "DestroyerLeader"
NewShipType.fighterValue = 0
NewShipType.corvetteValue = 0
NewShipType.frigateValue = 80
NewShipType.neutralValue = 30
NewShipType.antiFighterValue = 0
NewShipType.antiCorvetteValue = 5
NewShipType.antiFrigateValue = 60
NewShipType.totalValue = 110
NewShipType.buildCost = 5000
NewShipType.buildTime = 260
NewShipType.buildPriorityOrder = 40
NewShipType.retaliationRange = 20000
NewShipType.retaliationDistanceFromGoal = 160
NewShipType.visualRange = 1000
NewShipType.prmSensorRange = 20000
NewShipType.secSensorRange = 20000
NewShipType.detectionStrength = 1
NewShipType.TOIcon = "Arrow"
NewShipType.TOScale = 1
NewShipType.TODistanceFade0 = 14000
NewShipType.TODistanceDisappear0 = 12000
NewShipType.TODistanceFade1 = 8500
NewShipType.TODistanceDisappear1 = 7000
NewShipType.TODistanceFade2 = 12000
NewShipType.TODistanceDisappear2 = 35000
NewShipType.TOGroupScale = 1
NewShipType.TOGroupMergeSize = 0
NewShipType.mouseOverMinFadeSize = 0.045
NewShipType.mouseOverMaxFadeSize = 0.1
NewShipType.healthBarStyle = 2
NewShipType.nlips = 0
NewShipType.nlipsRange = 75000
NewShipType.nlipsFar = 0
NewShipType.nlipsFarRange = 0
NewShipType.SMRepresentation = "Mesh"
NewShipType.meshRenderLimit = 19500
NewShipType.dotRenderLimit = 10
NewShipType.visibleInSecondary = 1
NewShipType.goblinsStartFade = 3000
NewShipType.goblinsOff = 3000
NewShipType.upLOD = 4000
NewShipType.upLOD = 5950
NewShipType.downLOD = 4015
NewShipType.downLOD = 5965
NewShipType.minimumZoomFactor = 0.5
NewShipType.selectionLimit = 150000
NewShipType.preciseATILimit = 7000
NewShipType.selectionPriority = 75
NewShipType.militaryUnit = 1
NewShipType.SMHighlightDistMin = 15000
NewShipType.SMHighlightDistMax = 25000
addAbility(NewShipType,"MoveCommand",1,0)
addAbility(NewShipType,"CanDock",1,0)
NewShipType.dockTimeBetweenTwoFormations = 1
NewShipType.dockTimeBeforeStart = 2
NewShipType.dockNrOfShipsInDockFormation = 1
NewShipType.dockFormation = "delta"
NewShipType.queueFormation = "dockline"
NewShipType.dontDockWithOtherRaceShips = 1
NewShipType.ignoreRaceWhenDocking = 0
addAbility(NewShipType,"CanLaunch")
NewShipType.launchTimeBetweenTwoFormations = 1
NewShipType.launchTimeBeforeStart = 2
NewShipType.launchNrOfShipsInDockFormation = 1
NewShipType.launchFormation = "delta"
addAbility(NewShipType,"ShipHold",1,0,3,"rallypoint","Fighter, Corvette",250,{
  Fighter = "700",
},{
  Corvette = "1000",
})
addAbility(NewShipType,"ParadeCommand",1)
addAbility(NewShipType,"WaypointMove")
addAbility(NewShipType,"HyperSpaceCommand",1,2,1000,3500,0,3)
addAbility(NewShipType,"CanAttack",1,1,0,0,0.35,1.2,"BigCapitalShip, SmallCapitalShip, Frigate, Capturer, Mothership, Utility","Frontal",{
  SubSystem = "FrontalVsSubSystem",
},{
  Fighter = "movetotargetandshoot",
},{
  Corvette = "movetotargetandshoot",
})
addAbility(NewShipType,"GuardCommand",1,1,1000)
addAbility(NewShipType,"CanBuildShips",1,"Fighter_Hgn, Corvette_Hgn, Probe_Hgn","Utility, Fighter, Corvette")
addAbility(NewShipType,"CanBeCaptured",300,1)
addAbility(NewShipType,"CanBeRepaired")
addAbility(NewShipType,"RetireAbility",1,1)
addAbility(NewShipType,"HyperspaceInhibitorAbility",0,4000)
LoadModel(NewShipType,1) 
addAbility(NewShipType,"MinelayerAbility",1,3.5)
addAbility(NewShipType,"DefenseFieldAbility",1,1,1000,4000,4000,-1,0.1,0.6,"none")
StartShipWeaponConfig(NewShipType,"hgnws_4xAC100-m2","Weapon_pulsar","")
StartShipWeaponConfig(NewShipType,"hgnws_4xAC100-m2","Weapon_pulsar2","")
StartShipWeaponConfig(NewShipType,"hgnws_4xAC100-m2","Weapon_pulsar3","")
StartShipWeaponConfig(NewShipType,"hgnws_4xAC100-m2","Weapon_pulsar4","")
StartShipWeaponConfig(NewShipType,"Hgn_BattleCruiserKineticBurstCannon","Weapon_TurretTop","Weapon_TurretTop")
StartShipWeaponConfig(NewShipType,"Hgn_BattleCruiserKineticBurstCannon","Weapon_TurretTop2","Weapon_TurretTop2")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM1","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM2","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM3","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM4","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmsi","Weapon_MRAM1","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmsi","Weapon_MRAM4","")
StartShipWeaponConfig(NewShipType,"hgn_hydrashark1200","MRAML","1200ARGL")
StartShipWeaponConfig(NewShipType,"hgn_hydrashark1200","MRAMR","1200ARGR")
addShield(NewShipType,"EMP",20000,20)
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 1","Hardpoint_IonBeam1","Weapon","Innate","Destroyable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 2","Hardpoint_IonBeam2","Weapon","Generic","Damageable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"Engine","Hardpoint_Engine","System","Innate","Damageable","Hgn_BattleCruiserEngine")
StartShipHardPointConfig(NewShipType,"Generic 1","HardpointGeneric1","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"Generic 2","HardpointGeneric2","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACV1","HardPointAWSVenAC1","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACV4","HardPointAWSVenAC4","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"HV1","HVM_BottomFRight","Weapon","Generic","Damageable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"HV2","HVM_BottomFLeft","Weapon","Generic","Damageable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"HV3","HVM_MidRight","Weapon","Generic","Damageable","hgn_bcltorpbox")
StartShipHardPointConfig(NewShipType,"HV4","HVM_MidLeft","Weapon","Generic","Damageable","hgn_bcltorpbox")
StartShipHardPointConfig(NewShipType,"AWSACD5","HardPointAWSDslAC1AR","Weapon","Generic","Damageable","Vgr_HeavyFusionMissileLauncherBC")
StartShipHardPointConfig(NewShipType,"AWSACD6","HardPointAWSDslAC2FR","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACD7","HardPointAWSDslAC2FL","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"MWSLC3","HardPointMWSVtlLC","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"BI","HardpointBI","Weapon","Generic","Damageable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"AWSICE1","HardPointAWSENGIC1","Weapon","Generic","Damageable","Vgr_HeavyFusionMissileLauncherBC")
StartShipHardPointConfig(NewShipType,"AWSACFD1","AWSDslACFR","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACFD2","AWSDslACFL","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACFV1","AC45F1","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACFV2","AC45F2","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"ARG640TL","ARG640TL","Weapon","Innate","Damageable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"ARG640TR","ARG640TR","Weapon","Innate","Damageable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"InnateFTP","Innate_FTP","System","Production","Damageable","Hgn_BCV_Production")
AddShipMultiplier(NewShipType,"WeaponAccuracy","OwnShipsWithinRadiusExcludingThisShip","Linear",1.10,1.10,10000)
AddShipMultiplier(NewShipType,"SensorDistortion","OwnShipsWithinRadius","Linear",0.4,0.4,20000)
AddShipMultiplier(NewShipType,"PrimarySensorsRange","ThisShipOnly","Linear",1.3,1.3,0)
AddShipMultiplier(NewShipType,"SecondarySensorsRange","ThisShipOnly","Linear",1.3,1.3,0)
AddShipMultiplier(NewShipType,"WeaponAccuracy","EnemyShipsWithinRadius","Linear",0.85,0.85,20000)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg03",1,0.75,0,0,0,50,0,0,0,200,0,0,0,50,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg02",1,0.05,30,-20,200,25,300,150,85,50,0,0,0,85,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml02",1,0.01,25,0,-125,50,80,35,120,75,0,0,0,60,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml03",1,0.01,60,95,200,50,15,200,20,125,0,0,0,60,0,0,0,50)
NewShipType.battleScarMaxTriBase = 175
NewShipType.battleScarMaxTriInc = 250
NewShipType.sobDieTime = 75
NewShipType.sobSpecialDieTime = 1
NewShipType.specialDeathSpeed = 40
NewShipType.chanceOfSpecialDeath = 0
NewShipType.deadSobFadeTime = 0.4
NewShipType.trailLinger = 3
setEngineBurn(NewShipType,9,0.2,0.5,300,1.02,0.1,0.25,380)
setEngineGlow(NewShipType,1,1,1.02,20,450,150,1.5,{
  0.27,
  0.47,
  0.69,
  0.25,
})
loadShipPatchList(NewShipType,"data:sound/sfx/ship/Hiigaran/Carrier/",0,"Engines/HDestroyerEng","",1,"Ambience/HBattleCrusierAmb","")





Download source  Code
NewShipType = StartShipConfig()
NewShipType.displayedName = "Prince of Hiigara M.3B BCE"
NewShipType.sobDescription = "Escort Battlecruiser"
NewShipType.maxhealth = 6000000
NewShipType.regentime = 1000
NewShipType.minRegenTime = 333
NewShipType.frontArmourDamage = 0.65
NewShipType.sideArmourDamage = 0.65
NewShipType.rearArmourDamage = 2
NewShipType.isTransferable = 0
NewShipType.useEngagementRanges = 1
NewShipType.unitCapsNumber = 8
NewShipType.paradeData = "hgn_carrier_parade"
NewShipType.SquadronSize = 1
NewShipType.passiveFormation = "Spear"
NewShipType.defensiveFormation = "x"
NewShipType.aggressiveFormation = "Claw"
NewShipType.mass = 1000
NewShipType.collisionMultiplier = 1
NewShipType.thrusterMaxSpeed = 100
NewShipType.mainEngineMaxSpeed = 200
NewShipType.rotationMaxSpeed = 6
NewShipType.thrusterAccelTime = 15
NewShipType.thrusterBrakeTime = 12
NewShipType.mainEngineAccelTime = 45
NewShipType.mainEngineBrakeTime = 45
NewShipType.rotationAccelTime = 10
NewShipType.rotationBrakeTime = 10
NewShipType.thrusterUsage = 1
NewShipType.accelerationAngle = 30
NewShipType.mirrorAngle = 0
NewShipType.secondaryTurnAngle = 0
NewShipType.maxBankingAmount = 75
NewShipType.descendPitch = 75
NewShipType.goalReachEpsilon = 2000
NewShipType.slideMoveRange = 350
NewShipType.controllerType = "Ship"
NewShipType.tumbleStaticX = 2
NewShipType.tumbleStaticY = 4
NewShipType.tumbleStaticZ = 3
NewShipType.tumbleDynamicX = 1
NewShipType.tumbleDynamicY = 2
NewShipType.tumbleDynamicZ = 1
NewShipType.tumbleSpecialDynamicX = 1
NewShipType.tumbleSpecialDynamicY = 2
NewShipType.tumbleSpecialDynamicZ = 1
NewShipType.relativeMoveFactor = 1
NewShipType.swayUpdateTime = 10
NewShipType.swayOffsetRandomX = 10
NewShipType.swayOffsetRandomY = 10
NewShipType.swayOffsetRandomZ = 10
NewShipType.swayBobbingFactor = 0
NewShipType.swayRotateFactor = 0
NewShipType.useTargetRandom = 1
NewShipType.targetRandomPointXMin = -0.2
NewShipType.targetRandomPointXMax = 0.5
NewShipType.targetRandomPointYMin = -0.2
NewShipType.targetRandomPointYMax = 0.2
NewShipType.targetRandomPointZMin = -0.8
NewShipType.targetRandomPointZMax = 0.8
NewShipType.dustCloudDamageTime = 0
NewShipType.nebulaDamageTime = 0
NewShipType.MinimalFamilyToFindPathAround = "MotherShip"
NewShipType.BuildFamily = "Battlecruiser_Hgn"
NewShipType.AttackFamily = "BigCapitalShip"
NewShipType.DockFamily = "BattleCruiser"
NewShipType.AvoidanceFamily = "BattleCruiser"
NewShipType.DisplayFamily = "Capital"
NewShipType.AutoFormationFamily = "CapShip"
NewShipType.CollisionFamily = "Big"
NewShipType.ArmourFamily = "Composite"
NewShipType.UnitCapsFamily="Capital"
NewShipType.UnitCapsShipType="Carrier"
NewShipType.fighterValue=0
NewShipType.corvetteValue=0
NewShipType.frigateValue=10
NewShipType.neutralValue=5
NewShipType.antiFighterValue=5
NewShipType.antiCorvetteValue=0
NewShipType.antiFrigateValue=0
NewShipType.totalValue=40
NewShipType.buildCost = 4000
NewShipType.buildTime = 260
NewShipType.buildPriorityOrder = 40
NewShipType.retaliationRange = 20000
NewShipType.retaliationDistanceFromGoal = 160
NewShipType.visualRange = 1000
NewShipType.prmSensorRange = 20000
NewShipType.secSensorRange = 20000
NewShipType.detectionStrength = 1
NewShipType.TOIcon = "Arrow"
NewShipType.TOScale = 1
NewShipType.TODistanceFade0 = 14000
NewShipType.TODistanceDisappear0 = 12000
NewShipType.TODistanceFade1 = 8500
NewShipType.TODistanceDisappear1 = 7000
NewShipType.TODistanceFade2 = 12000
NewShipType.TODistanceDisappear2 = 35000
NewShipType.TOGroupScale = 1
NewShipType.TOGroupMergeSize = 0
NewShipType.mouseOverMinFadeSize = 0.045
NewShipType.mouseOverMaxFadeSize = 0.1
NewShipType.healthBarStyle = 2
NewShipType.nlips = 0
NewShipType.nlipsRange = 75000
NewShipType.nlipsFar = 0
NewShipType.nlipsFarRange = 0
NewShipType.SMRepresentation = "Mesh"
NewShipType.meshRenderLimit = 19500
NewShipType.dotRenderLimit = 10
NewShipType.visibleInSecondary = 1
NewShipType.goblinsStartFade = 3000
NewShipType.goblinsOff = 3000
NewShipType.upLOD = 4000
NewShipType.upLOD = 5950
NewShipType.downLOD = 4015
NewShipType.downLOD = 5965
NewShipType.minimumZoomFactor = 0.5
NewShipType.selectionLimit = 150000
NewShipType.preciseATILimit = 7000
NewShipType.selectionPriority = 75
NewShipType.militaryUnit = 1
NewShipType.SMHighlightDistMin = 15000
NewShipType.SMHighlightDistMax = 25000
addAbility(NewShipType,"MoveCommand",1,0)
addAbility(NewShipType,"CanDock",1,0)
NewShipType.dockTimeBetweenTwoFormations = 1
NewShipType.dockTimeBeforeStart = 2
NewShipType.dockNrOfShipsInDockFormation = 1
NewShipType.dockFormation = "delta"
NewShipType.queueFormation = "dockline"
NewShipType.dontDockWithOtherRaceShips = 1
NewShipType.ignoreRaceWhenDocking = 0
addAbility(NewShipType,"CanLaunch")
NewShipType.launchTimeBetweenTwoFormations = 1
NewShipType.launchTimeBeforeStart = 2
NewShipType.launchNrOfShipsInDockFormation = 1
NewShipType.launchFormation = "delta"
addAbility(NewShipType,"ShipHold",1,0,5,"rallypoint","Fighter, Corvette",10000,{
  Fighter = "10000",
},{
  Corvette = "10000",
})
addAbility(NewShipType,"ParadeCommand",1)
addAbility(NewShipType,"WaypointMove")
addAbility(NewShipType,"HyperSpaceCommand",1,2,1000,3500,0,3)
addAbility(NewShipType,"CanAttack",1,1,0,0,0.35,1.2,"Mothership, BigCapitalShip, SmallCapitalShip, Frigate, Capturer, Utility","MoveToTargetAndShoot",{
  SubSystem = "BroadsideVsSubSystem",
},{
  BigCapitalShip = "Broadside",
},{
  SmallCapitalShip = "Broadside",
},{
  Mothership = "Broadside",
})
addAbility(NewShipType,"GuardCommand",1,1,1000)
addAbility(NewShipType,"CanBuildShips",1,"Fighter_Hgn, Corvette_Hgn, Probe_Hgn","Utility, Fighter, Corvette")
addAbility(NewShipType,"CanBeCaptured",300,1)
addAbility(NewShipType,"CanBeRepaired")
addAbility(NewShipType,"RetireAbility",1,1)
addAbility(NewShipType,"HyperspaceInhibitorAbility",0,4000)
LoadModel(NewShipType,1)
addAbility(NewShipType,"MinelayerAbility",1,3.5)
addAbility(NewShipType,"DefenseFieldAbility",0,0,750,4000,4000,-1,0.1,0.6,"none")
StartShipWeaponConfig(NewShipType,"PLSR-12GW-G","Weapon_pulsar","")
StartShipWeaponConfig(NewShipType,"PLSR-12GW-G","Weapon_pulsar2","")
StartShipWeaponConfig(NewShipType,"PLSR-12GW-G","Weapon_pulsar3","")
StartShipWeaponConfig(NewShipType,"PLSR-12GW-G","Weapon_pulsar4","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS","Weapon_pulsar","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS","Weapon_pulsar2","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS","Weapon_pulsar3","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS","Weapon_pulsar4","")
StartShipWeaponConfig(NewShipType,"hgn_AC275SV-360","Weapon_TurretTop","")
StartShipWeaponConfig(NewShipType,"hgn_AC275SV-360","Weapon_TurretTop2","")
StartShipWeaponConfig(NewShipType,"hgn_AC275SV-L","Weapon_TurretTop3","")
StartShipWeaponConfig(NewShipType,"hgn_AC275SV-R","Weapon_TurretTop4","")
StartShipWeaponConfig(NewShipType,"sm3er-12","Weapon_MRAM1","sm3launcher1")
StartShipWeaponConfig(NewShipType,"sm3er-12","Weapon_MRAM3","sm3launcher3")
StartShipWeaponConfig(NewShipType,"sm3er-12","MRAMR","sm3launcher2")
StartShipWeaponConfig(NewShipType,"hgn_nucleardrone-mrx8af","MRAML","")
StartShipWeaponConfig(NewShipType,"hgn_nucleardrone-mrx8af","Weapon_MRAM4","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-360","AWSDslACFR","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-360","AWSDslACFL","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-360","AC45F1","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-360","AC45F2","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS360","AWSDslACFR","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS360","AWSDslACFL","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS360","AC45F1","")
StartShipWeaponConfig(NewShipType,"PLSR-2GW-AMS360","AC45F2","")
addShield(NewShipType,"EMP",9500,18)
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 1","Hardpoint_IonBeam1","Weapon","Innate","Destroyable","hgn_battlecruiserionbeamturret")
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 2","Hardpoint_IonBeam2","Weapon","Innate","Destroyable","hgn_battlecruiserionbeamturret")
StartShipHardPointConfig(NewShipType,"SecAC275 1","HardpointGeneric1","Weapon","Innate","Destroyable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"SecAC275 2","HardpointGeneric2","Weapon","Innate","Destroyable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"Engine","Hardpoint_Engine","System","Innate","Damageable","Hgn_BattleCruiserEngine")
StartShipHardPointConfig(NewShipType,"AWSACV1","HardPointAWSVenAC1","Weapon","Generic","Destroyable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACV4","HardPointAWSVenAC4","Weapon","Generic","Destroyable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACD5","HardPointAWSDslAC1AR","Weapon","Generic","Destroyable","hgnws_4xhvyplasbty")
StartShipHardPointConfig(NewShipType,"AWSICE1","HardPointAWSENGIC1","Weapon","Generic","Destroyable","hgnws_4xhvyplasbty")
StartShipHardPointConfig(NewShipType,"AWSACD6","HardPointAWSDslAC2FR","Weapon","Generic","Destroyable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACD7","HardPointAWSDslAC2FL","Weapon","Generic","Destroyable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"MWSLC3","HardPointMWSVtlLC","Weapon","Generic","Destroyable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"BI","HardpointBI","Weapon","Generic","Destroyable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"AWSICD2","HardPointAWSDslIC2","Weapon","Generic","Destroyable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"RWS","Innate_CTP","System","Innate","Destroyable","hgn_c_production_corvette")
StartShipHardPointConfig(NewShipType,"InnateFTP","Innate_FTP","System","Production","Destroyable","hgn_c_production_fighter")
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg03",1,0.75,0,0,0,50,0,0,0,200,0,0,0,50,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg02",1,0.05,30,-20,200,25,300,150,85,50,0,0,0,85,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml02",1,0.01,25,0,-125,50,80,35,120,75,0,0,0,60,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml03",1,0.01,60,95,200,50,15,200,20,125,0,0,0,60,0,0,0,50)
NewShipType.battleScarMaxTriBase = 175
NewShipType.battleScarMaxTriInc = 250
NewShipType.sobDieTime = 30
NewShipType.sobSpecialDieTime = 15
NewShipType.specialDeathSpeed = 2
NewShipType.chanceOfSpecialDeath = 30
NewShipType.deadSobFadeTime = 0.4
NewShipType.trailLinger = 3
setEngineBurn(NewShipType,9,0.2,0.5,300,1.02,0.1,0.25,380)
setEngineGlow(NewShipType,1,1,1.02,20,450,150,1.5,{
  0.27,
  0.47,
  0.69,
  0.25,
})
loadShipPatchList(NewShipType,"data:sound/sfx/ship/Hiigaran/Carrier/",0,"Engines/HDestroyerEng","",1,"Ambience/HBattleCrusierAmb","")





I've checked, and the "hgnws_4xAC100-m2" is uniform across the board from the PoH to the Arbiter CA.

Any suggestions?
http://www.nation...feazanthia

Resident forum lurker, no coding or modeling skills required!
Turnin' Battle Barges to swiss cheese and lookin' good doin' it.
 
MarieHawke
You're copying a weapon file name into a subsystem slot. Make a subsystem with your desired weapon and then use that subsystem name instead.
A starlight sharpshot magical girl!
 
acelynham
here is the file from my folder for reference- hawking is right, you need to leave the subsystems alone and just edit the weapon files... unless you want to toy around with them, of course, but thats hassle lol

NewShipType = StartShipConfig()
NewShipType.displayedName = "Arelian Defender BV"
NewShipType.sobDescription = "Defiance II-C1 Fleet Monitor"
NewShipType.maxhealth = 6000000
NewShipType.regentime = 1000
NewShipType.minRegenTime = 333
NewShipType.frontArmourDamage = 0.1
NewShipType.sideArmourDamage = 0.1
NewShipType.rearArmourDamage = 1.2
NewShipType.isTransferable = 0
NewShipType.useEngagementRanges = 1
NewShipType.unitCapsNumber = 8
NewShipType.paradeData = "hgn_battlecarrier_parade"
NewShipType.SquadronSize = 1
NewShipType.passiveFormation = "Spear"
NewShipType.defensiveFormation = "x"
NewShipType.aggressiveFormation = "Claw"
NewShipType.mass = 1000
NewShipType.collisionMultiplier = 1
NewShipType.thrusterMaxSpeed = 140
NewShipType.mainEngineMaxSpeed = 200
NewShipType.rotationMaxSpeed = 6
NewShipType.thrusterAccelTime = 19
NewShipType.thrusterBrakeTime = 14
NewShipType.mainEngineAccelTime = 35
NewShipType.mainEngineBrakeTime = 35
NewShipType.rotationAccelTime = 10
NewShipType.rotationBrakeTime = 10
NewShipType.thrusterUsage = 1
NewShipType.accelerationAngle = 35
NewShipType.mirrorAngle = 0
NewShipType.secondaryTurnAngle = 0
NewShipType.maxBankingAmount = 100
NewShipType.descendPitch = 75
NewShipType.goalReachEpsilon = 2000
NewShipType.slideMoveRange = 350
NewShipType.controllerType = "Ship"
NewShipType.tumbleStaticX = 2
NewShipType.tumbleStaticY = 4
NewShipType.tumbleStaticZ = 3
NewShipType.tumbleDynamicX = 1
NewShipType.tumbleDynamicY = 2
NewShipType.tumbleDynamicZ = 1
NewShipType.tumbleSpecialDynamicX = 1
NewShipType.tumbleSpecialDynamicY = 2
NewShipType.tumbleSpecialDynamicZ = 1
NewShipType.relativeMoveFactor = 1
NewShipType.swayUpdateTime = 10
NewShipType.swayOffsetRandomX = 10
NewShipType.swayOffsetRandomY = 10
NewShipType.swayOffsetRandomZ = 10
NewShipType.swayBobbingFactor = 0
NewShipType.swayRotateFactor = 0
NewShipType.useTargetRandom = 1
NewShipType.targetRandomPointXMin = -0.2
NewShipType.targetRandomPointXMax = 0.5
NewShipType.targetRandomPointYMin = -0.2
NewShipType.targetRandomPointYMax = 0.2
NewShipType.targetRandomPointZMin = -0.8
NewShipType.targetRandomPointZMax = 0.8
NewShipType.dustCloudDamageTime = 0
NewShipType.nebulaDamageTime = 0
NewShipType.MinimalFamilyToFindPathAround = "MotherShip"
NewShipType.BuildFamily = "Shipyard_Hgn"
NewShipType.AttackFamily = "BigCapitalShip"
NewShipType.DockFamily = "BattleCruiser"
NewShipType.AvoidanceFamily = "BattleCruiser"
NewShipType.DisplayFamily = "Capital"
NewShipType.AutoFormationFamily = "CapShip"
NewShipType.CollisionFamily = "Big"
NewShipType.ArmourFamily = "Composite"
NewShipType.UnitCapsFamily = "Capital"
NewShipType.UnitCapsShipType = "DestroyerLeader"
NewShipType.fighterValue = 0
NewShipType.corvetteValue = 0
NewShipType.frigateValue = 80
NewShipType.neutralValue = 30
NewShipType.antiFighterValue = 0
NewShipType.antiCorvetteValue = 5
NewShipType.antiFrigateValue = 60
NewShipType.totalValue = 110
NewShipType.buildCost = 5000
NewShipType.buildTime = 260
NewShipType.buildPriorityOrder = 40
NewShipType.retaliationRange = 20000
NewShipType.retaliationDistanceFromGoal = 160
NewShipType.visualRange = 1000
NewShipType.prmSensorRange = 20000
NewShipType.secSensorRange = 20000
NewShipType.detectionStrength = 1
NewShipType.TOIcon = "Arrow"
NewShipType.TOScale = 1
NewShipType.TODistanceFade0 = 14000
NewShipType.TODistanceDisappear0 = 12000
NewShipType.TODistanceFade1 = 8500
NewShipType.TODistanceDisappear1 = 7000
NewShipType.TODistanceFade2 = 12000
NewShipType.TODistanceDisappear2 = 35000
NewShipType.TOGroupScale = 1
NewShipType.TOGroupMergeSize = 0
NewShipType.mouseOverMinFadeSize = 0.045
NewShipType.mouseOverMaxFadeSize = 0.1
NewShipType.healthBarStyle = 2
NewShipType.nlips = 0
NewShipType.nlipsRange = 75000
NewShipType.nlipsFar = 0
NewShipType.nlipsFarRange = 0
NewShipType.SMRepresentation = "Mesh"
NewShipType.meshRenderLimit = 19500
NewShipType.dotRenderLimit = 10
NewShipType.visibleInSecondary = 1
NewShipType.goblinsStartFade = 3000
NewShipType.goblinsOff = 3000
NewShipType.upLOD = 4000
NewShipType.upLOD = 5950
NewShipType.downLOD = 4015
NewShipType.downLOD = 5965
NewShipType.minimumZoomFactor = 0.5
NewShipType.selectionLimit = 150000
NewShipType.preciseATILimit = 7000
NewShipType.selectionPriority = 75
NewShipType.militaryUnit = 1
NewShipType.SMHighlightDistMin = 15000
NewShipType.SMHighlightDistMax = 25000
addAbility(NewShipType,"MoveCommand",1,0)
addAbility(NewShipType,"CanDock",1,0)
NewShipType.dockTimeBetweenTwoFormations = 1
NewShipType.dockTimeBeforeStart = 2
NewShipType.dockNrOfShipsInDockFormation = 1
NewShipType.dockFormation = "delta"
NewShipType.queueFormation = "dockline"
NewShipType.dontDockWithOtherRaceShips = 1
NewShipType.ignoreRaceWhenDocking = 0
addAbility(NewShipType,"CanLaunch"Wink
NewShipType.launchTimeBetweenTwoFormations = 1
NewShipType.launchTimeBeforeStart = 2
NewShipType.launchNrOfShipsInDockFormation = 1
NewShipType.launchFormation = "delta"
addAbility(NewShipType,"ShipHold",1,0,3,"rallypoint","Fighter, Corvette",250,{
Fighter = "700",
},{
Corvette = "1000",
})
addAbility(NewShipType,"ParadeCommand",1)
addAbility(NewShipType,"WaypointMove"Wink
addAbility(NewShipType,"HyperSpaceCommand",1,2,1000,3500,0,3)
addAbility(NewShipType,"CanAttack",1,1,0,0,0.35,1.2,"BigCapitalShip, SmallCapitalShip, Frigate, Capturer, Mothership, Utility","Frontal",{
SubSystem = "FrontalVsSubSystem",
},{
Fighter = "movetotargetandshoot",
},{
Corvette = "movetotargetandshoot",
})
addAbility(NewShipType,"GuardCommand",1,1,1000)
addAbility(NewShipType,"CanBuildShips",1,"Fighter_Hgn, Corvette_Hgn, Probe_Hgn","Utility, Fighter, Corvette"Wink
addAbility(NewShipType,"CanBeCaptured",300,1)
addAbility(NewShipType,"CanBeRepaired"Wink
addAbility(NewShipType,"RetireAbility",1,1)
addAbility(NewShipType,"HyperspaceInhibitorAbility",0,4000)
LoadModel(NewShipType,1)
addAbility(NewShipType,"MinelayerAbility",1,3.5)
addAbility(NewShipType,"DefenseFieldAbility",1,1,1000,4000,4000,-1,0.1,0.6,"none"Wink
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar2",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar3",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar4",""Wink
StartShipWeaponConfig(NewShipType,"Hgn_BattleCruiserKineticBurstCannon","Weapon_TurretTop","Weapon_TurretTop"Wink
StartShipWeaponConfig(NewShipType,"Hgn_BattleCruiserKineticBurstCannon","Weapon_TurretTop2","Weapon_TurretTop2"Wink
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM1",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM2",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM3",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM4",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmsi","Weapon_MRAM1",""Wink
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmsi","Weapon_MRAM4",""Wink
StartShipWeaponConfig(NewShipType,"hgn_hydrashark1200","MRAML","1200ARGL"Wink
StartShipWeaponConfig(NewShipType,"hgn_hydrashark1200","MRAMR","1200ARGR"Wink
addShield(NewShipType,"EMP",20000,20)
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 1","Hardpoint_IonBeam1","Weapon","Innate","Destroyable","hgn_bbx_TripleBarrel"Wink
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 2","Hardpoint_IonBeam2","Weapon","Generic","Damageable","hgn_bbx_TripleBarrel"Wink
StartShipHardPointConfig(NewShipType,"Engine","Hardpoint_Engine","System","Innate","Damageable","Hgn_BattleCruiserEngine"Wink
StartShipHardPointConfig(NewShipType,"Generic 1","HardpointGeneric1","Weapon","Generic","Damageable","hgnws_4xAC100-m2"Wink
StartShipHardPointConfig(NewShipType,"Generic 2","HardpointGeneric2","Weapon","Generic","Damageable","hgnws_4xAC100-m2"Wink
StartShipHardPointConfig(NewShipType,"AWSACV1","HardPointAWSVenAC1","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"AWSACV4","HardPointAWSVenAC4","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"HV1","HVM_BottomFRight","Weapon","Generic","Damageable","hgnws_2xAC100ams"Wink
StartShipHardPointConfig(NewShipType,"HV2","HVM_BottomFLeft","Weapon","Generic","Damageable","hgnws_2xAC100ams"Wink
StartShipHardPointConfig(NewShipType,"HV3","HVM_MidRight","Weapon","Generic","Damageable","hgn_bcltorpbox"Wink
StartShipHardPointConfig(NewShipType,"HV4","HVM_MidLeft","Weapon","Generic","Damageable","hgn_bcltorpbox"Wink
StartShipHardPointConfig(NewShipType,"AWSACD5","HardPointAWSDslAC1AR","Weapon","Generic","Damageable","Vgr_HeavyFusionMissileLauncherBC"Wink
StartShipHardPointConfig(NewShipType,"AWSACD6","HardPointAWSDslAC2FR","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"AWSACD7","HardPointAWSDslAC2FL","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"MWSLC3","HardPointMWSVtlLC","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"BI","HardpointBI","Weapon","Generic","Damageable","hgnws_2xAC100ams"Wink
StartShipHardPointConfig(NewShipType,"AWSICE1","HardPointAWSENGIC1","Weapon","Generic","Damageable","Vgr_HeavyFusionMissileLauncherBC"Wink
StartShipHardPointConfig(NewShipType,"AWSACFD1","AWSDslACFR","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"AWSACFD2","AWSDslACFL","Weapon","Generic","Damageable","hgnws_3xAC275"Wink
StartShipHardPointConfig(NewShipType,"AWSACFV1","AC45F1","Weapon","Generic","Damageable","hgnws_4xAC100-m2"Wink
StartShipHardPointConfig(NewShipType,"AWSACFV2","AC45F2","Weapon","Generic","Damageable","hgnws_4xAC100-m2"Wink
StartShipHardPointConfig(NewShipType,"ARG640TL","ARG640TL","Weapon","Innate","Damageable","hgn_bbx_TripleBarrel"Wink
StartShipHardPointConfig(NewShipType,"ARG640TR","ARG640TR","Weapon","Innate","Damageable","hgn_bbx_TripleBarrel"Wink
StartShipHardPointConfig(NewShipType,"InnateFTP","Innate_FTP","System","Production","Damageable","Hgn_BCV_Production"Wink
AddShipMultiplier(NewShipType,"WeaponAccuracy","OwnShipsWithinRadiusExcludingThisShip","Linear",1.10,1.10,10000)
AddShipMultiplier(NewShipType,"SensorDistortion","OwnShipsWithinRadius","Linear",0.4,0.4,20000)
AddShipMultiplier(NewShipType,"PrimarySensorsRange","ThisShipOnly","Linear",1.3,1.3,0)
AddShipMultiplier(NewShipType,"SecondarySensorsRange","ThisShipOnly","Linear",1.3,1.3,0)
AddShipMultiplier(NewShipType,"WeaponAccuracy","EnemyShipsWithinRadius","Linear",0.85,0.85,20000)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg03",1,0.75,0,0,0,50,0,0,0,200,0,0,0,50,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg02",1,0.05,30,-20,200,25,300,150,85,50,0,0,0,85,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml02",1,0.01,25,0,-125,50,80,35,120,75,0,0,0,60,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml03",1,0.01,60,95,200,50,15,200,20,125,0,0,0,60,0,0,0,50)
NewShipType.battleScarMaxTriBase = 175
NewShipType.battleScarMaxTriInc = 250
NewShipType.sobDieTime = 75
NewShipType.sobSpecialDieTime = 1
NewShipType.specialDeathSpeed = 40
NewShipType.chanceOfSpecialDeath = 0
NewShipType.deadSobFadeTime = 0.4
NewShipType.trailLinger = 3
setEngineBurn(NewShipType,9,0.2,0.5,300,1.02,0.1,0.25,380)
setEngineGlow(NewShipType,1,1,1.02,20,450,150,1.5,{
0.27,
0.47,
0.69,
0.25,
})
loadShipPatchList(NewShipType,"data:sound/sfx/ship/Hiigaran/Carrier/",0,"Engines/HDestroyerEng","",1,"Ambience/HBattleCrusierAmb",""Wink


there you go- that should show you the difference.... good luck
 
Dafeaz
Alright, tried to copy directly what you have, and now I'm getting the first error I had. "Cannot find hgnnws_ac45ams"

Here's my new ship file

Download source  Code
NewShipType = StartShipConfig()
NewShipType.displayedName = "Arelian Defender BV"
NewShipType.sobDescription = "Defiance II-C1 Fleet Monitor"
NewShipType.maxhealth = 6000000
NewShipType.regentime = 1000
NewShipType.minRegenTime = 333
NewShipType.frontArmourDamage = 0.1
NewShipType.sideArmourDamage = 0.1
NewShipType.rearArmourDamage = 1.2
NewShipType.isTransferable = 0
NewShipType.useEngagementRanges = 1
NewShipType.unitCapsNumber = 8
NewShipType.paradeData = "hgn_battlecarrier_parade"
NewShipType.SquadronSize = 1
NewShipType.passiveFormation = "Spear"
NewShipType.defensiveFormation = "x"
NewShipType.aggressiveFormation = "Claw"
NewShipType.mass = 1000
NewShipType.collisionMultiplier = 1
NewShipType.thrusterMaxSpeed = 140
NewShipType.mainEngineMaxSpeed = 200
NewShipType.rotationMaxSpeed = 6
NewShipType.thrusterAccelTime = 19
NewShipType.thrusterBrakeTime = 14
NewShipType.mainEngineAccelTime = 35
NewShipType.mainEngineBrakeTime = 35
NewShipType.rotationAccelTime = 10
NewShipType.rotationBrakeTime = 10
NewShipType.thrusterUsage = 1
NewShipType.accelerationAngle = 35
NewShipType.mirrorAngle = 0
NewShipType.secondaryTurnAngle = 0
NewShipType.maxBankingAmount = 100
NewShipType.descendPitch = 75
NewShipType.goalReachEpsilon = 2000
NewShipType.slideMoveRange = 350
NewShipType.controllerType = "Ship"
NewShipType.tumbleStaticX = 2
NewShipType.tumbleStaticY = 4
NewShipType.tumbleStaticZ = 3
NewShipType.tumbleDynamicX = 1
NewShipType.tumbleDynamicY = 2
NewShipType.tumbleDynamicZ = 1
NewShipType.tumbleSpecialDynamicX = 1
NewShipType.tumbleSpecialDynamicY = 2
NewShipType.tumbleSpecialDynamicZ = 1
NewShipType.relativeMoveFactor = 1
NewShipType.swayUpdateTime = 10
NewShipType.swayOffsetRandomX = 10
NewShipType.swayOffsetRandomY = 10
NewShipType.swayOffsetRandomZ = 10
NewShipType.swayBobbingFactor = 0
NewShipType.swayRotateFactor = 0
NewShipType.useTargetRandom = 1
NewShipType.targetRandomPointXMin = -0.2
NewShipType.targetRandomPointXMax = 0.5
NewShipType.targetRandomPointYMin = -0.2
NewShipType.targetRandomPointYMax = 0.2
NewShipType.targetRandomPointZMin = -0.8
NewShipType.targetRandomPointZMax = 0.8
NewShipType.dustCloudDamageTime = 0
NewShipType.nebulaDamageTime = 0
NewShipType.MinimalFamilyToFindPathAround = "MotherShip"
NewShipType.BuildFamily = "Shipyard_Hgn"
NewShipType.AttackFamily = "BigCapitalShip"
NewShipType.DockFamily = "BattleCruiser"
NewShipType.AvoidanceFamily = "BattleCruiser"
NewShipType.DisplayFamily = "Capital"
NewShipType.AutoFormationFamily = "CapShip"
NewShipType.CollisionFamily = "Big"
NewShipType.ArmourFamily = "Composite"
NewShipType.UnitCapsFamily = "Capital"
NewShipType.UnitCapsShipType = "DestroyerLeader"
NewShipType.fighterValue = 0
NewShipType.corvetteValue = 0
NewShipType.frigateValue = 80
NewShipType.neutralValue = 30
NewShipType.antiFighterValue = 0
NewShipType.antiCorvetteValue = 5
NewShipType.antiFrigateValue = 60
NewShipType.totalValue = 110
NewShipType.buildCost = 5000
NewShipType.buildTime = 260
NewShipType.buildPriorityOrder = 40
NewShipType.retaliationRange = 20000
NewShipType.retaliationDistanceFromGoal = 160
NewShipType.visualRange = 1000
NewShipType.prmSensorRange = 20000
NewShipType.secSensorRange = 20000
NewShipType.detectionStrength = 1
NewShipType.TOIcon = "Arrow"
NewShipType.TOScale = 1
NewShipType.TODistanceFade0 = 14000
NewShipType.TODistanceDisappear0 = 12000
NewShipType.TODistanceFade1 = 8500
NewShipType.TODistanceDisappear1 = 7000
NewShipType.TODistanceFade2 = 12000
NewShipType.TODistanceDisappear2 = 35000
NewShipType.TOGroupScale = 1
NewShipType.TOGroupMergeSize = 0
NewShipType.mouseOverMinFadeSize = 0.045
NewShipType.mouseOverMaxFadeSize = 0.1
NewShipType.healthBarStyle = 2
NewShipType.nlips = 0
NewShipType.nlipsRange = 75000
NewShipType.nlipsFar = 0
NewShipType.nlipsFarRange = 0
NewShipType.SMRepresentation = "Mesh"
NewShipType.meshRenderLimit = 19500
NewShipType.dotRenderLimit = 10
NewShipType.visibleInSecondary = 1
NewShipType.goblinsStartFade = 3000
NewShipType.goblinsOff = 3000
NewShipType.upLOD = 4000
NewShipType.upLOD = 5950
NewShipType.downLOD = 4015
NewShipType.downLOD = 5965
NewShipType.minimumZoomFactor = 0.5
NewShipType.selectionLimit = 150000
NewShipType.preciseATILimit = 7000
NewShipType.selectionPriority = 75
NewShipType.militaryUnit = 1
NewShipType.SMHighlightDistMin = 15000
NewShipType.SMHighlightDistMax = 25000
addAbility(NewShipType,"MoveCommand",1,0)
addAbility(NewShipType,"CanDock",1,0)
NewShipType.dockTimeBetweenTwoFormations = 1
NewShipType.dockTimeBeforeStart = 2
NewShipType.dockNrOfShipsInDockFormation = 1
NewShipType.dockFormation = "delta"
NewShipType.queueFormation = "dockline"
NewShipType.dontDockWithOtherRaceShips = 1
NewShipType.ignoreRaceWhenDocking = 0
addAbility(NewShipType,"CanLaunch")
NewShipType.launchTimeBetweenTwoFormations = 1
NewShipType.launchTimeBeforeStart = 2
NewShipType.launchNrOfShipsInDockFormation = 1
NewShipType.launchFormation = "delta"
addAbility(NewShipType,"ShipHold",1,0,3,"rallypoint","Fighter, Corvette",250,{
  Fighter = "700",
},{
  Corvette = "1000",
})
addAbility(NewShipType,"ParadeCommand",1)
addAbility(NewShipType,"WaypointMove")
addAbility(NewShipType,"HyperSpaceCommand",1,2,1000,3500,0,3)
addAbility(NewShipType,"CanAttack",1,1,0,0,0.35,1.2,"BigCapitalShip, SmallCapitalShip, Frigate, Capturer, Mothership, Utility","Frontal",{
  SubSystem = "FrontalVsSubSystem",
},{
  Fighter = "movetotargetandshoot",
},{
  Corvette = "movetotargetandshoot",
})
addAbility(NewShipType,"GuardCommand",1,1,1000)
addAbility(NewShipType,"CanBuildShips",1,"Fighter_Hgn, Corvette_Hgn, Probe_Hgn","Utility, Fighter, Corvette")
addAbility(NewShipType,"CanBeCaptured",300,1)
addAbility(NewShipType,"CanBeRepaired")
addAbility(NewShipType,"RetireAbility",1,1)
addAbility(NewShipType,"HyperspaceInhibitorAbility",0,4000)
LoadModel(NewShipType,1) 
addAbility(NewShipType,"MinelayerAbility",1,3.5)
addAbility(NewShipType,"DefenseFieldAbility",1,1,1000,4000,4000,-1,0.1,0.6,"none")
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar","")
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar2","")
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar3","")
StartShipWeaponConfig(NewShipType,"hgnnws_ac45ams","Weapon_pulsar4","")
StartShipWeaponConfig(NewShipType,"Hgn_BattleCruiserKineticBurstCannon","Weapon_TurretTop","Weapon_TurretTop")
StartShipWeaponConfig(NewShipType,"Hgn_BattleCruiserKineticBurstCannon","Weapon_TurretTop2","Weapon_TurretTop2")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM1","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM2","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM3","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmr","Weapon_MRAM4","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmsi","Weapon_MRAM1","")
StartShipWeaponConfig(NewShipType,"hgnnws_120hvmsi","Weapon_MRAM4","")
StartShipWeaponConfig(NewShipType,"hgn_hydrashark1200","MRAML","1200ARGL")
StartShipWeaponConfig(NewShipType,"hgn_hydrashark1200","MRAMR","1200ARGR")
addShield(NewShipType,"EMP",20000,20)
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 1","Hardpoint_IonBeam1","Weapon","Innate","Destroyable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"Weapon IonBeam 2","Hardpoint_IonBeam2","Weapon","Generic","Damageable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"Engine","Hardpoint_Engine","System","Innate","Damageable","Hgn_BattleCruiserEngine")
StartShipHardPointConfig(NewShipType,"Generic 1","HardpointGeneric1","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"Generic 2","HardpointGeneric2","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACV1","HardPointAWSVenAC1","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACV4","HardPointAWSVenAC4","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"HV1","HVM_BottomFRight","Weapon","Generic","Damageable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"HV2","HVM_BottomFLeft","Weapon","Generic","Damageable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"HV3","HVM_MidRight","Weapon","Generic","Damageable","hgn_bcltorpbox")
StartShipHardPointConfig(NewShipType,"HV4","HVM_MidLeft","Weapon","Generic","Damageable","hgn_bcltorpbox")
StartShipHardPointConfig(NewShipType,"AWSACD5","HardPointAWSDslAC1AR","Weapon","Generic","Damageable","Vgr_HeavyFusionMissileLauncherBC")
StartShipHardPointConfig(NewShipType,"AWSACD6","HardPointAWSDslAC2FR","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACD7","HardPointAWSDslAC2FL","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"MWSLC3","HardPointMWSVtlLC","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"BI","HardpointBI","Weapon","Generic","Damageable","hgnws_2xAC100ams")
StartShipHardPointConfig(NewShipType,"AWSICE1","HardPointAWSENGIC1","Weapon","Generic","Damageable","Vgr_HeavyFusionMissileLauncherBC")
StartShipHardPointConfig(NewShipType,"AWSACFD1","AWSDslACFR","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACFD2","AWSDslACFL","Weapon","Generic","Damageable","hgnws_3xAC275")
StartShipHardPointConfig(NewShipType,"AWSACFV1","AC45F1","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"AWSACFV2","AC45F2","Weapon","Generic","Damageable","hgnws_4xAC100-m2")
StartShipHardPointConfig(NewShipType,"ARG640TL","ARG640TL","Weapon","Innate","Damageable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"ARG640TR","ARG640TR","Weapon","Innate","Damageable","hgn_bbx_TripleBarrel")
StartShipHardPointConfig(NewShipType,"InnateFTP","Innate_FTP","System","Production","Damageable","Hgn_BCV_Production")
AddShipMultiplier(NewShipType,"WeaponAccuracy","OwnShipsWithinRadiusExcludingThisShip","Linear",1.10,1.10,10000)
AddShipMultiplier(NewShipType,"SensorDistortion","OwnShipsWithinRadius","Linear",0.4,0.4,20000)
AddShipMultiplier(NewShipType,"PrimarySensorsRange","ThisShipOnly","Linear",1.3,1.3,0)
AddShipMultiplier(NewShipType,"SecondarySensorsRange","ThisShipOnly","Linear",1.3,1.3,0)
AddShipMultiplier(NewShipType,"WeaponAccuracy","EnemyShipsWithinRadius","Linear",0.85,0.85,20000)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg03",1,0.75,0,0,0,50,0,0,0,200,0,0,0,50,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Lrg02",1,0.05,30,-20,200,25,300,150,85,50,0,0,0,85,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml02",1,0.01,25,0,-125,50,80,35,120,75,0,0,0,60,0,0,0,50)
SpawnSalvageOnDeath(NewShipType,"Slv_Chunk_Sml03",1,0.01,60,95,200,50,15,200,20,125,0,0,0,60,0,0,0,50)
NewShipType.battleScarMaxTriBase = 175
NewShipType.battleScarMaxTriInc = 250
NewShipType.sobDieTime = 75
NewShipType.sobSpecialDieTime = 1
NewShipType.specialDeathSpeed = 40
NewShipType.chanceOfSpecialDeath = 0
NewShipType.deadSobFadeTime = 0.4
NewShipType.trailLinger = 3
setEngineBurn(NewShipType,9,0.2,0.5,300,1.02,0.1,0.25,380)
setEngineGlow(NewShipType,1,1,1.02,20,450,150,1.5,{
  0.27,
  0.47,
  0.69,
  0.25,
})
loadShipPatchList(NewShipType,"data:sound/sfx/ship/Hiigaran/Carrier/",0,"Engines/HDestroyerEng","",1,"Ambience/HBattleCrusierAmb","")




http://www.nation...feazanthia

Resident forum lurker, no coding or modeling skills required!
Turnin' Battle Barges to swiss cheese and lookin' good doin' it.
 
Dafeaz
ac45ams problem defeated (though I may have accidentally put anti-cap ship weapons in their place o_O). Now I'm having problems with the ship's missile systems (the lines of code just under where the ac45s were). I'll try fiddling with it.
http://www.nation...feazanthia

Resident forum lurker, no coding or modeling skills required!
Turnin' Battle Barges to swiss cheese and lookin' good doin' it.
 
acelynham
yeah its coz the subsystem listed files will be pds 7 ones, so i can either give you those in an email and you use the original AD file i sent you or you can change them all to existing pds 11 ones
 
Jump to Forum: