This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Custom LoginScreen  (Read 1350 times)

lordshark

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 24
    • View Profile
[QUESTION] Custom LoginScreen
« 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Shadowjesper1

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [QUESTION] Custom LoginScreen
« Reply #1 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 =)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Custom LoginScreen
« Reply #2 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954