From dc6aed28ea19264a8a0dd3f56e1801a6255db677 Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 11:40:49 +0100 Subject: [PATCH 1/9] Scathis rework makes the scathis into a gameender with increasd cost range higher dps and an adjusted firingcycle. --- units/URL0401/URL0401_unit.bp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index 33511dfa8d..7b93516ad6 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -170,9 +170,9 @@ UnitBlueprint { UniformScale = 0.1, }, Economy = { - BuildCostEnergy = 2000000, - BuildCostMass = 110000, - BuildTime = 80000, + BuildCostEnergy = 4000000, + BuildCostMass = 220000, + BuildTime = 240000, TeleportEnergyMod = 0.15, TeleportMassMod = 1, TeleportTimeMod = 0.01, @@ -273,9 +273,9 @@ UnitBlueprint { }, BallisticArc = 'RULEUBA_HighArc', CollideFriendly = false, - Damage = 3000, + Damage =2000, DamageFriendly = true, - DamageRadius = 7, + DamageRadius = 14, DamageType = 'Normal', DisplayName = 'Proton Artillery', EnergyChargeForFirstShot = false, @@ -285,19 +285,19 @@ UnitBlueprint { Land = 'Land|Water|Seabed', Water = 'Land|Water|Seabed', }, - FiringRandomness = 0.3, + FiringRandomness = 0.5, FiringTolerance = 0, Label = 'Gun01', LeadTarget = true, - MaxRadius = 300, + MaxRadius = 30000, MinRadius = 50, - MuzzleSalvoDelay = 0, - MuzzleSalvoSize = 1, + MuzzleSalvoDelay = 0.3, + MuzzleSalvoSize = 20, MuzzleVelocity = 160, MuzzleVelocityReduceDistance = 2350, ProjectileId = '/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_proj.bp', ProjectileLifetime = 100, - ProjectilesPerOnFire = 1, + ProjectilesPerOnFire = 20, RackBones = { { MuzzleBones = { @@ -315,7 +315,7 @@ UnitBlueprint { RackSalvoSize = 1, RackSlavedToTurret = false, RangeCategory = 'UWRC_IndirectFire', - RateOfFire = 0.53, + RateOfFire = 0.05, TargetCheckInterval = 2, TargetPriorities = { 'SPECIALHIGHPRI', From 5adb997fe6905f20294c32abaf71c4c85273f14b Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 14:09:46 +0100 Subject: [PATCH 2/9] scathis mobility increase makes the scathis faster and thereby makes it possible to dodge nukes --- units/URL0401/URL0401_unit.bp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index 7b93516ad6..98dd41bb67 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -226,9 +226,9 @@ UnitBlueprint { }, DragCoefficient = 0.2, LayerChangeOffsetHeight = -1, - MaxAcceleration = 1.5, - MaxBrake = 1.5, - MaxSpeed = 1.5, + MaxAcceleration = 2.1, + MaxBrake = 2.1, + MaxSpeed = 2.1, MaxSpeedReverse = 0, MaxSteerForce = 10, MinSpeedPercent = 0, @@ -339,7 +339,7 @@ UnitBlueprint { Turreted = true, UseFiringSolutionInsteadOfAimBone = true, WeaponCategory = 'Artillery', - WeaponRepackTimeout = 4, + WeaponRepackTimeout = 0.5, WeaponUnpackAnimation = '/units/URL0401/URL0401_aopen.sca', WeaponUnpackAnimationRate = 2.5, WeaponUnpackAnimatorPrecedence = 0, From e66eee0b5259770fd0f6477f3be29b250171fe7a Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 18:01:20 +0100 Subject: [PATCH 3/9] adding bps adds projectile bps to make it possible to adjust AoE --- .../CIFArtilleryProton01_script.lua | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua diff --git a/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua b/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua new file mode 100644 index 0000000000..fd3e4cffed --- /dev/null +++ b/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua @@ -0,0 +1,28 @@ +# +# Cybran Artillery Projectile +# +local CArtilleryProtonProjectile = import('/lua/cybranprojectiles.lua').CArtilleryProtonProjectile +local RandomFloat = import('/lua/utilities.lua').GetRandomFloat + +CIFArtilleryProton01 = Class(CArtilleryProtonProjectile) { + + OnImpact = function(self, targetType, targetEntity) + CArtilleryProtonProjectile.OnImpact(self, targetType, targetEntity) + local army = self:GetArmy() + CreateLightParticle( self, -1, army, 24, 12, 'glow_03', 'ramp_red_06' ) + CreateLightParticle( self, -1, army, 8, 22, 'glow_03', 'ramp_antimatter_02' ) + if targetType == 'Terrain' or targetType == 'Prop' then + CreateDecal( self:GetPosition(), RandomFloat(0.0,6.28), 'scorch_011_albedo', '', 'Albedo', 10, 10, 350, 200, army ) + end + ForkThread(self.ForceThread, self, self:GetPosition()) + self:ShakeCamera( 20, 3, 0, 1 ) + end, + + ForceThread = function(self, pos) + DamageArea(self, pos, 10, 1, 'Force', true) + WaitTicks(2) + DamageArea(self, pos, 10, 1, 'Force', true) + DamageRing(self, pos, 10, 15, 1, 'Fire', true) + end, +} +TypeClass = CIFArtilleryProton01 \ No newline at end of file From ed2df0dbd8caaecbefad83c5e5a85aa8429be6b8 Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 19:54:34 +0100 Subject: [PATCH 4/9] fixes scathis not shoting fixes some bugg causing scathis to not shoot --- units/URL0401/URL0401_unit.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index 98dd41bb67..f447aff141 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -307,7 +307,7 @@ UnitBlueprint { }, }, RackFireTogether = false, - RackRecoilDistance = -20, + RackRecoilDistance = 0, RackReloadTimeout = 0, RackSalvoChargeTime = 0, RackSalvoFiresAfterCharge = false, From f32b8c6dcb31124d091f666f678e41abe8bdadb2 Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 20:02:03 +0100 Subject: [PATCH 5/9] bigger decalls increases scathis projectile explosion and crater effect to match the new AoE value AoE. --- .../CIFArtilleryProton01/CIFArtilleryProton01_script.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua b/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua index fd3e4cffed..fcdfc885f4 100644 --- a/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua +++ b/projectiles/CIFArtilleryProton01/CIFArtilleryProton01_script.lua @@ -10,9 +10,9 @@ CIFArtilleryProton01 = Class(CArtilleryProtonProjectile) { CArtilleryProtonProjectile.OnImpact(self, targetType, targetEntity) local army = self:GetArmy() CreateLightParticle( self, -1, army, 24, 12, 'glow_03', 'ramp_red_06' ) - CreateLightParticle( self, -1, army, 8, 22, 'glow_03', 'ramp_antimatter_02' ) + CreateLightParticle( self, -1, army, 18, 22, 'glow_03', 'ramp_antimatter_02' ) if targetType == 'Terrain' or targetType == 'Prop' then - CreateDecal( self:GetPosition(), RandomFloat(0.0,6.28), 'scorch_011_albedo', '', 'Albedo', 10, 10, 350, 200, army ) + CreateDecal( self:GetPosition(), RandomFloat(0.0,6.28), 'scorch_011_albedo', '', 'Albedo', 20, 20, 350, 200, army ) end ForkThread(self.ForceThread, self, self:GetPosition()) self:ShakeCamera( 20, 3, 0, 1 ) From 5ea4a50f2132fd090e4db669b7551fb855d40c13 Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 20:10:25 +0100 Subject: [PATCH 6/9] Update URL0401_unit.bp --- units/URL0401/URL0401_unit.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index f447aff141..d62ec42335 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -240,7 +240,7 @@ UnitBlueprint { SkirtSizeX = 8, SkirtSizeZ = 8, TurnRadius = 2, - TurnRate = 40, + TurnRate = 80, }, SelectionSizeX = 4, SelectionSizeZ = 5, From 2c41fa9c2a8cfa5b1150036302172e01f2414200 Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 20:15:04 +0100 Subject: [PATCH 7/9] Update URL0401_unit.bp --- units/URL0401/URL0401_unit.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index d62ec42335..c7cb86fb44 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -76,8 +76,8 @@ UnitBlueprint { AirThreatLevel = 0, ArmorType = 'Experimental', EconomyThreatLevel = 0, - Health = 17500, - MaxHealth = 17500, + Health = 9000, + MaxHealth = 9000, RegenRate = 0, SubThreatLevel = 0, SurfaceThreatLevel = 0, From c1052f1e0c906d8f2e24cb1b06f12e17bc609f4c Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Mon, 7 Jan 2019 20:35:53 +0100 Subject: [PATCH 8/9] Update URL0401_unit.bp --- units/URL0401/URL0401_unit.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index c7cb86fb44..2324cd0bde 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -279,8 +279,8 @@ UnitBlueprint { DamageType = 'Normal', DisplayName = 'Proton Artillery', EnergyChargeForFirstShot = false, - EnergyDrainPerSecond = 2000, - EnergyRequired = 2000, + EnergyDrainPerSecond = 5000, + EnergyRequired = 5000, FireTargetLayerCapsTable = { Land = 'Land|Water|Seabed', Water = 'Land|Water|Seabed', From 7e19cf3a9b3e845afbe2a6b11d76f944b55cea76 Mon Sep 17 00:00:00 2001 From: turinturambarfa <41325352+TurinturambarFAF@users.noreply.github.com> Date: Fri, 11 Jan 2019 17:04:51 +0100 Subject: [PATCH 9/9] Update URL0401_unit.bp --- units/URL0401/URL0401_unit.bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/units/URL0401/URL0401_unit.bp b/units/URL0401/URL0401_unit.bp index 2324cd0bde..d59fb4f338 100644 --- a/units/URL0401/URL0401_unit.bp +++ b/units/URL0401/URL0401_unit.bp @@ -227,8 +227,8 @@ UnitBlueprint { DragCoefficient = 0.2, LayerChangeOffsetHeight = -1, MaxAcceleration = 2.1, - MaxBrake = 2.1, - MaxSpeed = 2.1, + MaxBrake = 1.5, + MaxSpeed = 1.5, MaxSpeedReverse = 0, MaxSteerForce = 10, MinSpeedPercent = 0,