Forum > Texturing and 2D Art

[LUA] [QUESTION] Character Backgrounds

(1/2) > >>

Shadowjesper1:
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.

schlumpf:
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.

stoneharry:

--- Code: ---CharacterSelect:SetModel("Interface\Glues\Models\UI_MainMenu\UI_MainMenu.m2");

--- End code ---

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.

Shadowjesper1:
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");"

Steff:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version