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

+9 -9
View File
@@ -11,19 +11,19 @@
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
---@class LALONGTOM : TStructureUnit
LALONGTOM = Class(TStructureUnit) {
OnStopBeingBuilt = function(self, builder, layer)
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
local bp = self:GetBlueprint()
if bp.Audio.Activate then
self:PlaySound(bp.Audio.Activate)
end
end,
-- OnStopBeingBuilt = function(self, builder, layer)
-- TStructureUnit.OnStopBeingBuilt(self, builder, layer)
-- local bp = self:GetBlueprint()
-- if bp.Audio.Activate then
-- self:PlaySound(bp.Audio.Activate)
-- end
-- end,
Weapons = {
MainGun = Class(TIFArtilleryWeapon) {
},
MainGun = Class(TIFArtilleryWeapon) {},
},
}
+4 -5
View File
@@ -41,7 +41,7 @@ UnitBlueprint {
'INNERSPHERE',
'LYRANALLIANCE',
'OVERLAYINDIRECTFIRE',
'PRODUCTSC1',
'BATTLETECH',
'RECLAIMABLE',
'SELECTABLE',
'SHOWATTACKRETICLE',
@@ -189,7 +189,7 @@ UnitBlueprint {
Water = 'Land|Water|Seabed',
},
FiringRandomness = 1,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'MainGun',
MaxRadius = 1530,
MinRadius = 12,
@@ -199,7 +199,6 @@ UnitBlueprint {
MuzzleVelocityRandom = 0.7,
MuzzleVelocityReduceDistance = 1530,
ProjectileId = '/projectiles/TIFArtillery01/TIFArtillery01_proj.bp',
ProjectileLifetime = 1000,
ProjectilesPerOnFire = 1,
RackBones = {
{
@@ -217,9 +216,9 @@ UnitBlueprint {
RackSalvoSize = 1,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_IndirectFire',
RateOfFire = 0.13,
RateOfFire = 0.5,
RenderFireClock = true,
TargetCheckInterval = 5,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'SPECIALLOWPRI',