From c112e2aa75e973c959a0df1e4f06c107e47b68ce Mon Sep 17 00:00:00 2001 From: MrRowey Date: Thu, 16 Nov 2023 10:35:52 +0000 Subject: [PATCH 1/4] Create indivual files --- lua/seraphimprojectiles.lua | 659 ++---------------- .../seraphim/SAAHotheFlareProjectile.lua | 56 ++ .../projectiles/seraphim/SAireauBolter.lua | 37 + .../projectiles/seraphim/SAnaitTorpedo.lua | 43 ++ .../SAnjelluTorpedoDefenseProjectile.lua | 32 + .../seraphim/SBaseTempProjectile.lua | 35 + .../seraphim/SChronatronCannon.lua | 39 ++ .../seraphim/SChronatronCannonOverCharge.lua | 37 + .../seraphim/SDFAireauProjectile.lua | 37 + .../SDFExperimentalPhasonProjectile.lua | 36 + .../seraphim/SDFSinnuntheWeaponProjectile.lua | 34 + .../projectiles/seraphim/SDFSniperShot.lua | 36 + .../seraphim/SDFSniperShotNormal.lua | 35 + lua/sim/projectiles/seraphim/SEnergyLaser.lua | 27 + .../seraphim/SExperimentalStrategicBomb.lua | 29 + .../SExperimentalStrategicMissile.lua | 37 + .../seraphim/SHeavyCavitationTorpedo.lua | 43 ++ .../seraphim/SHeavyPhasicAutogun.lua | 38 + .../seraphim/SHeavyPhasicAutogun02.lua | 31 + .../seraphim/SHeavyQuarnonCannon.lua | 38 + .../projectiles/seraphim/SIFHuAntiNuke.lua | 33 + .../seraphim/SIFInainoStrategicMissile.lua | 36 + .../seraphim/SIFKhuAntiNukeSmallTendril.lua | 30 + .../seraphim/SIFKhuAntiNukeTendril.lua | 31 + .../seraphim/SIFNukeSpiralTendril.lua | 29 + .../seraphim/SIFNukeWaveTendril.lua | 29 + .../projectiles/seraphim/SIMAntiMissile01.lua | 36 + .../seraphim/SLaanseTacticalMissile.lua | 69 ++ .../seraphim/SLightChronatronCannon.lua | 39 ++ .../SLightChronatronCannonOverCharge.lua | 37 + .../seraphim/SLosaareAAAutoCannon.lua | 35 + .../seraphim/SLosaareAAAutoCannon02.lua | 31 + lua/sim/projectiles/seraphim/SOhCannon.lua | 35 + lua/sim/projectiles/seraphim/SOhCannon02.lua | 34 + .../SOhwalliStrategicBombProjectile.lua | 32 + .../seraphim/SOlarisAAArtillery.lua | 37 + .../seraphim/SOtheTacticalBomb.lua | 36 + .../projectiles/seraphim/SPhasicAutogun.lua | 35 + .../projectiles/seraphim/SShleoAACannon.lua | 47 ++ .../seraphim/SShriekerAutoCannon.lua | 37 + .../seraphim/SSuthanusArtilleryShell.lua | 38 + .../SSuthanusMobileArtilleryShell.lua | 39 ++ lua/sim/projectiles/seraphim/STauCannon.lua | 37 + .../seraphim/SThunthoArtilleryShell.lua | 37 + .../seraphim/SThunthoArtilleryShell2.lua | 36 + .../seraphim/SUallCavitationTorpedo.lua | 40 ++ .../seraphim/SZhanaseeBombProjectile.lua | 35 + .../seraphim/SZthuthaamArtilleryShell.lua | 37 + 48 files changed, 1781 insertions(+), 605 deletions(-) create mode 100644 lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SAireauBolter.lua create mode 100644 lua/sim/projectiles/seraphim/SAnaitTorpedo.lua create mode 100644 lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SBaseTempProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SChronatronCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua create mode 100644 lua/sim/projectiles/seraphim/SDFAireauProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SDFSniperShot.lua create mode 100644 lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua create mode 100644 lua/sim/projectiles/seraphim/SEnergyLaser.lua create mode 100644 lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua create mode 100644 lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua create mode 100644 lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua create mode 100644 lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua create mode 100644 lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua create mode 100644 lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua create mode 100644 lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua create mode 100644 lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua create mode 100644 lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua create mode 100644 lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua create mode 100644 lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua create mode 100644 lua/sim/projectiles/seraphim/SIMAntiMissile01.lua create mode 100644 lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua create mode 100644 lua/sim/projectiles/seraphim/SLightChronatronCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua create mode 100644 lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua create mode 100644 lua/sim/projectiles/seraphim/SOhCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SOhCannon02.lua create mode 100644 lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua create mode 100644 lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua create mode 100644 lua/sim/projectiles/seraphim/SPhasicAutogun.lua create mode 100644 lua/sim/projectiles/seraphim/SShleoAACannon.lua create mode 100644 lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua create mode 100644 lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua create mode 100644 lua/sim/projectiles/seraphim/STauCannon.lua create mode 100644 lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua create mode 100644 lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua create mode 100644 lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua create mode 100644 lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua create mode 100644 lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua diff --git a/lua/seraphimprojectiles.lua b/lua/seraphimprojectiles.lua index 2060e9fddb..1bed334a84 100644 --- a/lua/seraphimprojectiles.lua +++ b/lua/seraphimprojectiles.lua @@ -5,614 +5,63 @@ -- Copyright © 2007 Gas Powered Games, Inc. All rights reserved. ------------------------------------------------------------ +--- Projectile Files +SIFHuAntiNuke = import('/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua').SIFHuAntiNuke +SIFKhuAntiNukeTendril = import('/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua').SIFKhuAntiNukeTendril +SIFKhuAntiNukeSmallTendril = import('/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua').SIFKhuAntiNukeSmallTendril +SBaseTempProjectile = import('/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua').SBaseTempProjectile +SChronatronCannon = import('/lua/sim/projectiles/seraphim/SChronatronCannon.lua').SChronatronCannon +SChronatronCannonOverCharge = import('/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua').SChronatronCannonOverCharge +SLightChronatronCannon = import('/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua').SLightChronatronCannon +SLightChronatronCannonOverCharge = import('/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua').SLightChronatronCannonOverCharge +SPhasicAutogun = import('/lua/sim/projectiles/seraphim/SPhasicAutogun.lua').SPhasicAutogun +SHeavyPhasicAutogun = import('/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua').SHeavyPhasicAutogun +SHeavyPhasicAutogun02 = import('/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua').SHeavyPhasicAutogun02 +SOhCannon = import('/lua/sim/projectiles/seraphim/SOhCannon.lua').SOhCannon +SOhCannon02 = import('/lua/sim/projectiles/seraphim/SOhCannon02.lua').SOhCannon02 +SShriekerAutoCannon = import('/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua').SShriekerAutoCannon +SAireauBolter = import('/lua/sim/projectiles/seraphim/SAireauBolter.lua').SAireauBolter +STauCannon = import('/lua/sim/projectiles/seraphim/STauCannon.lua').STauCannon +SHeavyQuarnonCannon = import('/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua').SHeavyQuarnonCannon +SLaanseTacticalMissile = import('/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua').SLaanseTacticalMissile +SZthuthaamArtilleryShell = import('/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua').SZthuthaamArtilleryShell +SSuthanusArtilleryShell = import('/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua').SSuthanusArtilleryShell +SSuthanusMobileArtilleryShell = import('/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua').SSuthanusMobileArtilleryShell +SThunthoArtilleryShell = import('/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua').SThunthoArtilleryShell +SThunthoArtilleryShell2 = import('/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua').SThunthoArtilleryShell2 +SShleoAACannon = import('/lua/sim/projectiles/seraphim/SShleoAACannon.lua').SShleoAACannon +SOlarisAAArtillery = import('/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua').SOlarisAAArtillery +SLosaareAAAutoCannon = import('/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua').SLosaareAAAutoCannon +SLosaareAAAutoCannon02 = import('/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua').SLosaareAAAutoCannon02 +SOtheTacticalBomb = import('/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua').SOtheTacticalBomb +SAnaitTorpedo = import('/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua').SAnaitTorpedo +SHeavyCavitationTorpedo = import('/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua').SHeavyCavitationTorpedo +SUallCavitationTorpedo = import('/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua').SUallCavitationTorpedo +SIFInainoStrategicMissile = import('/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua').SIFInainoStrategicMissile +SExperimentalStrategicMissile = import('/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua').SExperimentalStrategicMissile +SIMAntiMissile01 = import('/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua').SIMAntiMissile01 +SExperimentalStrategicBomb = import('/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua').SExperimentalStrategicBomb +SIFNukeWaveTendril = import('/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua').SIFNukeWaveTendril +SIFNukeSpiralTendril = import('/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua').SIFNukeSpiralTendril +SEnergyLaser = import('/lua/sim/projectiles/seraphim/SEnergyLaser.lua').SEnergyLaser +SZhanaseeBombProjectile = import('/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua').SZhanaseeBombProjectile +SAAHotheFlareProjectile = import('/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua').SAAHotheFlareProjectile +SOhwalliStrategicBombProjectile = import('/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua').SOhwalliStrategicBombProjectile +SAnjelluTorpedoDefenseProjectile = import('/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua').SAnjelluTorpedoDefenseProjectile +SDFSniperShotNormal = import('/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua').SDFSniperShotNormal +SDFSniperShot = import('/lua/sim/projectiles/seraphim/SDFSniperShot.lua').SDFSniperShot +SDFExperimentalPhasonProjectile = import('/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua').SDFExperimentalPhasonProjectile +SDFSinnuntheWeaponProjectile = import('/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua').SDFSinnuntheWeaponProjectile +SDFAireauProjectile = import('/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua').SDFAireauProjectile + +-- kept for mod backwards compatibility local DefaultProjectileFile = import("/lua/sim/defaultprojectiles.lua") +local util = import("/lua/utilities.lua") +local SingleBeamProjectile = DefaultProjectileFile.SingleBeamProjectile +local RandomFloat = import("/lua/utilities.lua").GetRandomFloat local SinglePolyTrailProjectile = DefaultProjectileFile.SinglePolyTrailProjectile local MultiPolyTrailProjectile = DefaultProjectileFile.MultiPolyTrailProjectile local EffectTemplate = import("/lua/effecttemplates.lua") local EmitterProjectile = DefaultProjectileFile.EmitterProjectile -local util = import("/lua/utilities.lua") local RandomInt = util.GetRandomInt -local NukeProjectile = DefaultProjectileFile.NukeProjectile - ---- SERAPHIM ANTI-NUKE PROJECTILES ----@class SIFHuAntiNuke : SinglePolyTrailProjectile -SIFHuAntiNuke = ClassProjectile(SinglePolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - PolyTrail = EffectTemplate.SKhuAntiNukePolyTrail, - FxTrails = EffectTemplate.SKhuAntiNukeFxTrails, - FxImpactProjectile = EffectTemplate.SKhuAntiNukeHit, -} - ---- SERAPHIM ANTI-NUKE PROJECTILES ----@class SIFKhuAntiNukeTendril : EmitterProjectile -SIFKhuAntiNukeTendril = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, - FxTrails = EffectTemplate.SKhuAntiNukeHitTendrilFxTrails, -} - ----@class SIFKhuAntiNukeSmallTendril : EmitterProjectile -SIFKhuAntiNukeSmallTendril = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, - FxTrails = EffectTemplate.SKhuAntiNukeHitSmallTendrilFxTrails, -} - ---- TEMPORARY BASE SERAPHIM PROJECTILE ----@class SBaseTempProjectile : EmitterProjectile -SBaseTempProjectile = ClassProjectile(EmitterProjectile) { - FxImpactLand = EffectTemplate.AMissileHit01, - FxImpactNone = EffectTemplate.AMissileHit01, - FxImpactProjectile = EffectTemplate.ASaintImpact01, - FxImpactProp = EffectTemplate.AMissileHit01, - FxImpactUnit = EffectTemplate.AMissileHit01, - FxTrails = EffectTemplate.SShleoCannonProjectileTrails, -} - ---- SERAPHIM CHRONATRON CANNONS ----@class SChronatronCannon : MultiPolyTrailProjectile -SChronatronCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SChronotronCannonLandHit, - FxImpactNone = EffectTemplate.SChronotronCannonHit, - FxImpactProp = EffectTemplate.SChronotronCannonLandHit, - FxImpactUnit = EffectTemplate.SChronotronCannonUnitHit, - FxImpactWater = EffectTemplate.SChronotronCannonLandHit, - FxImpactUnderWater = EffectTemplate.SChronotronCannonHit, - FxTrails = EffectTemplate.SChronotronCannonProjectileFxTrails, - PolyTrails = EffectTemplate.SChronotronCannonProjectileTrails, - PolyTrailOffset = { 0, 0, 0 }, -} - ---- SERAPHIM CHRONATRON CANNONS ----@class SChronatronCannonOverCharge : MultiPolyTrailProjectile -SChronatronCannonOverCharge = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SChronotronCannonOverChargeLandHit, - FxImpactNone = EffectTemplate.SChronotronCannonOverChargeLandHit, - FxImpactProp = EffectTemplate.SChronotronCannonOverChargeLandHit, - FxImpactUnit = EffectTemplate.SChronotronCannonOverChargeUnitHit, - FxTrails = EffectTemplate.SChronotronCannonOverChargeProjectileFxTrails, - PolyTrails = EffectTemplate.SChronotronCannonOverChargeProjectileTrails, - PolyTrailOffset = { 0, 0, 0 }, -} - ---- SACU ----@class SLightChronatronCannon : MultiPolyTrailProjectile -SLightChronatronCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SLightChronotronCannonLandHit, - FxImpactNone = EffectTemplate.SLightChronotronCannonLandHit, - FxImpactProp = EffectTemplate.SLightChronotronCannonHit, - FxImpactUnit = EffectTemplate.SLightChronotronCannonUnitHit, - PolyTrails = EffectTemplate.SLightChronotronCannonProjectileTrails, - PolyTrailOffset = { 0, 0, 0 }, - FxTrails = EffectTemplate.SLightChronotronCannonProjectileFxTrails, - FxImpactWater = EffectTemplate.SLightChronotronCannonLandHit, - FxImpactUnderWater = EffectTemplate.SLightChronotronCannonHit, -} - --- SACU ----@class SLightChronatronCannonOverCharge : MultiPolyTrailProjectile -SLightChronatronCannonOverCharge = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SLightChronotronCannonOverChargeHit, - FxImpactNone = EffectTemplate.SLightChronotronCannonOverChargeHit, - FxImpactProp = EffectTemplate.SLightChronotronCannonOverChargeHit, - FxImpactUnit = EffectTemplate.SLightChronotronCannonOverChargeHit, - PolyTrails = EffectTemplate.SLightChronotronCannonOverChargeProjectileTrails, - FxTrails = EffectTemplate.SLightChronotronCannonOverChargeProjectileFxTrails, - PolyTrailOffset = { 0, 0, 0 }, -} - ---- SERAPHIM PHASIC AUTOGUNS ----@class SPhasicAutogun : MultiPolyTrailProjectile -SPhasicAutogun = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.PhasicAutoGunHit, - FxImpactNone = EffectTemplate.PhasicAutoGunHit, - FxImpactProp = EffectTemplate.PhasicAutoGunHitUnit, - FxImpactUnit = EffectTemplate.PhasicAutoGunHitUnit, - PolyTrails = EffectTemplate.PhasicAutoGunProjectileTrail, - PolyTrailOffset = { 0, 0 }, -} - --- T2 gunship and T2 transport ----@class SHeavyPhasicAutogun : MultiPolyTrailProjectile -SHeavyPhasicAutogun = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.HeavyPhasicAutoGunHit, - FxImpactNone = EffectTemplate.HeavyPhasicAutoGunHit, - FxImpactProp = EffectTemplate.HeavyPhasicAutoGunHitUnit, - FxImpactUnit = EffectTemplate.HeavyPhasicAutoGunHitUnit, - FxImpactWater = EffectTemplate.HeavyPhasicAutoGunHit, - FxImpactUnderWater = EffectTemplate.HeavyPhasicAutoGunHitUnit, - PolyTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrail, - FxTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrailGlow, - PolyTrailOffset = { 0, 0 }, -} - --- Adjustment for XSA0203 projectile speed. : T2 gunship ----@class SHeavyPhasicAutogun02 : SHeavyPhasicAutogun -SHeavyPhasicAutogun02 = ClassProjectile(SHeavyPhasicAutogun) { - PolyTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrail02, - FxTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrailGlow02, -} - ---- SERAPHIM OH CANNONS ----@class SOhCannon : MultiPolyTrailProjectile -SOhCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.OhCannonHit, - FxImpactNone = EffectTemplate.OhCannonHit, - FxImpactProp = EffectTemplate.OhCannonHitUnit, - FxImpactUnit = EffectTemplate.OhCannonHitUnit, - PolyTrails = EffectTemplate.OhCannonProjectileTrail, - PolyTrailOffset = { 0, 0 }, -} - ----@class SOhCannon02 : MultiPolyTrailProjectile -SOhCannon02 = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.OhCannonHit, - FxImpactNone = EffectTemplate.OhCannonHit, - FxImpactProp = EffectTemplate.OhCannonHitUnit, - FxImpactUnit = EffectTemplate.OhCannonHitUnit, - PolyTrails = EffectTemplate.OhCannonProjectileTrail02, - PolyTrailOffset = { 0, 0, 0 }, -} - ---- SERAPHIM SHRIEKER AUTO-CANNONS ----@class SShriekerAutoCannon : MultiPolyTrailProjectile -SShriekerAutoCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.ShriekerCannonHit, - FxImpactNone = EffectTemplate.ShriekerCannonHit, - FxImpactProp = EffectTemplate.ShriekerCannonHit, - FxImpactUnit = EffectTemplate.ShriekerCannonHitUnit, - PolyTrails = EffectTemplate.ShriekerCannonPolyTrail, - FxImpactWater = EffectTemplate.ShriekerCannonHit, - FxImpactUnderWater = EffectTemplate.ShriekerCannonHit, - PolyTrailOffset = { 0, 0, 0 }, -} - ---- SERAPHIM AIRE-AU BOLTER ---- T2 bot (Ilshavoh) and T3 tank (Othuum) ----@class SAireauBolter : MultiPolyTrailProjectile -SAireauBolter = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SAireauBolterHit, - FxImpactNone = EffectTemplate.SAireauBolterHit, - FxImpactProp = EffectTemplate.SAireauBolterHit, - FxImpactUnit = EffectTemplate.SAireauBolterHit, - FxTrails = EffectTemplate.SAireauBolterProjectileFxTrails, - PolyTrailOffset = { 0, 0, 0 }, - PolyTrails = EffectTemplate.SAireauBolterProjectilePolyTrails, -} - ---- SERAPHIM TAU CANNON ---- sera T2 hover tank and T3 tank (othuum) ----@class STauCannon : MultiPolyTrailProjectile -STauCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.STauCannonHit, - FxImpactNone = EffectTemplate.STauCannonHit, - FxImpactProp = EffectTemplate.STauCannonHit, - FxImpactUnit = EffectTemplate.STauCannonHit, - FxTrails = EffectTemplate.STauCannonProjectileTrails, - PolyTrailOffset = { 0, 0 }, - PolyTrails = EffectTemplate.STauCannonProjectilePolyTrails, -} - ---- SERAPHIM HEAVY QUARNON CANNON ---- Battleship ----@class SHeavyQuarnonCannon : MultiPolyTrailProjectile -SHeavyQuarnonCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SHeavyQuarnonCannonLandHit, - FxImpactNone = EffectTemplate.SHeavyQuarnonCannonHit, - FxImpactProp = EffectTemplate.SHeavyQuarnonCannonHit, - FxImpactUnit = EffectTemplate.SHeavyQuarnonCannonUnitHit, - PolyTrails = EffectTemplate.SHeavyQuarnonCannonProjectilePolyTrails, - PolyTrailOffset = { 0, 0, 0 }, - FxTrails = EffectTemplate.SHeavyQuarnonCannonProjectileFxTrails, - FxImpactWater = EffectTemplate.SHeavyQuarnonCannonWaterHit, -} - ---- SERAPHIM LAANSE TACTICAL MISSILE ---- ACU / SACU / TML / MML ----@class SLaanseTacticalMissile : SinglePolyTrailProjectile -SLaanseTacticalMissile = ClassProjectile(SinglePolyTrailProjectile) { - FxImpactLand = EffectTemplate.SLaanseMissleHit, - FxImpactWater = EffectTemplate.SLaanseMissleHitWater, - FxImpactProp = EffectTemplate.SLaanseMissleHitUnit, - FxImpactUnit = EffectTemplate.SLaanseMissleHitUnit, - FxImpactAirUnit = EffectTemplate.SLaanseMissleHitUnit, - - FxOnKilled = EffectTemplate.SLaanseMissleHitNone, - FxOnKilledScale = 0.6, - - FxImpactNone = EffectTemplate.SLaanseMissleHitNone, - FxNoneHitScale = 0.6, - - FxTrails = EffectTemplate.SLaanseMissleExhaust02, - PolyTrail = EffectTemplate.SLaanseMissleExhaust01, - - ---@param self SLaanseTacticalMissile - OnCreate = function(self) - SinglePolyTrailProjectile.OnCreate(self) - local blueprintPhysics = self.Blueprint.Physics - local radius = 0.105 * (blueprintPhysics.MaxSpeed + blueprintPhysics.MaxSpeedRange) - self:SetCollisionShape('Sphere', 0, 0, 0, radius) - end, - - ---@param self SLaanseTacticalMissile - ---@param instigator Unit - ---@param type string - ---@param overkillRatio number - OnKilled = function(self, instigator, type, overkillRatio) - SinglePolyTrailProjectile.OnKilled(self, instigator, type, overkillRatio) - CreateLightParticle(self, -1, self.Army, 3, 6, 'flare_lens_add_02', 'ramp_blue_13') - end, - - ---@param self SLaanseTacticalMissile - ---@param targetType string - ---@param targetEntity Prop|Unit - OnImpact = function(self, targetType, targetEntity) - SinglePolyTrailProjectile.OnImpact(self, targetType, targetEntity) - CreateLightParticle(self, -1, self.Army, 4, 4, 'flare_lens_add_02', 'ramp_blue_13') - end, -} - ---- SERAPHIM ZTHUTHAAM ARTILLERY SHELL ----@class SZthuthaamArtilleryShell : MultiPolyTrailProjectile -SZthuthaamArtilleryShell = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SZthuthaamArtilleryHit, - FxImpactWater = EffectTemplate.SZthuthaamArtilleryHit, - FxImpactNone = EffectTemplate.SZthuthaamArtilleryHit, - FxImpactProp = EffectTemplate.SZthuthaamArtilleryHit, - FxImpactUnit = EffectTemplate.SZthuthaamArtilleryUnitHit, - FxTrails = EffectTemplate.SZthuthaamArtilleryProjectileFXTrails, - PolyTrails = EffectTemplate.SZthuthaamArtilleryProjectilePolyTrails, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM SUTHANUS ARTILLERY SHELL ----@class SSuthanusArtilleryShell : EmitterProjectile -SSuthanusArtilleryShell = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SRifterArtilleryHit, - FxImpactWater = EffectTemplate.SRifterArtilleryWaterHit, - FxImpactNone = EffectTemplate.SRifterArtilleryHit, - FxImpactProp = EffectTemplate.SRifterArtilleryHit, - FxImpactUnderWater = EffectTemplate.SRifterArtilleryWaterHit, - FxImpactUnit = EffectTemplate.SRifterArtilleryHit, - FxTrails = EffectTemplate.SRifterArtilleryProjectileFxTrails, - PolyTrail = EffectTemplate.SRifterArtilleryProjectilePolyTrail, -} - ---- SERAPHIM MOBILE SUTHANUS ARTILLERY SHELL ---- This will make ist so that the projectile effects are the in the space of the world ----@class SSuthanusMobileArtilleryShell : SinglePolyTrailProjectile -SSuthanusMobileArtilleryShell = ClassProjectile(SinglePolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SRifterMobileArtilleryHit, - FxImpactWater = EffectTemplate.SRifterMobileArtilleryWaterHit, - FxImpactNone = EffectTemplate.SRifterMobileArtilleryHit, - FxImpactProp = EffectTemplate.SRifterMobileArtilleryHit, - FxImpactUnderWater = EffectTemplate.SRifterMobileArtilleryWaterHit, - FxImpactUnit = EffectTemplate.SRifterMobileArtilleryHit, - FxTrails = EffectTemplate.SRifterMobileArtilleryProjectileFxTrails, - PolyTrail = EffectTemplate.SRifterArtilleryProjectilePolyTrail, -} - ---- SERAPHIM THUNTHO ARTILLERY SHELL ----@class SThunthoArtilleryShell : MultiPolyTrailProjectile -SThunthoArtilleryShell = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SThunderStormCannonHit, - FxImpactNone = EffectTemplate.SThunderStormCannonHit, - FxImpactProp = EffectTemplate.SThunderStormCannonHit, - FxImpactUnit = EffectTemplate.SThunderStormCannonHit, - FxTrails = EffectTemplate.SThunderStormCannonProjectileTrails, - PolyTrails = EffectTemplate.SThunderStormCannonProjectilePolyTrails, - PolyTrailOffset = { 0, 0 }, -} - ----@class SThunthoArtilleryShell2 : MultiPolyTrailProjectile -SThunthoArtilleryShell2 = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactTrajectoryAligned = false, - FxImpactLand = EffectTemplate.SThunderStormCannonLandHit, - FxImpactWater= EffectTemplate.SThunderStormCannonLandHit, - FxImpactNone = EffectTemplate.SThunderStormCannonHit, - FxImpactProp = EffectTemplate.SThunderStormCannonHit, - FxImpactUnit = EffectTemplate.SThunderStormCannonUnitHit, - PolyTrails = EffectTemplate.SThunderStormCannonProjectilePolyTrails, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM SHLEO AA GATLING ROUND ----@class SShleoAACannon : EmitterProjectile -SShleoAACannon = ClassProjectile(EmitterProjectile) { - FxImpactAirUnit = EffectTemplate.SShleoCannonUnitHit, - FxImpactLand = EffectTemplate.SShleoCannonLandHit, - FxImpactWater = EffectTemplate.SShleoCannonLandHit, - FxImpactNone = EffectTemplate.SShleoCannonHit, - FxImpactProp = EffectTemplate.SShleoCannonHit, - FxImpactUnit = EffectTemplate.SShleoCannonUnitHit, - PolyTrails = EffectTemplate.SShleoCannonProjectilePolyTrails, - - ---@param self SShleoAACannon - OnCreate = function(self) - EmitterProjectile.OnCreate(self) - local PolytrailGroup = self.PolyTrails[RandomInt(1,table.getn(self.PolyTrails))] - for k, v in PolytrailGroup do - CreateTrail(self, -1, self.Army, v) - end - end, -} - ---- SERAPHIM OLARIS AA ARTILLERY ----@class SOlarisAAArtillery : MultiPolyTrailProjectile -SOlarisAAArtillery = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactAirUnit = EffectTemplate.SOlarisCannonHit, - FxImpactLand = EffectTemplate.SOlarisCannonHit, - FxImpactNone = EffectTemplate.SOlarisCannonHit, - FxImpactProp = EffectTemplate.SOlarisCannonHit, - FxImpactUnit = EffectTemplate.SOlarisCannonHit, - FxTrails = EffectTemplate.SOlarisCannonTrails, - PolyTrails = EffectTemplate.SOlarisCannonProjectilePolyTrail, - PolyTrailOffset = { 0, 0 } -} - ---- SERAPHIM LOSAARE AA CANNON ----@class SLosaareAAAutoCannon : MultiPolyTrailProjectile -SLosaareAAAutoCannon = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SLosaareAutoCannonHit, - FxImpactNone= EffectTemplate.SLosaareAutoCannonHit, - FxImpactProp = EffectTemplate.SLosaareAutoCannonHit, - FxImpactAirUnit = EffectTemplate.SLosaareAutoCannonHit, - PolyTrails = EffectTemplate.SLosaareAutoCannonProjectileTrail, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM LOSAARE AA CANNON (XSS0303 / XSS0304 ADJUSTMENTS) ----@class SLosaareAAAutoCannon02 : SLosaareAAAutoCannon -SLosaareAAAutoCannon02 = ClassProjectile(SLosaareAAAutoCannon) { - PolyTrails = EffectTemplate.SLosaareAutoCannonProjectileTrail02, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM OTHE TACTICAL BOMB ----@class SOtheTacticalBomb : SinglePolyTrailProjectile -SOtheTacticalBomb= ClassProjectile(SinglePolyTrailProjectile) { - FxImpactLand = EffectTemplate.SOtheBombHit, - FxImpactNone = EffectTemplate.SOtheBombHit, - FxImpactProp = EffectTemplate.SOtheBombHitUnit, - FxImpactUnderWater = EffectTemplate.SOtheBombHit, - FxImpactUnit = EffectTemplate.SOtheBombHitUnit, - FxTrails = EffectTemplate.SOtheBombFxTrails, - PolyTrail = EffectTemplate.SOtheBombPolyTrail, -} - ---- SERAPHIM ANA-IT TORPEDO ----@class SAnaitTorpedo : MultiPolyTrailProjectile -SAnaitTorpedo = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactUnderWater = EffectTemplate.SAnaitTorpedoHit, - FxUnderWaterHitScale = 1, - FxImpactUnit = EffectTemplate.SAnaitTorpedoHit, - FxImpactNone = EffectTemplate.SAnaitTorpedoHit, - FxTrails = EffectTemplate.SAnaitTorpedoFxTrails, - PolyTrails = EffectTemplate.SAnaitTorpedoPolyTrails, - PolyTrailOffset = { 0, 0 }, - - ---@param self SAnaitTorpedo - ---@param inWater boolean - OnCreate = function(self, inWater) - self:SetCollisionShape('Sphere', 0, 0, 0, 1.0) - MultiPolyTrailProjectile.OnCreate(self, inWater) - end, -} - ---- SERAPHIM HEAVY CAVITATION TORPEDO ----@class SHeavyCavitationTorpedo : MultiPolyTrailProjectile -SHeavyCavitationTorpedo = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SHeavyCavitationTorpedoHit, - FxImpactNone = EffectTemplate.SHeavyCavitationTorpedoHit, - FxImpactProp = EffectTemplate.SHeavyCavitationTorpedoHit, - FxImpactUnderWater = EffectTemplate.SHeavyCavitationTorpedoHit, - FxImpactUnit = EffectTemplate.SHeavyCavitationTorpedoHit, - PolyTrails = EffectTemplate.SHeavyCavitationTorpedoPolyTrails, - PolyTrailOffset = { 0, 0 }, - - ---@param self SAnaitTorpedo - ---@param inWater boolean - OnCreate = function(self, inWater) - self:SetCollisionShape('Sphere', 0, 0, 0, 1.0) - MultiPolyTrailProjectile.OnCreate(self, inWater) - end, -} - ---- SERAPHIM UALL CAVITATION TORPEDO (SUB LAUNCHED TORPEDO) ----@class SUallCavitationTorpedo : SinglePolyTrailProjectile -SUallCavitationTorpedo = ClassProjectile(SinglePolyTrailProjectile) { - FxImpactUnderWater = EffectTemplate.SUallTorpedoHit, - FxUnderWaterHitScale = 1, - FxTrails = EffectTemplate.SUallTorpedoFxTrails, - PolyTrail = EffectTemplate.SUallTorpedoPolyTrail, - - ---@param self SAnaitTorpedo - ---@param inWater boolean - OnCreate = function(self, inWater) - self:SetCollisionShape('Sphere', 0, 0, 0, 1.0) - SinglePolyTrailProjectile.OnCreate(self, inWater) - end, -} - ---- SERAPHIM Inaino STRATEGIC MISSILE ----@class SIFInainoStrategicMissile : NukeProjectile, EmitterProjectile -SIFInainoStrategicMissile = ClassProjectile(NukeProjectile, EmitterProjectile) { - ExitWaterTicks = 9, - FxExitWaterEmitter = EffectTemplate.DefaultProjectileWaterImpact, - FxSplashScale = 0.65, - FxTrailOffset = -0.5, - FxTrails = {'/effects/emitters/missile_cruise_munition_trail_01_emit.bp',}, - FxUnderWaterTrail = {'/effects/emitters/missile_cruise_munition_underwater_trail_01_emit.bp',}, -} - ---- SERAPHIM EXPERIMENTAL STRATEGIC MISSILE ----@class SExperimentalStrategicMissile : NukeProjectile, MultiPolyTrailProjectile -SExperimentalStrategicMissile = ClassProjectile(NukeProjectile, MultiPolyTrailProjectile) { - ExitWaterTicks = 9, - FxExitWaterEmitter = EffectTemplate.DefaultProjectileWaterImpact, - FxSplashScale = 0.65, - FxTrails = EffectTemplate.SIFExperimentalStrategicMissileFXTrails, - PolyTrails = EffectTemplate.SIFExperimentalStrategicMissilePolyTrails, - PolyTrailOffset = { 0, 0, 0 }, - FxUnderWaterTrail = {'/effects/emitters/missile_cruise_munition_underwater_trail_01_emit.bp',}, -} - ---- SERAPHIM ELECTRUM TACTICAL MISSILE DEFENSE ----@class SIMAntiMissile01 : MultiPolyTrailProjectile -SIMAntiMissile01 = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SElectrumMissleDefenseHit, - FxImpactNone= EffectTemplate.SElectrumMissleDefenseHit, - FxImpactProjectile = EffectTemplate.SElectrumMissleDefenseHit, - FxImpactProp = EffectTemplate.SElectrumMissleDefenseHit, - FxImpactUnit = EffectTemplate.SElectrumMissleDefenseHit, - PolyTrails = EffectTemplate.SElectrumMissleDefenseProjectilePolyTrail, - PolyTrailOffset = { 0, 0 }, -} - ---- INAINO EXPERIMENTAL STRATEGIC BOMB ----@class SExperimentalStrategicBomb : SBaseTempProjectile -SExperimentalStrategicBomb = ClassProjectile(SBaseTempProjectile) { - FxImpactTrajectoryAligned = false, -} - ---- INAINO EXPERIMENTAL STRATEGIC BOMB ----@class SIFNukeWaveTendril : EmitterProjectile -SIFNukeWaveTendril = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, -} - ---- INAINO EXPERIMENTAL STRATEGIC BOMB ----@class SIFNukeSpiralTendril : EmitterProjectile -SIFNukeSpiralTendril = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, -} - ---- ENERGY BEING 'LASER' PROJECTILE WEAPON ----@class SEnergyLaser : SBaseTempProjectile -SEnergyLaser = ClassProjectile(SBaseTempProjectile) {} - ---- T3 BOMBER BOMB WEAPON ----@class SZhanaseeBombProjectile : EmitterProjectile -SZhanaseeBombProjectile = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, - FxTrails = EffectTemplate.SZhanaseeBombFxTrails01, - FxImpactUnit = EffectTemplate.SZhanaseeBombHit01, - FxImpactProp = EffectTemplate.SZhanaseeBombHit01, - FxImpactAirUnit = EffectTemplate.SZhanaseeBombHit01, - FxImpactLand = EffectTemplate.SZhanaseeBombHit01, -} - ---- HOTHE DECOY FLARE PROJECTILE ----@class SAAHotheFlareProjectile : EmitterProjectile -SAAHotheFlareProjectile = ClassProjectile(EmitterProjectile) { - FxTrails = EffectTemplate.AAntiMissileFlare, - FxImpactNone = EffectTemplate.AAntiMissileFlareHit, - FxImpactProjectile = EffectTemplate.AAntiMissileFlareHit, - FxOnKilled = EffectTemplate.AAntiMissileFlareHit, - FxUnitHitScale = 0.4, - FxLandHitScale = 0.4, - FxWaterHitScale = 0.4, - FxUnderWaterHitScale = 0.4, - FxAirUnitHitScale = 0.4, - FxNoneHitScale = 0.4, - DestroyOnImpact = false, - - --- We only destroy when we hit the ground/water. - ---@param self SAAHotheFlareProjectile - ---@param TargetType ImpactType - ---@param targetEntity Unit | Prop - OnImpact = function(self, TargetType, targetEntity) - if type == 'Terrain' or type == 'Water' then - EmitterProjectile.OnImpact(self, TargetType, targetEntity) - if TargetType == 'Terrain' or TargetType == 'Water' or TargetType == 'Prop' then - if self.Trash then - self.Trash:Destroy() - end - self:Destroy() - end - end - end, -} - ---- SERAPHIM OHWALLI STRATEGIC BOMB PROJECTILE ----@class SOhwalliStrategicBombProjectile : MultiPolyTrailProjectile -SOhwalliStrategicBombProjectile = ClassProjectile(MultiPolyTrailProjectile) { - FxTrails = EffectTemplate.SOhwalliBombFxTrails01, - PolyTrails = EffectTemplate.SOhwalliBombPolyTrails, - PolyTrailOffset = { 0, 0 }, -} - ---- ANJELLU TORPEDO DEFENSE PROJECTILE ----@class SAnjelluTorpedoDefenseProjectile : MultiPolyTrailProjectile -SAnjelluTorpedoDefenseProjectile = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactProjectileUnderWater = EffectTemplate.SDFAjelluAntiTorpedoHit01, - PolyTrails = EffectTemplate.SDFAjelluAntiTorpedoPolyTrail01, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM SNIPER ENERGY RIFLE ----@class SDFSniperShotNormal : MultiPolyTrailProjectile -SDFSniperShotNormal = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SDFSniperShotNormalHit, - FxImpactNone = EffectTemplate.SDFSniperShotNormalHit, - FxImpactProp = EffectTemplate.SDFSniperShotNormalHitUnit, - FxImpactUnit = EffectTemplate.SDFSniperShotNormalHitUnit, - PolyTrails = EffectTemplate.SDFSniperShotNormalPolytrail, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM SNIPER ENERGY RIFLE ----@class SDFSniperShot : MultiPolyTrailProjectile -SDFSniperShot = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactLand = EffectTemplate.SDFSniperShotHit, - FxImpactNone = EffectTemplate.SDFSniperShotHit, - FxImpactProp = EffectTemplate.SDFSniperShotHitUnit, - FxImpactUnit = EffectTemplate.SDFSniperShotHitUnit, - FxTrails = EffectTemplate.SDFSniperShotTrails, - PolyTrails = EffectTemplate.SDFSniperShotPolytrail, - PolyTrailOffset = { 0, 0 }, -} - ---- SERAPHIM EXPERIMENTAL PHASON BEAM PROJECTILE ---- ythotha ----@class SDFExperimentalPhasonProjectile : EmitterProjectile -SDFExperimentalPhasonProjectile = ClassProjectile(EmitterProjectile) { - FxImpactTrajectoryAligned = false, - FxTrails = EffectTemplate.SDFExperimentalPhasonProjFXTrails01, - FxImpactUnit = EffectTemplate.SDFExperimentalPhasonProjHitUnit, - FxImpactProp = EffectTemplate.SDFExperimentalPhasonProjHit01, - FxImpactLand = EffectTemplate.SDFExperimentalPhasonProjHit01, - FxImpactWater = EffectTemplate.SDFExperimentalPhasonProjHit01, -} - ---- ythotha ----@class SDFSinnuntheWeaponProjectile : EmitterProjectile -SDFSinnuntheWeaponProjectile = ClassProjectile(EmitterProjectile) { - FxTrails = EffectTemplate.SDFSinnutheWeaponFXTrails01, - FxImpactUnit = EffectTemplate.SDFSinnutheWeaponHitUnit, - FxImpactProp = EffectTemplate.SDFSinnutheWeaponHit, - FxImpactLand = EffectTemplate.SDFSinnutheWeaponHit, - FxImpactWater = EffectTemplate.SDFSinnutheWeaponHit, -} - ---- ythotha ----@class SDFAireauProjectile : MultiPolyTrailProjectile -SDFAireauProjectile = ClassProjectile(MultiPolyTrailProjectile) { - FxImpactNone = EffectTemplate.SDFAireauWeaponHit01, - FxImpactUnit = EffectTemplate.SDFAireauWeaponHitUnit, - FxImpactProp = EffectTemplate.SDFAireauWeaponHit01, - FxImpactLand = EffectTemplate.SDFAireauWeaponHit01, - FxImpactWater= EffectTemplate.SDFAireauWeaponHit01, - RandomPolyTrails = 1, - PolyTrails = EffectTemplate.SDFAireauWeaponPolytrails01, - PolyTrailOffset = { 0, 0, 0 }, -} - --- kept for mod backwards compatibility -local SingleBeamProjectile = DefaultProjectileFile.SingleBeamProjectile -local RandomFloat = import("/lua/utilities.lua").GetRandomFloat \ No newline at end of file +local NukeProjectile = DefaultProjectileFile.NukeProjectile \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua b/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua new file mode 100644 index 0000000000..d612949a0a --- /dev/null +++ b/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua @@ -0,0 +1,56 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- HOTHE DECOY FLARE PROJECTILE +---@class SAAHotheFlareProjectile : EmitterProjectile +SAAHotheFlareProjectile = ClassProjectile(EmitterProjectile) { + FxTrails = EffectTemplate.AAntiMissileFlare, + FxImpactNone = EffectTemplate.AAntiMissileFlareHit, + FxImpactProjectile = EffectTemplate.AAntiMissileFlareHit, + FxOnKilled = EffectTemplate.AAntiMissileFlareHit, + FxUnitHitScale = 0.4, + FxLandHitScale = 0.4, + FxWaterHitScale = 0.4, + FxUnderWaterHitScale = 0.4, + FxAirUnitHitScale = 0.4, + FxNoneHitScale = 0.4, + DestroyOnImpact = false, + + --- We only destroy when we hit the ground/water. + ---@param self SAAHotheFlareProjectile + ---@param TargetType ImpactType + ---@param targetEntity Unit | Prop + OnImpact = function(self, TargetType, targetEntity) + if type == 'Terrain' or type == 'Water' then + EmitterProjectile.OnImpact(self, TargetType, targetEntity) + if TargetType == 'Terrain' or TargetType == 'Water' or TargetType == 'Prop' then + if self.Trash then + self.Trash:Destroy() + end + self:Destroy() + end + end + end, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SAireauBolter.lua b/lua/sim/projectiles/seraphim/SAireauBolter.lua new file mode 100644 index 0000000000..b8eae02d68 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SAireauBolter.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM AIRE-AU BOLTER +--- T2 bot (Ilshavoh) and T3 tank (Othuum) +---@class SAireauBolter : MultiPolyTrailProjectile +SAireauBolter = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SAireauBolterHit, + FxImpactNone = EffectTemplate.SAireauBolterHit, + FxImpactProp = EffectTemplate.SAireauBolterHit, + FxImpactUnit = EffectTemplate.SAireauBolterHit, + FxTrails = EffectTemplate.SAireauBolterProjectileFxTrails, + PolyTrailOffset = { 0, 0, 0 }, + PolyTrails = EffectTemplate.SAireauBolterProjectilePolyTrails, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua b/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua new file mode 100644 index 0000000000..3cd93245b5 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua @@ -0,0 +1,43 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM ANA-IT TORPEDO +---@class SAnaitTorpedo : MultiPolyTrailProjectile +SAnaitTorpedo = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactUnderWater = EffectTemplate.SAnaitTorpedoHit, + FxUnderWaterHitScale = 1, + FxImpactUnit = EffectTemplate.SAnaitTorpedoHit, + FxImpactNone = EffectTemplate.SAnaitTorpedoHit, + FxTrails = EffectTemplate.SAnaitTorpedoFxTrails, + PolyTrails = EffectTemplate.SAnaitTorpedoPolyTrails, + PolyTrailOffset = { 0, 0 }, + + ---@param self SAnaitTorpedo + ---@param inWater boolean + OnCreate = function(self, inWater) + self:SetCollisionShape('Sphere', 0, 0, 0, 1.0) + MultiPolyTrailProjectile.OnCreate(self, inWater) + end, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua b/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua new file mode 100644 index 0000000000..197f05f7d9 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua @@ -0,0 +1,32 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- ANJELLU TORPEDO DEFENSE PROJECTILE +---@class SAnjelluTorpedoDefenseProjectile : MultiPolyTrailProjectile +SAnjelluTorpedoDefenseProjectile = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactProjectileUnderWater = EffectTemplate.SDFAjelluAntiTorpedoHit01, + PolyTrails = EffectTemplate.SDFAjelluAntiTorpedoPolyTrail01, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua b/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua new file mode 100644 index 0000000000..a6a714f274 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua @@ -0,0 +1,35 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- TEMPORARY BASE SERAPHIM PROJECTILE +---@class SBaseTempProjectile : EmitterProjectile +SBaseTempProjectile = ClassProjectile(EmitterProjectile) { + FxImpactLand = EffectTemplate.AMissileHit01, + FxImpactNone = EffectTemplate.AMissileHit01, + FxImpactProjectile = EffectTemplate.ASaintImpact01, + FxImpactProp = EffectTemplate.AMissileHit01, + FxImpactUnit = EffectTemplate.AMissileHit01, + FxTrails = EffectTemplate.SShleoCannonProjectileTrails, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SChronatronCannon.lua b/lua/sim/projectiles/seraphim/SChronatronCannon.lua new file mode 100644 index 0000000000..dad7f4f0c2 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SChronatronCannon.lua @@ -0,0 +1,39 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM CHRONATRON CANNONS +---@class SChronatronCannon : MultiPolyTrailProjectile +SChronatronCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SChronotronCannonLandHit, + FxImpactNone = EffectTemplate.SChronotronCannonHit, + FxImpactProp = EffectTemplate.SChronotronCannonLandHit, + FxImpactUnit = EffectTemplate.SChronotronCannonUnitHit, + FxImpactWater = EffectTemplate.SChronotronCannonLandHit, + FxImpactUnderWater = EffectTemplate.SChronotronCannonHit, + FxTrails = EffectTemplate.SChronotronCannonProjectileFxTrails, + PolyTrails = EffectTemplate.SChronotronCannonProjectileTrails, + PolyTrailOffset = { 0, 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua b/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua new file mode 100644 index 0000000000..1cf2b343d0 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/MultiPolyTrailProjectile.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM CHRONATRON CANNONS +---@class SChronatronCannonOverCharge : MultiPolyTrailProjectile +SChronatronCannonOverCharge = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SChronotronCannonOverChargeLandHit, + FxImpactNone = EffectTemplate.SChronotronCannonOverChargeLandHit, + FxImpactProp = EffectTemplate.SChronotronCannonOverChargeLandHit, + FxImpactUnit = EffectTemplate.SChronotronCannonOverChargeUnitHit, + FxTrails = EffectTemplate.SChronotronCannonOverChargeProjectileFxTrails, + PolyTrails = EffectTemplate.SChronotronCannonOverChargeProjectileTrails, + PolyTrailOffset = { 0, 0, 0 }, +} diff --git a/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua b/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua new file mode 100644 index 0000000000..a6c14ef823 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- ythotha +---@class SDFAireauProjectile : MultiPolyTrailProjectile +SDFAireauProjectile = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactNone = EffectTemplate.SDFAireauWeaponHit01, + FxImpactUnit = EffectTemplate.SDFAireauWeaponHitUnit, + FxImpactProp = EffectTemplate.SDFAireauWeaponHit01, + FxImpactLand = EffectTemplate.SDFAireauWeaponHit01, + FxImpactWater= EffectTemplate.SDFAireauWeaponHit01, + RandomPolyTrails = 1, + PolyTrails = EffectTemplate.SDFAireauWeaponPolytrails01, + PolyTrailOffset = { 0, 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua b/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua new file mode 100644 index 0000000000..195acce3ff --- /dev/null +++ b/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua @@ -0,0 +1,36 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM EXPERIMENTAL PHASON BEAM PROJECTILE +--- ythotha +---@class SDFExperimentalPhasonProjectile : EmitterProjectile +SDFExperimentalPhasonProjectile = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, + FxTrails = EffectTemplate.SDFExperimentalPhasonProjFXTrails01, + FxImpactUnit = EffectTemplate.SDFExperimentalPhasonProjHitUnit, + FxImpactProp = EffectTemplate.SDFExperimentalPhasonProjHit01, + FxImpactLand = EffectTemplate.SDFExperimentalPhasonProjHit01, + FxImpactWater = EffectTemplate.SDFExperimentalPhasonProjHit01, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua b/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua new file mode 100644 index 0000000000..949d8b35e7 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua @@ -0,0 +1,34 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- ythotha +---@class SDFSinnuntheWeaponProjectile : EmitterProjectile +SDFSinnuntheWeaponProjectile = ClassProjectile(EmitterProjectile) { + FxTrails = EffectTemplate.SDFSinnutheWeaponFXTrails01, + FxImpactUnit = EffectTemplate.SDFSinnutheWeaponHitUnit, + FxImpactProp = EffectTemplate.SDFSinnutheWeaponHit, + FxImpactLand = EffectTemplate.SDFSinnutheWeaponHit, + FxImpactWater = EffectTemplate.SDFSinnutheWeaponHit, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SDFSniperShot.lua b/lua/sim/projectiles/seraphim/SDFSniperShot.lua new file mode 100644 index 0000000000..b26349fa76 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SDFSniperShot.lua @@ -0,0 +1,36 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM SNIPER ENERGY RIFLE +---@class SDFSniperShot : MultiPolyTrailProjectile +SDFSniperShot = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SDFSniperShotHit, + FxImpactNone = EffectTemplate.SDFSniperShotHit, + FxImpactProp = EffectTemplate.SDFSniperShotHitUnit, + FxImpactUnit = EffectTemplate.SDFSniperShotHitUnit, + FxTrails = EffectTemplate.SDFSniperShotTrails, + PolyTrails = EffectTemplate.SDFSniperShotPolytrail, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua b/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua new file mode 100644 index 0000000000..ca35d38ff3 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua @@ -0,0 +1,35 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM SNIPER ENERGY RIFLE +---@class SDFSniperShotNormal : MultiPolyTrailProjectile +SDFSniperShotNormal = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SDFSniperShotNormalHit, + FxImpactNone = EffectTemplate.SDFSniperShotNormalHit, + FxImpactProp = EffectTemplate.SDFSniperShotNormalHitUnit, + FxImpactUnit = EffectTemplate.SDFSniperShotNormalHitUnit, + PolyTrails = EffectTemplate.SDFSniperShotNormalPolytrail, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SEnergyLaser.lua b/lua/sim/projectiles/seraphim/SEnergyLaser.lua new file mode 100644 index 0000000000..8876ec0e8b --- /dev/null +++ b/lua/sim/projectiles/seraphim/SEnergyLaser.lua @@ -0,0 +1,27 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SBaseTempProjectile = import('/lua/seraphimprojectiles.lua').SBaseTempProjectile + +--- ENERGY BEING 'LASER' PROJECTILE WEAPON +---@class SEnergyLaser : SBaseTempProjectile +SEnergyLaser = ClassProjectile(SBaseTempProjectile) {} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua b/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua new file mode 100644 index 0000000000..668f6d2d43 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua @@ -0,0 +1,29 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SBaseTempProjectile = import('/lua/seraphimprojectiles.lua').SBaseTempProjectile + +--- INAINO EXPERIMENTAL STRATEGIC BOMB +---@class SExperimentalStrategicBomb : SBaseTempProjectile +SExperimentalStrategicBomb = ClassProjectile(SBaseTempProjectile) { + FxImpactTrajectoryAligned = false, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua b/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua new file mode 100644 index 0000000000..a99a07303b --- /dev/null +++ b/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local NukeProjectile = import('/lua/nomadprojectiles.lua').NukeProjectile +local MultiPolyTrailProjectile = import('/lua/nomadprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM EXPERIMENTAL STRATEGIC MISSILE +---@class SExperimentalStrategicMissile : NukeProjectile, MultiPolyTrailProjectile +SExperimentalStrategicMissile = ClassProjectile(NukeProjectile, MultiPolyTrailProjectile) { + ExitWaterTicks = 9, + FxExitWaterEmitter = EffectTemplate.DefaultProjectileWaterImpact, + FxSplashScale = 0.65, + FxTrails = EffectTemplate.SIFExperimentalStrategicMissileFXTrails, + PolyTrails = EffectTemplate.SIFExperimentalStrategicMissilePolyTrails, + PolyTrailOffset = { 0, 0, 0 }, + FxUnderWaterTrail = {'/effects/emitters/missile_cruise_munition_underwater_trail_01_emit.bp',}, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua b/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua new file mode 100644 index 0000000000..ee4a8bbfd1 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua @@ -0,0 +1,43 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM HEAVY CAVITATION TORPEDO +---@class SHeavyCavitationTorpedo : MultiPolyTrailProjectile +SHeavyCavitationTorpedo = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SHeavyCavitationTorpedoHit, + FxImpactNone = EffectTemplate.SHeavyCavitationTorpedoHit, + FxImpactProp = EffectTemplate.SHeavyCavitationTorpedoHit, + FxImpactUnderWater = EffectTemplate.SHeavyCavitationTorpedoHit, + FxImpactUnit = EffectTemplate.SHeavyCavitationTorpedoHit, + PolyTrails = EffectTemplate.SHeavyCavitationTorpedoPolyTrails, + PolyTrailOffset = { 0, 0 }, + + ---@param self SAnaitTorpedo + ---@param inWater boolean + OnCreate = function(self, inWater) + self:SetCollisionShape('Sphere', 0, 0, 0, 1.0) + MultiPolyTrailProjectile.OnCreate(self, inWater) + end, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua new file mode 100644 index 0000000000..c223a861a8 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua @@ -0,0 +1,38 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +-- T2 gunship and T2 transport +---@class SHeavyPhasicAutogun : MultiPolyTrailProjectile +SHeavyPhasicAutogun = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.HeavyPhasicAutoGunHit, + FxImpactNone = EffectTemplate.HeavyPhasicAutoGunHit, + FxImpactProp = EffectTemplate.HeavyPhasicAutoGunHitUnit, + FxImpactUnit = EffectTemplate.HeavyPhasicAutoGunHitUnit, + FxImpactWater = EffectTemplate.HeavyPhasicAutoGunHit, + FxImpactUnderWater = EffectTemplate.HeavyPhasicAutoGunHitUnit, + PolyTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrail, + FxTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrailGlow, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua new file mode 100644 index 0000000000..551f8f93d9 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua @@ -0,0 +1,31 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SHeavyPhasicAutogun = import('/lua/seraphimprojectiles.lua').SHeavyPhasicAutogun +local EffectTemplate = import('/lua/effecttemplates.lua') + +-- Adjustment for XSA0203 projectile speed. : T2 gunship +---@class SHeavyPhasicAutogun02 : SHeavyPhasicAutogun +SHeavyPhasicAutogun02 = ClassProjectile(SHeavyPhasicAutogun) { + PolyTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrail02, + FxTrails = EffectTemplate.HeavyPhasicAutoGunProjectileTrailGlow02, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua b/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua new file mode 100644 index 0000000000..44997221c9 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua @@ -0,0 +1,38 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM HEAVY QUARNON CANNON +--- Battleship +---@class SHeavyQuarnonCannon : MultiPolyTrailProjectile +SHeavyQuarnonCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SHeavyQuarnonCannonLandHit, + FxImpactNone = EffectTemplate.SHeavyQuarnonCannonHit, + FxImpactProp = EffectTemplate.SHeavyQuarnonCannonHit, + FxImpactUnit = EffectTemplate.SHeavyQuarnonCannonUnitHit, + PolyTrails = EffectTemplate.SHeavyQuarnonCannonProjectilePolyTrails, + PolyTrailOffset = { 0, 0, 0 }, + FxTrails = EffectTemplate.SHeavyQuarnonCannonProjectileFxTrails, + FxImpactWater = EffectTemplate.SHeavyQuarnonCannonWaterHit, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua b/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua new file mode 100644 index 0000000000..dc84f4733a --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua @@ -0,0 +1,33 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM ANTI-NUKE PROJECTILES +---@class SIFHuAntiNuke : SinglePolyTrailProjectile +SIFHuAntiNuke = ClassProjectile(SinglePolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + PolyTrail = EffectTemplate.SKhuAntiNukePolyTrail, + FxTrails = EffectTemplate.SKhuAntiNukeFxTrails, + FxImpactProjectile = EffectTemplate.SKhuAntiNukeHit, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua b/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua new file mode 100644 index 0000000000..4b94fc58d8 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua @@ -0,0 +1,36 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local NukeProjectile = import('/lua/sim/defaultprojectiles.lua').NukeProjectile +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM Inaino STRATEGIC MISSILE +---@class SIFInainoStrategicMissile : NukeProjectile, EmitterProjectile +SIFInainoStrategicMissile = ClassProjectile(NukeProjectile, EmitterProjectile) { + ExitWaterTicks = 9, + FxExitWaterEmitter = EffectTemplate.DefaultProjectileWaterImpact, + FxSplashScale = 0.65, + FxTrailOffset = -0.5, + FxTrails = {'/effects/emitters/missile_cruise_munition_trail_01_emit.bp',}, + FxUnderWaterTrail = {'/effects/emitters/missile_cruise_munition_underwater_trail_01_emit.bp',}, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua new file mode 100644 index 0000000000..884efa5189 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua @@ -0,0 +1,30 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +---@class SIFKhuAntiNukeSmallTendril : EmitterProjectile +SIFKhuAntiNukeSmallTendril = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, + FxTrails = EffectTemplate.SKhuAntiNukeHitSmallTendrilFxTrails, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua new file mode 100644 index 0000000000..2718d6cc4d --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua @@ -0,0 +1,31 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM ANTI-NUKE PROJECTILES +---@class SIFKhuAntiNukeTendril : EmitterProjectile +SIFKhuAntiNukeTendril = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, + FxTrails = EffectTemplate.SKhuAntiNukeHitTendrilFxTrails, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua b/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua new file mode 100644 index 0000000000..3680f993d2 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua @@ -0,0 +1,29 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile + +--- INAINO EXPERIMENTAL STRATEGIC BOMB +---@class SIFNukeSpiralTendril : EmitterProjectile +SIFNukeSpiralTendril = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua b/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua new file mode 100644 index 0000000000..aacaca82cc --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua @@ -0,0 +1,29 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile + +--- INAINO EXPERIMENTAL STRATEGIC BOMB +---@class SIFNukeWaveTendril : EmitterProjectile +SIFNukeWaveTendril = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua b/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua new file mode 100644 index 0000000000..bc4d26bbed --- /dev/null +++ b/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua @@ -0,0 +1,36 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM ELECTRUM TACTICAL MISSILE DEFENSE +---@class SIMAntiMissile01 : MultiPolyTrailProjectile +SIMAntiMissile01 = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SElectrumMissleDefenseHit, + FxImpactNone= EffectTemplate.SElectrumMissleDefenseHit, + FxImpactProjectile = EffectTemplate.SElectrumMissleDefenseHit, + FxImpactProp = EffectTemplate.SElectrumMissleDefenseHit, + FxImpactUnit = EffectTemplate.SElectrumMissleDefenseHit, + PolyTrails = EffectTemplate.SElectrumMissleDefenseProjectilePolyTrail, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua b/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua new file mode 100644 index 0000000000..2ac043023d --- /dev/null +++ b/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua @@ -0,0 +1,69 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM LAANSE TACTICAL MISSILE +--- ACU / SACU / TML / MML +---@class SLaanseTacticalMissile : SinglePolyTrailProjectile +SLaanseTacticalMissile = ClassProjectile(SinglePolyTrailProjectile) { + FxImpactLand = EffectTemplate.SLaanseMissleHit, + FxImpactWater = EffectTemplate.SLaanseMissleHitWater, + FxImpactProp = EffectTemplate.SLaanseMissleHitUnit, + FxImpactUnit = EffectTemplate.SLaanseMissleHitUnit, + FxImpactAirUnit = EffectTemplate.SLaanseMissleHitUnit, + + FxOnKilled = EffectTemplate.SLaanseMissleHitNone, + FxOnKilledScale = 0.6, + + FxImpactNone = EffectTemplate.SLaanseMissleHitNone, + FxNoneHitScale = 0.6, + + FxTrails = EffectTemplate.SLaanseMissleExhaust02, + PolyTrail = EffectTemplate.SLaanseMissleExhaust01, + + ---@param self SLaanseTacticalMissile + OnCreate = function(self) + SinglePolyTrailProjectile.OnCreate(self) + local blueprintPhysics = self.Blueprint.Physics + local radius = 0.105 * (blueprintPhysics.MaxSpeed + blueprintPhysics.MaxSpeedRange) + self:SetCollisionShape('Sphere', 0, 0, 0, radius) + end, + + ---@param self SLaanseTacticalMissile + ---@param instigator Unit + ---@param type string + ---@param overkillRatio number + OnKilled = function(self, instigator, type, overkillRatio) + SinglePolyTrailProjectile.OnKilled(self, instigator, type, overkillRatio) + CreateLightParticle(self, -1, self.Army, 3, 6, 'flare_lens_add_02', 'ramp_blue_13') + end, + + ---@param self SLaanseTacticalMissile + ---@param targetType string + ---@param targetEntity Prop|Unit + OnImpact = function(self, targetType, targetEntity) + SinglePolyTrailProjectile.OnImpact(self, targetType, targetEntity) + CreateLightParticle(self, -1, self.Army, 4, 4, 'flare_lens_add_02', 'ramp_blue_13') + end, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua b/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua new file mode 100644 index 0000000000..4c2d62357c --- /dev/null +++ b/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua @@ -0,0 +1,39 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SACU +---@class SLightChronatronCannon : MultiPolyTrailProjectile +SLightChronatronCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SLightChronotronCannonLandHit, + FxImpactNone = EffectTemplate.SLightChronotronCannonLandHit, + FxImpactProp = EffectTemplate.SLightChronotronCannonHit, + FxImpactUnit = EffectTemplate.SLightChronotronCannonUnitHit, + PolyTrails = EffectTemplate.SLightChronotronCannonProjectileTrails, + PolyTrailOffset = { 0, 0, 0 }, + FxTrails = EffectTemplate.SLightChronotronCannonProjectileFxTrails, + FxImpactWater = EffectTemplate.SLightChronotronCannonLandHit, + FxImpactUnderWater = EffectTemplate.SLightChronotronCannonHit, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua b/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua new file mode 100644 index 0000000000..2dc455cb1c --- /dev/null +++ b/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +-- SACU +---@class SLightChronatronCannonOverCharge : MultiPolyTrailProjectile +SLightChronatronCannonOverCharge = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SLightChronotronCannonOverChargeHit, + FxImpactNone = EffectTemplate.SLightChronotronCannonOverChargeHit, + FxImpactProp = EffectTemplate.SLightChronotronCannonOverChargeHit, + FxImpactUnit = EffectTemplate.SLightChronotronCannonOverChargeHit, + PolyTrails = EffectTemplate.SLightChronotronCannonOverChargeProjectileTrails, + FxTrails = EffectTemplate.SLightChronotronCannonOverChargeProjectileFxTrails, + PolyTrailOffset = { 0, 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua new file mode 100644 index 0000000000..07380cb862 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua @@ -0,0 +1,35 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM LOSAARE AA CANNON +---@class SLosaareAAAutoCannon : MultiPolyTrailProjectile +SLosaareAAAutoCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SLosaareAutoCannonHit, + FxImpactNone= EffectTemplate.SLosaareAutoCannonHit, + FxImpactProp = EffectTemplate.SLosaareAutoCannonHit, + FxImpactAirUnit = EffectTemplate.SLosaareAutoCannonHit, + PolyTrails = EffectTemplate.SLosaareAutoCannonProjectileTrail, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua new file mode 100644 index 0000000000..2221fa0651 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua @@ -0,0 +1,31 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SLosaareAAAutoCannon = import('/lua/seraphimprojectiles.lua').SLosaareAAAutoCannon +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM LOSAARE AA CANNON (XSS0303 / XSS0304 ADJUSTMENTS) +---@class SLosaareAAAutoCannon02 : SLosaareAAAutoCannon +SLosaareAAAutoCannon02 = ClassProjectile(SLosaareAAAutoCannon) { + PolyTrails = EffectTemplate.SLosaareAutoCannonProjectileTrail02, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SOhCannon.lua b/lua/sim/projectiles/seraphim/SOhCannon.lua new file mode 100644 index 0000000000..1b62271ae2 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SOhCannon.lua @@ -0,0 +1,35 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM OH CANNONS +---@class SOhCannon : MultiPolyTrailProjectile +SOhCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.OhCannonHit, + FxImpactNone = EffectTemplate.OhCannonHit, + FxImpactProp = EffectTemplate.OhCannonHitUnit, + FxImpactUnit = EffectTemplate.OhCannonHitUnit, + PolyTrails = EffectTemplate.OhCannonProjectileTrail, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SOhCannon02.lua b/lua/sim/projectiles/seraphim/SOhCannon02.lua new file mode 100644 index 0000000000..cf150b4c75 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SOhCannon02.lua @@ -0,0 +1,34 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +---@class SOhCannon02 : MultiPolyTrailProjectile +SOhCannon02 = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.OhCannonHit, + FxImpactNone = EffectTemplate.OhCannonHit, + FxImpactProp = EffectTemplate.OhCannonHitUnit, + FxImpactUnit = EffectTemplate.OhCannonHitUnit, + PolyTrails = EffectTemplate.OhCannonProjectileTrail02, + PolyTrailOffset = { 0, 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua b/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua new file mode 100644 index 0000000000..190c07d161 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua @@ -0,0 +1,32 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM OHWALLI STRATEGIC BOMB PROJECTILE +---@class SOhwalliStrategicBombProjectile : MultiPolyTrailProjectile +SOhwalliStrategicBombProjectile = ClassProjectile(MultiPolyTrailProjectile) { + FxTrails = EffectTemplate.SOhwalliBombFxTrails01, + PolyTrails = EffectTemplate.SOhwalliBombPolyTrails, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua b/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua new file mode 100644 index 0000000000..fac052037f --- /dev/null +++ b/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM OLARIS AA ARTILLERY +---@class SOlarisAAArtillery : MultiPolyTrailProjectile +SOlarisAAArtillery = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactAirUnit = EffectTemplate.SOlarisCannonHit, + FxImpactLand = EffectTemplate.SOlarisCannonHit, + FxImpactNone = EffectTemplate.SOlarisCannonHit, + FxImpactProp = EffectTemplate.SOlarisCannonHit, + FxImpactUnit = EffectTemplate.SOlarisCannonHit, + FxTrails = EffectTemplate.SOlarisCannonTrails, + PolyTrails = EffectTemplate.SOlarisCannonProjectilePolyTrail, + PolyTrailOffset = { 0, 0 } +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua b/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua new file mode 100644 index 0000000000..61a5c4427a --- /dev/null +++ b/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua @@ -0,0 +1,36 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM OTHE TACTICAL BOMB +---@class SOtheTacticalBomb : SinglePolyTrailProjectile +SOtheTacticalBomb= ClassProjectile(SinglePolyTrailProjectile) { + FxImpactLand = EffectTemplate.SOtheBombHit, + FxImpactNone = EffectTemplate.SOtheBombHit, + FxImpactProp = EffectTemplate.SOtheBombHitUnit, + FxImpactUnderWater = EffectTemplate.SOtheBombHit, + FxImpactUnit = EffectTemplate.SOtheBombHitUnit, + FxTrails = EffectTemplate.SOtheBombFxTrails, + PolyTrail = EffectTemplate.SOtheBombPolyTrail, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SPhasicAutogun.lua b/lua/sim/projectiles/seraphim/SPhasicAutogun.lua new file mode 100644 index 0000000000..a8066e8269 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SPhasicAutogun.lua @@ -0,0 +1,35 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM PHASIC AUTOGUNS +---@class SPhasicAutogun : MultiPolyTrailProjectile +SPhasicAutogun = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.PhasicAutoGunHit, + FxImpactNone = EffectTemplate.PhasicAutoGunHit, + FxImpactProp = EffectTemplate.PhasicAutoGunHitUnit, + FxImpactUnit = EffectTemplate.PhasicAutoGunHitUnit, + PolyTrails = EffectTemplate.PhasicAutoGunProjectileTrail, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SShleoAACannon.lua b/lua/sim/projectiles/seraphim/SShleoAACannon.lua new file mode 100644 index 0000000000..a72f1ae7b8 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SShleoAACannon.lua @@ -0,0 +1,47 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +local RandomInt = import("/lua/utilities.lua").GetRandomInt + +--- SERAPHIM SHLEO AA GATLING ROUND +---@class SShleoAACannon : EmitterProjectile +SShleoAACannon = ClassProjectile(EmitterProjectile) { + FxImpactAirUnit = EffectTemplate.SShleoCannonUnitHit, + FxImpactLand = EffectTemplate.SShleoCannonLandHit, + FxImpactWater = EffectTemplate.SShleoCannonLandHit, + FxImpactNone = EffectTemplate.SShleoCannonHit, + FxImpactProp = EffectTemplate.SShleoCannonHit, + FxImpactUnit = EffectTemplate.SShleoCannonUnitHit, + PolyTrails = EffectTemplate.SShleoCannonProjectilePolyTrails, + + ---@param self SShleoAACannon + OnCreate = function(self) + EmitterProjectile.OnCreate(self) + local PolytrailGroup = self.PolyTrails[RandomInt(1,table.getn(self.PolyTrails))] + for k, v in PolytrailGroup do + CreateTrail(self, -1, self.Army, v) + end + end, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua b/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua new file mode 100644 index 0000000000..64d79bf5f6 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM SHRIEKER AUTO-CANNONS +---@class SShriekerAutoCannon : MultiPolyTrailProjectile +SShriekerAutoCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.ShriekerCannonHit, + FxImpactNone = EffectTemplate.ShriekerCannonHit, + FxImpactProp = EffectTemplate.ShriekerCannonHit, + FxImpactUnit = EffectTemplate.ShriekerCannonHitUnit, + PolyTrails = EffectTemplate.ShriekerCannonPolyTrail, + FxImpactWater = EffectTemplate.ShriekerCannonHit, + FxImpactUnderWater = EffectTemplate.ShriekerCannonHit, + PolyTrailOffset = { 0, 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua b/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua new file mode 100644 index 0000000000..16b89c97ae --- /dev/null +++ b/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua @@ -0,0 +1,38 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM SUTHANUS ARTILLERY SHELL +---@class SSuthanusArtilleryShell : EmitterProjectile +SSuthanusArtilleryShell = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SRifterArtilleryHit, + FxImpactWater = EffectTemplate.SRifterArtilleryWaterHit, + FxImpactNone = EffectTemplate.SRifterArtilleryHit, + FxImpactProp = EffectTemplate.SRifterArtilleryHit, + FxImpactUnderWater = EffectTemplate.SRifterArtilleryWaterHit, + FxImpactUnit = EffectTemplate.SRifterArtilleryHit, + FxTrails = EffectTemplate.SRifterArtilleryProjectileFxTrails, + PolyTrail = EffectTemplate.SRifterArtilleryProjectilePolyTrail, +} diff --git a/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua b/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua new file mode 100644 index 0000000000..e57e9c682e --- /dev/null +++ b/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua @@ -0,0 +1,39 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM MOBILE SUTHANUS ARTILLERY SHELL +--- This will make ist so that the projectile effects are the in the space of the world +---@class SSuthanusMobileArtilleryShell : SinglePolyTrailProjectile +SSuthanusMobileArtilleryShell = ClassProjectile(SinglePolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SRifterMobileArtilleryHit, + FxImpactWater = EffectTemplate.SRifterMobileArtilleryWaterHit, + FxImpactNone = EffectTemplate.SRifterMobileArtilleryHit, + FxImpactProp = EffectTemplate.SRifterMobileArtilleryHit, + FxImpactUnderWater = EffectTemplate.SRifterMobileArtilleryWaterHit, + FxImpactUnit = EffectTemplate.SRifterMobileArtilleryHit, + FxTrails = EffectTemplate.SRifterMobileArtilleryProjectileFxTrails, + PolyTrail = EffectTemplate.SRifterArtilleryProjectilePolyTrail, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/STauCannon.lua b/lua/sim/projectiles/seraphim/STauCannon.lua new file mode 100644 index 0000000000..dcd4c4154f --- /dev/null +++ b/lua/sim/projectiles/seraphim/STauCannon.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM TAU CANNON +--- sera T2 hover tank and T3 tank (othuum) +---@class STauCannon : MultiPolyTrailProjectile +STauCannon = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.STauCannonHit, + FxImpactNone = EffectTemplate.STauCannonHit, + FxImpactProp = EffectTemplate.STauCannonHit, + FxImpactUnit = EffectTemplate.STauCannonHit, + FxTrails = EffectTemplate.STauCannonProjectileTrails, + PolyTrailOffset = { 0, 0 }, + PolyTrails = EffectTemplate.STauCannonProjectilePolyTrails, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua new file mode 100644 index 0000000000..2678a0c6a8 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM THUNTHO ARTILLERY SHELL +---@class SThunthoArtilleryShell : MultiPolyTrailProjectile +SThunthoArtilleryShell = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SThunderStormCannonHit, + FxImpactNone = EffectTemplate.SThunderStormCannonHit, + FxImpactProp = EffectTemplate.SThunderStormCannonHit, + FxImpactUnit = EffectTemplate.SThunderStormCannonHit, + FxTrails = EffectTemplate.SThunderStormCannonProjectileTrails, + PolyTrails = EffectTemplate.SThunderStormCannonProjectilePolyTrails, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua new file mode 100644 index 0000000000..466f86099a --- /dev/null +++ b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua @@ -0,0 +1,36 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +---@class SThunthoArtilleryShell2 : MultiPolyTrailProjectile +SThunthoArtilleryShell2 = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactTrajectoryAligned = false, + FxImpactLand = EffectTemplate.SThunderStormCannonLandHit, + FxImpactWater= EffectTemplate.SThunderStormCannonLandHit, + FxImpactNone = EffectTemplate.SThunderStormCannonHit, + FxImpactProp = EffectTemplate.SThunderStormCannonHit, + FxImpactUnit = EffectTemplate.SThunderStormCannonUnitHit, + PolyTrails = EffectTemplate.SThunderStormCannonProjectilePolyTrails, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua b/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua new file mode 100644 index 0000000000..e31f7f7d68 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua @@ -0,0 +1,40 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM UALL CAVITATION TORPEDO (SUB LAUNCHED TORPEDO) +---@class SUallCavitationTorpedo : SinglePolyTrailProjectile +SUallCavitationTorpedo = ClassProjectile(SinglePolyTrailProjectile) { + FxImpactUnderWater = EffectTemplate.SUallTorpedoHit, + FxUnderWaterHitScale = 1, + FxTrails = EffectTemplate.SUallTorpedoFxTrails, + PolyTrail = EffectTemplate.SUallTorpedoPolyTrail, + + ---@param self SAnaitTorpedo + ---@param inWater boolean + OnCreate = function(self, inWater) + self:SetCollisionShape('Sphere', 0, 0, 0, 1.0) + SinglePolyTrailProjectile.OnCreate(self, inWater) + end, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua b/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua new file mode 100644 index 0000000000..6628672ccd --- /dev/null +++ b/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua @@ -0,0 +1,35 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- T3 BOMBER BOMB WEAPON +---@class SZhanaseeBombProjectile : EmitterProjectile +SZhanaseeBombProjectile = ClassProjectile(EmitterProjectile) { + FxImpactTrajectoryAligned = false, + FxTrails = EffectTemplate.SZhanaseeBombFxTrails01, + FxImpactUnit = EffectTemplate.SZhanaseeBombHit01, + FxImpactProp = EffectTemplate.SZhanaseeBombHit01, + FxImpactAirUnit = EffectTemplate.SZhanaseeBombHit01, + FxImpactLand = EffectTemplate.SZhanaseeBombHit01, +} \ No newline at end of file diff --git a/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua b/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua new file mode 100644 index 0000000000..6662417ae5 --- /dev/null +++ b/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua @@ -0,0 +1,37 @@ +--********************************************************************************** +--** Copyright (c) 2023 FAForever +--** +--** Permission is hereby granted, free of charge, to any person obtaining a copy +--** of this software and associated documentation files (the "Software"), to deal +--** in the Software without restriction, including without limitation the rights +--** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +--** copies of the Software, and to permit persons to whom the Software is +--** furnished to do so, subject to the following conditions: +--** +--** The above copyright notice and this permission notice shall be included in all +--** copies or substantial portions of the Software. +--** +--** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +--** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +--** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +--** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +--** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +--** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +--** SOFTWARE. +--********************************************************************************** + +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile +local EffectTemplate = import('/lua/effecttemplates.lua') + +--- SERAPHIM ZTHUTHAAM ARTILLERY SHELL +---@class SZthuthaamArtilleryShell : MultiPolyTrailProjectile +SZthuthaamArtilleryShell = ClassProjectile(MultiPolyTrailProjectile) { + FxImpactLand = EffectTemplate.SZthuthaamArtilleryHit, + FxImpactWater = EffectTemplate.SZthuthaamArtilleryHit, + FxImpactNone = EffectTemplate.SZthuthaamArtilleryHit, + FxImpactProp = EffectTemplate.SZthuthaamArtilleryHit, + FxImpactUnit = EffectTemplate.SZthuthaamArtilleryUnitHit, + FxTrails = EffectTemplate.SZthuthaamArtilleryProjectileFXTrails, + PolyTrails = EffectTemplate.SZthuthaamArtilleryProjectilePolyTrails, + PolyTrailOffset = { 0, 0 }, +} \ No newline at end of file From a39d6d9c366715e80a5eab9c3d2550feb2df16b5 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 12 Jun 2024 13:57:29 +0100 Subject: [PATCH 2/4] minor tweeks --- lua/seraphimprojectiles.lua | 77 +++++++++++-------- .../seraphim/SAAHotheFlareProjectile.lua | 42 +++++----- .../projectiles/seraphim/SAireauBolter.lua | 42 +++++----- .../projectiles/seraphim/SAnaitTorpedo.lua | 42 +++++----- .../SAnjelluTorpedoDefenseProjectile.lua | 42 +++++----- .../seraphim/SBaseTempProjectile.lua | 42 +++++----- .../seraphim/SChronatronCannon.lua | 42 +++++----- .../seraphim/SChronatronCannonOverCharge.lua | 42 +++++----- .../seraphim/SDFAireauProjectile.lua | 44 +++++------ .../SDFExperimentalPhasonProjectile.lua | 44 +++++------ .../seraphim/SDFSinnuntheWeaponProjectile.lua | 44 +++++------ .../projectiles/seraphim/SDFSniperShot.lua | 42 +++++----- .../seraphim/SDFSniperShotNormal.lua | 42 +++++----- lua/sim/projectiles/seraphim/SEnergyLaser.lua | 42 +++++----- .../seraphim/SExperimentalStrategicBomb.lua | 42 +++++----- .../SExperimentalStrategicMissile.lua | 42 +++++----- .../seraphim/SHeavyCavitationTorpedo.lua | 42 +++++----- .../seraphim/SHeavyPhasicAutogun.lua | 44 +++++------ .../seraphim/SHeavyPhasicAutogun02.lua | 42 +++++----- .../seraphim/SHeavyQuarnonCannon.lua | 42 +++++----- .../projectiles/seraphim/SIFHuAntiNuke.lua | 42 +++++----- .../seraphim/SIFInainoStrategicMissile.lua | 42 +++++----- .../seraphim/SIFKhuAntiNukeSmallTendril.lua | 42 +++++----- .../seraphim/SIFKhuAntiNukeTendril.lua | 42 +++++----- .../seraphim/SIFNukeSpiralTendril.lua | 42 +++++----- .../seraphim/SIFNukeWaveTendril.lua | 42 +++++----- .../projectiles/seraphim/SIMAntiMissile01.lua | 42 +++++----- .../seraphim/SLaanseTacticalMissile.lua | 42 +++++----- .../seraphim/SLightChronatronCannon.lua | 42 +++++----- .../SLightChronatronCannonOverCharge.lua | 42 +++++----- .../seraphim/SLosaareAAAutoCannon.lua | 42 +++++----- .../seraphim/SLosaareAAAutoCannon02.lua | 42 +++++----- lua/sim/projectiles/seraphim/SOhCannon.lua | 42 +++++----- lua/sim/projectiles/seraphim/SOhCannon02.lua | 42 +++++----- .../SOhwalliStrategicBombProjectile.lua | 42 +++++----- .../seraphim/SOlarisAAArtillery.lua | 42 +++++----- .../seraphim/SOtheTacticalBomb.lua | 42 +++++----- .../projectiles/seraphim/SPhasicAutogun.lua | 42 +++++----- .../projectiles/seraphim/SShleoAACannon.lua | 42 +++++----- .../seraphim/SShriekerAutoCannon.lua | 41 +++++----- .../seraphim/SSuthanusArtilleryShell.lua | 42 +++++----- .../SSuthanusMobileArtilleryShell.lua | 42 +++++----- lua/sim/projectiles/seraphim/STauCannon.lua | 44 +++++------ .../seraphim/SThunthoArtilleryShell.lua | 42 +++++----- .../seraphim/SThunthoArtilleryShell2.lua | 42 +++++----- .../seraphim/SUallCavitationTorpedo.lua | 42 +++++----- .../seraphim/SZhanaseeBombProjectile.lua | 42 +++++----- .../seraphim/SZthuthaamArtilleryShell.lua | 42 +++++----- 48 files changed, 1035 insertions(+), 1025 deletions(-) diff --git a/lua/seraphimprojectiles.lua b/lua/seraphimprojectiles.lua index 1bed334a84..484861a85c 100644 --- a/lua/seraphimprojectiles.lua +++ b/lua/seraphimprojectiles.lua @@ -5,54 +5,63 @@ -- Copyright © 2007 Gas Powered Games, Inc. All rights reserved. ------------------------------------------------------------ ---- Projectile Files -SIFHuAntiNuke = import('/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua').SIFHuAntiNuke -SIFKhuAntiNukeTendril = import('/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua').SIFKhuAntiNukeTendril -SIFKhuAntiNukeSmallTendril = import('/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua').SIFKhuAntiNukeSmallTendril +SAAHotheFlareProjectile = import('/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua').SAAHotheFlareProjectile +SAireauBolter = import('/lua/sim/projectiles/seraphim/SAireauBolter.lua').SAireauBolter +SAnaitTorpedo = import('/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua').SAnaitTorpedo +SAnjelluTorpedoDefenseProjectile = import('/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua').SAnjelluTorpedoDefenseProjectile + SBaseTempProjectile = import('/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua').SBaseTempProjectile SChronatronCannon = import('/lua/sim/projectiles/seraphim/SChronatronCannon.lua').SChronatronCannon SChronatronCannonOverCharge = import('/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua').SChronatronCannonOverCharge -SLightChronatronCannon = import('/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua').SLightChronatronCannon -SLightChronatronCannonOverCharge = import('/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua').SLightChronatronCannonOverCharge -SPhasicAutogun = import('/lua/sim/projectiles/seraphim/SPhasicAutogun.lua').SPhasicAutogun +SDFAireauProjectile = import('/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua').SDFAireauProjectile + +SDFExperimentalPhasonProjectile = import('/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua').SDFExperimentalPhasonProjectile +SDFSinnuntheWeaponProjectile = import('/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua').SDFSinnuntheWeaponProjectile +SDFSniperShot = import('/lua/sim/projectiles/seraphim/SDFSniperShot.lua').SDFSniperShot +SDFSniperShotNormal = import('/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua').SDFSniperShotNormal + +SEnergyLaser = import('/lua/sim/projectiles/seraphim/SEnergyLaser.lua').SEnergyLaser +SExperimentalStrategicBomb = import('/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua').SExperimentalStrategicBomb +SExperimentalStrategicMissile = import('/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua').SExperimentalStrategicMissile +SHeavyCavitationTorpedo = import('/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua').SHeavyCavitationTorpedo + SHeavyPhasicAutogun = import('/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua').SHeavyPhasicAutogun SHeavyPhasicAutogun02 = import('/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua').SHeavyPhasicAutogun02 +SHeavyQuarnonCannon = import('/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua').SHeavyQuarnonCannon +SIFHuAntiNuke = import('/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua').SIFHuAntiNuke + +SIFInainoStrategicMissile = import('/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua').SIFInainoStrategicMissile +SIFKhuAntiNukeSmallTendril = import('/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua').SIFKhuAntiNukeSmallTendril +SIFKhuAntiNukeTendril = import('/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua').SIFKhuAntiNukeTendril +SIFNukeSpiralTendril = import('/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua').SIFNukeSpiralTendril + +SIFNukeWaveTendril = import('/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua').SIFNukeWaveTendril +SIMAntiMissile01 = import('/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua').SIMAntiMissile01 +SLaanseTacticalMissile = import('/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua').SLaanseTacticalMissile +SLightChronatronCannon = import('/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua').SLightChronatronCannon +SLightChronatronCannonOverCharge = import('/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua').SLightChronatronCannonOverCharge + +SLosaareAAAutoCannon = import('/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua').SLosaareAAAutoCannon +SLosaareAAAutoCannon02 = import('/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua').SLosaareAAAutoCannon02 SOhCannon = import('/lua/sim/projectiles/seraphim/SOhCannon.lua').SOhCannon SOhCannon02 = import('/lua/sim/projectiles/seraphim/SOhCannon02.lua').SOhCannon02 +SOhwalliStrategicBombProjectile = import('/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua').SOhwalliStrategicBombProjectile + +SOlarisAAArtillery = import('/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua').SOlarisAAArtillery +SOtheTacticalBomb = import('/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua').SOtheTacticalBomb +SPhasicAutogun = import('/lua/sim/projectiles/seraphim/SPhasicAutogun.lua').SPhasicAutogun +SShleoAACannon = import('/lua/sim/projectiles/seraphim/SShleoAACannon.lua').SShleoAACannon + SShriekerAutoCannon = import('/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua').SShriekerAutoCannon -SAireauBolter = import('/lua/sim/projectiles/seraphim/SAireauBolter.lua').SAireauBolter -STauCannon = import('/lua/sim/projectiles/seraphim/STauCannon.lua').STauCannon -SHeavyQuarnonCannon = import('/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua').SHeavyQuarnonCannon -SLaanseTacticalMissile = import('/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua').SLaanseTacticalMissile -SZthuthaamArtilleryShell = import('/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua').SZthuthaamArtilleryShell SSuthanusArtilleryShell = import('/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua').SSuthanusArtilleryShell SSuthanusMobileArtilleryShell = import('/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua').SSuthanusMobileArtilleryShell +STauCannon = import('/lua/sim/projectiles/seraphim/STauCannon.lua').STauCannon + SThunthoArtilleryShell = import('/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua').SThunthoArtilleryShell SThunthoArtilleryShell2 = import('/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua').SThunthoArtilleryShell2 -SShleoAACannon = import('/lua/sim/projectiles/seraphim/SShleoAACannon.lua').SShleoAACannon -SOlarisAAArtillery = import('/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua').SOlarisAAArtillery -SLosaareAAAutoCannon = import('/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua').SLosaareAAAutoCannon -SLosaareAAAutoCannon02 = import('/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua').SLosaareAAAutoCannon02 -SOtheTacticalBomb = import('/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua').SOtheTacticalBomb -SAnaitTorpedo = import('/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua').SAnaitTorpedo -SHeavyCavitationTorpedo = import('/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua').SHeavyCavitationTorpedo SUallCavitationTorpedo = import('/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua').SUallCavitationTorpedo -SIFInainoStrategicMissile = import('/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua').SIFInainoStrategicMissile -SExperimentalStrategicMissile = import('/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua').SExperimentalStrategicMissile -SIMAntiMissile01 = import('/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua').SIMAntiMissile01 -SExperimentalStrategicBomb = import('/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua').SExperimentalStrategicBomb -SIFNukeWaveTendril = import('/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua').SIFNukeWaveTendril -SIFNukeSpiralTendril = import('/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua').SIFNukeSpiralTendril -SEnergyLaser = import('/lua/sim/projectiles/seraphim/SEnergyLaser.lua').SEnergyLaser SZhanaseeBombProjectile = import('/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua').SZhanaseeBombProjectile -SAAHotheFlareProjectile = import('/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua').SAAHotheFlareProjectile -SOhwalliStrategicBombProjectile = import('/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua').SOhwalliStrategicBombProjectile -SAnjelluTorpedoDefenseProjectile = import('/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua').SAnjelluTorpedoDefenseProjectile -SDFSniperShotNormal = import('/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua').SDFSniperShotNormal -SDFSniperShot = import('/lua/sim/projectiles/seraphim/SDFSniperShot.lua').SDFSniperShot -SDFExperimentalPhasonProjectile = import('/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua').SDFExperimentalPhasonProjectile -SDFSinnuntheWeaponProjectile = import('/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua').SDFSinnuntheWeaponProjectile -SDFAireauProjectile = import('/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua').SDFAireauProjectile +SZthuthaamArtilleryShell = import('/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua').SZthuthaamArtilleryShell -- kept for mod backwards compatibility local DefaultProjectileFile = import("/lua/sim/defaultprojectiles.lua") diff --git a/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua b/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua index d612949a0a..5c9b67664f 100644 --- a/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua +++ b/lua/sim/projectiles/seraphim/SAAHotheFlareProjectile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SAireauBolter.lua b/lua/sim/projectiles/seraphim/SAireauBolter.lua index b8eae02d68..830200a5fe 100644 --- a/lua/sim/projectiles/seraphim/SAireauBolter.lua +++ b/lua/sim/projectiles/seraphim/SAireauBolter.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua b/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua index 3cd93245b5..568680107d 100644 --- a/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua +++ b/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua b/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua index 197f05f7d9..eb8cdd293b 100644 --- a/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua +++ b/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua b/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua index a6a714f274..635c45513f 100644 --- a/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua +++ b/lua/sim/projectiles/seraphim/SBaseTempProjectile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SChronatronCannon.lua b/lua/sim/projectiles/seraphim/SChronatronCannon.lua index dad7f4f0c2..d781a9488d 100644 --- a/lua/sim/projectiles/seraphim/SChronatronCannon.lua +++ b/lua/sim/projectiles/seraphim/SChronatronCannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua b/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua index 1cf2b343d0..1a36a5a31c 100644 --- a/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua +++ b/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/MultiPolyTrailProjectile.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua b/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua index a6c14ef823..687a7ce5ce 100644 --- a/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua +++ b/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua @@ -1,31 +1,31 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- ythotha ---@class SDFAireauProjectile : MultiPolyTrailProjectile -SDFAireauProjectile = ClassProjectile(MultiPolyTrailProjectile) { +SDFAireauProjectile = ClassProjectile(MultiPolyTrailProjectile) { FxImpactNone = EffectTemplate.SDFAireauWeaponHit01, FxImpactUnit = EffectTemplate.SDFAireauWeaponHitUnit, FxImpactProp = EffectTemplate.SDFAireauWeaponHit01, diff --git a/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua b/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua index 195acce3ff..ef4577a51d 100644 --- a/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua +++ b/lua/sim/projectiles/seraphim/SDFExperimentalPhasonProjectile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') @@ -26,7 +26,7 @@ local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM EXPERIMENTAL PHASON BEAM PROJECTILE --- ythotha ---@class SDFExperimentalPhasonProjectile : EmitterProjectile -SDFExperimentalPhasonProjectile = ClassProjectile(EmitterProjectile) { +SDFExperimentalPhasonProjectile = ClassProjectile(EmitterProjectile) { FxImpactTrajectoryAligned = false, FxTrails = EffectTemplate.SDFExperimentalPhasonProjFXTrails01, FxImpactUnit = EffectTemplate.SDFExperimentalPhasonProjHitUnit, diff --git a/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua b/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua index 949d8b35e7..f9ef1b4b5b 100644 --- a/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua +++ b/lua/sim/projectiles/seraphim/SDFSinnuntheWeaponProjectile.lua @@ -1,31 +1,31 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- ythotha ---@class SDFSinnuntheWeaponProjectile : EmitterProjectile -SDFSinnuntheWeaponProjectile = ClassProjectile(EmitterProjectile) { +SDFSinnuntheWeaponProjectile = ClassProjectile(EmitterProjectile) { FxTrails = EffectTemplate.SDFSinnutheWeaponFXTrails01, FxImpactUnit = EffectTemplate.SDFSinnutheWeaponHitUnit, FxImpactProp = EffectTemplate.SDFSinnutheWeaponHit, diff --git a/lua/sim/projectiles/seraphim/SDFSniperShot.lua b/lua/sim/projectiles/seraphim/SDFSniperShot.lua index b26349fa76..1735a56fb8 100644 --- a/lua/sim/projectiles/seraphim/SDFSniperShot.lua +++ b/lua/sim/projectiles/seraphim/SDFSniperShot.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua b/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua index ca35d38ff3..7d51121a6a 100644 --- a/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua +++ b/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SEnergyLaser.lua b/lua/sim/projectiles/seraphim/SEnergyLaser.lua index 8876ec0e8b..bcbc7fe484 100644 --- a/lua/sim/projectiles/seraphim/SEnergyLaser.lua +++ b/lua/sim/projectiles/seraphim/SEnergyLaser.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SBaseTempProjectile = import('/lua/seraphimprojectiles.lua').SBaseTempProjectile diff --git a/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua b/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua index 668f6d2d43..e56220ca92 100644 --- a/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua +++ b/lua/sim/projectiles/seraphim/SExperimentalStrategicBomb.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SBaseTempProjectile = import('/lua/seraphimprojectiles.lua').SBaseTempProjectile diff --git a/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua b/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua index a99a07303b..08dd84a5e9 100644 --- a/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua +++ b/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local NukeProjectile = import('/lua/nomadprojectiles.lua').NukeProjectile local MultiPolyTrailProjectile = import('/lua/nomadprojectiles.lua').MultiPolyTrailProjectile diff --git a/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua b/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua index ee4a8bbfd1..560e94afb8 100644 --- a/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua +++ b/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua index c223a861a8..bc343cd7e0 100644 --- a/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua +++ b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun.lua @@ -1,31 +1,31 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') -- T2 gunship and T2 transport ---@class SHeavyPhasicAutogun : MultiPolyTrailProjectile -SHeavyPhasicAutogun = ClassProjectile(MultiPolyTrailProjectile) { +SHeavyPhasicAutogun = ClassProjectile(MultiPolyTrailProjectile) { FxImpactLand = EffectTemplate.HeavyPhasicAutoGunHit, FxImpactNone = EffectTemplate.HeavyPhasicAutoGunHit, FxImpactProp = EffectTemplate.HeavyPhasicAutoGunHitUnit, diff --git a/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua index 551f8f93d9..52c1a4a9c6 100644 --- a/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua +++ b/lua/sim/projectiles/seraphim/SHeavyPhasicAutogun02.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SHeavyPhasicAutogun = import('/lua/seraphimprojectiles.lua').SHeavyPhasicAutogun local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua b/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua index 44997221c9..9c26ef870b 100644 --- a/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua +++ b/lua/sim/projectiles/seraphim/SHeavyQuarnonCannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua b/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua index dc84f4733a..f085f7cd2c 100644 --- a/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua +++ b/lua/sim/projectiles/seraphim/SIFHuAntiNuke.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua b/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua index 4b94fc58d8..f15a0a0d1a 100644 --- a/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua +++ b/lua/sim/projectiles/seraphim/SIFInainoStrategicMissile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local NukeProjectile = import('/lua/sim/defaultprojectiles.lua').NukeProjectile local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile diff --git a/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua index 884efa5189..5b091e5959 100644 --- a/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua +++ b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeSmallTendril.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua index 2718d6cc4d..345ef1d4fa 100644 --- a/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua +++ b/lua/sim/projectiles/seraphim/SIFKhuAntiNukeTendril.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua b/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua index 3680f993d2..bf26e36a99 100644 --- a/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua +++ b/lua/sim/projectiles/seraphim/SIFNukeSpiralTendril.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile diff --git a/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua b/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua index aacaca82cc..5398c047cf 100644 --- a/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua +++ b/lua/sim/projectiles/seraphim/SIFNukeWaveTendril.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile diff --git a/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua b/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua index bc4d26bbed..7e73266cfa 100644 --- a/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua +++ b/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua b/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua index 2ac043023d..c4f8dc5143 100644 --- a/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua +++ b/lua/sim/projectiles/seraphim/SLaanseTacticalMissile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua b/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua index 4c2d62357c..ecb3046c9f 100644 --- a/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua +++ b/lua/sim/projectiles/seraphim/SLightChronatronCannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua b/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua index 2dc455cb1c..0996ec63c7 100644 --- a/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua +++ b/lua/sim/projectiles/seraphim/SLightChronatronCannonOverCharge.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua index 07380cb862..eee5fee9bd 100644 --- a/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua +++ b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua index 2221fa0651..f7bb0a6769 100644 --- a/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua +++ b/lua/sim/projectiles/seraphim/SLosaareAAAutoCannon02.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SLosaareAAAutoCannon = import('/lua/seraphimprojectiles.lua').SLosaareAAAutoCannon local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SOhCannon.lua b/lua/sim/projectiles/seraphim/SOhCannon.lua index 1b62271ae2..f01fbaaaaf 100644 --- a/lua/sim/projectiles/seraphim/SOhCannon.lua +++ b/lua/sim/projectiles/seraphim/SOhCannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SOhCannon02.lua b/lua/sim/projectiles/seraphim/SOhCannon02.lua index cf150b4c75..a1b2f50b5f 100644 --- a/lua/sim/projectiles/seraphim/SOhCannon02.lua +++ b/lua/sim/projectiles/seraphim/SOhCannon02.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua b/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua index 190c07d161..b73fe7cbd7 100644 --- a/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua +++ b/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua b/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua index fac052037f..21104d1779 100644 --- a/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua +++ b/lua/sim/projectiles/seraphim/SOlarisAAArtillery.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua b/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua index 61a5c4427a..21605ffefb 100644 --- a/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua +++ b/lua/sim/projectiles/seraphim/SOtheTacticalBomb.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SPhasicAutogun.lua b/lua/sim/projectiles/seraphim/SPhasicAutogun.lua index a8066e8269..3cb069b5da 100644 --- a/lua/sim/projectiles/seraphim/SPhasicAutogun.lua +++ b/lua/sim/projectiles/seraphim/SPhasicAutogun.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SShleoAACannon.lua b/lua/sim/projectiles/seraphim/SShleoAACannon.lua index a72f1ae7b8..89b0384e1a 100644 --- a/lua/sim/projectiles/seraphim/SShleoAACannon.lua +++ b/lua/sim/projectiles/seraphim/SShleoAACannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua b/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua index 64d79bf5f6..37c7fe735b 100644 --- a/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua +++ b/lua/sim/projectiles/seraphim/SShriekerAutoCannon.lua @@ -1,23 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- --********************************************************************************** local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile diff --git a/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua b/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua index 16b89c97ae..3f064e6903 100644 --- a/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua +++ b/lua/sim/projectiles/seraphim/SSuthanusArtilleryShell.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua b/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua index e57e9c682e..d866fef2a2 100644 --- a/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua +++ b/lua/sim/projectiles/seraphim/SSuthanusMobileArtilleryShell.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/STauCannon.lua b/lua/sim/projectiles/seraphim/STauCannon.lua index dcd4c4154f..b198fa4f15 100644 --- a/lua/sim/projectiles/seraphim/STauCannon.lua +++ b/lua/sim/projectiles/seraphim/STauCannon.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') @@ -26,7 +26,7 @@ local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM TAU CANNON --- sera T2 hover tank and T3 tank (othuum) ---@class STauCannon : MultiPolyTrailProjectile -STauCannon = ClassProjectile(MultiPolyTrailProjectile) { +STauCannon = ClassProjectile(MultiPolyTrailProjectile) { FxImpactLand = EffectTemplate.STauCannonHit, FxImpactNone = EffectTemplate.STauCannonHit, FxImpactProp = EffectTemplate.STauCannonHit, diff --git a/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua index 2678a0c6a8..88e8f898a3 100644 --- a/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua +++ b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua index 466f86099a..1a25ad7272 100644 --- a/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua +++ b/lua/sim/projectiles/seraphim/SThunthoArtilleryShell2.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua b/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua index e31f7f7d68..7397a20265 100644 --- a/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua +++ b/lua/sim/projectiles/seraphim/SUallCavitationTorpedo.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local SinglePolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').SinglePolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua b/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua index 6628672ccd..962ba64460 100644 --- a/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua +++ b/lua/sim/projectiles/seraphim/SZhanaseeBombProjectile.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local EmitterProjectile = import('/lua/sim/defaultprojectiles.lua').EmitterProjectile local EffectTemplate = import('/lua/effecttemplates.lua') diff --git a/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua b/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua index 6662417ae5..6940cb9a80 100644 --- a/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua +++ b/lua/sim/projectiles/seraphim/SZthuthaamArtilleryShell.lua @@ -1,24 +1,24 @@ ---********************************************************************************** ---** Copyright (c) 2023 FAForever ---** ---** Permission is hereby granted, free of charge, to any person obtaining a copy ---** of this software and associated documentation files (the "Software"), to deal ---** in the Software without restriction, including without limitation the rights ---** to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---** copies of the Software, and to permit persons to whom the Software is ---** furnished to do so, subject to the following conditions: ---** ---** The above copyright notice and this permission notice shall be included in all ---** copies or substantial portions of the Software. ---** ---** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---** OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ---** SOFTWARE. ---********************************************************************************** +--------------------------------------------------------------------------------------- +-- Copyright (c) 2023 FAForever +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +--------------------------------------------------------------------------------------- local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') From 851c9730fb5dce4e9a22aef392cafd56693183d6 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 16 Jul 2024 12:16:42 +0100 Subject: [PATCH 3/4] Fix Imports --- changelog/snippets/other.5669 copy.md | 1 + lua/sim/projectiles/seraphim/SAnaitTorpedo.lua | 2 +- .../projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua | 2 +- lua/sim/projectiles/seraphim/SChronatronCannon.lua | 2 +- lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua | 2 +- lua/sim/projectiles/seraphim/SDFAireauProjectile.lua | 2 +- lua/sim/projectiles/seraphim/SDFSniperShot.lua | 2 +- lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua | 2 +- .../projectiles/seraphim/SExperimentalStrategicMissile.lua | 4 ++-- lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua | 2 +- lua/sim/projectiles/seraphim/SIMAntiMissile01.lua | 2 +- .../projectiles/seraphim/SOhwalliStrategicBombProjectile.lua | 2 +- 12 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 changelog/snippets/other.5669 copy.md diff --git a/changelog/snippets/other.5669 copy.md b/changelog/snippets/other.5669 copy.md new file mode 100644 index 0000000000..589039e65d --- /dev/null +++ b/changelog/snippets/other.5669 copy.md @@ -0,0 +1 @@ +- (#5669) Move the Classes of Cybran Projectiles to separate Files. diff --git a/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua b/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua index 568680107d..bae528009d 100644 --- a/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua +++ b/lua/sim/projectiles/seraphim/SAnaitTorpedo.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM ANA-IT TORPEDO diff --git a/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua b/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua index eb8cdd293b..6261fcb3cc 100644 --- a/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua +++ b/lua/sim/projectiles/seraphim/SAnjelluTorpedoDefenseProjectile.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- ANJELLU TORPEDO DEFENSE PROJECTILE diff --git a/lua/sim/projectiles/seraphim/SChronatronCannon.lua b/lua/sim/projectiles/seraphim/SChronatronCannon.lua index d781a9488d..7b575f4340 100644 --- a/lua/sim/projectiles/seraphim/SChronatronCannon.lua +++ b/lua/sim/projectiles/seraphim/SChronatronCannon.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM CHRONATRON CANNONS diff --git a/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua b/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua index 1a36a5a31c..0e2efb99db 100644 --- a/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua +++ b/lua/sim/projectiles/seraphim/SChronatronCannonOverCharge.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/MultiPolyTrailProjectile.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM CHRONATRON CANNONS diff --git a/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua b/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua index 687a7ce5ce..9d187a83c6 100644 --- a/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua +++ b/lua/sim/projectiles/seraphim/SDFAireauProjectile.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- ythotha diff --git a/lua/sim/projectiles/seraphim/SDFSniperShot.lua b/lua/sim/projectiles/seraphim/SDFSniperShot.lua index 1735a56fb8..6a3cf4e867 100644 --- a/lua/sim/projectiles/seraphim/SDFSniperShot.lua +++ b/lua/sim/projectiles/seraphim/SDFSniperShot.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM SNIPER ENERGY RIFLE diff --git a/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua b/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua index 7d51121a6a..ba7475eb98 100644 --- a/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua +++ b/lua/sim/projectiles/seraphim/SDFSniperShotNormal.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM SNIPER ENERGY RIFLE diff --git a/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua b/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua index 08dd84a5e9..a752fdbc5a 100644 --- a/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua +++ b/lua/sim/projectiles/seraphim/SExperimentalStrategicMissile.lua @@ -20,8 +20,8 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local NukeProjectile = import('/lua/nomadprojectiles.lua').NukeProjectile -local MultiPolyTrailProjectile = import('/lua/nomadprojectiles.lua').MultiPolyTrailProjectile +local NukeProjectile = import('/lua/sim/defaultprojectiles.lua').NukeProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM EXPERIMENTAL STRATEGIC MISSILE diff --git a/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua b/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua index 560e94afb8..560e1b3ec5 100644 --- a/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua +++ b/lua/sim/projectiles/seraphim/SHeavyCavitationTorpedo.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM HEAVY CAVITATION TORPEDO diff --git a/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua b/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua index 7e73266cfa..5b9bc3facd 100644 --- a/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua +++ b/lua/sim/projectiles/seraphim/SIMAntiMissile01.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectiles.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM ELECTRUM TACTICAL MISSILE DEFENSE diff --git a/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua b/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua index b73fe7cbd7..0abb60f91b 100644 --- a/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua +++ b/lua/sim/projectiles/seraphim/SOhwalliStrategicBombProjectile.lua @@ -20,7 +20,7 @@ -- SOFTWARE. --------------------------------------------------------------------------------------- -local MultiPolyTrailProjectile = import('/lua/sim/projectile.lua').MultiPolyTrailProjectile +local MultiPolyTrailProjectile = import('/lua/sim/defaultprojectiles.lua').MultiPolyTrailProjectile local EffectTemplate = import('/lua/effecttemplates.lua') --- SERAPHIM OHWALLI STRATEGIC BOMB PROJECTILE From 48583dc4e41d772e40c105827f2e85aad22eee9d Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 16 Jul 2024 12:17:38 +0100 Subject: [PATCH 4/4] Fix Snipit --- changelog/snippets/other.5669 copy.md | 1 - changelog/snippets/other.5677.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 changelog/snippets/other.5669 copy.md create mode 100644 changelog/snippets/other.5677.md diff --git a/changelog/snippets/other.5669 copy.md b/changelog/snippets/other.5669 copy.md deleted file mode 100644 index 589039e65d..0000000000 --- a/changelog/snippets/other.5669 copy.md +++ /dev/null @@ -1 +0,0 @@ -- (#5669) Move the Classes of Cybran Projectiles to separate Files. diff --git a/changelog/snippets/other.5677.md b/changelog/snippets/other.5677.md new file mode 100644 index 0000000000..62c1154f96 --- /dev/null +++ b/changelog/snippets/other.5677.md @@ -0,0 +1 @@ +- (#5669) Move the Classes of Seraphim Projectiles to separate Files.