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: [TUTORIAL]How to create a Loginscreen with Lua & XML editing  (Read 59322 times)

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #30 on: June 24, 2012, 05:07:14 pm »
Quote from: "Landira"
Hey mordred, is it possible to add WMO in the Start screen?
I have an Idea to you the Throneroom from Lordaeron. At this moment I use a Screenshot but in HD it looks like really crap and unsharp :( With an Model there is no problem (when it works)
No, use a M2.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Landira

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 68
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #31 on: June 24, 2012, 07:11:46 pm »
yeah but this Throneroom doesn´t exist as M2 :(
 when it´s not possible i must use the crap looking screenshot hehe
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #32 on: June 25, 2012, 07:47:56 pm »
Use the screenshot and add some lamps or torches as m2s
« 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

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #33 on: June 27, 2012, 11:38:12 am »
Quote from: "Landira"
yeah but this Throneroom doesn´t exist as M2 :(
 when it´s not possible i must use the crap looking screenshot hehe
Convert it to whatever format you can convert to M2. Convert it to M2.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Soldan

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 159
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #34 on: July 14, 2012, 05:07:18 pm »
Hey, just wondering if anyone knew how to take away the fading every time you click on a character, or go to create one :P

And the character list, to keep it long, as in, even if there aren't any characters, for the list to be there..

Thanks ^^

Quick screenie:  1 hours work:

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

mike1084

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 10
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #35 on: July 26, 2012, 12:59:10 pm »
Hm... the link on the first page (LINK) of the first paragraph seems to be broken for me... I hope that you (or someone, for that matter) could give a link to the file(s) necessary. I'm not even sure if the files are actually necessary or not, and to what extent I could actually follow this tutorial without them, but I still ask for help. ^^
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #36 on: July 27, 2012, 12:43:52 am »
Update:
- fixed a bug which caused the models to reset their positions after loging out
(you have to add the model to the table now or else it will reset after loging out)

main post updated because of new download-link and tutorial.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

Norimar

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 156
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #37 on: July 27, 2012, 03:09:03 am »
Is it possible to use an picture which have holes, to place an background (sky) behind it?

Is it also possible to chance the Character-Creating screen? Din't spend much time into it :]
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #38 on: July 27, 2012, 03:44:22 pm »
Yes, and yes.

for "holes" just make these parts transparent, but you need a second Background behind the first and "sky", because else it will get into a huge mess with the void space behind the background.

for the charactercreation screen, you just have to edit your
CharacterCreate.lua & .xml
and GlueParent.lua
as far as I know (not sure though)

maybe I already got something for that with Loginscreen 3.0 ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #39 on: July 27, 2012, 10:38:39 pm »
Update:
-new Loginscreen video about the fixed version
-download updated (failed with a variable :| )
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

Norimar

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 156
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #40 on: July 28, 2012, 08:20:49 am »
Nice thanks! I din't tested it right now, but is your "addon" options field also so buggy after opening it? (buttons are on the wrong positions)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #41 on: July 28, 2012, 04:36:37 pm »
yea they are really messed up, but it's not the button which are mispositioned, it's the background that's not set to the center I think.

should look at this :p
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

mike1084

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 10
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #42 on: August 02, 2012, 03:59:32 pm »
I've changed my revision number (the 12340) into 13370 and changed my patch number (3.3.5a) into 0.0.1, but using this log-in screen fix, I don't see the patch data anywhere.

Would you know how to actually show that patch data somewhere? It'd be quite useful. ^^
Sorry if it's a really easy fix, I haven't looked into all the LUA files that much... (A)
Thanks!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #43 on: August 06, 2012, 02:00:09 pm »
sorry i have my edited wowl.exe and works prefectly, the hexadecimal part doesn't import, only import the m2 files and the login interface nothing more
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

lordshark

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 24
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #44 on: August 07, 2012, 11:49:44 pm »
Nice tutorial, but i have some problems.
First - i have changed my sound to my own music, but i seems doesnt work, because i hear another login-music.
Then - i have a problem with my model. i see my model from the top.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »