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)

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML editing
« Reply #15 on: April 07, 2012, 09:25:58 pm »
How is it possible to rotate the model?
I have one fine in now but I look on it from the bottom :)
« 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

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML editing
« Reply #16 on: April 07, 2012, 09:54:19 pm »
I can't get them on the damn screen xD
« 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 editing
« Reply #17 on: April 07, 2012, 10:33:22 pm »
I have tested around also 20 minutst till i got one on my 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

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML editing
« Reply #18 on: April 07, 2012, 10:36:35 pm »
@Shadow
If it's green, it probably can't be used or with the file is something wrong


@phucko
it should work with a MPQ, maybe your path is wrong. Make sure it is Interface/GLUES and so on. Then it should work.
And yes, you can add other types of m2s portals, spells, creatures, whatever you like, but keep in mind that not every model works just fine.
And if you can't get them on the screen, try with the Z-axis, set it to +1 then +2 then +3 aso. if it won't show up try with Y-axis +1 aso. then X-axis and if nothing shows up... your fucked xD


@Steff
Use the Mod1:SetFacing(Mod1:GetFacing()+0); row.
You can multiply or add to the facing.
If it still shows the model still from the wrong direction, then you have to edit the camera :<


~Mordred
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

Filipsons

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 220
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML editing
« Reply #19 on: April 08, 2012, 01:51:26 pm »
Greetings. Please, if I want to create a new character. It throws me this error.
Thanks Filipsons.



PS: Sorry for my English
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Eremis

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 54
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML editing
« Reply #20 on: April 09, 2012, 03:23:49 pm »
Is it normal ?

http://img15.hostingpics.net/pics/69032 ... 150925.jpg


Can you fix the link of your loginscreen (3rd message) please ? I need to see something in your vx_vars_init
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #21 on: April 25, 2012, 06:02:23 pm »
Model:SetPoint("CENTER",0,0)
^
This appears to be the only method that has some effect as to the position of the model. As soon as I set it to TOP/BOTTOM etc, it does not show.

If I try to manipulate the position in any shape or form, it does not show.

If I try to set the scale, or change the way it faces, there is no change.

I'm a bit confused as to how you managed this. Even when copying the code you used and testing both spirit healer models, your code does not work. =/

edit:

This was solved by having the model rendered after a delay. Rendering it at declaration executes too fast for it to show, apparently.
« Last Edit: May 22, 2012, 09:02:47 am by Admin »

Shadowjesper1

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 41
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #22 on: May 19, 2012, 09:08:47 pm »
Mordred, can you if possible add a video/normal tut on how to with WoWModelViewer make a .m2 that can be used for this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #23 on: May 20, 2012, 10:17:00 pm »
Quote from: "Shadowjesper1"
Mordred, can you if possible add a video/normal tut on how to with WoWModelViewer make a .m2 that can be used for this.
You can't create models with modelVIEWER.
« 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 #24 on: May 20, 2012, 10:34:36 pm »
I think he meens this:

viewtopic.php?f=61&t=272
« 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

Elinora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 187
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #25 on: May 22, 2012, 07:07:11 am »
Was looking for this.. Thanks <3
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Currently studying Game Design at Copenhagen University. I also have a big project going on, sadly I have no portfolio of it (yet).

mystical

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
    • https://www.facebook.com/michael.melzer2
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #26 on: May 31, 2012, 09:34:10 pm »
I love your loginscreen :D

Are you willing to share it ? Would be awesome :D

thxin advance :-)
« 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 #27 on: June 01, 2012, 12:05:50 am »
I put in a download link in some comments below.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

mystical

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
    • https://www.facebook.com/michael.melzer2
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #28 on: June 01, 2012, 01:37:34 am »
AAAh,sry coudn t see the link :-p
Now i got it :D
thx again,you re doing really awesome work :-)
« 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 #29 on: June 22, 2012, 06:10:52 pm »
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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »