Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: lordshark on August 08, 2012, 12:59:06 am

Title: [QUESTION] Custom LoginScreen
Post by: lordshark on August 08, 2012, 12:59:06 am
greetings,
i have some trouble with the LoginScreen Tutorial with LUA & XML.

It works not so "perfectly" and thats sucks! :D
problem 1: i can hear the standard login music. i have change all playSound-functions in AccountLogin.LUA & XML, but i hear it! But i can hear my own theme two.
problem 2: i have add a model but i have the "SetCamera()" Problem.
If setCamera(0) - the model its over the completed screen and can't be resized or moved
if setCamera(1)- its not over the completed screen, but it cant be also resized or moved
if setCamera(2) - it can be resized, moved or also things, but the camera is show the model from the top.
Title: Re: [QUESTION] Custom LoginScreen
Post by: Shadowjesper1 on August 08, 2012, 11:32:32 am
@problem 1: Try to make your file like this:

If cata: Soundmusiccataclysmmus_shattering_uu01

rename your mp3 file to mus_shattering_uu01

Just swap in your file, whatever expansion or patch, just find the directory. Put in your file, and rename it to the already existing file, so it overwrites it.

This is what I can guide you with, hoped it helped =)
Title: Re: [QUESTION] Custom LoginScreen
Post by: Steff on August 08, 2012, 11:33:31 am
Not all models work. If you have no good predifined cam inside the model then you dont will get it. Mostly only NPCs playerchars and creatures have working cams. No doodads. So you have to add a cam into the mode to use it in the login screen.