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
@@ -3,7 +3,7 @@
|
||||
--#** File : /Supreme Mech Commander/units/LAVNLK65N/LAVNLK65N_script.lua
|
||||
--#** Author(s): John Comes, David Tomandl, Jessica St. Croix, Kami, FuegoTigre
|
||||
--#**
|
||||
--#** Summary : FedSuns Gurteltier MBT
|
||||
--#** Summary : Steiner Gurteltier MBT
|
||||
--#**
|
||||
--#** Copyright � 2005 Gas Powered Games, Inc. All rights reserved.
|
||||
--#****************************************************************************
|
||||
@@ -12,10 +12,43 @@ local ADFCannonQuantumWeapon = import('/lua/aeonweapons.lua').ADFCannonQuantumWe
|
||||
local ADFCannonOblivionWeapon = import('/lua/aeonweapons.lua').ADFCannonOblivionWeapon
|
||||
local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
|
||||
|
||||
---@class LAGURTELTIERMBT : TLandUnit
|
||||
LAGURTELTIERMBT = Class(TLandUnit) {
|
||||
Weapons = {
|
||||
GR = Class(ADFCannonQuantumWeapon) {},
|
||||
MML7 = Class(TSAMLauncher) {},
|
||||
MML7_LRM = Class(TSAMLauncher) -- Modeled weapon swapping off Cybran T2 Cruiser URS0202
|
||||
{
|
||||
-- ---@param self TSAMLauncher
|
||||
-- OnGotTarget = function(self)
|
||||
-- TSAMLauncher.OnGotTarget(self)
|
||||
-- local targetPos = self:GetCurrentTargetPos() --[[@as Vector]]
|
||||
|
||||
-- -- copy over heading / pitch from ground gun to aa gun
|
||||
-- local unit = self.unit
|
||||
-- local long = unit:GetWeaponManipulatorByLabel('MML7_LRM') --[[@as moho.AimManipulator]]
|
||||
-- local short = unit:GetWeaponManipulatorByLabel('MML7_SRM') --[[@as moho.AimManipulator]]
|
||||
-- long:SetHeadingPitch(short:GetHeadingPitch())
|
||||
|
||||
-- unit:SetWeaponEnabledByLabel('MML7_SRM', false)
|
||||
-- end,
|
||||
|
||||
-- ---@param self TSAMLauncher
|
||||
-- OnLostTarget = function(self)
|
||||
-- TSAMLauncher.OnLostTarget(self)
|
||||
|
||||
-- -- copy over heading / pitch from aa gun to ground gun
|
||||
-- local unit = self.unit
|
||||
-- local long = unit:GetWeaponManipulatorByLabel('MML7_LRM') --[[@as moho.AimManipulator]]
|
||||
-- local short = unit:GetWeaponManipulatorByLabel('MML7_SRM') --[[@as moho.AimManipulator]]
|
||||
-- short:SetHeadingPitch(long:GetHeadingPitch())
|
||||
|
||||
-- -- reset heading / pitch of aa gun to prevent twitching
|
||||
-- long:SetHeadingPitch(0, 0)
|
||||
|
||||
-- unit:SetWeaponEnabledByLabel('MML7_SRM', true)
|
||||
-- end,
|
||||
},
|
||||
MML7_SRM = Class(TSAMLauncher) {},
|
||||
ERPPC = Class(ADFCannonOblivionWeapon) {},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -44,7 +44,6 @@ UnitBlueprint {
|
||||
},
|
||||
BuildIconSortPriority = 100,
|
||||
Categories = {
|
||||
'BUILTBYTIER2FACTORY',
|
||||
'BUILTBYTIER3FACTORY',
|
||||
'COUNTERINTELLIGENCE',
|
||||
'DIRECTFIRE',
|
||||
@@ -55,11 +54,12 @@ UnitBlueprint {
|
||||
'OVERLAYCOUNTERINTEL',
|
||||
'OVERLAYDIRECTFIRE',
|
||||
'OVERLAYINDIRECTFIRE',
|
||||
'PRODUCTSC1',
|
||||
'BATTLETECH',
|
||||
'RECLAIMABLE',
|
||||
'SELECTABLE',
|
||||
'TANK',
|
||||
'TECH2',
|
||||
'TECH4',
|
||||
'EXPERIMENTAL',
|
||||
'UEF',
|
||||
'VEHICLE',
|
||||
'VISIBLETORECON',
|
||||
@@ -71,11 +71,11 @@ UnitBlueprint {
|
||||
RegenRate = 0,
|
||||
SurfaceThreatLevel = 212.5,
|
||||
},
|
||||
Description = '<LOC LAGURTELTIERMBT_desc>100 Ton Assault Tank',
|
||||
Description = '<LOC LAGURTELTIERMBT_desc>Sniper Tank',
|
||||
Display = {
|
||||
Abilities = {
|
||||
'<LOC ability_jamming>Jammer',
|
||||
'Guardian ECM Suite |-| 1570m Range',
|
||||
'ECM Suite (Guardian) |-| 1570m Range',
|
||||
'1x Gauss Rifle |-| Min: 60m Max: 660m',
|
||||
'1x ERPPC |-| Max: 690m',
|
||||
'1x MML7 |-| Max: 630m',
|
||||
@@ -151,7 +151,7 @@ UnitBlueprint {
|
||||
},
|
||||
FactionName = 'INNERSPHERE',
|
||||
Icon = 'land',
|
||||
TechLevel = 'RULEUTL_Basic',
|
||||
TechLevel = 'RULEUTL_Experimental',
|
||||
UnitName = '<LOC LAGURTELTIERMBT_name>Gurteltier MBT',
|
||||
UnitWeight = 1,
|
||||
},
|
||||
@@ -164,7 +164,7 @@ UnitBlueprint {
|
||||
VisionRadius = 38,
|
||||
},
|
||||
Interface = {
|
||||
HelpText = '<LOC LAGURTELTIERMBT_help>Gurteltier MBT Heavy Tank',
|
||||
HelpText = '<LOC LAGURTELTIERMBT_help>100 Ton (Assault) Gurteltier MBT',
|
||||
},
|
||||
LifeBarHeight = 0.075,
|
||||
LifeBarOffset = 0.5,
|
||||
@@ -236,7 +236,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
FiringTolerance = 1,
|
||||
Label = 'GR',
|
||||
MaxRadius = 66,
|
||||
MinRadius = 6,
|
||||
@@ -260,10 +260,10 @@ UnitBlueprint {
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = true,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.2,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -272,20 +272,18 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 38,
|
||||
TurretBoneMuzzle = 'Gauss_Muzzle',
|
||||
TurretBonePitch = 'Gauss_Barrel',
|
||||
TurretBoneYaw = 'Turret',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 45,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 180,
|
||||
TurretYawSpeed = 180,
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
{
|
||||
@@ -310,7 +308,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
FiringTolerance = 1,
|
||||
Label = 'ERPPC',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
@@ -328,16 +326,16 @@ UnitBlueprint {
|
||||
RackBone = 'ERPPC_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = true,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.15,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -346,21 +344,19 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 38,
|
||||
TurretBoneMuzzle = 'ERPPC_Muzzle',
|
||||
TurretBonePitch = 'ERPPC_Barrel',
|
||||
TurretBoneYaw = 'Turret',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 70,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretPitchRange = 45,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 360,
|
||||
TurretYawRange = 180,
|
||||
TurretYawSpeed = 180,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
},
|
||||
{
|
||||
@@ -376,24 +372,24 @@ UnitBlueprint {
|
||||
BallisticArc = 'RULEUBA_LowArc',
|
||||
CannotAttackGround = false,
|
||||
CollideFriendly = false,
|
||||
Damage = 1,
|
||||
DamageRadius = 0,
|
||||
Damage = 30,
|
||||
DamageRadius = 1,
|
||||
DamageType = 'BTCluster',
|
||||
DisplayName = 'Medium Range Missiles',
|
||||
DisplayName = 'Multi Missile Launcher (Long)',
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 10,
|
||||
Label = 'MML7',
|
||||
Label = 'MML7_LRM',
|
||||
MaxRadius = 63,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MinRadius = 27,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 7,
|
||||
MuzzleVelocity = 30,
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 2,
|
||||
ProjectileLifetime = 10,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -409,16 +405,16 @@ UnitBlueprint {
|
||||
RackBone = 'MRM7_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = true,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -427,18 +423,94 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 38,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 90,
|
||||
-- ToggleWeapon = 'MML7_SRM',
|
||||
TurretBoneMuzzle = 'MRM7_Muzzle1',
|
||||
TurretBonePitch = 'Turret',
|
||||
TurretBonePitch = 'MRM7_Barrel',
|
||||
TurretBoneYaw = 'Turret',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 25,
|
||||
TurretPitchRange = 50,
|
||||
TurretPitchSpeed = 180,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 45,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 1,
|
||||
TurretYawRange = 180,
|
||||
TurretYawSpeed = 180,
|
||||
Turreted = false,
|
||||
WeaponCategory = 'Missile',
|
||||
},
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
Fire = Sound {
|
||||
Bank = 'URLWeapon',
|
||||
Cue = 'URB2304_Missile_Nanite',
|
||||
LodCutoff = 'Weapon_LodCutoff',
|
||||
},
|
||||
},
|
||||
BallisticArc = 'RULEUBA_LowArc',
|
||||
CannotAttackGround = false,
|
||||
CollideFriendly = false,
|
||||
Damage = 60,
|
||||
DamageRadius = 1,
|
||||
DamageType = 'BTCluster',
|
||||
DisplayName = 'Multi Missile Launcher (Short)',
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
Label = 'MML7_SRM',
|
||||
MaxRadius = 27,
|
||||
MinRadius = 0,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 7,
|
||||
MuzzleVelocity = 30,
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
MuzzleBones = {
|
||||
'MRM7_Muzzle1',
|
||||
'MRM7_Muzzle2',
|
||||
'MRM7_Muzzle3',
|
||||
'MRM7_Muzzle4',
|
||||
'MRM7_Muzzle5',
|
||||
'MRM7_Muzzle6',
|
||||
'MRM7_Muzzle7',
|
||||
},
|
||||
RackBone = 'MRM7_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
'STRUCTURE DEFENSE',
|
||||
'SPECIALLOWPRI',
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
-- ToggleWeapon = 'MML7_LRM',
|
||||
TurretBoneMuzzle = 'MRM7_Muzzle1',
|
||||
TurretBonePitch = 'MRM7_Barrel',
|
||||
TurretBoneYaw = 'Turret',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 45,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 180,
|
||||
TurretYawSpeed = 180,
|
||||
Turreted = false,
|
||||
WeaponCategory = 'Missile',
|
||||
|
||||
Reference in new issue
Block a user