Forum > Texturing and 2D Art
[LUA] [QUESTION] Character Backgrounds
<< < (2/2)
stoneharry:
--- Quote from: "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");" --- End quote ---
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
Shadowjesper1:
Steff. I said it at the very first sentence of the post:
--- Quote ---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. --- End quote ---
Gurluas:
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.
Skarn:
Try editing LUA and XML files. Just swap the path. It's not that complicated process.
stoneharry:
Defined in GlueParent.lua if I remember correctly.
Navigation
[0] Message Index
[*] Previous page
|