Modcraft - The community dedicated to quality WoW modding!
Content creation => Texturing and 2D Art => Topic started by: Shadowjesper1 on July 23, 2013, 12:37:02 pm
-
Client Version: 4.0.6a
Question: I would like to know where the strings for the Character Backgounds (those at CharacterCreate/CharacterSelect). But I cannot find the strings or lines for that matter. I am seeking to change out the Character Backgrounds with a blp instead.
Would anyone which file I would need to edit in order to change out the character backgrounds with a blp?
Thanks before hand.
-
You would need to edit CharacterCreate and CharacterSelect, obviously. As you said yourself. Most likely you should change the model frame to a normal frame.
-
CharacterSelect:SetModel("Interface\Glues\Models\UI_MainMenu\UI_MainMenu.m2");
This can be used to change the model. Just change when the new character selection function(s) are called.
To use a BLP you will need to change the CharacterSelect frame. To not break functionality, I would just clear the CharacterSelect model and have another frame that holds the BLP and overlays it.
-
Sorry, if I am not understanding your points but:
@stoneharry: I cannot find that line in the .lua of 4.0.6a
Isn't there a specific line in the luas that has the treepath of what file it loads for a character background? Like: "if (BE) SetModel("Interface\Glues\Models\UI_MainMenu\UI_BloodElf.m2");"
-
We are a 335a modding community in first point. You should say if you use other client. Only 2 or 3 people do modding on an other then 335a.
-
Sorry, if I am not understanding your points but:
@stoneharry: I cannot find that line in the .lua of 4.0.6a
Isn't there a specific line in the luas that has the treepath of what file it loads for a character background? Like: "if (BE) SetModel("Interface\Glues\Models\UI_MainMenu\UI_BloodElf.m2");"
Such a line does not exist in the 3.3.5a Lua code either. ;) It is a Lua frame that is generated in the XML code, however if memory serves me right the client binary sets the model depending on the race selected (much like the client handles the portraits in character creation in the new interface files).
You can overwrite this hardcoded binary setting by using the code I showed above, as it accesses the frame it uses and sets it to a manual model.
You can write the code to select a different M2 depending on the race selected. :P
-
Steff. I said it at the very first sentence of the post:
Client Version: 4.0.6a
Question: I would like to know where the strings for the Character Backgounds (those at CharacterCreate/CharacterSelect). But I cannot find the strings or lines for that matter. I am seeking to change out the Character Backgrounds with a blp instead.
Would anyone which file I would need to edit in order to change out the character backgrounds with a blp?
Thanks before hand.
-
Another question related to this..
How do I change Gnome and Troll character creation screens?
I wanted to give them the Cata ones, but I was unable to find out how to tell it to stop using the Orcish/Dwarf one.
-
Try editing LUA and XML files. Just swap the path. It's not that complicated process.
-
Defined in GlueParent.lua if I remember correctly.