Repo-wide formatting pass

This commit is contained in:
cardboardbread committed 2026-09-18 07:14:49 -04:00
1 parent 20b5d31836
commit 62ade7ea45
291 files changed
+1405 -1423

No files matched your search

+34 -34
View File
@@ -8,42 +8,42 @@ local Effects = import('/lua/effecttemplates.lua')
LAPATTONULTRA = Class(TLandUnit) {
Weapons = {
AC10 = Class(TDFGaussCannonWeapon)
{
PlayFxWeaponPackSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(0)
end
-- self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
TDFGaussCannonWeapon.PlayFxWeaponPackSequence(self)
end,
AC10 = Class(TDFGaussCannonWeapon)
{
PlayFxWeaponPackSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(0)
end
-- self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
TDFGaussCannonWeapon.PlayFxWeaponPackSequence(self)
end,
PlayFxRackSalvoChargeSequence = function(self)
if not self.SpinManip then
self.SpinManip = CreateRotator(self.unit, 'Gun_Barrel', 'z', nil, 240, 120)
self.unit.Trash:Add(self.SpinManip)
end
if self.SpinManip then
-- self.SpinManip:SetTargetSpeed(120)
self.SpinManip:SetTargetSpeed(110)
end
TDFGaussCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
PlayFxRackSalvoReloadSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(0)
end
-- self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
TDFGaussCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
},
PlayFxRackSalvoChargeSequence = function(self)
if not self.SpinManip then
self.SpinManip = CreateRotator(self.unit, 'Gun_Barrel', 'z', nil, 240, 120)
self.unit.Trash:Add(self.SpinManip)
end
if self.SpinManip then
-- self.SpinManip:SetTargetSpeed(120)
self.SpinManip:SetTargetSpeed(110)
end
TDFGaussCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
PlayFxRackSalvoReloadSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(0)
end
-- self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
TDFGaussCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
},
ML = Class(ADFLaserLightWeapon) {},
MG = Class(TDFMachineGunWeapon) {},
MG = Class(TDFMachineGunWeapon) {},
},
}
TypeClass = LAPATTONULTRA
TypeClass = LAPATTONULTRA
+5 -5
View File
@@ -86,7 +86,7 @@ UnitBlueprint {
},
},
},
MovementEffects = {
MovementEffects = {
Land = {
Effects = {
{
@@ -205,7 +205,7 @@ UnitBlueprint {
Level5 = 80,
},
Weapon = {
--#TURRET
--#TURRET
{
AboveWaterTargetsOnly = true,
AlwaysRecheckTarget = true,
@@ -225,7 +225,7 @@ UnitBlueprint {
DisplayName = 'AC10',
FireTargetLayerCapsTable = {
Land = 'Land|Water|Air',
},
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 1,
@@ -301,7 +301,7 @@ UnitBlueprint {
Land = 'Land|Water|Air',
Water = 'Land|Water',
Seabed = 'Water|Sub|Seabed',
},
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 1,
@@ -372,7 +372,7 @@ UnitBlueprint {
FireTargetLayerCapsTable = {
Air = 'Land|Water|Air',
Land = 'Land|Water|Air',
},
},
FiringRandomness = 0.3,
FiringRandomnessWhileMoving = 1.5,
FiringTolerance = 2,