Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: darksoke on January 25, 2016, 05:57:51 pm

Title: [QUESTION] [WotLk] Problem exporting Worgen model to wotlk
Post by: darksoke on January 25, 2016, 05:57:51 pm
EDIT: Nvm got it working using another extractor


I've just succesfully managed to export goblin models and now i'm stuck on worgen because when i open the game i see just a black page on login/char creation http://prntscr.com/9uoi8w (http://prntscr.com/9uoi8w" onclick="window.open(this.href);return false;)

Here is the goblin http://prntscr.com/9uoil6 (http://prntscr.com/9uoil6" onclick="window.open(this.href);return false;)
And here is Worgen http://prntscr.com/9uoivv (http://prntscr.com/9uoivv" onclick="window.open(this.href);return false;)

I used the same extraction method as for goblin
and here is the function that sets the background model , i use FelOrc as replacement since i don't thing that adding a new race id will work because of hardcodes
Code: [Select]
function SetBackgroundModel(model, name)
    local nameupper = strupper(name);

if (name == "Goblin" or name == "GOBLIN") then
name = "Goblin";
end

if (name == "FelOrc" or name == "FELORC") then
name = "Worgen";
end

    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

And here is the structure of the UI_Worgen.M2 file http://prntscr.com/9uok7v (http://prntscr.com/9uok7v" onclick="window.open(this.href);return false;)

I cand find what is wrong , and about worgen model it works just perfect when i Log in so there's no problem with creature model.