From 7670c0790639bcd4943e9f5f9555d693da16c008 Mon Sep 17 00:00:00 2001 From: sprunk Date: Sat, 20 Apr 2024 00:51:41 +0200 Subject: [PATCH] burst arc demo Signed-off-by: sprunk --- units/staticarty.lua | 10 +++++++--- units/vehscout.lua | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/units/staticarty.lua b/units/staticarty.lua index 1dff9eddb9..351b2e581a 100644 --- a/units/staticarty.lua +++ b/units/staticarty.lua @@ -16,7 +16,7 @@ return { staticarty = { customParams = { keeptooltip = [[any string I want]], - neededlink = 50, + neededlink = 0, pylonrange = 50, aimposoffset = [[0 26 0]], midposoffset = [[0 10 0]], @@ -57,6 +57,10 @@ return { staticarty = { def = [[PLASMA]], badTargetCategory = [[GUNSHIP]], onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]], + mainDir = [[0 0 1]], + maxAngleDif = 180, + -- stopBurstWhenOutOfArc = false, + stopBurstWhenOutOfArc = true, }, }, @@ -69,8 +73,8 @@ return { staticarty = { areaOfEffect = 192, avoidFeature = false, avoidGround = true, - burst = 3, - burstRate = 0.133, + burst = 15, + burstRate = 0.333, craterBoost = 1, craterMult = 2, diff --git a/units/vehscout.lua b/units/vehscout.lua index f2ac842088..0d57e4d1bc 100644 --- a/units/vehscout.lua +++ b/units/vehscout.lua @@ -26,7 +26,7 @@ return { vehscout = { explodeAs = [[SMALL_UNITEX]], footprintX = 2, footprintZ = 2, - health = 120, + health = 999999, iconType = [[vehiclescout]], leaveTracks = true, maxSlope = 18,