starting manual trimming pass, switching to solid lasers, custom weapon and beam lua
This commit is contained in:
1 parent
57dc6bb8c3
commit
70f34f8f40
151 files changed
+1643
-1479
No files matched your search
@@ -11,13 +11,17 @@
|
||||
local TerranWeaponFile = import('/lua/terranweapons.lua')
|
||||
local TWalkingLandUnit = import('/lua/terranunits.lua').TWalkingLandUnit
|
||||
local TDFGaussCannonWeapon = import('/lua/terranweapons.lua').TDFGaussCannonWeapon
|
||||
local ADFLaserLightWeapon = import('/lua/aeonweapons.lua').ADFLaserLightWeapon
|
||||
local BTLaserWeapon = import("/mods/Supreme Mech Commander 2/lua/sim/weapons/BTLaserWeapon.lua").BTLaserWeapon
|
||||
local TSAMLauncher = import('/lua/terranweapons.lua').TSAMLauncher
|
||||
|
||||
---@class FSAS7D : TWalkingLandUnit
|
||||
FSAS7D = Class(TWalkingLandUnit) {
|
||||
Weapons = {
|
||||
AC20 = Class(TDFGaussCannonWeapon) {},
|
||||
ML = Class(ADFLaserLightWeapon) {},
|
||||
ML1 = Class(BTLaserWeapon) {},
|
||||
ML2 = Class(BTLaserWeapon) {},
|
||||
ML3 = Class(BTLaserWeapon) {},
|
||||
ML4 = Class(BTLaserWeapon) {},
|
||||
SRM = Class(TSAMLauncher) {},
|
||||
LRM = Class(TSAMLauncher) {},
|
||||
},
|
||||
|
||||
+139
-79
@@ -238,14 +238,14 @@ UnitBlueprint {
|
||||
},
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = true,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.13,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -254,18 +254,15 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneMuzzle = 'AC20_Muzzle',
|
||||
TurretBonePitch = 'AC20_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 90,
|
||||
TurretYawRange = 125,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
@@ -282,6 +279,8 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
BallisticArc = 'RULEUBA_None',
|
||||
BeamCollisionDelay = 1,
|
||||
BeamLifetime = 1,
|
||||
CollideFriendly = false,
|
||||
Damage = 150,
|
||||
DamageRadius = 0,
|
||||
@@ -294,15 +293,14 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'ML',
|
||||
FiringTolerance = 0,
|
||||
Label = 'ML1',
|
||||
MaxRadius = 27,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 60,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
ProjectileLifetimeUsesMultiplier = 2,
|
||||
MuzzleVelocity = 100,
|
||||
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
-- ProjectileLifetimeUsesMultiplier = 2,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -314,14 +312,14 @@ UnitBlueprint {
|
||||
},
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.2,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -330,9 +328,6 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneMuzzle = 'Left_Muzzle',
|
||||
TurretBonePitch = 'Left_Arm_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
@@ -341,7 +336,7 @@ UnitBlueprint {
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 90,
|
||||
TurretYawRange = 125,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
@@ -359,6 +354,8 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
BallisticArc = 'RULEUBA_None',
|
||||
BeamCollisionDelay = 1,
|
||||
BeamLifetime = 1,
|
||||
CollideFriendly = false,
|
||||
Damage = 150,
|
||||
DamageRadius = 0,
|
||||
@@ -371,15 +368,14 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'ML',
|
||||
FiringTolerance = 0,
|
||||
Label = 'ML2',
|
||||
MaxRadius = 27,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 60,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
ProjectileLifetimeUsesMultiplier = 2,
|
||||
MuzzleVelocity = 100,
|
||||
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
-- ProjectileLifetimeUsesMultiplier = 2,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -391,14 +387,14 @@ UnitBlueprint {
|
||||
},
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.2,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -407,9 +403,6 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneMuzzle = 'Right_Muzzle',
|
||||
TurretBonePitch = 'Right_Arm_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
@@ -418,7 +411,7 @@ UnitBlueprint {
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 90,
|
||||
TurretYawRange = 125,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
@@ -436,6 +429,8 @@ UnitBlueprint {
|
||||
},
|
||||
},
|
||||
BallisticArc = 'RULEUBA_None',
|
||||
BeamCollisionDelay = 1,
|
||||
BeamLifetime = 1,
|
||||
CollideFriendly = false,
|
||||
Damage = 150,
|
||||
DamageRadius = 0,
|
||||
@@ -448,35 +443,33 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 1,
|
||||
Label = 'ML',
|
||||
FiringTolerance = 0,
|
||||
Label = 'ML3',
|
||||
MaxRadius = 27,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 60,
|
||||
PrefersPrimaryWeaponTarget = false,
|
||||
ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
ProjectileLifetimeUsesMultiplier = 1.15,
|
||||
MuzzleVelocity = 100,
|
||||
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
-- ProjectileLifetimeUsesMultiplier = 1.15,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
MuzzleBones = {
|
||||
'Back_Laser03',
|
||||
'Back_Laser04',
|
||||
},
|
||||
RackBone = 'Back_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
RackSalvoReloadTime = 0,
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = false,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.2,
|
||||
TargetCheckInterval = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -485,22 +478,95 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 180,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneMuzzle = 'Back_Laser03',
|
||||
TurretBonePitch = 'Back_Barrel',
|
||||
TurretBoneYaw = 'Back_Turret',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 85,
|
||||
TurretPitchSpeed = 90,
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 45,
|
||||
TurretYawSpeed = 45,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponUnpacks = false,
|
||||
MinRadius = 0,
|
||||
},
|
||||
{
|
||||
AboveWaterTargetsOnly = false,
|
||||
AlwaysRecheckTarget = true,
|
||||
Audio = {
|
||||
Fire = Sound {
|
||||
Bank = 'UALWeapon',
|
||||
Cue = 'UEL0101_Cannon_Dbl',
|
||||
LodCutoff = 'Weapon_LodCutoff',
|
||||
},
|
||||
},
|
||||
BallisticArc = 'RULEUBA_None',
|
||||
BeamCollisionDelay = 1,
|
||||
BeamLifetime = 1,
|
||||
CollideFriendly = false,
|
||||
Damage = 150,
|
||||
DamageRadius = 0,
|
||||
DamageType = 'BTDirectEnergy',
|
||||
DisplayName = 'Medium Laser',
|
||||
FireTargetLayerCapsTable = {
|
||||
Land = 'Land|Water|Air',
|
||||
Water = 'Land|Water',
|
||||
Seabed = 'Water|Sub|Seabed',
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 0,
|
||||
Label = 'ML4',
|
||||
MaxRadius = 27,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 1,
|
||||
MuzzleVelocity = 100,
|
||||
-- ProjectileId = '/projectiles/CDFLaserHeavy02/CDFLaserHeavy02_proj.bp',
|
||||
-- ProjectileLifetimeUsesMultiplier = 1.15,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
MuzzleBones = {
|
||||
'Back_Laser04',
|
||||
},
|
||||
RackBone = 'Back_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',
|
||||
TurretBoneMuzzle = 'Back_Laser04',
|
||||
TurretBonePitch = 'Back_Barrel',
|
||||
TurretBoneYaw = 'Back_Turret',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 90,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 45,
|
||||
TurretYawSpeed = 45,
|
||||
Turreted = true,
|
||||
UseFiringSolutionInsteadOfAimBone = true,
|
||||
WeaponCategory = 'Direct Fire',
|
||||
WeaponRepackTimeout = 0,
|
||||
WeaponUnpacks = false,
|
||||
MinRadius = 0,
|
||||
},
|
||||
@@ -518,7 +584,7 @@ UnitBlueprint {
|
||||
CannotAttackGround = false,
|
||||
CollideFriendly = false,
|
||||
Damage = 60,
|
||||
DamageRadius = 0,
|
||||
DamageRadius = 1,
|
||||
DamageType = 'BTCluster',
|
||||
DisplayName = 'Short Range Missiles',
|
||||
FireTargetLayerCapsTable = {
|
||||
@@ -528,15 +594,15 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
FiringTolerance = 10,
|
||||
Label = 'SRM',
|
||||
MaxRadius = 27,
|
||||
MuzzleSalvoDelay = 0.3,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoSize = 6,
|
||||
MuzzleVelocity = 15,
|
||||
MuzzleVelocity = 25,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId = '/mods/Supreme Mech Commander 2/projectiles/LRMMissile/LRMMissile_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectileLifetime = 5,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -551,7 +617,7 @@ UnitBlueprint {
|
||||
RackBone = 'SRM6_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
@@ -559,8 +625,8 @@ UnitBlueprint {
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = true,
|
||||
RangeCategory = 'UWRC_DirectFire',
|
||||
RateOfFire = 0.25,
|
||||
TargetCheckInterval = 0.5,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -569,18 +635,15 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneMuzzle = 'SRM6_Muzzle_01',
|
||||
TurretBonePitch = 'SRM6_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 50,
|
||||
TurretPitchSpeed = 180,
|
||||
TurretPitchRange = 45,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 90,
|
||||
TurretYawRange = 125,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = false,
|
||||
WeaponCategory = 'Missile',
|
||||
@@ -609,16 +672,16 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 100,
|
||||
FiringTolerance = 10,
|
||||
Label = 'LRM',
|
||||
MaxRadius = 63,
|
||||
MinRadius = 18,
|
||||
MuzzleSalvoDelay = 0,
|
||||
MuzzleSalvoDelay = 1/20,
|
||||
MuzzleSalvoSize = 20,
|
||||
MuzzleVelocity = 15,
|
||||
MuzzleVelocity = 25,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId = '/mods/Supreme Mech Commander 2/projectiles/LRMMissile/LRMMissile_proj.bp',
|
||||
ProjectileLifetime = 5,
|
||||
ProjectileLifetime = 10,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
{
|
||||
@@ -647,7 +710,7 @@ UnitBlueprint {
|
||||
RackBone = 'LRM_Barrel',
|
||||
},
|
||||
},
|
||||
RackFireTogether = true,
|
||||
RackFireTogether = false,
|
||||
RackRecoilDistance = 0,
|
||||
RackReloadTimeout = 10,
|
||||
RackSalvoChargeTime = 0,
|
||||
@@ -655,8 +718,8 @@ UnitBlueprint {
|
||||
RackSalvoSize = 1,
|
||||
RackSlavedToTurret = true,
|
||||
RangeCategory = 'UWRC_IndirectFire',
|
||||
RateOfFire = 0.1,
|
||||
TargetCheckInterval = 0.3,
|
||||
RateOfFire = 0.5,
|
||||
TargetCheckInterval = 1,
|
||||
TargetPriorities = {
|
||||
'SPECIALHIGHPRI',
|
||||
'MOBILE',
|
||||
@@ -665,18 +728,15 @@ UnitBlueprint {
|
||||
'ALLUNITS',
|
||||
},
|
||||
TargetRestrictDisallow = 'UNTARGETABLE',
|
||||
TrackingRadius = 104,
|
||||
HeadingArcCenter = 0,
|
||||
HeadingArcRange = 90,
|
||||
TurretBoneMuzzle = 'LRM20_Muzzle_01',
|
||||
TurretBonePitch = 'Torso',
|
||||
TurretBonePitch = 'LRM_Barrel',
|
||||
TurretBoneYaw = 'Torso',
|
||||
TurretDualManipulators = false,
|
||||
TurretPitch = 45,
|
||||
TurretPitchRange = 50,
|
||||
TurretPitchSpeed = 180,
|
||||
TurretPitch = 0,
|
||||
TurretPitchRange = 45,
|
||||
TurretPitchSpeed = 45,
|
||||
TurretYaw = 0,
|
||||
TurretYawRange = 90,
|
||||
TurretYawRange = 125,
|
||||
TurretYawSpeed = 90,
|
||||
Turreted = false,
|
||||
WeaponCategory = 'Missile',
|
||||
|
||||
Reference in new issue
Block a user