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