[DiscordArchive] ```-- Function to set the background model for character select and create screens
[DiscordArchive] ```-- Function to set the background model for character select and create screens
Archived author: Snowcraft • Posted: 2022-11-10T13:02:26.198000+00:00
Original source
```-- Function to set the background model for character select and create screens
function SetBackgroundModel(model, name)
local nameupper = strupper(name);
local path = "Interface\\Glues\\Models\\UI_"..name.."\\UI_"..name..".m2";
if ( model == CharacterCreate ) then
SetCharCustomizeBackground(path);
else
SetCharSelectBackground(path);
end
PlayGlueAmbience(GlueAmbienceTracks[nameupper], 4.0);
SetLighting(model, nameupper)
end```
Actually, this seems like... the entire thing?
Archived author: Snowcraft • Posted: 2022-11-10T13:02:48.676000+00:00
Original source
...I'm probably wrong, but it's a start point.