Repo-wide formatting pass
This commit is contained in:
1 parent
20b5d31836
commit
62ade7ea45
124 files changed
+247
-265
No files matched your search
@@ -6,4 +6,3 @@ ArtemisLRM = Class(TMissileAAProjectile) {
|
||||
}
|
||||
|
||||
TypeClass = ArtemisLRM
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local ADFCannonOblivionWeapon = import('/lua/aeonweapons.lua').ADFCannonOblivionWeapon
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ CLANFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Arm01')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
|
||||
@@ -41,7 +41,7 @@ HHJI50 = Class(TConstructionUnit) {
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ LAJI50ML = Class(TConstructionUnit) {
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -533,7 +533,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
CLANMFACTORYT1 = Class(TLandFactoryUnit) {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
CLANMFACTORYT2 = Class(TLandFactoryUnit) {}
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
|
||||
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local CDFParticleCannonWeapon = import('/lua/cybranweapons.lua').CDFParticleCannonWeapon
|
||||
|
||||
CLANMPLTURRET = Class(TStructureUnit) {
|
||||
Weapons = {
|
||||
CMPL = Class(CDFParticleCannonWeapon) {
|
||||
FxMuzzleFlash = {'/effects/emitters/particle_cannon_muzzle_02_emit.bp'},
|
||||
FxMuzzleFlash = { '/effects/emitters/particle_cannon_muzzle_02_emit.bp' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TAirUnit = import('/lua/terranunits.lua').TAirUnit
|
||||
local CDFParticleCannonWeapon = import('/lua/cybranweapons.lua').CDFParticleCannonWeapon
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -219,7 +219,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -308,7 +308,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -536,7 +536,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -617,7 +617,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -221,7 +221,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -298,7 +298,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -225,7 +225,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -303,7 +303,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
UnitBlueprint {
|
||||
UnitBlueprint {
|
||||
AI = {
|
||||
GuardRadius = 10,
|
||||
TargetBones = {
|
||||
@@ -300,7 +300,7 @@
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -195,7 +195,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -299,7 +299,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -219,7 +219,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -296,7 +296,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -14,7 +14,7 @@ FSCOMET = Class(TAirUnit) {
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
@@ -308,7 +308,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -221,7 +221,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -390,7 +390,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 7.6,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -18,7 +18,6 @@ FSFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Arm01')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TSeaFactoryUnit = import('/lua/terranunits.lua').TSeaFactoryUnit
|
||||
|
||||
FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
@@ -9,7 +7,6 @@ FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Right_Arm')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
|
||||
@@ -887,7 +887,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -980,7 +980,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -1059,7 +1059,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
local TEnergyCreationUnit = import('/lua/terranunits.lua').TEnergyCreationUnit
|
||||
|
||||
FSGENT1 = Class(TEnergyCreationUnit) {
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
ChangeState(self, self.ActiveState)
|
||||
end,
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
local TEnergyCreationUnit = import('/lua/terranunits.lua').TEnergyCreationUnit
|
||||
|
||||
FSGENT2 = Class(TEnergyCreationUnit) {
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
ChangeState(self, self.ActiveState)
|
||||
end,
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local ADFCannonQuantumWeapon = import('/lua/aeonweapons.lua').ADFCannonQuantumWeapon
|
||||
|
||||
|
||||
@@ -329,7 +329,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -16,11 +16,10 @@ FSISBA = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
MG = Class(TDFMachineGunWeapon) {
|
||||
DisabledFiringBones = {
|
||||
'Torso', 'Head', 'Arm_Right_B01', 'Arm_Right_B02','Arm_Right_Muzzle',
|
||||
'Arm_Left_B01', 'Arm_Left_B02','Arm_Left_Muzzle'
|
||||
'Torso', 'Head', 'Arm_Right_B01', 'Arm_Right_B02', 'Arm_Right_Muzzle',
|
||||
'Arm_Left_B01', 'Arm_Left_B02', 'Arm_Left_Muzzle'
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
TypeClass = FSISBA
|
||||
|
||||
@@ -402,7 +402,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -41,7 +41,7 @@ FSJI50 = Class(TConstructionUnit) {
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ FSJI50ML = Class(TConstructionUnit) {
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -205,7 +205,7 @@ UnitBlueprint {
|
||||
Level5 = 80,
|
||||
},
|
||||
Weapon = {
|
||||
--#ARM
|
||||
--#ARM
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
@@ -300,7 +300,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#TORSO
|
||||
--#TORSO
|
||||
{
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
@@ -329,7 +329,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -26,10 +26,10 @@ FSKARNOV = Class(TAirUnit) {
|
||||
},
|
||||
|
||||
DestructionTicks = 250,
|
||||
EngineRotateBones = {'Front_Right_Engine', 'Front_Left_Engine', },
|
||||
EngineRotateBones = { 'Front_Right_Engine', 'Front_Left_Engine', },
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TAirUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TAirUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
self.EngineManipulators = {}
|
||||
|
||||
--# create the engine thrust manipulators
|
||||
@@ -38,9 +38,9 @@ FSKARNOV = Class(TAirUnit) {
|
||||
end
|
||||
|
||||
--# set up the thursting arcs for the engines
|
||||
for keys,values in self.EngineManipulators do
|
||||
for keys, values in self.EngineManipulators do
|
||||
--# XMAX,XMIN,YMAX,YMIN,ZMAX,ZMIN, TURNMULT, TURNSPEED
|
||||
values:SetThrustingParam( 0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25 )
|
||||
values:SetThrustingParam(0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25)
|
||||
end
|
||||
|
||||
self.LandingAnimManip = CreateAnimator(self)
|
||||
@@ -72,15 +72,16 @@ FSKARNOV = Class(TAirUnit) {
|
||||
end,
|
||||
|
||||
--# Override air destruction effects so we can do something custom here
|
||||
CreateUnitAirDestructionEffects = function( self, scale )
|
||||
self:ForkThread(self.AirDestructionEffectsThread, self )
|
||||
CreateUnitAirDestructionEffects = function(self, scale)
|
||||
self:ForkThread(self.AirDestructionEffectsThread, self)
|
||||
end,
|
||||
|
||||
AirDestructionEffectsThread = function( self )
|
||||
local numExplosions = math.floor( table.getn( self.AirDestructionEffectBones ) * 0.5 )
|
||||
AirDestructionEffectsThread = function(self)
|
||||
local numExplosions = math.floor(table.getn(self.AirDestructionEffectBones) * 0.5)
|
||||
for i = 0, numExplosions do
|
||||
explosion.CreateDefaultHitExplosionAtBone( self, self.AirDestructionEffectBones[util.GetRandomInt( 1, numExplosions )], 0.5 )
|
||||
WaitSeconds( util.GetRandomFloat( 0.2, 0.9 ))
|
||||
explosion.CreateDefaultHitExplosionAtBone(self,
|
||||
self.AirDestructionEffectBones[util.GetRandomInt(1, numExplosions)], 0.5)
|
||||
WaitSeconds(util.GetRandomFloat(0.2, 0.9))
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -297,7 +297,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -27,7 +27,7 @@ UnitBlueprint {
|
||||
TurnSpeed = .7,
|
||||
Winged = true,
|
||||
TransportHoverHeight = 3,
|
||||
},
|
||||
},
|
||||
Audio = {
|
||||
AirUnitWaterImpact = Sound {
|
||||
Bank = 'Explosions',
|
||||
@@ -1049,7 +1049,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -1143,7 +1143,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -1237,7 +1237,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -13,8 +13,8 @@ local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
|
||||
|
||||
FSLONGTOM = Class(TStructureUnit) {
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
local bp = self:GetBlueprint()
|
||||
if bp.Audio.Activate then
|
||||
self:PlaySound(bp.Audio.Activate)
|
||||
|
||||
@@ -13,8 +13,8 @@ local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
|
||||
|
||||
FSLONGTOMCANNON = Class(TStructureUnit) {
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
local bp = self:GetBlueprint()
|
||||
if bp.Audio.Activate then
|
||||
self:PlaySound(bp.Audio.Activate)
|
||||
|
||||
@@ -237,7 +237,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
MuzzleVelocityReduceDistance = 63,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -352,7 +352,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
MuzzleVelocityReduceDistance = 63,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -451,4 +451,3 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ UnitBlueprint {
|
||||
Level5 = 80,
|
||||
},
|
||||
Weapon = {
|
||||
--#TURRET
|
||||
--#TURRET
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -311,7 +311,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -392,7 +392,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -440,7 +440,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#FRONT
|
||||
--#FRONT
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
|
||||
@@ -17,7 +17,7 @@ FSMETEOR = Class(TAirUnit) {
|
||||
SRM2 = Class(TSAMLauncher) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
@@ -384,7 +384,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -461,7 +461,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -341,7 +341,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -415,7 +415,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -489,7 +489,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -32,7 +32,8 @@ FSPARTISAN = Class(TLandUnit) {
|
||||
if bit == 1 then
|
||||
self:SetWeaponEnabledByLabel('GroundGun', true)
|
||||
self:SetWeaponEnabledByLabel('AAGun', false)
|
||||
self:GetWeaponManipulatorByLabel('GroundGun'):SetHeadingPitch( self:GetWeaponManipulatorByLabel('AAGun'):GetHeadingPitch() )
|
||||
self:GetWeaponManipulatorByLabel('GroundGun'):SetHeadingPitch(self:GetWeaponManipulatorByLabel('AAGun')
|
||||
:GetHeadingPitch())
|
||||
end
|
||||
end,
|
||||
|
||||
@@ -41,7 +42,8 @@ FSPARTISAN = Class(TLandUnit) {
|
||||
if bit == 1 then
|
||||
self:SetWeaponEnabledByLabel('GroundGun', false)
|
||||
self:SetWeaponEnabledByLabel('AAGun', true)
|
||||
self:GetWeaponManipulatorByLabel('AAGun'):SetHeadingPitch( self:GetWeaponManipulatorByLabel('GroundGun'):GetHeadingPitch() )
|
||||
self:GetWeaponManipulatorByLabel('AAGun'):SetHeadingPitch(self:GetWeaponManipulatorByLabel('GroundGun')
|
||||
:GetHeadingPitch())
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance =0,
|
||||
FiringTolerance = 0,
|
||||
Label = 'GroundGun',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
|
||||
@@ -407,7 +407,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
--#****************************************************************************
|
||||
local TLandUnit = import('/lua/terranunits.lua').TLandUnit
|
||||
local TDFGaussCannonWeapon = import('/lua/terranweapons.lua').TDFGaussCannonWeapon
|
||||
|
||||
@@ -309,7 +309,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -232,7 +232,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -320,7 +320,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -380,7 +380,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -332,7 +332,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -413,7 +413,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -278,7 +278,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#FRONT
|
||||
--#FRONT
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
|
||||
@@ -233,7 +233,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 6,
|
||||
RackBones = {
|
||||
@@ -345,7 +345,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 6,
|
||||
RackBones = {
|
||||
@@ -445,4 +445,3 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -299,7 +299,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -384,7 +384,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -462,7 +462,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -457,7 +457,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -314,7 +314,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -27,10 +27,10 @@ FSWARRIORH7 = Class(TAirUnit) {
|
||||
},
|
||||
|
||||
DestructionTicks = 250,
|
||||
EngineRotateBones = {'R_Engine', 'L_Engine', },
|
||||
EngineRotateBones = { 'R_Engine', 'L_Engine', },
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TAirUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TAirUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
self.EngineManipulators = {}
|
||||
|
||||
--# create the engine thrust manipulators
|
||||
@@ -39,9 +39,9 @@ FSWARRIORH7 = Class(TAirUnit) {
|
||||
end
|
||||
|
||||
--# set up the thursting arcs for the engines
|
||||
for keys,values in self.EngineManipulators do
|
||||
for keys, values in self.EngineManipulators do
|
||||
--# XMAX,XMIN,YMAX,YMIN,ZMAX,ZMIN, TURNMULT, TURNSPEED
|
||||
values:SetThrustingParam( 0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25 )
|
||||
values:SetThrustingParam(0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25)
|
||||
end
|
||||
|
||||
self.LandingAnimManip = CreateAnimator(self)
|
||||
@@ -61,15 +61,16 @@ FSWARRIORH7 = Class(TAirUnit) {
|
||||
end,
|
||||
|
||||
--# Override air destruction effects so we can do something custom here
|
||||
CreateUnitAirDestructionEffects = function( self, scale )
|
||||
self:ForkThread(self.AirDestructionEffectsThread, self )
|
||||
CreateUnitAirDestructionEffects = function(self, scale)
|
||||
self:ForkThread(self.AirDestructionEffectsThread, self)
|
||||
end,
|
||||
|
||||
AirDestructionEffectsThread = function( self )
|
||||
local numExplosions = math.floor( table.getn( self.AirDestructionEffectBones ) * 0.5 )
|
||||
AirDestructionEffectsThread = function(self)
|
||||
local numExplosions = math.floor(table.getn(self.AirDestructionEffectBones) * 0.5)
|
||||
for i = 0, numExplosions do
|
||||
explosion.CreateDefaultHitExplosionAtBone( self, self.AirDestructionEffectBones[util.GetRandomInt( 1, numExplosions )], 0.5 )
|
||||
WaitSeconds( util.GetRandomFloat( 0.2, 0.9 ))
|
||||
explosion.CreateDefaultHitExplosionAtBone(self,
|
||||
self.AirDestructionEffectBones[util.GetRandomInt(1, numExplosions)], 0.5)
|
||||
WaitSeconds(util.GetRandomFloat(0.2, 0.9))
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
@@ -364,7 +364,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 4,
|
||||
RackBones = {
|
||||
|
||||
@@ -427,7 +427,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 36,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -18,11 +18,10 @@ HHGOLEMROCK = Class(TWalkingLandUnit) {
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
HRR = Class(TDFGaussCannonWeapon) {
|
||||
DisabledFiringBones = {
|
||||
'Torso', 'Head', 'Arm_Right_B01', 'Arm_Right_B02','Arm_Right_Muzzle',
|
||||
'Arm_Left_B01', 'Arm_Left_B02','Arm_Left_Muzzle'
|
||||
'Torso', 'Head', 'Arm_Right_B01', 'Arm_Right_B02', 'Arm_Right_Muzzle',
|
||||
'Arm_Left_B01', 'Arm_Left_B02', 'Arm_Left_Muzzle'
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
TypeClass = HHGOLEMROCK
|
||||
|
||||
@@ -309,7 +309,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -13,7 +13,8 @@ HHMADDOGE = Class(TWalkingLandUnit) {
|
||||
self.SpinManip:SetTargetSpeed(0)
|
||||
self.SpinManip2:SetTargetSpeed(0)
|
||||
end
|
||||
self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'L_Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
|
||||
self.ExhaustEffects = EffectUtils.CreateBoneEffects(self.unit, 'L_Exhaust', self.unit:GetArmy(),
|
||||
Effects.WeaponSteam01)
|
||||
TDFHeavyPlasmaCannonWeapon.PlayFxWeaponPackSequence(self)
|
||||
end,
|
||||
|
||||
@@ -38,7 +39,8 @@ HHMADDOGE = Class(TWalkingLandUnit) {
|
||||
self.SpinManip:SetTargetSpeed(200)
|
||||
self.SpinManip2:SetTargetSpeed(200)
|
||||
end
|
||||
self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'L_Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
|
||||
self.ExhaustEffects = EffectUtils.CreateBoneEffects(self.unit, 'L_Exhaust', self.unit:GetArmy(),
|
||||
Effects.WeaponSteam01)
|
||||
TDFHeavyPlasmaCannonWeapon.PlayFxRackSalvoChargeSequence(self)
|
||||
end,
|
||||
|
||||
|
||||
@@ -478,7 +478,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 12,
|
||||
MuzzleVelocity = 36,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -564,7 +564,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -533,7 +533,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -613,7 +613,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -221,7 +221,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -298,7 +298,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -225,7 +225,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -303,7 +303,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -300,7 +300,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -195,7 +195,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -298,7 +298,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -219,7 +219,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -296,7 +296,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -221,7 +221,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 15,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -383,7 +383,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -476,7 +476,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 12,
|
||||
MuzzleVelocity = 36,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -559,7 +559,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.05,
|
||||
MuzzleSalvoSize = 12,
|
||||
MuzzleVelocity = 36,
|
||||
ProjectileId= '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileId = '/Mods/Supreme Mech Commander/projectiles/ArtemisLRM/ArtemisLRM_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -614,7 +614,7 @@ UnitBlueprint {
|
||||
Turreted = false,
|
||||
WeaponCategory = 'DirectFire',
|
||||
},
|
||||
--#CRASH
|
||||
--#CRASH
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Damage = 200,
|
||||
|
||||
@@ -352,7 +352,7 @@ UnitBlueprint {
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
|
||||
--#LL Wing Ports
|
||||
--#LL Wing Ports
|
||||
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
@@ -498,7 +498,7 @@ UnitBlueprint {
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
|
||||
--#ML Wing Ports
|
||||
--#ML Wing Ports
|
||||
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
@@ -649,7 +649,7 @@ UnitBlueprint {
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#CRASH
|
||||
--#CRASH
|
||||
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
|
||||
@@ -18,7 +18,6 @@ LAFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Arm01')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TSeaFactoryUnit = import('/lua/terranunits.lua').TSeaFactoryUnit
|
||||
|
||||
FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
@@ -9,7 +7,6 @@ FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Right_Arm')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
|
||||
@@ -888,7 +888,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -981,7 +981,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -1060,7 +1060,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
local TEnergyCreationUnit = import('/lua/terranunits.lua').TEnergyCreationUnit
|
||||
|
||||
LAGENT1 = Class(TEnergyCreationUnit) {
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
ChangeState(self, self.ActiveState)
|
||||
end,
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
local TEnergyCreationUnit = import('/lua/terranunits.lua').TEnergyCreationUnit
|
||||
|
||||
LAGENT2 = Class(TEnergyCreationUnit) {
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TEnergyCreationUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
ChangeState(self, self.ActiveState)
|
||||
end,
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local ADFCannonQuantumWeapon = import('/lua/aeonweapons.lua').ADFCannonQuantumWeapon
|
||||
|
||||
|
||||
@@ -394,7 +394,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 7,
|
||||
MuzzleVelocity = 30,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 2,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -296,7 +296,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 2,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -16,11 +16,10 @@ LAISBA = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
MG = Class(TDFMachineGunWeapon) {
|
||||
DisabledFiringBones = {
|
||||
'Torso', 'Head', 'Arm_Right_B01', 'Arm_Right_B02','Arm_Right_Muzzle',
|
||||
'Arm_Left_B01', 'Arm_Left_B02','Arm_Left_Muzzle'
|
||||
'Torso', 'Head', 'Arm_Right_B01', 'Arm_Right_B02', 'Arm_Right_Muzzle',
|
||||
'Arm_Left_B01', 'Arm_Left_B02', 'Arm_Left_Muzzle'
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
TypeClass = LAISBA
|
||||
|
||||
@@ -41,7 +41,7 @@ LAJI50 = Class(TConstructionUnit) {
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ LAJI50ML = Class(TConstructionUnit) {
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -26,10 +26,10 @@ LAKARNOV = Class(TAirUnit) {
|
||||
},
|
||||
|
||||
DestructionTicks = 250,
|
||||
EngineRotateBones = {'Front_Right_Engine', 'Front_Left_Engine', },
|
||||
EngineRotateBones = { 'Front_Right_Engine', 'Front_Left_Engine', },
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TAirUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TAirUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
self.EngineManipulators = {}
|
||||
|
||||
--# create the engine thrust manipulators
|
||||
@@ -38,9 +38,9 @@ LAKARNOV = Class(TAirUnit) {
|
||||
end
|
||||
|
||||
--# set up the thursting arcs for the engines
|
||||
for keys,values in self.EngineManipulators do
|
||||
for keys, values in self.EngineManipulators do
|
||||
--# XMAX,XMIN,YMAX,YMIN,ZMAX,ZMIN, TURNMULT, TURNSPEED
|
||||
values:SetThrustingParam( 0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25 )
|
||||
values:SetThrustingParam(0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25)
|
||||
end
|
||||
|
||||
self.LandingAnimManip = CreateAnimator(self)
|
||||
@@ -72,15 +72,16 @@ LAKARNOV = Class(TAirUnit) {
|
||||
end,
|
||||
|
||||
--# Override air destruction effects so we can do something custom here
|
||||
CreateUnitAirDestructionEffects = function( self, scale )
|
||||
self:ForkThread(self.AirDestructionEffectsThread, self )
|
||||
CreateUnitAirDestructionEffects = function(self, scale)
|
||||
self:ForkThread(self.AirDestructionEffectsThread, self)
|
||||
end,
|
||||
|
||||
AirDestructionEffectsThread = function( self )
|
||||
local numExplosions = math.floor( table.getn( self.AirDestructionEffectBones ) * 0.5 )
|
||||
AirDestructionEffectsThread = function(self)
|
||||
local numExplosions = math.floor(table.getn(self.AirDestructionEffectBones) * 0.5)
|
||||
for i = 0, numExplosions do
|
||||
explosion.CreateDefaultHitExplosionAtBone( self, self.AirDestructionEffectBones[util.GetRandomInt( 1, numExplosions )], 0.5 )
|
||||
WaitSeconds( util.GetRandomFloat( 0.2, 0.9 ))
|
||||
explosion.CreateDefaultHitExplosionAtBone(self,
|
||||
self.AirDestructionEffectBones[util.GetRandomInt(1, numExplosions)], 0.5)
|
||||
WaitSeconds(util.GetRandomFloat(0.2, 0.9))
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ UnitBlueprint {
|
||||
TurnSpeed = .7,
|
||||
Winged = true,
|
||||
TransportHoverHeight = 3,
|
||||
},
|
||||
},
|
||||
Audio = {
|
||||
AirUnitWaterImpact = Sound {
|
||||
Bank = 'Explosions',
|
||||
@@ -1049,7 +1049,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -1143,7 +1143,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -1237,7 +1237,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -13,8 +13,8 @@ local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
|
||||
|
||||
LALONGTOM = Class(TStructureUnit) {
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
local bp = self:GetBlueprint()
|
||||
if bp.Audio.Activate then
|
||||
self:PlaySound(bp.Audio.Activate)
|
||||
|
||||
@@ -13,8 +13,8 @@ local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
|
||||
|
||||
LALONGTOMCANNON = Class(TStructureUnit) {
|
||||
|
||||
OnStopBeingBuilt = function(self,builder,layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self,builder,layer)
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
local bp = self:GetBlueprint()
|
||||
if bp.Audio.Activate then
|
||||
self:PlaySound(bp.Audio.Activate)
|
||||
|
||||
@@ -237,7 +237,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
MuzzleVelocityReduceDistance = 63,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -352,7 +352,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
MuzzleVelocityReduceDistance = 63,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -451,4 +451,3 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ UnitBlueprint {
|
||||
Level5 = 80,
|
||||
},
|
||||
Weapon = {
|
||||
--#TURRET
|
||||
--#TURRET
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -311,7 +311,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 10,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -392,7 +392,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -440,7 +440,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#FRONT
|
||||
--#FRONT
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
|
||||
@@ -339,7 +339,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -413,7 +413,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -487,7 +487,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 2,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -14,7 +14,7 @@ LAOWL = Class(TAirUnit) {
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
@@ -307,7 +307,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
@@ -16,7 +16,7 @@ LAOWL2 = Class(TAirUnit) {
|
||||
SL2 = Class(ADFLaserLightWeapon) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
@@ -32,7 +32,8 @@ LAPARTISAN = Class(TLandUnit) {
|
||||
if bit == 1 then
|
||||
self:SetWeaponEnabledByLabel('GroundGun', true)
|
||||
self:SetWeaponEnabledByLabel('AAGun', false)
|
||||
self:GetWeaponManipulatorByLabel('GroundGun'):SetHeadingPitch( self:GetWeaponManipulatorByLabel('AAGun'):GetHeadingPitch() )
|
||||
self:GetWeaponManipulatorByLabel('GroundGun'):SetHeadingPitch(self:GetWeaponManipulatorByLabel('AAGun')
|
||||
:GetHeadingPitch())
|
||||
end
|
||||
end,
|
||||
|
||||
@@ -41,7 +42,8 @@ LAPARTISAN = Class(TLandUnit) {
|
||||
if bit == 1 then
|
||||
self:SetWeaponEnabledByLabel('GroundGun', false)
|
||||
self:SetWeaponEnabledByLabel('AAGun', true)
|
||||
self:GetWeaponManipulatorByLabel('AAGun'):SetHeadingPitch( self:GetWeaponManipulatorByLabel('GroundGun'):GetHeadingPitch() )
|
||||
self:GetWeaponManipulatorByLabel('AAGun'):SetHeadingPitch(self:GetWeaponManipulatorByLabel('GroundGun')
|
||||
:GetHeadingPitch())
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance =0,
|
||||
FiringTolerance = 0,
|
||||
Label = 'GroundGun',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
|
||||
@@ -310,7 +310,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 15,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
Loaded 100 of 124 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user