Repo-wide formatting pass
This commit is contained in:
1 parent
20b5d31836
commit
62ade7ea45
291 files changed
+1405
-1423
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user