Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Skybox Changer for Aimware
- Download for the skyboxes used in script --> https://mega.nz/file/yLQxFIJC#eVdoc9Fwx_BPcJxt6vBNi0PQ0Sc9tunXesdTM_vt2tI
- Open Skybox.rar and drag skybox folder into --> steamapps\common\Counter-Strike Global Offensive\csgo\materials\
- so that the final path looks like this --> steamapps\common\Counter-Strike Global Offensive\csgo\materials\skybox\
- Now copy the .vmt and .vtf files into the skybox folder and add them to the Script..
- You just need to add a new entry to local skyboxes list and call it like the skybox file is named (without the last three letters and without the file extension)
- and you also need to add a new entry in the local skyboxesMenu list. This is how the new skybox will be called in the Aimware Menu.
- it´s very easy..
- PS: if u want more/other skyboxes u can go to --> https://gamebanana.com/mods/cats/653
- ]]--
- local ref = gui.Reference("Visuals", "World", "Materials", "Skybox")
- local skyboxes = { "", "amethyst", "dreamyocean", "greenscreen", "night2", "night5", "projektd", "sky_descent", "otherworld", "sky091",
- "space_1", "space_3", "space_4", "space_5", "space_6", "space_7", "space_8", "space_9", "space_10", "space_13"};
- local skyboxesMenu = { "Default", "Amethyst", "Dreamy Ocean", "Greenscreen", "Night 2", "Night 5", "pAnime", "Galaxy", "Other World", "Sky091",
- "Space 1", "Space 3", "Space 4", "Space 5", "Space 6", "Space 7", "Space 8", "Space 9", "Space 10", "Space 13"};
- ref:SetOptions(unpack(skyboxesMenu));
- local set = client.SetConVar;
- local last = ref:GetValue();
- local function SkyBox()
- if last ~= ref:GetValue() then
- set("sv_skyname" , skyboxes[ref:GetValue() + 1], true);
- last = ref:GetValue();
- end
- end
- callbacks.Register("Unload", function()
- client.SetConVar("sv_skyname" , skyboxes[ref:SetValue(0)], true)
- end)
- --fixed skybox unloading.. now the default skybox will be activated if u unload/reset the script!! [12/23/2021]
Add Comment
Please, Sign In to add comment