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

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -12,7 +12,8 @@ local EffectTemplate = import('/lua/EffectTemplates.lua')
local TConstructionUnit = import('/lua/terranunits.lua').TConstructionUnit
local TDFMachineGunWeapon = import('/lua/terranweapons.lua').TDFMachineGunWeapon
HHJI50 = Class(TConstructionUnit) {
---@class CLANJI50 : TConstructionUnit
CLANJI50 = Class(TConstructionUnit) {
Weapons = {
LMG = Class(TDFMachineGunWeapon) {},
},
@@ -45,4 +46,4 @@ HHJI50 = Class(TConstructionUnit) {
end,
}
TypeClass = HHJI50
TypeClass = CLANJI50
@@ -109,7 +109,7 @@ UnitBlueprint {
RegenRate = 0,
SurfaceThreatLevel = 23.1,
},
Description = '<LOC CLANJI50_desc>60 Ton Engineering Vehicle',
Description = '<LOC CLANJI50_desc>Engineering Vehicle',
Display = {
Abilities = {
'<LOC ability_engineeringsuite>Engineering Suite',
@@ -217,7 +217,7 @@ UnitBlueprint {
VisionRadius = 38,
},
Interface = {
HelpText = '<LOC CLANJI50_help>Jifty Field Repair Unit',
HelpText = '<LOC CLANJI50_help>60 Ton Engineering Vehicle Jifty Field Repair Unit',
},
LifeBarHeight = 0.075,
LifeBarOffset = 0.2,
@@ -278,7 +278,6 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
SlavedToBody = 'false',
CollideFriendly = false,
Damage = 30,
DamageType = 'BTDirectBallistic',
@@ -290,7 +289,7 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'LMG',
MaxRadius = 18,
MuzzleSalvoDelay = 0,
@@ -314,10 +313,12 @@ UnitBlueprint {
RackSalvoChargeTime = 0,
RackSalvoReloadTime = 0,
RackSalvoSize = 1,
RackSlavedToTurret = true,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 2.5,
TargetCheckInterval = 0.2,
RateOfFire = 0.5*2,
SlavedToBody = true,
SlavedToBodyArcRange = 60,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH3 MOBILE',
@@ -328,19 +329,16 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 38,
HeadingArcCenter = 0,
HeadingArcRange = 70,
TurretBoneMuzzle = 'L_MG_Muzzle',
TurretBonePitch = 'L_MG_Barrel',
TurretBoneYaw = 'Turret',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 45,
TurretPitchSpeed = 45,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 70,
TurretYawSpeed = 70,
TurretYawRange = 60,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',