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

+4 -2
View File
@@ -3,16 +3,18 @@
--#** File : /cdimage/units/LAPEGASUS/LAPEGASUS_script.lua
--#** Author(s): John Comes, David Tomandl, Jessica St. Croix, Kami, FuegoTigre
--#**
--#** Summary : FedSuns Centipede Scout Car Script
--#** Summary : Steiner Centipede Scout Car Script
--#**
--#** Copyright � 2005 Gas Powered Games, Inc. All rights reserved.
--#****************************************************************************
local TLandUnit = import('/lua/terranunits.lua').TLandUnit
local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
local BTMediumLaserWeapon = import('/mods/Supreme Mech Commander 2/lua/btweapons.lua').BTMediumLaserWeapon
---@class LACENTIPEDE : TLandUnit
LACENTIPEDE = Class(TLandUnit) {
Weapons = {
ML = Class(ADFLaserLightWeapon) {},
ML = Class(BTMediumLaserWeapon) {},
},
}
+22 -18
View File
@@ -63,6 +63,7 @@ UnitBlueprint {
},
BuildIconSortPriority = 20,
Categories = {
'BUILTBYTIER1FACTORY',
'BUILTBYTIER2FACTORY',
'BUILTBYTIER3FACTORY',
'DIRECTFIRE',
@@ -73,11 +74,11 @@ UnitBlueprint {
'MOBILE',
'OVERLAYDIRECTFIRE',
'OVERLAYRADAR',
'PRODUCTSC1',
'BATTLETECH',
'RECLAIMABLE',
'SCOUT',
'SELECTABLE',
'TECH2',
'TECH1',
'UEF',
'VEHICLE',
'VISIBLETORECON',
@@ -89,7 +90,7 @@ UnitBlueprint {
RegenRate = 0,
SurfaceThreatLevel = 27.1,
},
Description = '<LOC LACENTIPEDE_desc>20 Ton Hover Vehicle',
Description = '<LOC LACENTIPEDE_desc>Scout Vehicle',
Display = {
Abilities = {
'<LOC ability_hover>Hover',
@@ -244,8 +245,8 @@ UnitBlueprint {
},
FactionName = 'INNERSPHERE',
Icon = 'amph',
TechLevel = 'RULEUTL_Advanced',
UnitName = '<LOC LACENTIPEDE_name>Centipede Scout Car',
TechLevel = 'RULEUTL_Basic',
UnitName = '<LOC LACENTIPEDE_name>Centipede',
UnitWeight = 1,
},
Intel = {
@@ -255,7 +256,7 @@ UnitBlueprint {
WaterVisionRadius = 24,
},
Interface = {
HelpText = '<LOC LACENTIPEDE_help>Scout Car',
HelpText = '<LOC LACENTIPEDE_help>20 Ton (Light) Hover Vehicle Centipede Scout Car',
},
LifeBarHeight = 0.075,
LifeBarOffset = 0.5,
@@ -294,7 +295,7 @@ UnitBlueprint {
SizeX = 0.3,
SizeY = 0.3,
SizeZ = 0.4,
StrategicIconName = 'icon_land2_intel',
StrategicIconName = 'icon_land1_intel',
StrategicIconSortPriority = 125,
Transport = {
TransportClass = 2,
@@ -317,6 +318,8 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 1,
BeamLifetime = 1,
CollideFriendly = false,
Damage = 150,
DamageRadius = 0,
@@ -328,15 +331,15 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'ML',
MaxRadius = 27,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 100,
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
ProjectileLifetimeUsesMultiplier = 1.15,
ProjectilesPerOnFire = 2,
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
-- ProjectileLifetimeUsesMultiplier = 1.15,
ProjectilesPerOnFire = 1,
RackBones = {
{
MuzzleBones = {
@@ -353,8 +356,10 @@ UnitBlueprint {
RackSalvoSize = 1,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.2,
TargetCheckInterval = 0.5,
RateOfFire = 0.5,
SlavedToBody = true,
SlavedToBodyArcRange = 45,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'MOBILE',
@@ -363,20 +368,19 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 158,
TurretBoneMuzzle = 'ML_Muzzle',
TurretBonePitch = 'ML',
TurretBoneYaw = 'ML',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 45,
TurretPitchSpeed = 45,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 10,
TurretYawSpeed = 45,
TurretYawRange = 45,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
WeaponRepackTimeout = 0,
WeaponUnpacks = false,
MinRadius = 0,
},