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 -3
View File
@@ -3,7 +3,7 @@
--#** File : /cdimage/units/LAAS7D/LAAS7D_script.lua
--#** Author(s): John Comes, David Tomandl, Jessica St. Croix, Kami, FuegoTigre
--#**
--#** Summary : FedSuns Atlas AS7-D Script
--#** Summary : Steiner Atlas AS7-D Script
--#**
--#** Copyright � 2005 Gas Powered Games, Inc. All rights reserved.
--#****************************************************************************
@@ -13,11 +13,16 @@ local TWalkingLandUnit = import('/lua/terranunits.lua').TWalkingLandUnit
local TDFGaussCannonWeapon = import('/lua/terranweapons.lua').TDFGaussCannonWeapon
local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
local BTMediumLaserWeapon = import('/mods/Supreme Mech Commander 2/lua/btweapons.lua').BTMediumLaserWeapon
local TIFArtilleryWeapon = import("/lua/terranweapons.lua").TIFArtilleryWeapon
---@class LAAS7D : TWalkingLandUnit
LAAS7D = Class(TWalkingLandUnit) {
Weapons = {
AC20 = Class(TDFGaussCannonWeapon) {},
ML = Class(ADFLaserLightWeapon) {},
AC20 = Class(TIFArtilleryWeapon) {},
L_ML = Class(BTMediumLaserWeapon) {},
R_ML = Class(BTMediumLaserWeapon) {},
B_ML = Class(BTMediumLaserWeapon) {},
SRM = Class(TSAMLauncher) {},
LRM = Class(TSAMLauncher) {},
},
+89 -95
View File
@@ -44,8 +44,6 @@ UnitBlueprint {
BuildIconSortPriority = 100,
Categories = {
'BOT',
'BUILTBYTIER1FACTORY',
'BUILTBYTIER2FACTORY',
'BUILTBYTIER3FACTORY',
'DIRECTFIRE',
'INNERSPHERE',
@@ -56,10 +54,11 @@ UnitBlueprint {
'OVERLAYDIRECTFIRE',
'OVERLAYINDIRECTFIRE',
'OVERLAYRADAR',
'PRODUCTSC1',
'BATTLETECH',
'RECLAIMABLE',
'SELECTABLE',
'TECH1',
'TECH4',
'EXPERIMENTAL',
'UEF',
'VISIBLETORECON',
},
@@ -70,7 +69,7 @@ UnitBlueprint {
RegenRate = 0,
SurfaceThreatLevel = 189.7,
},
Description = '<LOC LAAS7D_desc>100 Ton Assault Mech',
Description = '<LOC LAAS7D_desc>Juggernaut Battlemech',
Display = {
Abilities = {
'<LOC ability_amphibious>Amphibious',
@@ -130,8 +129,8 @@ UnitBlueprint {
},
FactionName = 'INNERSPHERE',
Icon = 'land',
TechLevel = 'RULEUTL_Basic',
UnitName = '<LOC LAAS7D_name>Atlas',
TechLevel = 'RULEUTL_Experimental',
UnitName = '<LOC LAAS7D_name>Atlas AS7-D',
UnitWeight = 1,
},
Intel = {
@@ -140,7 +139,7 @@ UnitBlueprint {
WaterVisionRadius = 24,
},
Interface = {
HelpText = '<LOC LAAS7D_help>Atlas AS7-D',
HelpText = '<LOC LAAS7D_help>100 Ton (Assault) Atlas AS7-D',
},
LifeBarHeight = 0.075,
LifeBarOffset = 0.45,
@@ -218,14 +217,14 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'AC20',
MaxRadius = 27,
MinRadius = 0,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 30,
ProjectileId = '/projectiles/TDFGauss01/TDFGauss01_proj.bp',
ProjectileId = '/projectiles/TIFArtillery01/TIFArtillery01_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
ProjectilesPerOnFire = 1,
RackBones = {
@@ -242,10 +241,10 @@ UnitBlueprint {
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = true,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.13,
TargetCheckInterval = 0.5,
RateOfFire = 0.5,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -254,18 +253,15 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 104,
HeadingArcCenter = 0,
HeadingArcRange = 90,
TurretBoneMuzzle = 'AC20_Muzzle',
TurretBonePitch = 'AC20_Barrel',
TurretBoneYaw = 'Torso',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 90,
TurretYawRange = 135,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
@@ -282,6 +278,8 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 1,
BeamLifetime = 1,
CollideFriendly = false,
Damage = 150,
DamageRadius = 0,
@@ -294,14 +292,14 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
Label = 'ML',
FiringTolerance = 1,
Label = 'L_ML',
MaxRadius = 27,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 100,
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
-- ProjectileLifetimeUsesMultiplier = 2,
ProjectilesPerOnFire = 1,
RackBones = {
{
@@ -317,10 +315,10 @@ UnitBlueprint {
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = false,
RackSlavedToTurret = true,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.2,
TargetCheckInterval = 0.5,
RateOfFire = 0.5,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -329,19 +327,16 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 104,
HeadingArcCenter = 0,
HeadingArcRange = 90,
TurretBoneMuzzle = 'Left_Muzzle',
TurretBonePitch = 'Left_Arm_Barrel',
TurretBoneYaw = 'Torso',
TurretBonePitch = 'Left_Arm_B03',
TurretBoneYaw = 'Left_Arm_B02',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 45,
TurretYaw = 0,
TurretYawRange = 90,
TurretYawSpeed = 90,
TurretPitchSpeed = 90,
TurretYaw = 90,
TurretYawRange = 135,
TurretYawSpeed = 180,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
@@ -358,6 +353,8 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 1,
BeamLifetime = 1,
CollideFriendly = false,
Damage = 150,
DamageRadius = 0,
@@ -370,14 +367,14 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
Label = 'ML',
FiringTolerance = 1,
Label = 'R_ML',
MaxRadius = 27,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 100,
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
ProjectileLifetimeUsesMultiplier = 2,
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
-- ProjectileLifetimeUsesMultiplier = 2,
ProjectilesPerOnFire = 1,
RackBones = {
{
@@ -395,8 +392,8 @@ UnitBlueprint {
RackSalvoSize = 1,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.2,
TargetCheckInterval = 0.5,
RateOfFire = 0.5,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -405,19 +402,16 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 104,
HeadingArcCenter = 0,
HeadingArcRange = 90,
TurretBoneMuzzle = 'Right_Muzzle',
TurretBonePitch = 'Right_Arm_Barrel',
TurretBoneYaw = 'Torso',
TurretBonePitch = 'Right_Arm_B03',
TurretBoneYaw = 'Right_Arm_B02',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 90,
TurretPitchSpeed = 45,
TurretYaw = 0,
TurretYawRange = 90,
TurretYawSpeed = 90,
TurretPitchSpeed = 90,
TurretYaw = -90,
TurretYawRange = 135,
TurretYawSpeed = 180,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
@@ -434,6 +428,8 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 1,
BeamLifetime = 1,
CollideFriendly = false,
Damage = 150,
DamageRadius = 0,
@@ -446,34 +442,39 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
Label = 'ML',
FiringTolerance = 1,
Label = 'B_ML',
MaxRadius = 27,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 100,
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
ProjectileLifetimeUsesMultiplier = 1.15,
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
-- ProjectileLifetimeUsesMultiplier = 1.15,
ProjectilesPerOnFire = 1,
RackBones = {
{
MuzzleBones = {
'Back_Laser03',
},
RackBone = 'Back_Barrel',
},
{
MuzzleBones = {
'Back_Laser04',
},
RackBone = 'Back_Barrel',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = false,
RackSlavedToTurret = true,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.2,
TargetCheckInterval = 0.5,
RateOfFire = 0.5*2,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -482,22 +483,19 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 104,
HeadingArcCenter = 180,
HeadingArcRange = 90,
TurretBoneMuzzle = 'Back_Laser03',
TurretBonePitch = 'Back_Barrel',
TurretBoneYaw = 'Back_Turret',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 85,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawSpeed = 45,
TurretYawRange = 60,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
WeaponRepackTimeout = 0,
WeaponUnpacks = false,
MinRadius = 0,
},
@@ -515,7 +513,7 @@ UnitBlueprint {
CannotAttackGround = false,
CollideFriendly = false,
Damage = 60,
DamageRadius = 0,
DamageRadius = 1,
DamageType = 'BTCluster',
DisplayName = 'Short Range Missiles',
FireTargetLayerCapsTable = {
@@ -525,14 +523,15 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 10,
FiringTolerance = 5,
Label = 'SRM',
MaxRadius = 27,
MuzzleSalvoDelay = 0.3,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 6,
MuzzleVelocity = 25,
ProjectileId = '/mods/Supreme Mech Commander 2/projectiles/LRMMissile/LRMMissile_proj.bp',
ProjectileLifetime = 1,
PrefersPrimaryWeaponTarget = true,
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
ProjectileLifetime = 5,
ProjectilesPerOnFire = 1,
RackBones = {
{
@@ -547,16 +546,16 @@ UnitBlueprint {
RackBone = 'SRM6_Barrel',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = true,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.25,
TargetCheckInterval = 0.5,
RateOfFire = 0.5,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -565,20 +564,17 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 104,
HeadingArcCenter = 0,
HeadingArcRange = 90,
TurretBoneMuzzle = 'SRM6_Muzzle_01',
TurretBonePitch = 'SRM6_Barrel',
TurretBoneYaw = 'Torso',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 50,
TurretPitchSpeed = 180,
TurretPitchRange = 0,
TurretPitchSpeed = 0,
TurretYaw = 0,
TurretYawRange = 90,
TurretYawRange = 135,
TurretYawSpeed = 90,
Turreted = false,
Turreted = true,
WeaponCategory = 'Missile',
MinRadius = 0,
},
@@ -605,15 +601,16 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 100,
FiringTolerance = 10,
Label = 'LRM',
MaxRadius = 63,
MinRadius = 18,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 20,
MuzzleVelocity = 25,
ProjectileId = '/mods/Supreme Mech Commander 2/projectiles/LRMMissile/LRMMissile_proj.bp',
ProjectileLifetime = 5,
PrefersPrimaryWeaponTarget = true,
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
ProjectileLifetime = 10,
ProjectilesPerOnFire = 1,
RackBones = {
{
@@ -642,16 +639,16 @@ UnitBlueprint {
RackBone = 'LRM_Barrel',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 10,
RackSalvoSize = 1,
RackSlavedToTurret = true,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_IndirectFire',
RateOfFire = 0.5,
TargetCheckInterval = 0.3,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -660,20 +657,17 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 104,
HeadingArcCenter = 0,
HeadingArcRange = 90,
TurretBoneMuzzle = 'LRM20_Muzzle_01',
TurretBonePitch = 'Torso',
TurretBonePitch = 'LRM_Barrel',
TurretBoneYaw = 'Torso',
TurretDualManipulators = false,
TurretPitch = 45,
TurretPitchRange = 50,
TurretPitchSpeed = 180,
TurretPitch = 0,
TurretPitchRange = 0,
TurretPitchSpeed = 0,
TurretYaw = 0,
TurretYawRange = 90,
TurretYawRange = 135,
TurretYawSpeed = 90,
Turreted = false,
Turreted = true,
WeaponCategory = 'Missile',
},
},