12
This commit is contained in:
1 parent
28ec53735b
commit
8434f61030
4 files changed
+96
-96
No files matched your search
@@ -105,8 +105,8 @@ for _, l in ipairs(LAKES) do
|
||||
carveLake(l)
|
||||
end
|
||||
-- дорожка от точки прибытия к причалу и площадка
|
||||
terrain:FillBlock(CFrame.new(W + V(0, 2, 100)), V(8, 4, 44), Enum.Material.Ground)
|
||||
terrain:FillCylinder(CFrame.new(W + V(0, 2, 130)), 4, 17, Enum.Material.Cobblestone)
|
||||
terrain:FillBlock(CFrame.new(W + V(0, 2, 86)), V(8, 4, 14), Enum.Material.Ground)
|
||||
terrain:FillCylinder(CFrame.new(W + V(0, 2, 96)), 4, 12, Enum.Material.Cobblestone)
|
||||
|
||||
---------------------------------------------------------------- точка появления в лобби
|
||||
|
||||
@@ -117,7 +117,7 @@ if not spawn then
|
||||
end
|
||||
spawn.Anchored = true
|
||||
spawn.Size = V(8, 0.2, 8)
|
||||
spawn.CFrame = CFrame.new(0, 1.15, 40)
|
||||
spawn.CFrame = CFrame.new(0, 1.15, 57)
|
||||
spawn.Transparency = 1
|
||||
spawn.Duration = 0
|
||||
for _, d in ipairs(spawn:GetChildren()) do
|
||||
@@ -513,7 +513,7 @@ for _, a in ipairs({ 0, 90, 180, 270 }) do
|
||||
P({ Size = V(10, 1.0, 48), CFrame = CFrame.new(math.cos(r) * 60, 0.52, math.sin(r) * 60) * CFrame.Angles(0, -r + math.pi / 2, 0), Material = Enum.Material.Marble, Color = Color3.fromRGB(225, 218, 205) })
|
||||
end
|
||||
|
||||
marker("LobbySpawn", CFrame.new(0, FLOOR + 2, 40)) -- прямо перед порталом в Мир 1
|
||||
marker("LobbySpawn", CFrame.new(0, FLOOR + 2, 57)) -- на дорожке за табличкой «Как играть»: сначала она, дальше портал в Мир 1
|
||||
|
||||
-- фонтан со статуей золотой рыбы
|
||||
vcyl(V(0, FLOOR + 1, 0), 2, 24, { Material = Enum.Material.Slate, Color = Color3.fromRGB(205, 200, 190) })
|
||||
@@ -568,8 +568,7 @@ for i = 0, 7 do
|
||||
lamp(V(math.cos(a) * 40, FLOOR, math.sin(a) * 40))
|
||||
end
|
||||
end
|
||||
lamp(V(-7, FLOOR, 48))
|
||||
lamp(V(7, FLOOR, 48))
|
||||
lamp(V(7, FLOOR, 48)) -- левый фонарь стоит за табличкой «Как играть»
|
||||
|
||||
-- клумбы с деревьями
|
||||
for _, deg in ipairs({ 225, 315 }) do
|
||||
@@ -758,8 +757,10 @@ end
|
||||
|
||||
-- табличка «Как играть»
|
||||
do
|
||||
local pos = V(-14, FLOOR, 34)
|
||||
local cf = CFrame.lookAt(pos, V(0, FLOOR, 50))
|
||||
-- слева от дорожки за точкой появления, лицом к камере игрока; фонарь — за табличкой
|
||||
local pos = V(-12, FLOOR, 48)
|
||||
local cf = CFrame.lookAt(pos, V(0, FLOOR, 64))
|
||||
lamp((cf * CFrame.new(0, 0, 2.5)).Position)
|
||||
for _, x in ipairs({ -6.5, 6.5 }) do
|
||||
P({ Size = V(0.8, 9, 0.8), CFrame = cf * CFrame.new(x, 4.5, 0.3), Material = Enum.Material.Wood, Color = Color3.fromRGB(90, 60, 40) })
|
||||
end
|
||||
@@ -781,11 +782,12 @@ local function inLake(x, z, extra)
|
||||
end
|
||||
|
||||
-- прибытие
|
||||
local arrive = W + V(0, GROUND_Y, 128)
|
||||
-- всё рядом с главным причалом: прибытие → арка → причал, по бокам портал, скупка и дед
|
||||
local arrive = W + V(0, GROUND_Y, 94)
|
||||
marker("World1Spawn", CFrame.lookAt(arrive + V(0, 1, 0), arrive + V(0, 1, -10)))
|
||||
arch(CFrame.new(W + V(0, GROUND_Y, 112)), 14, 11, "🌊 ТИХОЕ ОЗЕРО", Color3.fromRGB(80, 200, 255))
|
||||
portal(CFrame.lookAt(W + V(-26, GROUND_Y, 140), arrive), "🏠 В лобби", Color3.fromRGB(255, 200, 80), "Lobby")
|
||||
stall(CFrame.lookAt(W + V(30, GROUND_Y, 140), arrive), {
|
||||
arch(CFrame.new(W + V(0, GROUND_Y, 82)), 14, 11, "🌊 ТИХОЕ ОЗЕРО", Color3.fromRGB(80, 200, 255))
|
||||
portal(CFrame.lookAt(W + V(-22, GROUND_Y, 96), arrive), "🏠 В лобби", Color3.fromRGB(255, 200, 80), "Lobby")
|
||||
stall(CFrame.lookAt(W + V(26, GROUND_Y, 98), arrive), {
|
||||
title = "💰 СКУПКА",
|
||||
titleColor = Color3.fromRGB(150, 255, 160),
|
||||
wall = Color3.fromRGB(150, 115, 80),
|
||||
@@ -801,8 +803,8 @@ stall(CFrame.lookAt(W + V(30, GROUND_Y, 140), arrive), {
|
||||
|
||||
-- доска «Кто водится в озере»
|
||||
do
|
||||
local pos = W + V(-16, GROUND_Y, 104)
|
||||
local cf = CFrame.lookAt(pos, W + V(0, GROUND_Y, 120))
|
||||
local pos = W + V(-15, GROUND_Y, 80)
|
||||
local cf = CFrame.lookAt(pos, arrive)
|
||||
for _, x in ipairs({ -6, 6 }) do
|
||||
P({ Size = V(0.8, 11, 0.8), CFrame = cf * CFrame.new(x, 5.5, 0.3), Material = Enum.Material.Wood, Color = Color3.fromRGB(90, 60, 40) })
|
||||
end
|
||||
@@ -817,7 +819,7 @@ end
|
||||
|
||||
-- костёр с брёвнами
|
||||
do
|
||||
local c = W + V(14, GROUND_Y, 118)
|
||||
local c = W + V(-8, GROUND_Y, 110)
|
||||
for i = 0, 7 do
|
||||
local a = i / 8 * math.pi * 2
|
||||
ball(c + V(math.cos(a) * 2.2, 0.3, math.sin(a) * 2.2), 1, { Color = Color3.fromRGB(120, 120, 125), Material = Enum.Material.Rock })
|
||||
@@ -842,13 +844,13 @@ do
|
||||
end
|
||||
|
||||
-- дед-рыбак с подсказками
|
||||
npc("Дед Петрович", CFrame.lookAt(W + V(-7, GROUND_Y + 3, 80), W + V(0, GROUND_Y + 3, 95)), {
|
||||
npc("Дед Петрович", CFrame.lookAt(W + V(12, GROUND_Y + 3, 86), arrive + V(0, 3, 0)), {
|
||||
skin = Color3.fromRGB(225, 175, 140), shirt = Color3.fromRGB(110, 120, 80), pants = Color3.fromRGB(70, 60, 45), hat = Color3.fromRGB(90, 110, 60),
|
||||
}, "Talk", "Поговорить")
|
||||
|
||||
-- домик рыбака
|
||||
do
|
||||
local cf = CFrame.lookAt(W + V(-34, GROUND_Y, 100), W + V(0, GROUND_Y, 100))
|
||||
local cf = CFrame.lookAt(W + V(-44, GROUND_Y, 98), W + V(0, GROUND_Y, 98))
|
||||
local logC = Color3.fromRGB(130, 90, 55)
|
||||
P({ Size = V(14, 1, 12), CFrame = cf * CFrame.new(0, 0.5, 0), Material = Enum.Material.WoodPlanks, Color = Color3.fromRGB(110, 80, 50) })
|
||||
P({ Size = V(14, 8, 1), CFrame = cf * CFrame.new(0, 5, 5.5), Material = Enum.Material.Wood, Color = logC })
|
||||
@@ -999,13 +1001,13 @@ local function freeSpot(x, z)
|
||||
if inLake(x, z, 14) then
|
||||
return false
|
||||
end
|
||||
if (V(x, 0, z) - V(0, 0, 128)).Magnitude < 34 then
|
||||
if (V(x, 0, z) - V(0, 0, 94)).Magnitude < 36 then
|
||||
return false
|
||||
end
|
||||
if math.abs(x) < 9 and z > 70 and z < 125 then
|
||||
if math.abs(x) < 9 and z > 60 and z < 125 then
|
||||
return false
|
||||
end
|
||||
if (V(x, 0, z) - V(-34, 0, 100)).Magnitude < 14 then
|
||||
if (V(x, 0, z) - V(-44, 0, 98)).Magnitude < 14 then
|
||||
return false
|
||||
end
|
||||
return true
|
||||
@@ -1042,10 +1044,8 @@ for _, l in ipairs(LAKES) do
|
||||
end
|
||||
|
||||
-- фонари вдоль дорожки
|
||||
for _, z in ipairs({ 84, 100 }) do
|
||||
lamp(W + V(6, GROUND_Y, z))
|
||||
lamp(W + V(-6, GROUND_Y, z))
|
||||
end
|
||||
lamp(W + V(6, GROUND_Y, 90))
|
||||
lamp(W + V(-6, GROUND_Y, 90))
|
||||
|
||||
-- невидимые стены по краю мира
|
||||
for _, w in ipairs({
|
||||
|
||||
Reference in new issue
Block a user