thank you stoneharry yes i am really new to lua moding and i really d not what i am doing but i trying to learn are there any good website where i can learn how to do lua and xml programming ? for free
all rigth what type of programming should i learn ?
Complete implementation of something that is incompatible isn't exactly a beginners area (without guides), it's more an intermediates area as you need to have an understanding of how things are chained together, and what you need to do to create a new chain between parts. Personally I think you are better off slowly converting the Wrath of the Lich King CharacterCreate.lua and CharacterCreate.xml files into a Mists of Pandaria standard.Check out the project I am working on to see what I mean, as I wanted mine to look more like Mists of Pandaria, but it is completely a WotLK lua and xml, that have been modified.http://modcraft.io/viewtopic.php?f=29&t=3872Now, while it isn't exact, it's because I haven't installed an MoP client to compare them and gather the required .blp (image) files. But with time and effort it would be a breeze. Obviously, you are more interested in doing so than I am, so you will probably get further.This is also a better way (in my opinion) for you to learn how to manipulate the lua and xml files, rather than building from scratch.
Button:SetTexture("InterfaceGluesFeatureImagesFeature_"..RACE.."_"..GENDER.."_"..FEATURE.."..OPTION);
You approached it the long way. I did a literal copy and paste over, fixed the errors, filled in the missing data, filled in the missing functionality, tidied things up. In that order.The only two parts I didn't do is the camera movement (not feasible in 3.3.5a) and the option images.The option images are handled by built-in client functions. In 3.3.5a, these do not exist, so you would have to make a image for each one yourself.5 customisations * 2 genders * 11 races * 8 options = ~880 images needed. The code would be literally one line:Code: [Select]Button:SetTexture("InterfaceGluesFeatureImagesFeature_"..RACE.."_"..GENDER.."_"..FEATURE.."..OPTION);