• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

PauloBrito

Major
4 Badges
Apr 30, 2018
566
23
  • BATTLETECH: Season pass
  • BATTLETECH - Digital Deluxe Edition
  • BATTLETECH: Flashpoint
  • BATTLETECH: Heavy Metal
Somehow, in the mix of these mods, something caused all types of LBX ammo - 2,5,10 and 20 to not appear in any store.
Can anyone pretty please help me?
 

Attachments

  • ModTek.log
    2,9 MB · Views: 4
Add/Replace: "JK_VariantsCampaign\itemCollections\itemCollection_Ammo_all.csv" (ItemCollectionDef)

That's the collection that should have the LB-X ammo in it, by default. And unless it has been changed since I snagged it, the JK_Variants version doesn't.
 
The one that is present is like this:

itemCollection_Ammo_all,,,
Ammo_AmmunitionBox_Generic_AC2,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_AC5,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_AC10,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_AC20,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_SRM,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_LRM,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_MG,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_MG_Half,AmmunitionBox,0,10

What do i need to add/change?
 
The stock version (found in data/itemCoillections:

itemCollection_Ammo_all,,,
Ammo_AmmunitionBox_Generic_AC2,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_AC5,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_AC10,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_AC20,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_SRM,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_LRM,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_MG,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_MG_Half,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_LB2X,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_LB5X,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_LB10X,AmmunitionBox,0,10
Ammo_AmmunitionBox_Generic_LB20X,AmmunitionBox,0,10

I don't know if the JK thing has some other way of getting you the ammo, but a simple fix would be to add those lines back in.

Or just replace this line in JK_VariantsCampaign's mod.json:
{ "Type": "ItemCollectionDef", "Path": "itemCollections", "AddToDB": false },
with:
/*{ "Type": "ItemCollectionDef", "Path": "itemCollections", "AddToDB": false },*/

The itemCollection from the mod doesn't serve a purpose anymore, anyway, since 1.9 added the half ton MG AmmoBox to the game, which is why the mod changed the file.
 
Last edited: