Squad
King of the Hill - Additional Layers | [KOTH] (Alpha)
Jhett  [developer] 5 May @ 11:16am
Anti Infantry Mines as Store Family Item
This is an example to add the anti-infantry mines into the KOTH store. This example will add it for $750, requiring lvl 40 and the Explosive and Engineer Perks. Please note for now the item uses the M15 Mine as a card logo. This example does not allow Perma-Buys.

Under "special" category of each team, add:
{ "family name": "Anti Infantry Mines", "single cost": "750", "perma cost": "-1", "description": "A pressure triggered landmine, which is intended against infantry.", "texture": "/Game/UI/HUD/Inventory/Weapons/Equipment/m15_mine.m15_mine", "xp unlocks": [ { "item": "/WKOTH_layers/Blueprints/AP-AT_Mines/BP_M14_AntiInfantry_Mine.BP_M14_AntiInfantry_Mine_C", "unlock level": 40, "perk requirements": [ "Explosives", "Engineer" ], "item count": -1 }, { "item": "/WKOTH_layers/Blueprints/AP-AT_Mines/BP_PMN1_AntiInfantry_Mine.BP_PMN1_AntiInfantry_Mine_C", "unlock level": 40, "perk requirements": [ "Explosives", "Engineer" ], "item count": -1 } ] }

Verify your json with a json validator:
https://codebeautify.org/json-fixer
Last edited by Jhett; 5 May @ 11:17am