[MOD] PJ Infrastructure Pack for play with AIx

Hi Uveso.
Mod link has been removed (it has been posted for debuging purpose). Please note, i didn't directly take any units from Black Ops or Nuclear Repulsor Shields. These units has been taken from other mods available for download from FAF. That's why i was confused about categories.VILLAGESHIELD, and where it came from. How ever i can see AI upgrade function has been taken as example from Black Ops but doesn't work.
Would you be able to help me please on how to make AI to upgrade storages (T1->T2->T3), extractors(T3->T3 shielded), power generator (T2-T2 adv, T3-T3 adv), HC (T3->Exp). All files are set. From what i can see it should work but it doesn't, AI connstructing new buildings but never upgrading them. Looks like i've missed something.

Well, adding a upgrade builder to a mod needs some work.

I will use Black Ops unleashed Hydrocarbon Power Plant as example.

First you need the PlatoonFormbuilder for upgrading the Hydro:
https://github.com/Uveso/BlackOpsFAF-Unleashed/blob/master/lua/AI/AIBuilders/HydroCarbonUpgrade.lua

local UCBC = '/lua/editor/UnitCountBuildConditions.lua'
local EBC = '/lua/editor/EconomyBuildConditions.lua'

BuilderGroup {
    BuilderGroupName = 'BO-HydroCarbonUpgrade',
    BuildersType = 'PlatoonFormBuilder',
    Builder {
        BuilderName = 'BO1 HydroUpgrade',
        PlatoonTemplate = 'T1PowerHydroUpgrade',
        Priority = 200,
        BuilderConditions = {
            { UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH1 } },
            { UCBC, 'HaveLessThanUnitsInCategoryBeingBuilt', { 1, categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH2 } },
            { EBC, 'GreaterThanEconIncome', { 2, 10 } },
            { EBC, 'GreaterThanEconTrend', { 0.0, 0.0 } },
        },
        FormRadius = 10000,
        BuilderType = 'Any',
    },
    Builder {
        BuilderName = 'BO2 HydroUpgrade',
        PlatoonTemplate = 'T2PowerHydroUpgrade',
        Priority = 200,
        BuilderConditions = {
            { UCBC, 'HaveLessThanUnitsWithCategory', { 1, categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH1 } },
            { UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH2 } },
            { UCBC, 'HaveLessThanUnitsInCategoryBeingBuilt', { 1, categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH3 } },
            { EBC, 'GreaterThanEconIncome', { 2.6, 60 } },
            { EBC, 'GreaterThanEconTrend', { 0.0, 0.0 } },
        },
        FormRadius = 10000,
        BuilderType = 'Any',
    },
}

These are the builders with buildconditions and PlatoonTemplate names

To inject the Buildergroup to the actual running AI you need a hook inside simInit.lua
https://github.com/Uveso/BlackOpsFAF-Unleashed/blob/master/hook/lua/simInit.lua

local OLDSetupSession = SetupSession
function SetupSession()
    OLDSetupSession()
    import('/mods/BlackOpsFAF-Unleashed/lua/AI/AIBuilders/HydroCarbonUpgrade.lua')
end

This hook will load all BuilderGroups located in the file HydroCarbonUpgrade.lua

Now we need to add the builders to every AI base and new opened expansion.
To do so we need a hook inside AIAddBuilderTable.lua:
https://github.com/Uveso/BlackOpsFAF-Unleashed/blob/master/hook/lua/AI/AIAddBuilderTable.lua

local OLDAddGlobalBaseTemplate = AddGlobalBaseTemplate
function AddGlobalBaseTemplate(aiBrain, locationType, baseBuilderName)
    SPEW('BlackOpsFAF-Unleashed: Injecting BuilderGroup "BO-HydroCarbonUpgrade"')
    AddGlobalBuilderGroup(aiBrain, locationType, 'BO-HydroCarbonUpgrade')
    OLDAddGlobalBaseTemplate(aiBrain, locationType, baseBuilderName)
end

Now every base/expansion can call the upgradebuilder.

To make the upgrade work we need an upgradetemplate.
The upgradebuilder is using the PlatoonTemplate T1PowerHydroUpgrade
So we need to create a PlatoonTemplate with the UnitUpgradeAI plan and a GlobalSquad named T1PowerHydroUpgrade:
https://github.com/Uveso/BlackOpsFAF-Unleashed/blob/master/hook/lua/upgradetemplates.lua

PlatoonTemplate {
    Name = 'T1PowerHydroUpgrade',
    Plan = 'UnitUpgradeAI',
    GlobalSquads = {
        {categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH1, 1, 1, 'support', 'None'},
    }
}
PlatoonTemplate {
    Name = 'T2PowerHydroUpgrade',
    Plan = 'UnitUpgradeAI',
    GlobalSquads = {
        {categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH2, 1, 1, 'support', 'None'},
    }
}

Finally we need the StructureUpgradeTemplates with unitIds so the AI knows how to upgrade to the right unit:

-- earth structure upgrades
table.insert(StructureUpgradeTemplates[1], {'ueb1102', 'beb1202'}) -- Hydrocarbon Power Plant. Upgrade from TECH1 to TECH2
table.insert(StructureUpgradeTemplates[1], {'beb1202', 'beb1302'}) -- Hydrocarbon Power Plant. Upgrade from TECH2 to TECH3
-- alien structure upgrades
table.insert(StructureUpgradeTemplates[2], {'uab1102', 'bab1202'}) -- Hydrocarbon Power Plant. Upgrade from TECH1 to TECH2
table.insert(StructureUpgradeTemplates[2], {'bab1202', 'bab1302'}) -- Hydrocarbon Power Plant. Upgrade from TECH2 to TECH3
-- recycler structure upgrades
table.insert(StructureUpgradeTemplates[3], {'urb1102', 'brb1202'}) -- Hydrocarbon Power Plant. Upgrade from TECH1 to TECH2
table.insert(StructureUpgradeTemplates[3], {'brb1202', 'brb1302'}) -- Hydrocarbon Power Plant. Upgrade from TECH2 to TECH3
-- seraphim structure upgrades
table.insert(StructureUpgradeTemplates[4], {'xsb1102', 'bsb1202'}) -- Hydrocarbon Power Plant. Upgrade from TECH1 to TECH2
table.insert(StructureUpgradeTemplates[4], {'bsb1202', 'bsb1302'}) -- Hydrocarbon Power Plant. Upgrade from TECH2 to TECH3

Happy coding šŸ™‚

@uveso
Hi Uveso.
Thank you for your reply. This all has been alredy done as i've followed your guide: https://forums.faforever.com/viewtopic.php?f=41&t=19591
And looked myself at Black Ops mod (That's why I've mentioned it in first post)
I think i know what is the issue. In file /hook/lua/AI/AIAddBuilderTable.lua i don't know how to define multiple Templates or Builder Groups in one file? I have these:

local OLDAddGlobalBaseTemplate = AddGlobalBaseTemplate
function AddGlobalBaseTemplate(aiBrain, locationType, baseBuilderName)
    SPEW('Pj_Infrastructure_Pack: Injecting BuilderGroups')
    AddGlobalBuilderGroup(aiBrain, locationType, 'XShields')
    AddGlobalBuilderGroup(aiBrain, locationType, 'Upgrade-HC')
    AddGlobalBuilderGroup(aiBrain, locationType, 'Upgrade-EXMEX')
    AddGlobalBuilderGroup(aiBrain, locationType, 'Upgrade-Storage-M')
    AddGlobalBuilderGroup(aiBrain, locationType, 'Upgrade-Storage-E')
    AddGlobalBuilderGroup(aiBrain, locationType, 'Upgrade-PGen')
    OLDAddGlobalBaseTemplate(aiBrain, locationType, baseBuilderName)
end

Could you help me please?

I did only a quick overview.

First you need to delete the category VILLAGESHIELD from the file AIAddBuilderTable.lua
(Delete every * categories.VILLAGESHIELD)
This will resolve the error attempt to get as UserData a nil value

Adding several buildergrpups from the same file is no problem.
But you should rename the local save variable for your hook.

local OLDAddGlobalBaseTemplate = AddGlobalBaseTemplate
Change it to a unique name like
local InfrastructureAddGlobalBaseTemplate = AddGlobalBaseTemplate
Havig the same hook name in different mods can lead to deadloops (game freeze)
or simply overwriting a hook from another mod.

Upgrade for pgens is wrong:

PlatoonTemplate {
    Name = 'Upgrade-PGen-T2',
    Plan = 'UnitUpgradeAI',
    GlobalSquads = {
        {categories.ENERGYPRODUCTION * categories.TECH2 * categories.ECONOMIC, 1, 1, 'support', 'None'},
    }
}

Unit UEpowerup_unit has category ENERGYPRODUCTION * TECH2 * ECONOMIC but can't be upgraded.
This template should only catch normal powergens, not the upgraded ones.
(same to all other PlatoonTemplates)

@uveso

Thank you, I've corrected errors.

Could you please explain what I did wrong in Platoon template?
UEpowerup_unit is an upgraded version of UEB1201_unit
UEB1201_unit has category ENERGYPRODUCTION * TECH2 * ECONOMIC and upgradable via hook:

UnitBlueprint {
    Merge = true,
	BlueprintId = "ueb1201",
	
    Display = {
        Abilities = {
            '<LOC ability_upgradable>Upgradeable',
        },
    },
    Economy = {
        BuildRate = 12,
        BuildableCategory = {
            'uepowerup',
        },
        RebuildBonusIds = {
            "ueb1201",
            'uepowerup',
        },
    },
    General = {
		UpgradesTo = 'uepowerup',
        CommandCaps = {
            RULEUCC_Pause = true,
        },
    },
}

yes unit UEB1201 has categories ENERGYPRODUCTION * TECH2 * ECONOMIC
But unit UEpowerup has also categories ENERGYPRODUCTION * TECH2 * ECONOMIC

Now if you use the PlatoonTemplate and search for untis with the categories ENERGYPRODUCTION * TECH2 * ECONOMIC
what unit will you get ? - UEB1201 and UEpowerup.
You need to get sure that you only get UEB1201 with this PlatoonTemplate.

You can do this by adding a category like 'UPGRADED' to the unit UEpowerup.
Now if you want to get the UEB1201 unit, search for
ENERGYPRODUCTION * TECH2 * ECONOMIC - UPGRADED

{categories.ENERGYPRODUCTION * categories.TECH2 * categories.ECONOMIC - categories.UPGRADED, 1, 1, 'support', 'None'},

If you are curious for a mod that handles upgrading. My own mod has added upgrading units for TA factions. Might be of interest of tou see the other work you need to do/add.

Iā€™m a shitty 1k Global. Any balance or gameplay suggestions should be understood or taken as such.

Project Head and current Owner/Manager of SCTA Project

@Dragun101
Thank you Dragun101. Will check your mod. Would you be ble to point to files of interest for me?

@uveso
Thank you Uveso. I've implemented these changes for T2 and T3 Power Generators and T3 Shielded Extractors. How ever issue you've mentioned shouldn't affect HC T3 to Experimental upgrade (categories.HYDROCARBON * categories.ENERGYPRODUCTION * categories.TECH3) and all storages upgrades(categories.MASSSTORAGE * categories.TECH1 * categories.ECONOMIC) and (categories.MASSSTORAGE * categories.TECH2 * categories.ECONOMIC).
Or i'm again missing something?
Also i can see this in game log, this is upgrade HCT3 to HCExperimental:

warning: [platoon.lua, line:2494] *UnitUpgradeAI ERROR: "brb1302":CanBuild( BRMBT1PERI ) failed!

Is it anything else wrong what you could spot?
From what you've seen, is it ok to list link for corrected version of this mod at this page for troubleshooting?

If you upload your mod, then please delete all files with '.dds' and '.scm'

This way no one can use it and i can merge the scripts into my version.

While walking through the scripts i saw you have some upper/lower case mismatch in unit IDs
As example please change all BRMBT1PERI to brmbt1peri
Upper case names don't work.

I used my own formbuilders in my AI, but lowercase IDs like brmbt1peri are working with the upgrade function.
Upper case are not working.

@uveso
Thanks will correct names and remove required files, then upload mod.

Test it before you upload it. Maybe you don't need to.

Changing the names will do the trick.
As i said i only changed the names and it was working.

But i did not used your Platoonformer.
It has a strange buildcondition:

			{ EBC, 'GreaterThanEconIncome', { 100.0, 4000.0 } },

its waiting for an base income of 1000 mass and 40000 energy (values are * 10)
(Thats why we write 100.0 to have in mind its 1000)

@uveso
Hi Uveso.
Changes has been done followed by your guide. Done some testing and can see that AI upgrading HC T1->T2->t3->Exp, Power Generator T2->T2+ and T3->T3+, Shields T3->Exp, storages T1->T2->T3.
But on 70min game AI doesn't have any T3+ extractors šŸ˜ž

Platoonformer (buildconditions) has been reviewed too.

Would you be able to check if everything is ok with Extractors upgrade please?
Thank you.

Extractor upgrade from 1 to 2, 2 to 3 and 4 to experimental are all working.

Maybe you should decrease the eco requirement of the Builder ?

BuilderName = 'EXMEX-Upgrade',
{ EBC, 'GreaterThanEconIncome', { 10.0, 500.0 } },

It's waiting for 100 massincome and 5000 energy. Maybe you should use something like { 10.0, 100.0 }

Also found this warning:

WARNING: *AIExecuteBuildStructure: TECH1 Unit "euebest3" is assigned to build TECH3 buildplatoon! ("EnergyStorage")

Please check in CustomUnits.lua:

UnitList = {
    EnergyStorage = {
        UEF = {'euebest3', 50},
    },
},

EnergyStorage is a Tech1 building and will be assinged to a Tech 1 engineer.
It can't build a tech3 unit euebest3.

There are several other custom entries that have the same problem.

Some missmatch in General.TechLevel

- Unit xrb0404 (Engineering Station) Categories.TECH3 dont match TechLevel (RULEUTL_Basic) 
  Please change (General.TechLevel = 'RULEUTL_Basic',) to (General.TechLevel = 'RULEUTL_Secret',) in file [xrb0404_unit.bp]

- Unit bab1106 (Mass & Energy Storage) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [bab1106_unit.bp]

- Unit bsb1106 (Mass & Energy Storage) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [bsb1106_unit.bp]

- Unit brb1106 (Mass & Energy Storage) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [brb1106_unit.bp]

- Unit xab0104 (Engineering Station) Categories.TECH3 dont match TechLevel (RULEUTL_Basic) 
  Please change (General.TechLevel = 'RULEUTL_Basic',) to (General.TechLevel = 'RULEUTL_Secret',) in file [xab0104_unit.bp]

- Unit xsb0104 (Engineering Station) Categories.TECH3 dont match TechLevel (RULEUTL_Basic) 
  Please change (General.TechLevel = 'RULEUTL_Basic',) to (General.TechLevel = 'RULEUTL_Secret',) in file [xsb0104_unit.bp]

- Unit bab1302 (Hydrocarbon Power Plant) Categories.TECH3 dont match TechLevel (RULEUTL_Basic) 
  Please change (General.TechLevel = 'RULEUTL_Basic',) to (General.TechLevel = 'RULEUTL_Secret',) in file [bab1302_unit.bp]

- Unit brnbt1peri (HydroCarbon Perimeter Monitoring System) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [brnbt1peri_unit.bp]

- Unit xsb1402 (Experimental Mass Extractor) Categories.TECH3 dont match TechLevel (RULEUTL_Advanced) 
  Please change (General.TechLevel = 'RULEUTL_Advanced',) to (General.TechLevel = 'RULEUTL_Secret',) in file [xsb1402_unit.bp]

- Unit brmbt1peri (HydroCarbon Perimeter Monitoring System) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [brmbt1peri_unit.bp]

- Unit beb1302 (Hydrocarbon Power Plant) Categories.TECH3 dont match TechLevel (RULEUTL_Basic) 
  Please change (General.TechLevel = 'RULEUTL_Basic',) to (General.TechLevel = 'RULEUTL_Secret',) in file [beb1302_unit.bp]

- Unit xspowerup (Retrofitted T2 Powergenerator) Categories.TECH2 dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Advanced',) in file [xspowerup_unit.bp]

- Unit brpbt1peri (HydroCarbon Perimeter Monitoring System) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [brpbt1peri_unit.bp]

- Unit ueb1402 (Experimental Mass Extractor) Categories.TECH3 dont match TechLevel (RULEUTL_Advanced) 
  Please change (General.TechLevel = 'RULEUTL_Advanced',) to (General.TechLevel = 'RULEUTL_Secret',) in file [ueb1402_unit.bp]

- Unit beb1106 (Mass & Energy Storage) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [beb1106_unit.bp]

- Unit uepowerup (Retrofitted T2 Powergenerator) Categories.TECH2 dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Advanced',) in file [uepowerup_unit.bp]

- Unit brobt1peri (HydroCarbon Perimeter Monitoring System) Categories.EXPERIMENTAL dont match TechLevel (RULEUTL_Secret) 
  Please change (General.TechLevel = 'RULEUTL_Secret',) to (General.TechLevel = 'RULEUTL_Experimental',) in file [brobt1peri_unit.bp]

Strategic Icons

 - Unit eurbmst3 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure3_mass',) in file [eurbmst3_unit.bp]
 
 - Unit xrb0404 (Engineering Station) StrategicIconName (icon_structure2_engineer) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure2_engineer',) to (StrategicIconName = 'icon_structure3_engineer',) in file [xrb0404_unit.bp]
 
 - Unit exsbest3 (Energy Storage) StrategicIconName (icon_structure1_energy) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_energy',) to (StrategicIconName = 'icon_structure3_energy',) in file [exsbest3_unit.bp]
 
 - Unit euabmst3 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure3_mass',) in file [euabmst3_unit.bp]
 
 - Unit eurbmst2 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure2_mass',) in file [eurbmst2_unit.bp]
 
 - Unit euabmst2 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure2_mass',) in file [euabmst2_unit.bp]
 
 - Unit bab1106 (Mass & Energy Storage) StrategicIconName (icon_structure3_mass) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_mass',) to (StrategicIconName = 'icon_experimental_generic',) in file [bab1106_unit.bp]
 
 - Unit bsb1106 (Mass & Energy Storage) StrategicIconName (icon_structure3_mass) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_mass',) to (StrategicIconName = 'icon_experimental_generic',) in file [bsb1106_unit.bp]
 
 - Unit brb1106 (Mass & Energy Storage) StrategicIconName (icon_structure3_mass) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_mass',) to (StrategicIconName = 'icon_experimental_generic',) in file [brb1106_unit.bp]
 
 - Unit xab0104 (Engineering Station) StrategicIconName (icon_structure2_engineer) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure2_engineer',) to (StrategicIconName = 'icon_structure3_engineer',) in file [xab0104_unit.bp]
 
 - Unit xsb0104 (Engineering Station) StrategicIconName (icon_structure2_engineer) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure2_engineer',) to (StrategicIconName = 'icon_structure3_engineer',) in file [xsb0104_unit.bp]
 
 - Unit brnbt1peri (HydroCarbon Perimeter Monitoring System) StrategicIconName (icon_structure3_energy) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_energy',) to (StrategicIconName = 'icon_experimental_generic',) in file [brnbt1peri_unit.bp]
 
 - Unit euebmst2 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure2_mass',) in file [euebmst2_unit.bp]
 
 - Unit eurbest2 (Energy Storage) StrategicIconName (icon_structure1_energy) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_energy',) to (StrategicIconName = 'icon_structure2_energy',) in file [eurbest2_unit.bp]
 
 - Unit brmbt1peri (HydroCarbon Perimeter Monitoring System) StrategicIconName (icon_structure3_energy) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_energy',) to (StrategicIconName = 'icon_experimental_generic',) in file [brmbt1peri_unit.bp]
 
 - Unit euebmst3 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure3_mass',) in file [euebmst3_unit.bp]
 
 - Unit exsbest2 (Energy Storage) StrategicIconName (icon_structure1_energy) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_energy',) to (StrategicIconName = 'icon_structure2_energy',) in file [exsbest2_unit.bp]
 
 - Unit euabest2 (Energy Storage) StrategicIconName (icon_structure1_energy) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_energy',) to (StrategicIconName = 'icon_structure2_energy',) in file [euabest2_unit.bp]
 
 - Unit exsbmst2 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (2) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure2_mass',) in file [exsbmst2_unit.bp]
 
 - Unit euabest3 (Energy Storage) StrategicIconName (icon_structure1_energy) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_energy',) to (StrategicIconName = 'icon_structure3_energy',) in file [euabest3_unit.bp]
 
 - Unit brpbt1peri (HydroCarbon Perimeter Monitoring System) StrategicIconName (icon_structure3_energy) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_energy',) to (StrategicIconName = 'icon_experimental_generic',) in file [brpbt1peri_unit.bp]

 - Unit eurbest3 (Energy Storage) StrategicIconName (icon_structure1_energy) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_energy',) to (StrategicIconName = 'icon_structure3_energy',) in file [eurbest3_unit.bp]
 
 - Unit beb1106 (Mass & Energy Storage) StrategicIconName (icon_structure3_mass) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_mass',) to (StrategicIconName = 'icon_experimental_generic',) in file [beb1106_unit.bp]
 
 - Unit brobt1peri (HydroCarbon Perimeter Monitoring System) StrategicIconName (icon_structure3_energy) dont match TechLevel (4) 
   Please change (StrategicIconName = 'icon_structure3_energy',) to (StrategicIconName = 'icon_experimental_generic',) in file [brobt1peri_unit.bp]
 
 - Unit exsbmst3 (Mass Storage) StrategicIconName (icon_structure1_mass) dont match TechLevel (3) 
   Please change (StrategicIconName = 'icon_structure1_mass',) to (StrategicIconName = 'icon_structure3_mass',) in file [exsbmst3_unit.bp]

Display.Abilities

   Please Change "Display.Abilities" in file [xrb0404_unit.bp]
        Abilities = {
            '<LOC ability_engineeringsuite>Engineering Suite',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [exsbest3_unit.bp]
        Abilities = {
            '<LOC ability_deathaoe>Volatile',
            '<LOC ability_upgradable>Upgradable',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [fsb4401_unit.bp]
        Abilities = {
            '<LOC ability_shielddome>Shield Dome',
        },
        
   Please Change "Display.Abilities" in file [fab4401_unit.bp]
        Abilities = {
            '<LOC ability_shielddome>Shield Dome',
        },
        
   Please Change "Display.Abilities" in file [feb4401_unit.bp]
        Abilities = {
            '<LOC ability_jamming>Jamming',
            '<LOC ability_shielddome>Shield Dome',
        },
        
   Please Change "Display.Abilities" in file [bab1106_unit.bp]
        Abilities = {
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [xeb0304_unit.bp]
        Abilities = {
            '<LOC ability_engineeringsuite>Engineering Suite',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [xsb1106_unit.bp]
        Abilities = {
            '<LOC ability_amphibious>Amphibious',
            '<LOC ability_upgradable>Upgradable',
        },
        
   Please Change "Display.Abilities" in file [bsb1106_unit.bp]
        Abilities = {
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [brb1106_unit.bp]
        Abilities = {
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [xab0104_unit.bp]
        Abilities = {
            '<LOC ability_engineeringsuite>Engineering Suite',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [xsb0104_unit.bp]
        Abilities = {
            '<LOC ability_engineeringsuite>Engineering Suite',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [exsbest2_unit.bp]
        Abilities = {
            '<LOC ability_deathaoe>Volatile',
            '<LOC ability_upgradable>Upgradable',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [exsbmst2_unit.bp]
        Abilities = {
            '<LOC ability_upgradable>Upgradable',
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [beb1106_unit.bp]
        Abilities = {
            '<LOC ability_amphibious>Amphibious',
        },
        
   Please Change "Display.Abilities" in file [frb4401_unit.bp]
        Abilities = {
            '<LOC ability_stealthfield>Radar Stealth Field',
            '<LOC ability_shielddome>Shield Dome',
        },
        
   Please Change "Display.Abilities" in file [xsb1105_unit.bp]
        Abilities = {
            '<LOC ability_deathaoe>Volatile',
            '<LOC ability_amphibious>Amphibious',
            '<LOC ability_upgradable>Upgradable',
        },
        
   Please Change "Display.Abilities" in file [exsbmst3_unit.bp]
        Abilities = {
            '<LOC ability_amphibious>Amphibious',
        },

Unit Animation file paths

 - Unit:(urb1402) - LOD[-1] AnimationUpgrade-File /units/urb1302/urb1302_Aupgrade.sca is missing on disk
   can't find AnimationUpgradeName on disk
   please delete AnimationUpgradeName in LOD[-1] ("/units/urb1302/urb1302_Aupgrade.sca")
 
 - Unit:(uab1401) - LOD[-1] AnimationDeath-File /units/uab1401/uab1401_ADeath.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/uab1401/uab1401_ADeath.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/units/uab1401/") to ("/mods/pj_infrastructure_pack/units/uab1401/uab1401_ADeath.sca") in file [uab1401_unit.bp]
 
 - Unit:(xrb0404) - LOD[-1] AnimationOpen-File /units/XRB0404/XRB0404_Aopen.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/xrb0404/XRB0404_Aopen.sca") on disk.
   please change AnimationOpenName in LOD[-1] from ("/units/XRB0404/") to ("/mods/pj_infrastructure_pack/units/xrb0404/XRB0404_Aopen.sca") in file [xrb0404_unit.bp]
 
 - Unit:(fsb4401) - LOD[-1] AnimationActivate-File /mods/Shields/units/FSB4401/FSB4401_Aactivate.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/fsb4401/FSB4401_Aactivate.sca") on disk.
   please change AnimationActivateName in LOD[-1] from ("/mods/Shields/units/FSB4401/") to ("/mods/pj_infrastructure_pack/units/fsb4401/FSB4401_Aactivate.sca") in file [fsb4401_unit.bp]
 
 - Unit:(fsb4401) - LOD[-1] AnimationDeath-File /mods/Shields/units/FSB4401/FSB4401_ADeath.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/fsb4401/FSB4401_ADeath.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/mods/Shields/units/FSB4401/") to ("/mods/pj_infrastructure_pack/units/fsb4401/FSB4401_ADeath.sca") in file [fsb4401_unit.bp]
 
 - Unit:(fab4401) - LOD[-1] AnimationOpen-File /units/FAB4401/FAB4401_aopen.sca is missing on disk
   can't find AnimationOpenName on disk
   please delete AnimationOpenName in LOD[-1] ("/units/FAB4401/FAB4401_aopen.sca")
 
 - Unit:(fab4401) - LOD[-1] AnimationDeath-File /units/FAB4401/FAB4401_ADeath.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/fab4401/FAB4401_ADeath.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/units/FAB4401/") to ("/mods/pj_infrastructure_pack/units/fab4401/FAB4401_ADeath.sca") in file [fab4401_unit.bp]
 
 - Unit:(xeb0304) - LOD[-1] AnimationOpen-File /units/XEB0304/XEB0304_aopen.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/xeb0304/XEB0304_aopen.sca") on disk.
   please change AnimationOpenName in LOD[-1] from ("/units/XEB0304/") to ("/mods/pj_infrastructure_pack/units/xeb0304/XEB0304_aopen.sca") in file [xeb0304_unit.bp]
 
 - Unit:(xab0104) - LOD[-1] AnimationOpen-File /units/XAB0104/XAB0104_Aopen.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/xab0104/XAB0104_Aopen.sca") on disk.
   please change AnimationOpenName in LOD[-1] from ("/units/XAB0104/") to ("/mods/pj_infrastructure_pack/units/xab0104/XAB0104_Aopen.sca") in file [xab0104_unit.bp]
 
 - Unit:(xsb0104) - LOD[-1] AnimationOpen-File /units/XSB0104/XSB0104_Aopen.sca is missing on disk
   can't find AnimationOpenName on disk
   please delete AnimationOpenName in LOD[-1] ("/units/XSB0104/XSB0104_Aopen.sca")
 
 - Unit:(xsb1401) - LOD[-1] AnimationDeath-File /units/xsb1401/xsb1401_ADeath.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/xsb1401/xsb1401_ADeath.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/units/xsb1401/") to ("/mods/pj_infrastructure_pack/units/xsb1401/xsb1401_ADeath.sca") in file [xsb1401_unit.bp]
 
 - Unit:(euabest3) - LOD[1] Albedo-File /mods/pj_infrastructure_pack/units/euabest3/euabest2_lod1_albedo.dds is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/euabest3/euabest3_lod1_Albedo.dds") on disk.
   please change AlbedoName in LOD[1] from ("/mods/pj_infrastructure_pack/units/euabest3/") to ("/mods/pj_infrastructure_pack/units/euabest3/euabest3_lod1_Albedo.dds") in file [euabest3_unit.bp]
 
 - Unit:(euabest3) - LOD[1] Specular-File /mods/pj_infrastructure_pack/units/euabest3/euabest2_lod1_specteam.dds is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/euabest3/euabest3_lod1_SpecTeam.dds") on disk.
   please change SpecularName in LOD[1] from ("/mods/pj_infrastructure_pack/units/euabest3/") to ("/mods/pj_infrastructure_pack/units/euabest3/euabest3_lod1_SpecTeam.dds") in file [euabest3_unit.bp]
 
 - Unit:(xspowerup) - LOD[-1] AnimationDeath-File /units/xspowerup/xspowerup_ADeath.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/xspowerup/xspowerup_ADeath.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/units/xspowerup/") to ("/mods/pj_infrastructure_pack/units/xspowerup/xspowerup_ADeath.sca") in file [xspowerup_unit.bp]
 
 - Unit:(ueb1402) - LOD[-1] AnimationUpgrade-File /mods/PJ_Infrastructure_Pack/units/ueb1402/ueb1402_Aupgrade.sca is missing on disk
   can't find AnimationUpgradeName on disk
   please delete AnimationUpgradeName in LOD[-1] ("/mods/PJ_Infrastructure_Pack/units/ueb1402/ueb1402_Aupgrade.sca")
 
 - Unit:(brobt1peri) - LOD[-1] AnimationDeath-File /mods/TotalMayhem/units/BROBT1PERI/BROBT1PERI_death.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/brobt1peri/brobt1peri_death.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/mods/totalmayhem/units/brobt1peri/brobt1peri_death.sca") to ("/mods/pj_infrastructure_pack/units/brobt1peri/brobt1peri_death.sca") in file [brobt1peri_unit.bp]
 
 - Unit:(uapowerup) - LOD[-1] AnimationDeath-File /units/uapowerup/uapowerup_ADeath.sca is missing on disk
   found file ("/mods/pj_infrastructure_pack/units/uapowerup/uapowerup_ADeath.sca") on disk.
   please change AnimationDeathName in LOD[-1] from ("/units/uapowerup/") to ("/mods/pj_infrastructure_pack/units/uapowerup/uapowerup_ADeath.sca") in file [uapowerup_unit.bp]

Sound errors:

 - Unit xspowerup Name: Uya-iya (Retrofitted T2 Powergenerator) has Audio
   Error playing SoundName: "ActiveLoop" - cue: "XSpowerup_Active" | bank: "XSB"
   Error playing SoundName: "DoneBeingBuilt" - cue: "XSpowerup_Activate" | bank: "XSB"

 - Unit urpowerup Name: Unknown (Retrofitted T2 Powergenerator) has Audio
   Error playing SoundName: "ActiveLoop" - cue: "URpowerup_Active" | bank: "URB"
   Error playing SoundName: "DoneBeingBuilt" - cue: "URpowerup_Activate" | bank: "URB"

 - Unit uepowerup Name: EG - 200 Fusion Reactor (Retrofitted T2 Powergenerator) has Audio
   Error playing SoundName: "ActiveLoop" - cue: "UEpowerup_Active" | bank: "UEB"
   Error playing SoundName: "DoneBeingBuilt" - cue: "UEpowerup_Activate" | bank: "UEB"
   Error playing SoundName: "UISelection" - cue: "UEF_Select_Resource" | bank: "Interface"

 - Unit uapowerup Name: Unknown (Retrofitted T2 Powergenerator) has Audio
   Error playing SoundName: "ActiveLoop" - cue: "UApowerup_Active" | bank: "UAB"
   Error playing SoundName: "DoneBeingBuilt" - cue: "UApowerup_Activate" | bank: "UAB"