Skip to content

Commit

Permalink
added customunits and argo storage upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
mcb5637 committed Dec 15, 2020
1 parent 44ede72 commit c74db92
Show file tree
Hide file tree
Showing 7 changed files with 283 additions and 3 deletions.
38 changes: 38 additions & 0 deletions BTX_CAC_Compatibility/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
BTX_CAC_Compatibility

Modifies BTX (and BTXMinusWeapons, if present) for CAC.

Installation: (requires working BTX installation)
- Download CustomComponents
- Add CustomAmmoCategories, CustomComponents and CustomLocalization to your mods folder
- Add BTX_CAC_Compatibility, overriding the settings of the previously added mods.


Weapon list:
- PPC: added FI OFF mode
- ER PPC: -
- Snub PPC: single projectile, damage falloff over medium range

- AC: fixed firing speed, only one visual projectile
- LBX: added cluster/slug ammo, cluster ammo uses CAC shells instead of multiple projectiles
- UAC: fixed firing speed, only one visual projectile, added AC mode (1 shot, but +4 acc)
- Gauss: -

- Laser: -
- ER Laser: -
- Pulse Laser: fixed animation
- Tag: -

- LRM: added hotload mode
- Artemis IV LRM: added hotload mode, changed acc to +4 in direct fire (+0 indirect), added clustering

- SRM: added inferno ammo (inferno causes fires everywhere)
- Artemis IV SRM: added inferno ammo, added clustering, +4 acc
- Streak SRM: added inferno ammo, added streak effect+clustering
- Infernos: Broken, use SRM inferno ammo instead (TODO change them in itemcollections)
- Narc: -

- Flamer: added forestfires
- MG: added double speed mode (double shots, -4acc, +heat)

TODO Clan weapons
6 changes: 5 additions & 1 deletion BTX_CAC_Compatibility/mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"Type": "ItemCollectionDef",
"Path": "itemCollectionAppend",
"ShouldAppendText": true
}
},
{
"Type": "ShipModuleUpgrade",
"Path": "shipUpgrades"
}
]
}
52 changes: 52 additions & 0 deletions BTX_CAC_Compatibility/shipUpgrades/argoUpgrade_storage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"Description" : {
"Cost" : 0,
"Rarity" : 0,
"Purchasable" : true,
"UIName" : "",
"Id" : "argoUpgrade_storage",
"Name" : "Storage 1",
"Details" : "There is this old Storage room near your mechbay, if we clean it up, we can store additional mechs there.",
"Icon" : "uixSvgIcon_shipUpgrade_mechbay1"
},
"Illustration" : "uixTxrSpot_MechBay",
"Location" : "SHIP",
"shipUpgradeCategoryID" : "STRUCTURE",
"AssignedCastDefId": "castDef_YangDefault",
"AssignedCastDescription": "There is a lot of pirate junk in that storeroom, but compared to some other stuff here, this is easy.",
"RequiredModules" : {
"items" : [
"argoUpgrade_mechBay3",
"argoUpgrade_structure2"
],
"tagSetSourceFile" : ""
},
"Requirements" : [

],
"TechCost" : 10,
"PurchaseCost" : 100000,
"AdditionalCost" : 1000,
"Tags" : {
"items" : [
"argo_storage"
],
"tagSetSourceFile" : ""
},
"Stats" : [
{
"typeString" : "System.Int32",
"name" : "MechBayPods",
"value" : 4,
"set" : true,
"valueConstant" : ""
},
{
"typeString" : "System.Int32",
"name" : "MechBayPods_Display",
"value" : 24,
"set" : true,
"valueConstant" : ""
}
]
}
51 changes: 51 additions & 0 deletions BTX_CAC_Compatibility/shipUpgrades/argoUpgrade_storage2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"Description" : {
"Cost" : 0,
"Rarity" : 0,
"Purchasable" : true,
"UIName" : "",
"Id" : "argoUpgrade_storage2",
"Name" : "Storage 2",
"Details" : "There is this old Storage room near your mechbay, if we clean it up, we can store additional mechs there.",
"Icon" : "uixSvgIcon_shipUpgrade_mechbay2"
},
"Illustration" : "uixTxrSpot_MechBay",
"Location" : "SHIP",
"shipUpgradeCategoryID" : "STRUCTURE",
"AssignedCastDefId": "castDef_YangDefault",
"AssignedCastDescription": "This one is filled with a strange fungus, that's why its sealed off right now.",
"RequiredModules" : {
"items" : [
"argoUpgrade_storage"
],
"tagSetSourceFile" : ""
},
"Requirements" : [

],
"TechCost" : 20,
"PurchaseCost" : 500000,
"AdditionalCost" : 1000,
"Tags" : {
"items" : [
"argo_storage2"
],
"tagSetSourceFile" : ""
},
"Stats" : [
{
"typeString" : "System.Int32",
"name" : "MechBayPods",
"value" : 5,
"set" : true,
"valueConstant" : ""
},
{
"typeString" : "System.Int32",
"name" : "MechBayPods_Display",
"value" : 30,
"set" : true,
"valueConstant" : ""
}
]
}
51 changes: 51 additions & 0 deletions BTX_CAC_Compatibility/shipUpgrades/argoUpgrade_storage3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"Description" : {
"Cost" : 0,
"Rarity" : 0,
"Purchasable" : true,
"UIName" : "",
"Id" : "argoUpgrade_storage3",
"Name" : "Storage 3",
"Details" : "There is this old Storage room near your mechbay, if we clean it up, we can store additional mechs there.",
"Icon" : "uixSvgIcon_shipUpgrade_mechbay3"
},
"Illustration" : "uixTxrSpot_MechBay",
"Location" : "SHIP",
"shipUpgradeCategoryID" : "STRUCTURE",
"AssignedCastDefId": "castDef_YangDefault",
"AssignedCastDescription": "This time we have to deal with several hull breaks and a door that won't open. Oh and don't forget the toxic waste some stupid pirate left there.",
"RequiredModules" : {
"items" : [
"argoUpgrade_storage2"
],
"tagSetSourceFile" : ""
},
"Requirements" : [

],
"TechCost" : 30,
"PurchaseCost" : 1000000,
"AdditionalCost" : 1000,
"Tags" : {
"items" : [
"argo_storage3"
],
"tagSetSourceFile" : ""
},
"Stats" : [
{
"typeString" : "System.Int32",
"name" : "MechBayPods",
"value" : 6,
"set" : true,
"valueConstant" : ""
},
{
"typeString" : "System.Int32",
"name" : "MechBayPods_Display",
"value" : 36,
"set" : true,
"valueConstant" : ""
}
]
}
84 changes: 84 additions & 0 deletions CustomUnits/mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"Name": "CustomUnits",
"Enabled": true,
"Version": "0.0.20",
"PackagedOn": "2019-01-31T00:00:00Z",
"DLL": "CustomUnits.dll",
"DLLEntryPoint": "CustomUnits.Core.Init",
"DependsOn": [ "Custom Ammo Categories" ],
"ConflictsWith": [ "MechResizer" ],
"OptionallyDependsOn": [ "BT_Extended_Plus", "BT_Extended" ],

"Description": "CustomUnits",
"Author": "KMiSSioN",
"Website": "https://github.com/BattletechModders/CustomBundle",
"Settings": {
"debugLog": true,
"fixWaterHeight": true,
"maxWaterSteppiness": 29,
"deepWaterSteepness": 41,
"deepWaterDepth": 10,
"waterFlatDepth": 2,
"MechScaleJRoot": true,
"defaultMechSizeMultiplier": 1.0,
"defaultVehicleSizeMultiplier": 1,
"defaultTurretSizeMultiplier": 1,
"defaultProjectileSizeMultiplier": 1,
"mechSizePrefabMultipliers": {},
"vehicleSizePrefabMultipliers": {},
"turretSizePrefabMultipliers": {},
"projectileSizePrefabMultipliers": {},
"MaxVehicleRandomPilots": 0,
"CanPilotVehicleProbability": 0.0,
"CanPilotAlsoMechProbability": 0.5,
"SquadStructureIcon": "ba_structure",
"SquadArmorOutlineIcon": "ba_armor_outline",
"SquadArmorIcon": "ba_armor",
"LancesIcons": [ "one", "two", "three" ],
"ShowActiveAbilitiesIcon": "futuristic",
"ShowPassiveAbilitiesIcon": "ram",
"HideActiveAbilitiesIcon": "futuristic",
"HidePassiveAbilitiesIcon": "ram",
"overallDeploySize": 4,
"ConvoyMaxDistFromRoute": 90,
"Lances": [
{
"size": 6,
"allow": 5,
"is_vehicle": false
},
{
"size": 4,
"allow": 3,
"is_vehicle": false
},
{
"size": 4,
"allow": 3,
"is_vehicle": true
}
],
"ArgoBaysFix": 1,
"ShowVehicleBays": true,
"BaysCountExternalControl": true,
"AllowVehiclesEdit": false,
"ConvoyRouteBeaconVFXScale": {
"x": 1,
"y": 1,
"z": 1
}
},
"Manifest": [
{ "Type": "AssetBundle", "Path": "assetbundles" },
{ "Type": "SVGAsset", "Path": "icons" },
{ "Type": "HardpointDataDef", "Path": "hardpoints" },
{ "Type": "MechDef", "Path": "mech" },
{ "Type": "ChassisDef", "Path": "chassis" },
{ "Type": "MovementCapabilitiesDef", "Path": "movedef" },
{ "Type": "PathingCapabilitiesDef", "Path": "pathingdef" },
{ "Type": "PilotDef", "Path": "pilot" },
{ "Type": "AbilityDef", "Path": "ability" },
{ "Id": "fake_weapon_prefab", "Type": "Prefab", "Path": "assets/character/vehicle/prefabs/fake_weapon_prefab.prefab", "AssetBundleName": "fake_weapon_prefab" },
{ "Id": "battletechstandartshader", "Type": "Prefab", "Path": "assets/shaderscarriers/battletechstandartshader.prefab", "AssetBundleName": "standart_shader" }
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Modifies BTX (and BTXMinusWeapons, if present) for CAC.
Installation: (requires working BTX installation)
- Download CustomBundle https://github.com/BattletechModders/CustomBundle
- Remove BTMLColorLOSMod and MechResizer
- Add CustomAmmoCategories, CustomComponents and CustomLocalization to your mods folder
- Add BTX_CAC_Compatibility, overriding the settings of CustomAmmoCategories
- Add CustomAmmoCategories, CustomComponents, CustomLocalization and CustomUnits to your mods folder
- Add BTX_CAC_Compatibility, overriding the settings of CustomAmmoCategories and CustomUnits


Weapon list:
Expand Down

0 comments on commit c74db92

Please sign in to comment.