Model:SetAnimation()
Model:SetAnimation(74);
I think people are gonna need to know how you tried to implement that code, possibly with snippets and why it didn't work out. Asking for help on a forum is a two way deal, give us what you've got so far, so we don't have to make the same mistakes.Have you taken a loot at Cataclysms character create XML/LUA? Unfortunately PlayerModel:SetAnimation wasn't added until 5.0.4 so that's why it didn't work, and I can't promise whatever they did in Cataclysm to make it work is in 3.3.5a either, it was a fairly big change from LK to Cata, but it's still your best bet.
animanimationanimatemodel:playermodel:setansetanimspellcast
It is hardcoded. Those setanimation functions on simplemodel are only there since mop, I think. You may be able to fake stuff, but certainly not with spells cast and stuff.
I personally do not know of any related functionality in wotlk. If there is, it will be members of SimpleModel or whatever that character selection element was. To reiterate, 90% of that stuff is done in the binary, not lua, so you will have a bad time to begin with. Eg, it is the binary triggering changes in model and armor when changing races/classes. I don't even really know if there is some lua event you can hook to then do special stuff like placing that animation. In cata, it is completely hardcoded.
SetFaceCustomizeCamera(true);
I see.However, setting the gear appearan...
Quote from: "spiderwaseem"I see.However, setting the gear appearan...That isn't what he meant, WoW.exe reads the DBC to find which pieces of armour to apply to the model, and then does it, itself. The DBC is just to store the data, the binary interprets it based on it's definition of the file and then uses the data, so I'm not really sure where you were going with that.As for the camera problem, "SetFaceCustomizeCamera(true)" definitely isn't in 3.3.5, that ones obvious, if there isn't a generic camera switching function (Not saying there isn't, but even if there is, there's no promising it'll work the way you want it) that's compatible with 3.3.5, this again isn't possible.Switching the background MIGHT work though a little hacky, I think it'd be done in CharacterCreate_Forward() but don't take my word for it. "MODEL_CAMERA_CONFIG" seems to define "distance" so that's your best lead in my opinion.