Repo-wide formatting pass
This commit is contained in:
1 parent
20b5d31836
commit
62ade7ea45
291 files changed
+1405
-1423
No files matched your search
@@ -1,12 +1,10 @@
|
||||
|
||||
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local ADFCannonOblivionWeapon = import('/lua/aeonweapons.lua').ADFCannonOblivionWeapon
|
||||
|
||||
CLANERPPCTURRET = Class(TStructureUnit) {
|
||||
Weapons = {
|
||||
CERPPC = Class(ADFCannonOblivionWeapon) {},
|
||||
CERPPC = Class(ADFCannonOblivionWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = CLANERPPCTURRET
|
||||
TypeClass = CLANERPPCTURRET
|
||||
@@ -180,13 +180,13 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'CERPPC',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 69,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
local TAirFactoryUnit = import('/lua/terranunits.lua').TAirFactoryUnit
|
||||
|
||||
CLANFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
|
||||
|
||||
StartArmsMoving = function(self)
|
||||
TAirFactoryUnit.StartArmsMoving(self)
|
||||
--#local unitBldg = self.UnitBeingBuilt
|
||||
@@ -18,7 +18,6 @@ CLANFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Arm01')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
@@ -32,7 +31,7 @@ CLANFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
WaitFor(self.ArmSlider)
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
StopArmsMoving = function(self)
|
||||
TAirFactoryUnit.StopArmsMoving(self)
|
||||
if not self.ArmSlider then return end
|
||||
|
||||
@@ -27,22 +27,22 @@ HHJI50 = Class(TConstructionUnit) {
|
||||
self:SetWeaponEnabledByLabel('LMG', false)
|
||||
TConstructionUnit.OnStartBuild(self, unitBeingBuilt, order)
|
||||
end,
|
||||
|
||||
|
||||
OnStopBuild = function(self)
|
||||
--Re-enable the gun after done building
|
||||
self:SetWeaponEnabledByLabel('LMG', true)
|
||||
TConstructionUnit.OnStopBuild(self)
|
||||
end,
|
||||
|
||||
|
||||
OnStartReclaim = function(self, target)
|
||||
TConstructionUnit.OnStartReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled(false)
|
||||
end,
|
||||
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
TypeClass = HHJI50
|
||||
TypeClass = HHJI50
|
||||
@@ -269,7 +269,7 @@ UnitBlueprint {
|
||||
Level4 = 100,
|
||||
Level5 = 125,
|
||||
},
|
||||
Weapon = {
|
||||
Weapon = {
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -289,7 +289,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -27,22 +27,22 @@ LAJI50ML = Class(TConstructionUnit) {
|
||||
self:SetWeaponEnabledByLabel('ML', false)
|
||||
TConstructionUnit.OnStartBuild(self, unitBeingBuilt, order)
|
||||
end,
|
||||
|
||||
|
||||
OnStopBuild = function(self)
|
||||
--Re-enable the gun after done building
|
||||
self:SetWeaponEnabledByLabel('ML', true)
|
||||
TConstructionUnit.OnStopBuild(self)
|
||||
end,
|
||||
|
||||
|
||||
OnStartReclaim = function(self, target)
|
||||
TConstructionUnit.OnStartReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled(false)
|
||||
end,
|
||||
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
TypeClass = LAJI50ML
|
||||
TypeClass = LAJI50ML
|
||||
@@ -176,7 +176,7 @@ UnitBlueprint {
|
||||
'BUILTBYTIER2ENGINEER UEF AIRSTAGINGPLATFORM',
|
||||
'BUILTBYTIER2ENGINEER FS ENERGYPRODUCTION',
|
||||
'BUILTBYTIER2ENGINEER HH',
|
||||
'BUILTBYTIER2ENGINEER CLAN',
|
||||
'BUILTBYTIER2ENGINEER CLAN',
|
||||
},
|
||||
NeedToFaceTargetToBuild = true,
|
||||
MaxBuildDistance = 5,
|
||||
@@ -277,7 +277,7 @@ UnitBlueprint {
|
||||
Level4 = 100,
|
||||
Level5 = 125,
|
||||
},
|
||||
Weapon = {
|
||||
Weapon = {
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -297,7 +297,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -309,7 +309,7 @@ UnitBlueprint {
|
||||
ProjectileId = '/projectiles/ADFLaserLight02/ADFLaserLight02_proj.bp',
|
||||
ProjectileLifetimeUsesMultiplier = 2.5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
RackBones = {
|
||||
{
|
||||
MuzzleBones = {
|
||||
'L_MG_Muzzle',
|
||||
|
||||
@@ -12,11 +12,11 @@ CLANKIRGHIZB = Class(TAirUnit) {
|
||||
Weapons = {
|
||||
CERPPC1 = Class(ADFCannonOblivionWeapon) {},
|
||||
CERPPC2 = Class(ADFCannonOblivionWeapon) {},
|
||||
CERPPC3 = Class(ADFCannonOblivionWeapon) {},
|
||||
CERPPC3 = Class(ADFCannonOblivionWeapon) {},
|
||||
CLRM = Class(TSAMLauncher) {},
|
||||
CERSL = Class(ADFLaserLightWeapon) {},
|
||||
CMPL = Class(CDFParticleCannonWeapon) {},
|
||||
CMPL = Class(CDFParticleCannonWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = CLANKIRGHIZB
|
||||
TypeClass = CLANKIRGHIZB
|
||||
@@ -299,13 +299,13 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Projector Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'CERPPC1',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -372,13 +372,13 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Projector Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'CERPPC2',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -446,13 +446,13 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Projector Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'CERPPC3',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -522,7 +522,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -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 = {
|
||||
@@ -609,7 +609,7 @@ UnitBlueprint {
|
||||
'LRM3_MB18',
|
||||
'LRM3_MB19',
|
||||
'LRM3_MB20',
|
||||
},
|
||||
},
|
||||
RackBone = 'LRM3_BB',
|
||||
},
|
||||
{
|
||||
@@ -715,7 +715,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Medium Laser',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -792,7 +792,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air',
|
||||
Land = 'Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
|
||||
@@ -13,8 +13,8 @@ local TDFMachineGunWeapon = import('/lua/terranweapons.lua').TDFMachineGunWeapon
|
||||
|
||||
CLANERPPCTURRET = Class(TStructureUnit) {
|
||||
Weapons = {
|
||||
LBX5 = Class(TDFMachineGunWeapon) {},
|
||||
LBX5 = Class(TDFMachineGunWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = CLANERPPCTURRET
|
||||
TypeClass = CLANERPPCTURRET
|
||||
@@ -223,7 +223,7 @@ UnitBlueprint {
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_AntiAir',
|
||||
--#RateOfFire normaly 1.75 but changed to 0.87 to increase RoF due to 2x Barrels.
|
||||
RateOfFire = 0.87,
|
||||
RateOfFire = 0.87,
|
||||
TargetCheckInterval = 0.3,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
|
||||
@@ -13,4 +13,4 @@ local TAirStagingPlatformUnit = import('/lua/terranunits.lua').TAirStagingPlatfo
|
||||
FSMECHBAY = Class(TAirStagingPlatformUnit) {
|
||||
}
|
||||
|
||||
TypeClass = FSMECHBAY
|
||||
TypeClass = FSMECHBAY
|
||||
@@ -1,7 +1,5 @@
|
||||
|
||||
|
||||
local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
CLANMFACTORYT1 = Class(TLandFactoryUnit) {}
|
||||
|
||||
TypeClass = CLANMFACTORYT1
|
||||
TypeClass = CLANMFACTORYT1
|
||||
@@ -1,7 +1,5 @@
|
||||
|
||||
|
||||
local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
CLANMFACTORYT2 = Class(TLandFactoryUnit) {}
|
||||
|
||||
TypeClass = CLANMFACTORYT2
|
||||
TypeClass = CLANMFACTORYT2
|
||||
@@ -1,14 +1,12 @@
|
||||
|
||||
|
||||
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' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = CLANMPLTURRET
|
||||
TypeClass = CLANMPLTURRET
|
||||
@@ -180,7 +180,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
|
||||
@@ -12,4 +12,4 @@ local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
CLANVFACTORYT1 = Class(TLandFactoryUnit) {}
|
||||
|
||||
TypeClass = CLANVFACTORYT1
|
||||
TypeClass = CLANVFACTORYT1
|
||||
@@ -12,4 +12,4 @@ local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
CLANVFACTORYT2 = Class(TLandFactoryUnit) {}
|
||||
|
||||
TypeClass = CLANVFACTORYT2
|
||||
TypeClass = CLANVFACTORYT2
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
local TAirUnit = import('/lua/terranunits.lua').TAirUnit
|
||||
local CDFParticleCannonWeapon = import('/lua/cybranweapons.lua').CDFParticleCannonWeapon
|
||||
|
||||
@@ -13,8 +11,8 @@ CLANVISIGOTHB = Class(TAirUnit) {
|
||||
CLPL2 = Class(CDFParticleCannonWeapon) {},
|
||||
CLPL3 = Class(CDFParticleCannonWeapon) {},
|
||||
CLPL4 = Class(CDFParticleCannonWeapon) {},
|
||||
CMPL = Class(CDFParticleCannonWeapon) {},
|
||||
CMPL = Class(CDFParticleCannonWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = CLANVISIGOTHB
|
||||
TypeClass = CLANVISIGOTHB
|
||||
@@ -295,7 +295,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -366,7 +366,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -438,7 +438,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -510,7 +510,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -586,7 +586,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air',
|
||||
Land = 'Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
|
||||
@@ -5,8 +5,8 @@ local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
|
||||
|
||||
CLANWARHAWKPRIME = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
CERPPC = Class(ADFCannonOblivionWeapon) {},
|
||||
CLRM = Class(TSAMLauncher) {},
|
||||
CERPPC = Class(ADFCannonOblivionWeapon) {},
|
||||
CLRM = Class(TSAMLauncher) {},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -46,8 +46,8 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'CLAN',
|
||||
'MOBILE',
|
||||
@@ -219,13 +219,13 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.15,
|
||||
FiringRandomnessWhileMoving = 0.75,
|
||||
FiringTolerance = 1,
|
||||
Label = 'CERPPC',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 2,
|
||||
MuzzleVelocity = 69,
|
||||
@@ -236,7 +236,7 @@ UnitBlueprint {
|
||||
{
|
||||
MuzzleBones = {
|
||||
'ERPPC_MB2',
|
||||
'ERPPC_MB1',
|
||||
'ERPPC_MB1',
|
||||
},
|
||||
RackBone = 'LA_B2',
|
||||
},
|
||||
@@ -303,7 +303,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -15,11 +15,11 @@ local AeonWeapons = import('/lua/aeonweapons.lua')
|
||||
local ADFCannonOblivionWeapon = AeonWeapons.ADFCannonOblivionWeapon
|
||||
|
||||
FSAGS2D = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
LRM01 = Class(TSAMLauncher) {},
|
||||
LRM02 = Class(TSAMLauncher) {},
|
||||
ERPPC1 = Class(ADFCannonOblivionWeapon) {},
|
||||
},
|
||||
Weapons = {
|
||||
LRM01 = Class(TSAMLauncher) {},
|
||||
LRM02 = Class(TSAMLauncher) {},
|
||||
ERPPC1 = Class(ADFCannonOblivionWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSAGS2D
|
||||
TypeClass = FSAGS2D
|
||||
@@ -47,7 +47,7 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -209,7 +209,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -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 = {
|
||||
@@ -298,7 +298,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -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 = {
|
||||
@@ -387,7 +387,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -16,4 +16,4 @@ FSALACORN = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSALACORN
|
||||
TypeClass = FSALACORN
|
||||
@@ -16,11 +16,11 @@ local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
|
||||
|
||||
FSAS7D = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
AC20 = Class(TDFGaussCannonWeapon) {},
|
||||
AC20 = Class(TDFGaussCannonWeapon) {},
|
||||
ML = Class(ADFLaserLightWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSAS7D
|
||||
TypeClass = FSAS7D
|
||||
+11
-11
@@ -46,7 +46,7 @@ UnitBlueprint {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -218,7 +218,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -294,7 +294,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -370,7 +370,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -426,7 +426,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
},
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
@@ -447,7 +447,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -526,7 +526,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
@@ -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 = {
|
||||
@@ -585,7 +585,7 @@ UnitBlueprint {
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = false,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
},
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
@@ -606,7 +606,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 100,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -16,10 +16,10 @@ local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
|
||||
FSASW8Q = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
PPC1 = Class(ADFCannonOblivionWeapon) {},
|
||||
PPC2 = Class(ADFCannonOblivionWeapon) {},
|
||||
PPC1 = Class(ADFCannonOblivionWeapon) {},
|
||||
PPC2 = Class(ADFCannonOblivionWeapon) {},
|
||||
SL = Class(ADFLaserLightWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSASW8Q
|
||||
TypeClass = FSASW8Q
|
||||
@@ -47,8 +47,8 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -224,13 +224,13 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'PPC1',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
MinRadius = 9,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -301,13 +301,13 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'PPC2',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
MinRadius = 9,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
|
||||
@@ -17,12 +17,12 @@ local TAMPhalanxWeapon = import('/lua/terranweapons.lua').TAMPhalanxWeapon
|
||||
|
||||
FSBSWS2 = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
SRM2 = Class(TSAMLauncher) {},
|
||||
LBX10 = Class(TDFMachineGunWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
AMS = Class(TAMPhalanxWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
SRM2 = Class(TSAMLauncher) {},
|
||||
LBX10 = Class(TDFMachineGunWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
AMS = Class(TAMPhalanxWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSBSWS2
|
||||
TypeClass = FSBSWS2
|
||||
@@ -46,7 +46,7 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -212,7 +212,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -289,7 +289,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -367,7 +367,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -453,7 +453,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -571,7 +571,7 @@ UnitBlueprint {
|
||||
WeaponCategory = 'Defense',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
Wreckage = {
|
||||
Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
|
||||
|
||||
@@ -16,11 +16,11 @@ local CDFLaserHeavyWeapon = import('/lua/cybranweapons.lua').CDFLaserHeavyWeapon
|
||||
|
||||
FSBSWX1 = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
LRM2 = Class(TSAMLauncher) {},
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
LRM2 = Class(TSAMLauncher) {},
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSBSWX1
|
||||
TypeClass = FSBSWX1
|
||||
@@ -46,7 +46,7 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -215,7 +215,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -293,7 +293,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -373,7 +373,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -450,7 +450,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -505,7 +505,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
},
|
||||
},
|
||||
Wreckage = {
|
||||
Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
|
||||
|
||||
@@ -15,9 +15,9 @@ local TDFMachineGunWeapon = import('/lua/terranweapons.lua').TDFMachineGunWeapon
|
||||
FSBULLDOG = Class(TLandUnit) {
|
||||
Weapons = {
|
||||
LL = Class(CDFLaserHeavyWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
MG = Class(TDFMachineGunWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
MG = Class(TDFMachineGunWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSBULLDOG
|
||||
TypeClass = FSBULLDOG
|
||||
@@ -1,4 +1,4 @@
|
||||
UnitBlueprint {
|
||||
UnitBlueprint {
|
||||
AI = {
|
||||
GuardRadius = 10,
|
||||
TargetBones = {
|
||||
@@ -87,7 +87,7 @@
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -222,7 +222,7 @@
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 2,
|
||||
@@ -291,7 +291,7 @@
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -372,7 +372,7 @@
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 2,
|
||||
|
||||
@@ -20,4 +20,4 @@ FSCALI = Class(TStructureUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCALI
|
||||
TypeClass = FSCALI
|
||||
@@ -181,11 +181,11 @@ UnitBlueprint {
|
||||
DamageType = 'D_ClusterAmmo',
|
||||
DisplayName = 'Long Range Missles',
|
||||
EnergyDrainPerSecond = 100,
|
||||
EnergyRequired = 1000,
|
||||
EnergyRequired = 1000,
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -270,11 +270,11 @@ UnitBlueprint {
|
||||
DamageType = 'D_Energy',
|
||||
DisplayName = 'Particle Cannon',
|
||||
EnergyDrainPerSecond = 50,
|
||||
EnergyRequired = 50,
|
||||
EnergyRequired = 50,
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -349,7 +349,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
|
||||
@@ -16,4 +16,4 @@ FSCENTIPEDE = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCENTIPEDE
|
||||
TypeClass = FSCENTIPEDE
|
||||
@@ -155,7 +155,7 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -326,7 +326,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -380,7 +380,7 @@ UnitBlueprint {
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
Wreckage = {
|
||||
Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
|
||||
|
||||
@@ -16,11 +16,11 @@ local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
|
||||
FSCENTURION = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
ML01 = Class(ADFLaserLightWeapon) {},
|
||||
ML02 = Class(ADFLaserLightWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCENTURION
|
||||
TypeClass = FSCENTURION
|
||||
@@ -47,7 +47,7 @@ UnitBlueprint {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -212,7 +212,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -288,7 +288,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -373,7 +373,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -450,7 +450,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -15,10 +15,10 @@ local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
|
||||
FSCOM2D = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
SRM01 = Class(TSAMLauncher) {},
|
||||
SRM02 = Class(TSAMLauncher) {},
|
||||
SRM01 = Class(TSAMLauncher) {},
|
||||
SRM02 = Class(TSAMLauncher) {},
|
||||
ML01 = Class(ADFLaserLightWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCOM2D
|
||||
TypeClass = FSCOM2D
|
||||
@@ -47,8 +47,8 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -210,7 +210,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -287,7 +287,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -363,7 +363,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -13,35 +13,35 @@ FSCOMET = Class(TAirUnit) {
|
||||
Weapons = {
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
|
||||
OnGotTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(2.0)
|
||||
self.unit:SetBreakOffDistanceMult(8.0)
|
||||
self.unit:SetSpeedMult(0.25)
|
||||
TIFCarpetBombWeapon.OnGotTarget(self)
|
||||
end,
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
OnGotTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(2.0)
|
||||
self.unit:SetBreakOffDistanceMult(8.0)
|
||||
self.unit:SetSpeedMult(0.25)
|
||||
TIFCarpetBombWeapon.OnGotTarget(self)
|
||||
end,
|
||||
|
||||
|
||||
OnLostTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(1.0)
|
||||
self.unit:SetBreakOffDistanceMult(1.0)
|
||||
self.unit:SetSpeedMult(1.0)
|
||||
TIFCarpetBombWeapon.OnLostTarget(self)
|
||||
end,
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCOMET
|
||||
TypeClass = FSCOMET
|
||||
@@ -299,7 +299,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 5,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -19,4 +19,4 @@ FSCONDOR = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCONDOR
|
||||
TypeClass = FSCONDOR
|
||||
@@ -152,7 +152,7 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -394,7 +394,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--#****************************************************************************
|
||||
--#**
|
||||
--#** Summary : FedSun Catapult CPTL-C1
|
||||
--#**
|
||||
--#**
|
||||
--#****************************************************************************
|
||||
|
||||
local TerranWeaponFile = import('/lua/terranweapons.lua')
|
||||
@@ -11,7 +11,7 @@ local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
|
||||
FSCPTLC1 = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
LRM01 = Class(TSAMLauncher) {},
|
||||
LRM01 = Class(TSAMLauncher) {},
|
||||
ML01 = Class(ADFLaserLightWeapon) {},
|
||||
ML02 = Class(ADFLaserLightWeapon) {},
|
||||
ML03 = Class(ADFLaserLightWeapon) {},
|
||||
@@ -19,4 +19,4 @@ FSCPTLC1 = Class(TWalkingLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCPTLC1
|
||||
TypeClass = FSCPTLC1
|
||||
@@ -45,8 +45,8 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -211,7 +211,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -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 = {
|
||||
@@ -321,7 +321,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -398,7 +398,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -475,7 +475,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -552,7 +552,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -23,9 +23,9 @@ FSCUT01D = Class(TAirUnit) {
|
||||
ERML2 = Class(ADFLaserLightWeapon) {},
|
||||
ERML3 = Class(ADFLaserLightWeapon) {},
|
||||
ERML4 = Class(ADFLaserLightWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
GR = Class(ADFCannonQuantumWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCUT01D
|
||||
TypeClass = FSCUT01D
|
||||
@@ -305,7 +305,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
@@ -382,7 +382,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
@@ -437,7 +437,7 @@ UnitBlueprint {
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -458,7 +458,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
@@ -534,7 +534,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
@@ -610,7 +610,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
@@ -688,7 +688,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -20,8 +20,8 @@ FSCUT1E = Class(TAirUnit) {
|
||||
|
||||
Weapons = {
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
ELRM = Class(TSAMLauncher) {},
|
||||
ELRM = Class(TSAMLauncher) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSCUT1E
|
||||
TypeClass = FSCUT1E
|
||||
@@ -304,7 +304,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.3,
|
||||
FiringTolerance = 1,
|
||||
@@ -359,7 +359,7 @@ UnitBlueprint {
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
@@ -380,7 +380,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
local TAirFactoryUnit = import('/lua/terranunits.lua').TAirFactoryUnit
|
||||
|
||||
FSFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
|
||||
|
||||
StartArmsMoving = function(self)
|
||||
TAirFactoryUnit.StartArmsMoving(self)
|
||||
--#local unitBldg = self.UnitBeingBuilt
|
||||
@@ -18,7 +18,6 @@ FSFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
self.ArmSlider = CreateSlider(self, 'Arm01')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
@@ -32,7 +31,7 @@ FSFACTORYAT1 = Class(TAirFactoryUnit) {
|
||||
WaitFor(self.ArmSlider)
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
StopArmsMoving = function(self)
|
||||
TAirFactoryUnit.StopArmsMoving(self)
|
||||
if not self.ArmSlider then return end
|
||||
|
||||
@@ -12,7 +12,7 @@ local TAirFactoryUnit = import('/lua/terranunits.lua').TAirFactoryUnit
|
||||
|
||||
|
||||
FSFACTORYAT2 = Class(TAirFactoryUnit) {
|
||||
|
||||
|
||||
StartArmsMoving = function(self)
|
||||
TAirFactoryUnit.StartArmsMoving(self)
|
||||
if not self.ArmSlider1 then
|
||||
@@ -42,13 +42,13 @@ FSFACTORYAT2 = Class(TAirFactoryUnit) {
|
||||
WaitFor(self.ArmSlider2)
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
StopArmsMoving = function(self)
|
||||
TAirFactoryUnit.StopArmsMoving(self)
|
||||
self.ArmSlider1:SetGoal(0, 0, 0)
|
||||
self.ArmSlider1:SetSpeed(40)
|
||||
self.ArmSlider2:SetGoal(0, 0, 0)
|
||||
self.ArmSlider2:SetSpeed(40)
|
||||
self.ArmSlider1:SetSpeed(40)
|
||||
self.ArmSlider2:SetGoal(0, 0, 0)
|
||||
self.ArmSlider2:SetSpeed(40)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ local TAirFactoryUnit = import('/lua/terranunits.lua').TAirFactoryUnit
|
||||
|
||||
|
||||
FSFACTORYDST2 = Class(TAirFactoryUnit) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSFACTORYDST2
|
||||
@@ -12,4 +12,4 @@ local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
FSFACTORYLT1 = Class(TLandFactoryUnit) {}
|
||||
|
||||
TypeClass = FSFACTORYLT1
|
||||
TypeClass = FSFACTORYLT1
|
||||
@@ -12,4 +12,4 @@ local TLandFactoryUnit = import('/lua/terranunits.lua').TLandFactoryUnit
|
||||
|
||||
FSFACTORYLT2 = Class(TLandFactoryUnit) {}
|
||||
|
||||
TypeClass = FSFACTORYLT2
|
||||
TypeClass = FSFACTORYLT2
|
||||
@@ -1,15 +1,12 @@
|
||||
|
||||
|
||||
local TSeaFactoryUnit = import('/lua/terranunits.lua').TSeaFactoryUnit
|
||||
|
||||
FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
StartArmsMoving = function(self)
|
||||
TSeaFactoryUnit.StartArmsMoving(self)
|
||||
if not self.ArmSlider then
|
||||
self.ArmSlider = CreateSlider(self, 'Right_Arm')
|
||||
self.Trash:Add(self.ArmSlider)
|
||||
end
|
||||
|
||||
end,
|
||||
|
||||
MovingArmsThread = function(self)
|
||||
@@ -23,7 +20,7 @@ FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
WaitFor(self.ArmSlider)
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
StopArmsMoving = function(self)
|
||||
TSeaFactoryUnit.StopArmsMoving(self)
|
||||
self.ArmSlider:SetGoal(0, 0, 0)
|
||||
@@ -32,4 +29,4 @@ FSFACTORYNT1 = Class(TSeaFactoryUnit) {
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSFACTORYNT1
|
||||
TypeClass = FSFACTORYNT1
|
||||
@@ -47,4 +47,4 @@ FSGAZELLE = Class(TAirUnit) {
|
||||
end,
|
||||
}
|
||||
|
||||
TypeClass = FSGAZELLE
|
||||
TypeClass = FSGAZELLE
|
||||
@@ -159,8 +159,8 @@ UnitBlueprint {
|
||||
Effects = {
|
||||
{
|
||||
Bones = {
|
||||
'Exhaust1',
|
||||
'Exhaust2',
|
||||
'Exhaust1',
|
||||
'Exhaust2',
|
||||
},
|
||||
Type = 'AirExhaust01',
|
||||
},
|
||||
@@ -288,7 +288,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -364,7 +364,7 @@ UnitBlueprint {
|
||||
FiringTolerance = 1,
|
||||
Label = 'R_ERPPC',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -436,7 +436,7 @@ UnitBlueprint {
|
||||
FiringTolerance = 1,
|
||||
Label = 'L_ERPPC',
|
||||
MaxRadius = 69,
|
||||
MinRadius = 0,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -507,7 +507,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -559,7 +559,7 @@ UnitBlueprint {
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
},
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
@@ -580,7 +580,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -654,7 +654,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -728,7 +728,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -803,7 +803,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -856,7 +856,7 @@ UnitBlueprint {
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
},
|
||||
{
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
@@ -877,7 +877,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -971,7 +971,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -1050,7 +1050,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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,
|
||||
|
||||
@@ -40,4 +40,4 @@ FSGENT1 = Class(TEnergyCreationUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSGENT1
|
||||
TypeClass = FSGENT1
|
||||
@@ -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,
|
||||
|
||||
@@ -40,4 +40,4 @@ FSGENT2 = Class(TEnergyCreationUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSGENT2
|
||||
TypeClass = FSGENT2
|
||||
@@ -1,12 +1,10 @@
|
||||
|
||||
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local ADFCannonQuantumWeapon = import('/lua/aeonweapons.lua').ADFCannonQuantumWeapon
|
||||
|
||||
FSGRTURRET = Class(TStructureUnit) {
|
||||
Weapons = {
|
||||
GR = Class(ADFCannonQuantumWeapon) {},
|
||||
},
|
||||
Weapons = {
|
||||
GR = Class(ADFCannonQuantumWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSGRTURRET
|
||||
TypeClass = FSGRTURRET
|
||||
@@ -16,4 +16,4 @@ FSHARASSER = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSHARASSER
|
||||
TypeClass = FSHARASSER
|
||||
@@ -151,7 +151,7 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -320,7 +320,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -388,7 +388,7 @@ UnitBlueprint {
|
||||
TurretYawSpeed = 360,
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
},
|
||||
},
|
||||
Wreckage = {
|
||||
Blueprint = '/props/DefaultWreckage/DefaultWreckage_prop.bp',
|
||||
|
||||
@@ -14,4 +14,4 @@ FSHVYTOWER = Class(TRadarUnit) {
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSHVYTOWER
|
||||
TypeClass = FSHVYTOWER
|
||||
@@ -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
|
||||
|
||||
@@ -229,7 +229,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 2,
|
||||
|
||||
@@ -18,4 +18,4 @@ FSJEDGAR = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSJEDGAR
|
||||
TypeClass = FSJEDGAR
|
||||
@@ -152,7 +152,7 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -320,7 +320,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -393,7 +393,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -27,22 +27,22 @@ FSJI50 = Class(TConstructionUnit) {
|
||||
self:SetWeaponEnabledByLabel('LMG', false)
|
||||
TConstructionUnit.OnStartBuild(self, unitBeingBuilt, order)
|
||||
end,
|
||||
|
||||
|
||||
OnStopBuild = function(self)
|
||||
--Re-enable the gun after done building
|
||||
self:SetWeaponEnabledByLabel('LMG', true)
|
||||
TConstructionUnit.OnStopBuild(self)
|
||||
end,
|
||||
|
||||
|
||||
OnStartReclaim = function(self, target)
|
||||
TConstructionUnit.OnStartReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled(false)
|
||||
end,
|
||||
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
TypeClass = FSJI50
|
||||
TypeClass = FSJI50
|
||||
@@ -271,7 +271,7 @@ UnitBlueprint {
|
||||
Level4 = 100,
|
||||
Level5 = 125,
|
||||
},
|
||||
Weapon = {
|
||||
Weapon = {
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -291,7 +291,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -27,22 +27,22 @@ FSJI50ML = Class(TConstructionUnit) {
|
||||
self:SetWeaponEnabledByLabel('ML', false)
|
||||
TConstructionUnit.OnStartBuild(self, unitBeingBuilt, order)
|
||||
end,
|
||||
|
||||
|
||||
OnStopBuild = function(self)
|
||||
--Re-enable the gun after done building
|
||||
self:SetWeaponEnabledByLabel('ML', true)
|
||||
TConstructionUnit.OnStopBuild(self)
|
||||
end,
|
||||
|
||||
|
||||
OnStartReclaim = function(self, target)
|
||||
TConstructionUnit.OnStartReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled(false)
|
||||
end,
|
||||
|
||||
|
||||
OnStopReclaim = function(self, target)
|
||||
TConstructionUnit.OnStopReclaim(self, target)
|
||||
self:SetAllWeaponsEnabled( true)
|
||||
self:SetAllWeaponsEnabled(true)
|
||||
end,
|
||||
}
|
||||
|
||||
TypeClass = FSJI50ML
|
||||
TypeClass = FSJI50ML
|
||||
@@ -167,7 +167,7 @@ UnitBlueprint {
|
||||
BuildTime = 300,
|
||||
BuildableCategory = {
|
||||
'BUILTBYTIER2ENGINEER UEF',
|
||||
'BUILTBYTIER2ENGINEER FS',
|
||||
'BUILTBYTIER2ENGINEER FS',
|
||||
},
|
||||
NeedToFaceTargetToBuild = true,
|
||||
MaxBuildDistance = 5,
|
||||
@@ -268,7 +268,7 @@ UnitBlueprint {
|
||||
Level4 = 100,
|
||||
Level5 = 125,
|
||||
},
|
||||
Weapon = {
|
||||
Weapon = {
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -288,7 +288,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -15,9 +15,9 @@ local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
|
||||
FSJR7D = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
SRM01 = Class(TSAMLauncher) {},
|
||||
SRM01 = Class(TSAMLauncher) {},
|
||||
ML01 = Class(ADFLaserLightWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSJR7D
|
||||
TypeClass = FSJR7D
|
||||
@@ -45,8 +45,8 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -205,8 +205,8 @@ UnitBlueprint {
|
||||
Level5 = 80,
|
||||
},
|
||||
Weapon = {
|
||||
--#ARM
|
||||
{
|
||||
--#ARM
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
@@ -226,7 +226,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -300,7 +300,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#TORSO
|
||||
--#TORSO
|
||||
{
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
@@ -320,7 +320,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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,21 +72,22 @@ 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,
|
||||
|
||||
OnCreate = function(self)
|
||||
TAirUnit.OnCreate(self)
|
||||
--#CreateSlider(unit, bone, [goal_x, goal_y, goal_z, [speed,
|
||||
--#CreateSlider(unit, bone, [goal_x, goal_y, goal_z, [speed,
|
||||
self.Sliders = {}
|
||||
self.Sliders[1] = CreateSlider(self, 'Char01')
|
||||
self.Sliders[1]:SetGoal(0, 0, -35)
|
||||
@@ -99,7 +100,7 @@ FSKARNOV = Class(TAirUnit) {
|
||||
self.Trash:Add(v)
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
ExpandThread = function(self)
|
||||
if self.Sliders then
|
||||
for k, v in self.Sliders do
|
||||
@@ -115,4 +116,4 @@ FSKARNOV = Class(TAirUnit) {
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSKARNOV
|
||||
TypeClass = FSKARNOV
|
||||
@@ -287,7 +287,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Land|Water|Seabed|Air',
|
||||
Land = 'Land|Water|Seabed|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0.1,
|
||||
@@ -358,7 +358,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Land|Water|Seabed|Air',
|
||||
Land = 'Land|Water|Seabed|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0.1,
|
||||
|
||||
@@ -15,10 +15,10 @@ local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
|
||||
FSLCT1M = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
LRM01 = Class(TSAMLauncher) {},
|
||||
LRM02 = Class(TSAMLauncher) {},
|
||||
LRM01 = Class(TSAMLauncher) {},
|
||||
LRM02 = Class(TSAMLauncher) {},
|
||||
ML01 = Class(ADFLaserLightWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSLCT1M
|
||||
TypeClass = FSLCT1M
|
||||
@@ -45,8 +45,8 @@ UnitBlueprint {
|
||||
Categories = {
|
||||
'PRODUCTSC1',
|
||||
'SELECTABLE',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER1FACTORY',
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'FS',
|
||||
'MOBILE',
|
||||
@@ -208,7 +208,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -287,7 +287,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -366,7 +366,7 @@ UnitBlueprint {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -47,4 +47,4 @@ FSLEOPARDDS = Class(TAirUnit) {
|
||||
end,
|
||||
}
|
||||
|
||||
TypeClass = FSLEOPARDDS
|
||||
TypeClass = FSLEOPARDDS
|
||||
@@ -1,33 +1,33 @@
|
||||
UnitBlueprint {
|
||||
AI = {
|
||||
BeaconName = 'UEB5102',
|
||||
}, Air = {
|
||||
AutoLandTime = 1,
|
||||
BankFactor = 3,
|
||||
BankForward = false,
|
||||
BreakOffDistance = 18,
|
||||
BreakOffIfNearNewTarget = true,
|
||||
BreakOffTrigger = 20,
|
||||
CanFly = true,
|
||||
CombatTurnSpeed = .7,
|
||||
EngageDistance = 50,
|
||||
KLift = 3,
|
||||
KLiftDamping = 2.5,
|
||||
KMove = 1,
|
||||
KMoveDamping = 2,
|
||||
KRoll = 2,
|
||||
KRollDamping = 2,
|
||||
KTurn = .7,
|
||||
KTurnDamping = 1,
|
||||
LiftFactor = 7,
|
||||
MaxAirspeed = 18,
|
||||
MinAirspeed = 6,
|
||||
StartTurnDistance = 5,
|
||||
TightTurnMultiplier = 0,
|
||||
TurnSpeed = .7,
|
||||
Winged = true,
|
||||
TransportHoverHeight = 3,
|
||||
},
|
||||
}, Air = {
|
||||
AutoLandTime = 1,
|
||||
BankFactor = 3,
|
||||
BankForward = false,
|
||||
BreakOffDistance = 18,
|
||||
BreakOffIfNearNewTarget = true,
|
||||
BreakOffTrigger = 20,
|
||||
CanFly = true,
|
||||
CombatTurnSpeed = .7,
|
||||
EngageDistance = 50,
|
||||
KLift = 3,
|
||||
KLiftDamping = 2.5,
|
||||
KMove = 1,
|
||||
KMoveDamping = 2,
|
||||
KRoll = 2,
|
||||
KRollDamping = 2,
|
||||
KTurn = .7,
|
||||
KTurnDamping = 1,
|
||||
LiftFactor = 7,
|
||||
MaxAirspeed = 18,
|
||||
MinAirspeed = 6,
|
||||
StartTurnDistance = 5,
|
||||
TightTurnMultiplier = 0,
|
||||
TurnSpeed = .7,
|
||||
Winged = true,
|
||||
TransportHoverHeight = 3,
|
||||
},
|
||||
Audio = {
|
||||
AirUnitWaterImpact = Sound {
|
||||
Bank = 'Explosions',
|
||||
@@ -156,8 +156,8 @@ UnitBlueprint {
|
||||
Effects = {
|
||||
{
|
||||
Bones = {
|
||||
'Exhaust1',
|
||||
'Exhaust2',
|
||||
'Exhaust1',
|
||||
'Exhaust2',
|
||||
},
|
||||
Type = 'AirExhaust01',
|
||||
},
|
||||
@@ -287,7 +287,7 @@ UnitBlueprint {
|
||||
FiringTolerance = 1,
|
||||
Label = 'NOS_ERPPC',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
MinRadius = 9,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -328,7 +328,7 @@ UnitBlueprint {
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 1,
|
||||
TurretBoneDualMuzzle = 'ERPPC_Muzzle1',
|
||||
TurretBoneDualPitch = 'ERPPC_Barrel1',
|
||||
TurretBoneDualPitch = 'ERPPC_Barrel1',
|
||||
TurretBoneMuzzle = 'ERPPC_Muzzle2',
|
||||
TurretBonePitch = 'ERPPC_Barrel2',
|
||||
TurretBoneYaw = 'NOS_ERPPC_Turret',
|
||||
@@ -364,7 +364,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -439,7 +439,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -514,7 +514,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -589,7 +589,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -664,7 +664,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -718,7 +718,7 @@ UnitBlueprint {
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
},
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
AlwaysRecheckTarget = true,
|
||||
@@ -954,7 +954,7 @@ UnitBlueprint {
|
||||
Air = 'Land|Water|Air',
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -1003,7 +1003,7 @@ UnitBlueprint {
|
||||
HeadingArcCenter = 180,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneDualMuzzle = 'Aft_MPL1_Muzzle',
|
||||
TurretBoneDualPitch = 'Aft_MPL1',
|
||||
TurretBoneDualPitch = 'Aft_MPL1',
|
||||
TurretBoneMuzzle = 'Aft_MPL2_Muzzle',
|
||||
TurretBonePitch = 'Aft_MPL2',
|
||||
TurretBoneYaw = 'Aft_Turret',
|
||||
@@ -1039,7 +1039,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -1133,7 +1133,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -1227,7 +1227,7 @@ UnitBlueprint {
|
||||
Air = 'Air|Land|Water',
|
||||
Land = 'Air|Land|Water',
|
||||
Water = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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)
|
||||
@@ -27,4 +27,4 @@ FSLONGTOM = Class(TStructureUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSLONGTOM
|
||||
TypeClass = FSLONGTOM
|
||||
@@ -66,7 +66,7 @@ UnitBlueprint {
|
||||
Display = {
|
||||
Abilities = {
|
||||
'1x Long Tom Artillery |-| Min 120m Max: 15300m',
|
||||
},
|
||||
},
|
||||
Mesh = {
|
||||
IconFadeInZoom = 130,
|
||||
LODs = {
|
||||
|
||||
@@ -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)
|
||||
@@ -27,4 +27,4 @@ FSLONGTOMCANNON = Class(TStructureUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSLONGTOMCANNON
|
||||
TypeClass = FSLONGTOMCANNON
|
||||
@@ -17,4 +17,4 @@ FSLRM = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSLRM
|
||||
TypeClass = FSLRM
|
||||
@@ -85,7 +85,7 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -224,7 +224,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 3.0,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -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 = {
|
||||
@@ -339,7 +339,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 3.0,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -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 {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -17,11 +17,11 @@ local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
|
||||
|
||||
FSMANTICORE = Class(TLandUnit) {
|
||||
Weapons = {
|
||||
PPC = Class(ADFCannonOblivionWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
PPC = Class(ADFCannonOblivionWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
ML = Class(ADFLaserLightWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSMANTICORE
|
||||
TypeClass = FSMANTICORE
|
||||
@@ -88,7 +88,7 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
},
|
||||
MovementEffects = {
|
||||
MovementEffects = {
|
||||
Land = {
|
||||
Effects = {
|
||||
{
|
||||
@@ -207,7 +207,7 @@ UnitBlueprint {
|
||||
Level5 = 80,
|
||||
},
|
||||
Weapon = {
|
||||
--#TURRET
|
||||
--#TURRET
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -226,13 +226,13 @@ UnitBlueprint {
|
||||
DisplayName = 'Particle Projector Cannon',
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'PPC',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
MinRadius = 9,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 30,
|
||||
@@ -301,7 +301,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -383,7 +383,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 50,
|
||||
@@ -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 = {
|
||||
@@ -403,7 +403,7 @@ UnitBlueprint {
|
||||
'SRM_Muzzle03',
|
||||
'SRM_Muzzle04',
|
||||
'SRM_Muzzle05',
|
||||
'SRM_Muzzle06',
|
||||
'SRM_Muzzle06',
|
||||
},
|
||||
RackBone = 'SRM_Rack',
|
||||
},
|
||||
@@ -440,7 +440,7 @@ UnitBlueprint {
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
},
|
||||
--#FRONT
|
||||
--#FRONT
|
||||
{
|
||||
AboveWaterTargetsOnly = true,
|
||||
Audio = {
|
||||
@@ -459,7 +459,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
|
||||
@@ -13,4 +13,4 @@ local TAirStagingPlatformUnit = import('/lua/terranunits.lua').TAirStagingPlatfo
|
||||
FSMECHBAY = Class(TAirStagingPlatformUnit) {
|
||||
}
|
||||
|
||||
TypeClass = FSMECHBAY
|
||||
TypeClass = FSMECHBAY
|
||||
@@ -12,39 +12,39 @@ FSMETEOR = Class(TAirUnit) {
|
||||
DestroySeconds = 7.5,
|
||||
|
||||
Weapons = {
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
SRM1 = Class(TSAMLauncher) {},
|
||||
SRM2 = Class(TSAMLauncher) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
|
||||
OnGotTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(2.0)
|
||||
self.unit:SetBreakOffDistanceMult(8.0)
|
||||
self.unit:SetSpeedMult(0.60)
|
||||
TIFCarpetBombWeapon.OnGotTarget(self)
|
||||
end,
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
OnGotTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(2.0)
|
||||
self.unit:SetBreakOffDistanceMult(8.0)
|
||||
self.unit:SetSpeedMult(0.60)
|
||||
TIFCarpetBombWeapon.OnGotTarget(self)
|
||||
end,
|
||||
|
||||
|
||||
OnLostTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(1.0)
|
||||
self.unit:SetBreakOffDistanceMult(1.0)
|
||||
self.unit:SetSpeedMult(1.0)
|
||||
TIFCarpetBombWeapon.OnLostTarget(self)
|
||||
end,
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSMETEOR
|
||||
TypeClass = FSMETEOR
|
||||
@@ -300,7 +300,7 @@ UnitBlueprint {
|
||||
DisplayName = 'AC10',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.5,
|
||||
--#######change from 1.5 to 0.5 due to extreme inacurecy as unit always on the move in air.##
|
||||
@@ -374,7 +374,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
@@ -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 = {
|
||||
@@ -451,7 +451,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -17,4 +17,4 @@ FSMONITOR = Class(TSeaUnit) {
|
||||
|
||||
}
|
||||
|
||||
TypeClass = FSMONITOR
|
||||
TypeClass = FSMONITOR
|
||||
@@ -248,7 +248,7 @@ UnitBlueprint {
|
||||
DisplayName = 'AC20',
|
||||
FireTargetLayerCapsTable = {
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
@@ -330,7 +330,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles (SRM6 1)',
|
||||
FireTargetLayerCapsTable = {
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -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 = {
|
||||
@@ -404,7 +404,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles',
|
||||
FireTargetLayerCapsTable = {
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -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 = {
|
||||
@@ -478,7 +478,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles (SRM6 1)',
|
||||
FireTargetLayerCapsTable = {
|
||||
Water = 'Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
@@ -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 = {
|
||||
|
||||
@@ -12,7 +12,7 @@ local TSubUnit = import('/lua/terranunits.lua').TSubUnit
|
||||
local TANTorpedoAngler = import('/lua/terranweapons.lua').TANTorpedoAngler
|
||||
local CDFLaserHeavyWeapon = import('/lua/cybranweapons.lua').CDFLaserHeavyWeapon
|
||||
|
||||
FSNEPTUNESTD = Class(TSubUnit) {
|
||||
FSNEPTUNESTD = Class(TSubUnit) {
|
||||
Weapons = {
|
||||
SRT = Class(TANTorpedoAngler) {},
|
||||
LRT = Class(TANTorpedoAngler) {},
|
||||
@@ -21,4 +21,4 @@ FSNEPTUNESTD = Class(TSubUnit) {
|
||||
}
|
||||
|
||||
|
||||
TypeClass = FSNEPTUNESTD
|
||||
TypeClass = FSNEPTUNESTD
|
||||
@@ -392,7 +392,7 @@ UnitBlueprint {
|
||||
FireTargetLayerCapsTable = {
|
||||
Water = 'Land|Seabed|Sub|Water',
|
||||
Sub = 'Seabed|Sub|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 2,
|
||||
|
||||
@@ -21,28 +21,30 @@ FSPARTISAN = Class(TLandUnit) {
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
OnCreate = function(self)
|
||||
TLandUnit.OnCreate(self)
|
||||
self:SetWeaponEnabledByLabel('GroundGun', false)
|
||||
end,
|
||||
|
||||
|
||||
OnScriptBitSet = function(self, bit)
|
||||
TLandUnit.OnScriptBitSet(self, bit)
|
||||
if bit == 1 then
|
||||
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,
|
||||
|
||||
OnScriptBitClear = function(self, bit)
|
||||
TLandUnit.OnScriptBitClear(self, bit)
|
||||
if bit == 1 then
|
||||
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,
|
||||
}
|
||||
TypeClass = FSPARTISAN
|
||||
TypeClass = FSPARTISAN
|
||||
@@ -358,7 +358,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance =0,
|
||||
FiringTolerance = 0,
|
||||
Label = 'GroundGun',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
|
||||
@@ -18,4 +18,4 @@ FSPEGASUS = Class(TLandUnit) {
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSPEGASUS
|
||||
TypeClass = FSPEGASUS
|
||||
Loaded 100 of 291 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user