starting pass for unit tweaks, changing unit tiers to weight class, added custom weapons for bt lasers, notebook incompatible blueprints

This commit is contained in:
cardboardbread committed 2026-10-26 20:34:33 -04:00
1 parent 70f34f8f40
commit 3bb2a6dfe0
301 files changed
+6030 -5806

No files matched your search

+8 -6
View File
@@ -12,19 +12,21 @@ local TAirUnit = import('/lua/terranunits.lua').TAirUnit
local CDFLaserHeavyWeapon = import('/lua/cybranweapons.lua').CDFLaserHeavyWeapon
local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
local ADFCannonQuantumWeapon = import('/lua/aeonweapons.lua').ADFCannonQuantumWeapon
local BTLaserWeapon = import("/mods/Supreme Mech Commander 2/lua/sim/weapons/BTLaserWeapon.lua").BTLaserWeapon
local BTLargeLaserWeapon = import('/mods/Supreme Mech Commander 2/lua/btweapons.lua').BTLargeLaserWeapon
local BTMediumLaserWeapon = import('/mods/Supreme Mech Commander 2/lua/btweapons.lua').BTMediumLaserWeapon
---@class FSCUT01D : TAirUnit
FSCUT01D = Class(TAirUnit) {
PlayDestructionEffects = true,
DamageEffectPullback = 0.25,
DestroySeconds = 7.5,
Weapons = {
ERML1 = Class(BTLaserWeapon) {},
ERML2 = Class(BTLaserWeapon) {},
ERML3 = Class(BTLaserWeapon) {},
ERML4 = Class(BTLaserWeapon) {},
ERLL = Class(BTLaserWeapon) {},
ERML1 = Class(BTMediumLaserWeapon) {},
ERML2 = Class(BTMediumLaserWeapon) {},
ERML3 = Class(BTMediumLaserWeapon) {},
ERML4 = Class(BTMediumLaserWeapon) {},
ERLL = Class(BTLargeLaserWeapon) {},
GR = Class(ADFCannonQuantumWeapon) {},
},
}
+27 -26
View File
@@ -94,12 +94,13 @@ UnitBlueprint {
'AIR',
'ANTIAIR',
'BUILTBYTIER2FACTORY',
'BUILTBYTIER3FACTORY',
'FEDERATEDSUNS',
'HIGHALTAIR',
'INNERSPHERE',
'MOBILE',
'OVERLAYANTIAIR',
'PRODUCTSC1',
'BATTLETECH',
'RECLAIMABLE',
'SELECTABLE',
'SHOWATTACKRETICLE',
@@ -115,13 +116,13 @@ UnitBlueprint {
MaxHealth = 7170,
RegenRate = 0,
},
Description = '<LOC FSCUT01D_desc>Cutlass Interceptor',
Description = '<LOC FSCUT01D_desc>Fast Dogfighter',
Display = {
Abilities = {
'<LOC ability_aa>Anti-Air',
'<LOC ability_radar>Radar',
'Intermediate Vehicle Sensor |-| 1410m Range',
'Guardian ECM Suite |-| 1570m Range',
'ECM Suite (Guardian) |-| 1570m Range',
'Beagle Active Probe |-| 1410m Range',
'1x Gauss Rifle |-| Min: 90m Max: 660m',
'1x ER Large Laser |-| Max: 570m',
@@ -133,7 +134,7 @@ UnitBlueprint {
Effects = {
{
Bones = {
'FSCUT01D',
'CUT01D',
},
Scale = 1.5,
Type = 'Landing01',
@@ -144,7 +145,7 @@ UnitBlueprint {
Effects = {
{
Bones = {
'FSCUT01D',
'CUT01D',
},
Scale = 1.5,
Type = 'TakeOff01',
@@ -222,7 +223,7 @@ UnitBlueprint {
},
FactionName = 'INNERSPHERE',
Icon = 'air',
TechLevel = 'RULEUTL_Secret',
TechLevel = 'RULEUTL_Advanced',
UnitName = '<LOC FSCUT01D_name>Cutlass CUT-01D',
UnitWeight = 1,
},
@@ -237,7 +238,7 @@ UnitBlueprint {
VisionRadius = 24,
},
Interface = {
HelpText = '<LOC FSCUT01D_help>Cutlas Interceptor',
HelpText = '<LOC FSCUT01D_help>70 Ton (Medium) Aerospace Fighter Cutlass CUT-01D',
},
LifeBarHeight = 0.075,
LifeBarOffset = 0.65,
@@ -307,13 +308,13 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 0.3,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'GR',
MaxRadius = 66,
MinRadius = 6,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 30,
MuzzleVelocity = 60,
ProjectileId = '/projectiles/ADFQuantumCannon02/ADFQuantumCannon02_proj.bp',
ProjectileLifetimeUsesMultiplier = 4,
ProjectilesPerOnFire = 1,
@@ -331,7 +332,7 @@ UnitBlueprint {
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = true,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.5,
TargetCheckInterval = 1,
@@ -351,10 +352,10 @@ UnitBlueprint {
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 90,
TurretPitchSpeed = 180,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 90,
TurretYawSpeed = 180,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
@@ -384,7 +385,7 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 0.3,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'ERML1',
MaxRadius = 36,
MuzzleSalvoDelay = 0,
@@ -427,7 +428,7 @@ UnitBlueprint {
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 180,
TurretPitchSpeed = 360,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 360,
@@ -461,7 +462,7 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 0.3,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'ERML2',
MaxRadius = 36,
MuzzleSalvoDelay = 0,
@@ -469,7 +470,7 @@ UnitBlueprint {
MuzzleVelocity = 100,
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
-- ProjectileLifetimeUsesMultiplier = 0.1,
ProjectilesPerOnFire = 0.1,
ProjectilesPerOnFire = 1,
RackBones = {
{
MuzzleBones = {
@@ -504,7 +505,7 @@ UnitBlueprint {
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 180,
TurretPitchSpeed = 360,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 360,
@@ -538,7 +539,7 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 0.3,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'ERML3',
MaxRadius = 36,
MuzzleSalvoDelay = 0,
@@ -581,7 +582,7 @@ UnitBlueprint {
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 180,
TurretPitchSpeed = 360,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 360,
@@ -615,7 +616,7 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 0.3,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'ERML4',
MaxRadius = 36,
MuzzleSalvoDelay = 0,
@@ -658,7 +659,7 @@ UnitBlueprint {
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 180,
TurretPitchSpeed = 360,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 360,
@@ -692,7 +693,7 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 0.3,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'ERLL',
MaxRadius = 57,
MuzzleSalvoDelay = 0,
@@ -715,7 +716,7 @@ UnitBlueprint {
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = true,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.5,
TargetCheckInterval = 1,
@@ -735,10 +736,10 @@ UnitBlueprint {
TurretDualManipulators = false,
TurretPitch = -20,
TurretPitchRange = 45,
TurretPitchSpeed = 180,
TurretPitchSpeed = 360,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 180,
TurretYawSpeed = 360,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
@@ -752,7 +753,7 @@ UnitBlueprint {
DamageType = 'Normal',
DisplayName = 'Air Crash',
DummyWeapon = true,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'DeathImpact',
WeaponCategory = 'Death',
TrackingRadius = 140,