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 : /cdimage/units/LAUZL2S/LAUZL2S_script.lua
|
||||
--#** Author(s): John Comes, David Tomandl, Jessica St. Croix, Kami, FuegoTigre
|
||||
--#**
|
||||
--#** Summary : Davion Bushwacker BSW-X1 Script
|
||||
--#** Summary : Steiner Bushwacker BSW-X1 Script
|
||||
--#**
|
||||
--#** Copyright � 2005 Gas Powered Games, Inc. All rights reserved.
|
||||
--#****************************************************************************
|
||||
@@ -13,13 +13,17 @@ local TWalkingLandUnit = import('/lua/terranunits.lua').TWalkingLandUnit
|
||||
local TDFGaussCannonWeapon = import('/lua/terranweapons.lua').TDFGaussCannonWeapon
|
||||
local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
|
||||
local CDFLaserHeavyWeapon = import('/lua/cybranweapons.lua').CDFLaserHeavyWeapon
|
||||
local TDFMachineGunWeapon = import('/lua/terranweapons.lua').TDFMachineGunWeapon
|
||||
local BTLargeLaserWeapon = import('/mods/Supreme Mech Commander 2/lua/btweapons.lua').BTLargeLaserWeapon
|
||||
|
||||
---@class LABSWX1 : TWalkingLandUnit
|
||||
LABSWX1 = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
LRM1 = Class(TSAMLauncher) {},
|
||||
LRM2 = Class(TSAMLauncher) {},
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
ERLL = Class(CDFLaserHeavyWeapon) {},
|
||||
ERLL = Class(BTLargeLaserWeapon) {},
|
||||
MG = Class(TDFMachineGunWeapon) {}, -- TODO: add weapon in blueprint
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ UnitBlueprint {
|
||||
'OVERLAYDIRECTFIRE',
|
||||
'OVERLAYINDIRECTFIRE',
|
||||
'OVERLAYRADAR',
|
||||
'PRODUCTSC1',
|
||||
'BATTLETECH',
|
||||
'RECLAIMABLE',
|
||||
'SELECTABLE',
|
||||
'TECH2',
|
||||
@@ -70,7 +70,7 @@ UnitBlueprint {
|
||||
RegenRate = 0,
|
||||
SurfaceThreatLevel = 122.3,
|
||||
},
|
||||
Description = '<LOC LABSWX1_desc>55 Ton Medium Mech',
|
||||
Description = '<LOC LABSWX1_desc>Skirmisher Battlemech',
|
||||
Display = {
|
||||
Abilities = {
|
||||
'<LOC ability_amphibious>Amphibious',
|
||||
@@ -129,7 +129,7 @@ UnitBlueprint {
|
||||
},
|
||||
FactionName = 'INNERSPHERE',
|
||||
Icon = 'amph',
|
||||
TechLevel = 'RULEUTL_Basic',
|
||||
TechLevel = 'RULEUTL_Advanced',
|
||||
UnitName = '<LOC LABSWX1_name>Bushwacker BSW-X1',
|
||||
UnitWeight = 1,
|
||||
},
|
||||
@@ -139,7 +139,7 @@ UnitBlueprint {
|
||||
WaterVisionRadius = 24,
|
||||
},
|
||||
Interface = {
|
||||
HelpText = '<LOC LABSWX1_help>Bushwacker BSW-X1',
|
||||
HelpText = '<LOC LABSWX1_help>55 Ton (Medium) Bushwacker BSW-X1',
|
||||
},
|
||||
LifeBarHeight = 0.075,
|
||||
LifeBarOffset = 0.45,
|
||||
@@ -179,7 +179,7 @@ UnitBlueprint {
|
||||
SizeX = 0.44,
|
||||
SizeY = 1.2,
|
||||
SizeZ = 0.9,
|
||||
StrategicIconName = 'icon_commander_generic',
|
||||
StrategicIconName = 'icon_bot2_directfire',
|
||||
StrategicIconSortPriority = 115,
|
||||
Transport = {
|
||||
CanFireFromTransport = false,
|
||||
@@ -206,7 +206,7 @@ UnitBlueprint {
|
||||
CannotAttackGround = false,
|
||||
CollideFriendly = false,
|
||||
Damage = 30,
|
||||
DamageRadius = 0,
|
||||
DamageRadius = 1,
|
||||
DamageType = 'BTCluster',
|
||||
DisplayName = 'Long Range Missiles',
|
||||
FireTargetLayerCapsTable = {
|
||||
@@ -216,14 +216,14 @@ UnitBlueprint {
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 10,
|
||||
Label = 'LRM',
|
||||
Label = 'LRM1',
|
||||
MaxRadius = 63,
|
||||
MinRadius = 18,
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 25,
|
||||
ProjectileId = '/mods/Supreme Mech Commander 2/projectiles/LRMMissile/LRMMissile_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 10,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -237,7 +237,7 @@ UnitBlueprint {
|
||||
RackBone = 'L_Arm_LRM',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
@@ -246,7 +246,7 @@ UnitBlueprint {
|
||||
RackSlavedToTurret = true,
|
||||
RangeCategory = 'UWRC_IndirectFire',
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 0.3,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -255,20 +255,17 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 125,
|
||||
TurretBoneMuzzle = 'L_Arm_Muzzle01',
|
||||
TurretBonePitch = 'Torso',
|
||||
TurretBonePitch = 'L_Arm_B05',
|
||||
TurretBoneYaw = 'Torso',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 45,
|
||||
TurretPitchRange = 50,
|
||||
TurretPitchSpeed = 180,
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 125,
|
||||
TurretYawRange = 135,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = false,
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Missile',
|
||||
},
|
||||
{
|
||||
@@ -284,7 +281,7 @@ UnitBlueprint {
|
||||
CannotAttackGround = false,
|
||||
CollideFriendly = false,
|
||||
Damage = 30,
|
||||
DamageRadius = 0,
|
||||
DamageRadius = 1,
|
||||
DamageType = 'BTCluster',
|
||||
DisplayName = 'Long Range Missiles',
|
||||
FireTargetLayerCapsTable = {
|
||||
@@ -297,11 +294,11 @@ UnitBlueprint {
|
||||
Label = 'LRM2',
|
||||
MaxRadius = 63,
|
||||
MinRadius = 18,
|
||||
MuzzleSalvoDelay = 0.1,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 5,
|
||||
MuzzleVelocity = 25,
|
||||
ProjectileId = '/mods/Supreme Mech Commander 2/projectiles/LRMMissile/LRMMissile_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 10,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -315,7 +312,7 @@ UnitBlueprint {
|
||||
RackBone = 'LRM_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
@@ -324,7 +321,7 @@ UnitBlueprint {
|
||||
RackSlavedToTurret = true,
|
||||
RangeCategory = 'UWRC_IndirectFire',
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 0.3,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -333,20 +330,17 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 125,
|
||||
TurretBoneMuzzle = 'LRM_Muzzle01',
|
||||
TurretBonePitch = 'Torso',
|
||||
TurretBonePitch = 'LRM_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 45,
|
||||
TurretPitchRange = 50,
|
||||
TurretPitchSpeed = 180,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 125,
|
||||
TurretYawRange = 135,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = false,
|
||||
Turreted = true,
|
||||
WeaponCategory = 'Missile',
|
||||
},
|
||||
{
|
||||
@@ -373,7 +367,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
FiringTolerance = 1,
|
||||
Label = 'AC10',
|
||||
MaxRadius = 45,
|
||||
MinRadius = 0,
|
||||
@@ -397,10 +391,10 @@ UnitBlueprint {
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = false,
|
||||
RackSlavedToTurret = true,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.2,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -409,18 +403,15 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 135,
|
||||
TurretBoneMuzzle = 'AC10_Muzzle',
|
||||
TurretBonePitch = 'AC10_Barrel',
|
||||
TurretBonePitch = 'R_Arm_B03',
|
||||
TurretBoneYaw = 'Torso',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 125,
|
||||
TurretYawRange = 135,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
@@ -437,6 +428,8 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
BallisticArc = 'RULEUBA_None',
|
||||
BeamCollisionDelay = 1,
|
||||
BeamLifetime = 1,
|
||||
CollideFriendly = false,
|
||||
Damage = 240,
|
||||
DamageRadius = 0,
|
||||
@@ -449,14 +442,14 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
FiringTolerance = 1,
|
||||
Label = 'ERLL',
|
||||
MaxRadius = 57,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 100,
|
||||
ProjectileId = '/projectiles/CDFLaserHeavy03/CDFLaserHeavy03_proj.bp',
|
||||
ProjectileLifetimeUsesMultiplier = 1.5,
|
||||
-- ProjectileId = '/projectiles/CDFLaserHeavy03/CDFLaserHeavy03_proj.bp',
|
||||
-- ProjectileLifetimeUsesMultiplier = 1.5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -472,10 +465,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',
|
||||
@@ -484,9 +477,6 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 125,
|
||||
TurretBoneMuzzle = 'ERLL_Muzzle',
|
||||
TurretBonePitch = 'ERLL_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
@@ -495,7 +485,7 @@ UnitBlueprint {
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 125,
|
||||
TurretYawRange = 135,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
|
||||
Reference in new issue
Block a user