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 59329 times)

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #60 on: December 06, 2012, 09:43:48 am »
Quote from: "Steff"
Looks good. Have a nice mood.
But perhaps add some light effects.
Oh I did but you won't be able to notice them if you're not watching in fullscreen HD. I used the same light model that Mordred used for his Scarlet Crusade Login which pretty much pulses in/out. It's a bit difficult to see it moving, but it's the reason why it's so bright. And I also used a "wailingwinds" creature to emulate "God Rays".
« 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 #61 on: December 08, 2012, 12:57:07 am »
Ok will have a second look :) But its cool if the effects are only smale. Dont make it so cheesy;)
« 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

40thzombie

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #62 on: February 18, 2013, 10:39:28 am »
Its Being Annoying To Me, There is a blue and white box on the bottom left hand corner of my screen

[attachment=0:3lt2480c]WoWScrnShot_021713_195612.jpg[/attachment:3lt2480c]
« 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 #63 on: February 18, 2013, 11:07:00 am »
Quote from: "40thzombie"
Its Being Annoying To Me, There is a blue and white box on the bottom left hand corner of my screen

[attachment=0:34iktwqv]WoWScrnShot_021713_195612.jpg[/attachment:34iktwqv]
You have a missing model there.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

40thzombie

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #64 on: February 18, 2013, 12:16:46 pm »
Wonderful i have a Missing Model and idk What it is

Anything You Need to help me?
« 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 #65 on: February 18, 2013, 12:19:28 pm »
Quote from: "40thzombie"
Its Being Annoying To Me, There is a blue and white box on the bottom left hand corner of my screen

please read the thread before adding a question, I already answered that:


if it's white, it has no texture,
if it's a blue-white checkered box, it has a wrong pathname.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

40thzombie

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #66 on: February 18, 2013, 12:28:53 pm »
i did Read before Posting, and i have added No models to the login screen, i used your one from the logintut and the changed the Background, thats all i have done
« 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 #67 on: February 18, 2013, 01:03:29 pm »
well then there is one model,
it's the template for more models in which you can add your own path

so just look at the vx_vars_init.lua and put everything in the ModelOptions() function into a comment:
--[[
]]

and in your PlayBackgroundModels() funtion the Mod1:SetModel("path\filename.m2"); into a comment:
--

then there is no wrong path model on your loginscreen.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

40thzombie

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #68 on: February 19, 2013, 05:43:37 am »
Sorry im not the best at editing, if you could show me an example that would be great
« 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 #69 on: February 19, 2013, 11:51:32 am »
OK try to explain text ;)


Quote
so just look at the vx_vars_init.lua and put everything in the ModelOptions() function into a comment:
--[[
]]
and in your PlayBackgroundModels() funtion the Mod1:SetModel("path\filename.m2"); into a comment:
--------------------

>> Open the file x_vars_init.lua
>> Search ModelOptions() function
>> put all content inside the function in quote Start with --[[ end with ]]
>> Search PlayBackgroundModels() funtion
>> Search Mod1:SetModel("path\filename.m2");  and also quote into
--[[ Mod1:SetModel("path\filename.m2");  ]]

If you don´t understand now you MUST read some lua basics. The main syntax should be known.
« 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

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #70 on: February 19, 2013, 12:45:27 pm »
Is it possible a model doesn't appear because it is reskinned and came from Mop ^^' ? (a converted model obviously)
« 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 #71 on: February 19, 2013, 01:47:50 pm »
it should at least appear, but if it has any textures...

like I said before, you pretty much have to test all sorts of position variations to get it even on screen
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #72 on: February 19, 2013, 02:45:07 pm »
Quote
Now to set the model you have to start your WoWModelViewer and find a model with only 1 skin (else they are white)
then enter your full path of the model into the 2nd last line with double \ and .m2 at the end

If the model has more than 1 skin, there's no solution :( ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #73 on: February 19, 2013, 03:53:38 pm »
Quote from: "hyakkimaru"
Quote
Now to set the model you have to start your WoWModelViewer and find a model with only 1 skin (else they are white)
then enter your full path of the model into the 2nd last line with double \ and .m2 at the end

If the model has more than 1 skin, there's no solution :( ?
Hardcode the texture into the model - duplicate the model and repeat.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: [TUTORIAL]How to create a Loginscreen with Lua & XML edi
« Reply #74 on: February 19, 2013, 03:55:36 pm »
Duplication is not a problem, the real problem is my memory... x)

I don't remember how to hardcode a texture ^^'
« Last Edit: January 01, 1970, 01:00:00 am by Admin »