Polish Citadel Assault objectives and results

This commit is contained in:
Leshyi committed 2026-11-29 23:49:25 +05:00
1 parent d1c42a36b8
commit c0b099e604
18 files changed
+555 -45

No files matched your search

+4 -3
View File
@@ -29,7 +29,8 @@ local neutral = Color3.fromRGB(183, 132, 255)
local contested = Color3.fromRGB(255, 211, 124)
local teamColor: {[Side]: Color3} = {Blue = Color3.fromRGB(76, 228, 255), Orange = Color3.fromRGB(255, 81, 105)}
function HotPoint.attachRing(mark: Marker): (Color3) -> ()
function HotPoint.attachRing(mark: Marker, radius: number?): (Color3) -> ()
local r = radius or HotPoint.Radius
local body = mark.body
body.Transparency = .92
local beams: {Beam} = {}
@@ -38,7 +39,7 @@ function HotPoint.attachRing(mark: Marker): (Color3) -> ()
local radial = Vector3.new(math.cos(angle), 0, math.sin(angle))
local tangent = Vector3.new(-radial.Z, 0, radial.X)
local item = Instance.new("Attachment")
local world = CFrame.fromMatrix(mark.origin + radial * HotPoint.Radius + Vector3.yAxis * height, tangent, Vector3.yAxis)
local world = CFrame.fromMatrix(mark.origin + radial * r + Vector3.yAxis * height, tangent, Vector3.yAxis)
item.CFrame = body.CFrame:ToObjectSpace(world)
item.Parent = body
return item
@@ -48,7 +49,7 @@ function HotPoint.attachRing(mark: Marker): (Color3) -> ()
for index = 0, 3 do
table.insert(corners, anchor(index * math.pi / 2, height))
end
local handle = 4 * (math.sqrt(2) - 1) / 3 * HotPoint.Radius
local handle = 4 * (math.sqrt(2) - 1) / 3 * r
for index, start in corners do
local beam = Instance.new("Beam")
beam.Name = name