I'm trying to add some of the destroyer upgrades from Complex 2.0 into PDS but it keeps crashing, can you tell me where the mistake is?
Seems to crash when i add the "ImprovedTorpedoDestroyer".
The RED color is the destroyer upgrade code from Complex 2.0
},
{
Name = "DestroyerHealthUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "Research | AdvancedResearch & CapShipProduction",
Cost = 100,
Time = 20,
DisplayedName = "Level I External Armour",
DisplayPriority = 405,
Description = "Applique armour package consisting of class-customized external lightweight alloy plating fitted to hull sections most
vulnerable to enemy fire and over critical crew and system spaces. \n Extra mass compensated by ship control software modifications.",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_Destroyer",
UpgradeName = "MAXHEALTH",
UpgradeValue = 1.3,
ShortDisplayedName = "Lvl 1 DD",
Icon = Icon_Health,
},
{
Name = "DestroyerHealthUpgrade2",
RequiredResearch = "DestroyerHealthUpgrade1",
RequiredSubSystems = "AdvancedResearch & CapShipProduction",
Cost = 150,
Time = 10,
DisplayedName = "Level II External Armour",
DisplayPriority = 405,
Description = "The Level II defensive armour package usually applied in areas of prolonged hostility consists of additional external
plating spanning most of the outer hull, cumulative to the protection afforded by the Level I refit.",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_Destroyer",
UpgradeName = "MAXHEALTH",
UpgradeValue = 1.6,
Icon = Icon_Health,
ShortDisplayedName = "Lvl 2 DD",
},
{
Name = "ImprovedTorpedoDestroyer",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "Research | AdvancedResearch & CapShipProduction",
Cost = 1500,
Time = 70,
DisplayedName = "Destroyer Torpedo",
DisplayPriority = 405,
Description = "<b>Description:</b> Allows Destroyers to fire Anti-Capital Ship torpedoes\n\n<b>Type:</b> Ability\nCost 1500 RU\nResearch time 70 sec\n\n<b>Prerequisites:</b> Research Module, Capital Ship Facility and Destroyer Chassis Technology",
UpgradeType = Ability,
TargetType = Ship,
TargetName = "Hgn_destroyer",
UpgradeName = "UseSpecialWeaponsInNormalAttack",
Icon = Icon_Ability,
ShortDisplayedName = "Destroyer Torpedo", },
},
{
Name = "DestroyerMAXWEAPONDAMAGEUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "AdvancedResearch & CapShipProduction",
Cost = 200,
Time = 15,
DisplayedName = "Destroyer Weapons Damage Upgrade",
DisplayPriority = 406,
Description = "<b>Description:</b> Improves the Destroyer's offensive systems. \n\n<b>Type:</b> Upgrade\n+ 30% Destroyer weapons
damage\n\n<b>Prerequisites:</b> Advanced Research Module, Capital Ship Facility, Fire Control Tower Module and Destroyer Chassis Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_Destroyer",
UpgradeName = "WeaponDamage",
UpgradeValue = 1.3,
Icon = Icon_Attack,
ShortDisplayedName = "1/1 Destroyer Damage" },
},
{
Name = "DestroyerDRIVEUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "AdvancedResearch & CapshipProduction",
Cost = 100,
Time = 10,
DisplayedName = "Destroyer Acceleration Upgrade",
DisplayPriority = 407,
Description = "<b>Description:</b> Improves the Destroyer's engine core\n\n<b>Type:</b> Upgrade\n+ 40% Destroyer acceleration rate\nCost
1100 RU\nResearch time 45 sec\n\n<b>Prerequisites:</b> Advanced Research Module, Capital Ship Facility, Drive System Module and Destroyer
Chassis Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_Destroyer",
UpgradeName = "SPEED",
UpgradeValue = 1.4,
Icon = Icon_Drive,
ShortDisplayedName = "1/1 Destroyer Drive",
},
{
Name = "DestroyerMAXSPEEDUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "Research | AdvancedResearch & CapShipProduction",
Cost = 100,
Time = 10,
DisplayedName = "Destroyer Speed Upgrade: Level 1",
DisplayPriority = 407,
Description = "<b>Description:</b> Improves the Destroyer's conventional drive systems\n\n<b>Type:</b> Upgrade\n+ 30% Destroyer
speed\nCost 1000 RU\nResearch time 30 sec\n\n<b>Prerequisites:</b> Research Module, Capital Ship Facility and Destroyer Chassis Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_Destroyer",
UpgradeName = "MAXSPEED",
UpgradeValue = 1.3,
Icon = Icon_Speed,
ShortDisplayedName = "1/2 Destroyer Speed",
},
{
Name = "DestroyerMAXSPEEDUpgrade2",
RequiredResearch = "DestroyerMAXSPEEDUpgrade1",
RequiredSubSystems = "AdvancedResearch & CapShipProduction",
Cost = 150,
Time = 10,
DisplayedName = "Destroyer Speed Upgrade: Level 2",
DisplayPriority = 407,
Description = "<b>Description:</b> Improves the Destroyer's conventional drive systems\n\n<b>Type:</b> Upgrade\n+ 50% Destroyer
speed\nCost 1500 RU\nResearch time 40 sec\n\n<b>Prerequisites:</b> Advanced Research Module, Capital Ship Facility and Destroyer Chassis
Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_Destroyer",
UpgradeName = "MAXSPEED",
UpgradeValue = 1.5,
Icon = Icon_Speed,
ShortDisplayedName = "2/2 Destroyer Speed",
},
{
Name = "EscortDestroyerHealthUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "Research | AdvancedResearch & CapShipProduction",
Cost = 100,
Time = 20,
DisplayedName = "Level I External Armour",
DisplayPriority = 409,
Description = "Applique armour package consisting of class-customized external lightweight alloy plating fitted to hull sections most
vulnerable to enemy fire and over critical crew and system spaces. \n Extra mass compensated by ship control software modifications.",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_EscortDestroyer",
UpgradeName = "MAXHEALTH",
UpgradeValue = 1.3,
ShortDisplayedName = "Lvl 1 DDE",
Icon = Icon_Health,
},
{
Name = "EscortDestroyerHealthUpgrade2",
RequiredResearch = "DestroyerHealthUpgrade1",
RequiredSubSystems = "AdvancedResearch & CapShipProduction",
Cost = 150,
Time = 10,
DisplayedName = "Level II External Armour",
DisplayPriority = 409,
Description = "The Level II defensive armour package usually applied in areas of prolonged hostility consists of additional external
plating spanning most of the outer hull, cumulative to the protection afforded by the Level I refit.",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_EscortDestroyer",
UpgradeName = "MAXHEALTH",
UpgradeValue = 1.6,
Icon = Icon_Health,
ShortDisplayedName = "Lvl 2 DDE",
},
{
Name = "EscortDestroyerMAXWEAPONDAMAGEUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "AdvancedResearch & CapShipProduction",
Cost = 200,
Time = 15,
DisplayedName = "Destroyer Weapons Damage Upgrade",
DisplayPriority = 410,
Description = "<b>Description:</b> Improves the Destroyer's offensive systems. \n\n<b>Type:</b> Upgrade\n+ 30% Destroyer weapons
damage\n\n<b>Prerequisites:</b> Advanced Research Module, Capital Ship Facility, Fire Control Tower Module and Destroyer Chassis Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_EscortDestroyer",
UpgradeName = "WeaponDamage",
UpgradeValue = 1.3,
Icon = Icon_Attack,
ShortDisplayedName = "1/1 Destroyer Damage" },
},
{
Name = "EscortDestroyerDRIVEUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "AdvancedResearch & CapshipProduction",
Cost = 110,
Time = 15,
DisplayedName = "Destroyer Acceleration Upgrade",
DisplayPriority = 411,
Description = "<b>Description:</b> Improves the Destroyer's engine core\n\n<b>Type:</b> Upgrade\n+ 40% Destroyer acceleration rate\nCost
1100 RU\nResearch time 45 sec\n\n<b>Prerequisites:</b> Advanced Research Module, Capital Ship Facility, Drive System Module and Destroyer
Chassis Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_EscortDestroyer",
UpgradeName = "SPEED",
UpgradeValue = 1.4,
Icon = Icon_Drive,
ShortDisplayedName = "1/1 Destroyer Drive",
},
{
Name = "EscortDestroyerMAXSPEEDUpgrade1",
RequiredResearch = "DestroyerTech",
RequiredSubSystems = "Research | AdvancedResearch & CapShipProduction",
Cost = 100,
Time = 10,
DisplayedName = "Destroyer Speed Upgrade: Level 1",
DisplayPriority = 411,
Description = "<b>Description:</b> Improves the Destroyer's conventional drive systems\n\n<b>Type:</b> Upgrade\n+ 30% Destroyer
speed\nCost 1000 RU\nResearch time 30 sec\n\n<b>Prerequisites:</b> Research Module, Capital Ship Facility and Destroyer Chassis Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_EscortDestroyer",
UpgradeName = "MAXSPEED",
UpgradeValue = 1.3,
Icon = Icon_Speed,
ShortDisplayedName = "1/2 Destroyer Speed",
},
{
Name = "EscortDestroyerMAXSPEEDUpgrade2",
RequiredResearch = "DestroyerMAXSPEEDUpgrade1",
RequiredSubSystems = "AdvancedResearch & CapShipProduction",
Cost = 150,
Time = 10,
DisplayedName = "Destroyer Speed Upgrade: Level 2",
DisplayPriority = 411,
Description = "<b>Description:</b> Improves the Destroyer's conventional drive systems\n\n<b>Type:</b> Upgrade\n+ 50% Destroyer
speed\nCost 1500 RU\nResearch time 40 sec\n\n<b>Prerequisites:</b> Advanced Research Module, Capital Ship Facility and Destroyer Chassis
Technology",
UpgradeType = Modifier,
TargetType = Ship,
TargetName = "Hgn_EscortDestroyer",
UpgradeName = "MAXSPEED",
UpgradeValue = 1.5,
Icon = Icon_Speed,
ShortDisplayedName = "2/2 Destroyer Speed",
},
{


