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

@@ -1,6 +1,7 @@
local TAirUnit = import('/lua/terranunits.lua').TAirUnit
local CDFParticleCannonWeapon = import('/lua/cybranweapons.lua').CDFParticleCannonWeapon
---@class CLANVISIGOTHB : TAirUnit
CLANVISIGOTHB = Class(TAirUnit) {
PlayDestructionEffects = true,
DamageEffectPullback = 0.25,
+40 -52
View File
@@ -95,17 +95,16 @@ UnitBlueprint {
'AIR',
'ANTIAIR',
'BOMBER',
'BUILTBYTIER1FACTORY',
'BUILTBYTIER2FACTORY',
'BUILTBYTIER3FACTORY',
'CLAN',
'HIGHALTAIR',
'MOBILE',
'OVERLAYRADAR',
'PRODUCTSC1',
'BATTLETECH',
'RECLAIMABLE',
'SELECTABLE',
'TECH1',
'TECH2',
'VISIBLETORECON',
},
CollisionOffsetY = 0,
@@ -116,7 +115,7 @@ UnitBlueprint {
MaxHealth = 6330,
RegenRate = 0,
},
Description = '<LOC CLANVISIGOTHB_desc>Visigoth OmniFighter',
Description = '<LOC CLANVISIGOTHB_desc>Fast Dogfighter',
Display = {
Abilities = {
'<LOC ability_aa>Anti-Air',
@@ -220,7 +219,7 @@ UnitBlueprint {
},
FactionName = 'CLAN',
Icon = 'air',
TechLevel = 'RULEUTL_Basic',
TechLevel = 'RULEUTL_Advanced',
UnitName = '<LOC CLANVISIGOTHB_name>Visigoth B',
UnitWeight = 1,
},
@@ -229,7 +228,7 @@ UnitBlueprint {
VisionRadius = 24,
},
Interface = {
HelpText = '<LOC CLANVISIGOTHB_help>Fighter/Ground Strike',
HelpText = '<LOC CLANVISIGOTHB_help>60 Ton (Medium) OmniFighter Visigoth B',
},
LifeBarHeight = 0.075,
LifeBarOffset = 0.65,
@@ -285,7 +284,7 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 0.3,
BeamCollisionDelay = 0.5,
BeamLifetime = 0.5,
CollideFriendly = false,
Damage = 300,
@@ -296,9 +295,8 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'CLPL1',
LeadTarget = false,
MaxRadius = 60,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
@@ -311,7 +309,7 @@ UnitBlueprint {
RackBone = 'LPL_BB1',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
@@ -320,8 +318,7 @@ UnitBlueprint {
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.5,
ReTargetOnMiss = true,
TargetCheckInterval = 0.25,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH1 MOBILE',
@@ -332,18 +329,18 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 114,
TurretBoneMuzzle = 'LPL_MB1',
TurretBonePitch = 'LPL_BB1',
TurretBoneYaw = 'LPL_BB1',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 45,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawRange = 60,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
MinRadius = 0,
MuzzleVelocity = 100,
@@ -358,7 +355,7 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 0.3,
BeamCollisionDelay = 0.5,
BeamLifetime = 0.5,
CollideFriendly = false,
Damage = 300,
@@ -369,9 +366,8 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'CLPL2',
LeadTarget = false,
MaxRadius = 60,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
@@ -385,7 +381,7 @@ UnitBlueprint {
RackBone = 'LPL_BB2',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
@@ -394,8 +390,7 @@ UnitBlueprint {
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.5,
ReTargetOnMiss = true,
TargetCheckInterval = 0.25,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH1 MOBILE',
@@ -406,18 +401,18 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 114,
TurretBoneMuzzle = 'LPL_MB2',
TurretBonePitch = 'LPL_BB2',
TurretBoneYaw = 'LPL_BB2',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 45,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawRange = 60,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
MinRadius = 0,
MuzzleVelocity = 100,
@@ -432,7 +427,7 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 0.3,
BeamCollisionDelay = 0.5,
BeamLifetime = 0.5,
CollideFriendly = false,
Damage = 300,
@@ -443,9 +438,8 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'CLPL3',
LeadTarget = false,
MaxRadius = 60,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
@@ -459,7 +453,7 @@ UnitBlueprint {
RackBone = 'LPL_BB3',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
@@ -468,8 +462,7 @@ UnitBlueprint {
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.5,
ReTargetOnMiss = true,
TargetCheckInterval = 0.25,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH1 MOBILE',
@@ -480,18 +473,18 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 114,
TurretBoneMuzzle = 'LPL_MB3',
TurretBonePitch = 'LPL_BB3',
TurretBoneYaw = 'LPL_BB3',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 45,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawRange = 60,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
MinRadius = 0,
MuzzleVelocity = 100,
@@ -506,7 +499,7 @@ UnitBlueprint {
},
},
BallisticArc = 'RULEUBA_None',
BeamCollisionDelay = 0.3,
BeamCollisionDelay = 0.5,
BeamLifetime = 0.5,
CollideFriendly = false,
Damage = 300,
@@ -517,9 +510,8 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'CLPL4',
LeadTarget = false,
MaxRadius = 60,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
@@ -533,7 +525,7 @@ UnitBlueprint {
RackBone = 'LPL_BB4',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
@@ -542,8 +534,7 @@ UnitBlueprint {
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.5,
ReTargetOnMiss = true,
TargetCheckInterval = 0.25,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH1 MOBILE',
@@ -554,18 +545,18 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 114,
TurretBoneMuzzle = 'LPL_MB4',
TurretBonePitch = 'LPL_BB4',
TurretBoneYaw = 'LPL_BB4',
TurretDualManipulators = false,
TurretPitch = 0,
TurretPitchRange = 45,
TurretPitchRange = 60,
TurretPitchSpeed = 90,
TurretYaw = 0,
TurretYawRange = 45,
TurretYawRange = 60,
TurretYawSpeed = 90,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
MinRadius = 0,
MuzzleVelocity = 100,
@@ -583,7 +574,7 @@ UnitBlueprint {
BallisticArc = 'RULEUBA_None',
CannotAttackGround = true,
CollideFriendly = false,
BeamCollisionDelay = 0.3,
BeamCollisionDelay = 0.5,
BeamLifetime = 0.5,
Damage = 210,
DamageType = 'BTDirectEnergy',
@@ -594,9 +585,8 @@ UnitBlueprint {
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'CMPL',
LeadTarget = false,
MaxRadius = 36,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
@@ -609,7 +599,7 @@ UnitBlueprint {
RackBone = 'MPL_BB',
},
},
RackFireTogether = true,
RackFireTogether = false,
RackRecoilDistance = 0,
RackReloadTimeout = 10,
RackSalvoChargeTime = 0,
@@ -617,9 +607,8 @@ UnitBlueprint {
RackSalvoSize = 1,
RackSlavedToTurret = false,
RangeCategory = 'UWRC_DirectFire',
RateOfFire = 0.57,
ReTargetOnMiss = true,
TargetCheckInterval = 0.25,
RateOfFire = 0.5,
TargetCheckInterval = 1,
TargetPriorities = {
'SPECIALHIGHPRI',
'TECH1 MOBILE',
@@ -630,7 +619,6 @@ UnitBlueprint {
'ALLUNITS',
},
TargetRestrictDisallow = 'UNTARGETABLE',
TrackingRadius = 114,
TurretBoneMuzzle = 'MPL_MB',
TurretBonePitch = 'MPL_BB',
TurretBoneYaw = 'MPL_TB',
@@ -642,8 +630,8 @@ UnitBlueprint {
TurretYawRange = 90,
TurretYawSpeed = 180,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = 'Direct Fire',
WeaponRepackTimeout = 0,
WeaponUnpacks = false,
MinRadius = 0,
MuzzleVelocity = 100,
@@ -656,7 +644,7 @@ UnitBlueprint {
DamageType = 'Normal',
DisplayName = 'Air Crash',
DummyWeapon = true,
FiringTolerance = 0,
FiringTolerance = 1,
Label = 'DeathImpact',
WeaponCategory = 'Death',
TrackingRadius = 114,