starting pass for unit tweaks, changing unit tiers to weight class, added custom weapons for bt lasers, notebook incompatible blueprints
This commit is contained in:
1 parent
70f34f8f40
commit
3bb2a6dfe0
301 files changed
+6030
-5806
No files matched your search
@@ -11,19 +11,19 @@
|
||||
local TStructureUnit = import('/lua/terranunits.lua').TStructureUnit
|
||||
local TIFArtilleryWeapon = import('/lua/terranweapons.lua').TIFArtilleryWeapon
|
||||
|
||||
---@class FSLONGTOMCANNON : TStructureUnit
|
||||
FSLONGTOMCANNON = Class(TStructureUnit) {
|
||||
|
||||
OnStopBeingBuilt = function(self, builder, layer)
|
||||
TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
local bp = self:GetBlueprint()
|
||||
if bp.Audio.Activate then
|
||||
self:PlaySound(bp.Audio.Activate)
|
||||
end
|
||||
end,
|
||||
-- OnStopBeingBuilt = function(self, builder, layer)
|
||||
-- TStructureUnit.OnStopBeingBuilt(self, builder, layer)
|
||||
-- local bp = self:GetBlueprint()
|
||||
-- if bp.Audio.Activate then
|
||||
-- self:PlaySound(bp.Audio.Activate)
|
||||
-- end
|
||||
-- end,
|
||||
|
||||
Weapons = {
|
||||
MainGun = Class(TIFArtilleryWeapon) {
|
||||
},
|
||||
MainGun = Class(TIFArtilleryWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -33,13 +33,16 @@ UnitBlueprint {
|
||||
},
|
||||
BuildIconSortPriority = 11,
|
||||
Categories = {
|
||||
'BUILTBYTIER2COMMANDER',
|
||||
'BUILTBYTIER2ENGINEER',
|
||||
'BUILTBYTIER3COMMANDER',
|
||||
'BUILTBYTIER3ENGINEER',
|
||||
'DEFENSE',
|
||||
'DIRECTFIRE',
|
||||
'DRAGBUILD',
|
||||
'FEDERATEDSUNS',
|
||||
'INNERSPHERE',
|
||||
'PRODUCTSC1',
|
||||
'BATTLETECH',
|
||||
'RECLAIMABLE',
|
||||
'SELECTABLE',
|
||||
'SIZE4',
|
||||
@@ -175,25 +178,25 @@ UnitBlueprint {
|
||||
},
|
||||
BallisticArc = 'RULEUBA_LowArc',
|
||||
CollideFriendly = false,
|
||||
Damage = 15,
|
||||
Damage = 600,
|
||||
DamageFriendly = true,
|
||||
DamageRadius = 3,
|
||||
DamageType = 'BTDirectBallistic',
|
||||
DisplayName = 'Long Tom Artillery',
|
||||
EnergyDrainPerSecond = 0,
|
||||
EnergyRequired = 0,
|
||||
DisplayName = 'Long Tom Cannon',
|
||||
EnergyDrainPerSecond = 100*(4/5),
|
||||
EnergyRequired = 500*(4/5),
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Seabed',
|
||||
Water = 'Land|Water|Seabed',
|
||||
},
|
||||
FiringRandomness = 2,
|
||||
FiringTolerance = 0,
|
||||
FiringRandomness = 1,
|
||||
FiringTolerance = 1,
|
||||
Label = 'MainGun',
|
||||
MaxRadius = 60,
|
||||
MinRadius = 12,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 26.13,
|
||||
MuzzleVelocity = 30,
|
||||
ProjectileId = '/projectiles/TIFArtillery01/TIFArtillery01_proj.bp',
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -206,15 +209,15 @@ UnitBlueprint {
|
||||
},
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = -2.5,
|
||||
RackReloadTimeout = 14,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_IndirectFire',
|
||||
RateOfFire = 0.13,
|
||||
RateOfFire = 0.5,
|
||||
RenderFireClock = true,
|
||||
TargetCheckInterval = 5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'SPECIALLOWPRI',
|
||||
@@ -227,13 +230,12 @@ UnitBlueprint {
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 30,
|
||||
TurretPitchRange = 60,
|
||||
TurretPitchSpeed = 6,
|
||||
TurretPitchSpeed = 6*3,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 180,
|
||||
TurretYawSpeed = 6,
|
||||
TurretYawSpeed = 6*3,
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Artillery',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
TrackingRadius = 0,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user