From c7cb18e1cefbc3d4c13e9c6984c2224b175b4871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=5BMEF=5D=20=D0=BC=D0=B5=D1=85=D1=80=D0=BE=D0=B1?= <124378025+happy1063@users.noreply.github.com> Date: Tue, 26 Nov 2024 06:22:30 +0300 Subject: [PATCH] Update skybox.txt --- skybox.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/skybox.txt b/skybox.txt index 4ef781b..24bbab9 100644 --- a/skybox.txt +++ b/skybox.txt @@ -1,22 +1,24 @@ --@name skybox ---@author cool-bro +--@author --@client --@owneronly --[[ replace materail of skybox --]] --settings -local url = "https://i.imgur.com/d5bWxdJ.gif" -local model = "cube" -- models : cube , sphere , pyramid , cone +local url = "https://i.imgur.com/DrTGfP1.jpeg" +local model = "sphere" -- models : cube , sphere --code local models = { cube = "models/holograms/cube.mdl", - sphere = "models/holograms/hq_sphere.mdl", - pyramid = "models/holograms/pyramid.mdl", - cone = "models/holograms/hq_cone.mdl" + sphere = "models/holograms/hq_sphere.mdl" } -local sky = hologram.create(owner():getShootPos(),Angle(0,0,180),models[model],Vector(-2500,-2500,-2500)) +local sizeX = { + cube = Vector(-4000,-4000,-3900), + sphere = Vector(-4400,-4400,-3900) + } +local sky = hologram.create(owner():getShootPos(),Angle(0,0,180),models[model],sizeX[model]) sky:suppressEngineLighting(true) local mat = material.create("UnlitGeneric") mat:setInt("$flags", 256)