Modcraft - The community dedicated to quality WoW modding!
Content creation => Modelling and Animation => Tutorials => Topic started by: Mordred on April 03, 2012, 10:05:09 pm
-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!DON'T USE THIS ANYMORE!! THERE IS A NEW VERSION OF THE LOGINSCREEN!!!
Here is the link: Easy Loginscreen (http://modcraft.io/viewtopic.php?f=7&t=8694)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hey guys!
today I wanna show you how to make a Login screen by only editing the Glue Lua and XML files.
all you need for this tutorial you can find in this link:
filebeam (http://fbe.am/ab1)
file-upload (http://www.file-upload.net/download-7305716/LoginTUT.rar.html)
1. Setting up your WoW
2. Customize your Loginscreen
2.1 Background
2.2 Music
2.3.1 Buttons
2.3.2 Positions
3. Add M2 models
4. Example
---------------------------------------------------------------------------------------------------
1. Setting up your WoW
At first extract the .rar file in your WoW-directory.
Congrats! First step done!
2. Customize your Loginscreen
2.1 Background
To set the background you just have to create a 1024x1024 .png file
which will have to be at least 75% of the 1024 pixels (768px height) to fill the entire screen.
Once you have finished editing your file save it in your directory:
WoWInterfaceLoginScreen
and name it:
Background.png
Now all you have to do is drag and drop the .png file onto your BLP Converter
and remove the .png file out of the directory.
2.2 Music
To set your background music all you have to do is find your music you like
and put it into the directory under:
WoWInterfaceLoginMusic
and name it:
LoginScreen.wav
After doing that open your music file with any musicplayer
and write down the length of the song (IN SECOUNDS!!!)
eg.: 2:25 -> 145
Now open the vx_vars_init.lua
(WoWInterfaceGlueXML)
press CTRL + F and search for:
VX_MUSICTIMER = GetTime() + <SECOUNDS>;
and remove the <SECOUNDS> with your song lenght.
2.3.1 Buttons
For the Buttons you have to create 5 files:
Glues-BigButton-Up -> the normal button
Glues-BigButton-Down -> the button pressed
Glues-BigButton-Highlight -> the button while your mouse is over it
Glues-BigButton-Glow -> the glow around the button
Glues-BigButton-Rays -> the pulsing rays when your mouse is over it
You have to save these files as .png files in your directory:
WoWInterfaceGLUESCOMMON
with the names above and then just drag and drop then onto your BLP Converter.
Now remove the .png files out of your directory and your done.
2.3.2 Positions
Now to set up the positions of your buttons you have to open the AccountLogin.XML
in your directory:
WoWInterfaceGlueXML
Press CTRL + F to search for:
name="AccountLoginAccountEdit" -> editbox for entering your accountname
name="AccountLoginPasswordEdit" -> editbox for entering your password
name="AccountLoginLoginButton" -> Login button
name="AccountLoginExitButton" -> Quit button
name="OptionsButton" -> Options button
name="AccountLoginManageAccountButton" -> Manage Account button
name="AccountLoginCommunityButton" -> Official Site button
name="AccountLoginSaveAccountNameText" -> Save Account name checkbox text + checkbox
Now to move these you have to look out for these eg.:
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="..." y="..."/>
</Offset>
</Anchor>
with the Anchor point you can set the anchor to a specific destination
eg.: "TOP" ; "BOTTOMLEFT" ; "RIGHT"; "CENTER" ; ...
and with the AbsDimension x and y you can set the x & y - coords from this destination.
3. Add M2 models
At first open your vx_vars_init.lua...
The lines 4 - 9 lines are the definitions of the model.
The model gets added to the Modelframe at the last 3 lines.
In these lines you can change the lines 5 - 9 with the description behind
(SetHeight and SetWidth only if you want to stretch your model, or cut of a piece of the model)
If you want more than one model on your loginscreen, you have to copy the lines 4 - 9 and change every Mod1 in your copied block to Mod2 (if more than two then Mod3, ...)
also you have to add a new "table.insert" behind (with a space and ; between) or under the first "table.insert"
in there you have to write: table.insert(M , Mod<YOUR MODEL NUMBER!>);
eg.: table.insert(M, Mod2);
if you don't add the model to the table "M", the model will reset it's position on logout and returning to the AccountLogin screen.
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
PS.: try to set the position of the model in Z+1, most of the time it helps to see the model.
PPS.: keep in mind that every model has different usage of the SetPosition command
eg.: some use the x and y axes to move in a 2D field and some use the y and z axes to move in a 2D field
4. Example
Here is an example of how you can make your Loginscreen:
[youtube:3i9ibrmo]http://www.youtube.com/watch?v=PzxRd59HdOQ[/youtube:3i9ibrmo]
PS.: I used "World\Kalimdor\silithus\passivedoodads\ahnqirajglow\quirajglow.m2" to do the light effects.
[youtube:3i9ibrmo]http://www.youtube.com/watch?v=F-YwXsLiRmI[/youtube:3i9ibrmo]
[youtube:3i9ibrmo]http://www.youtube.com/watch?v=10m7XDuaMxI[/youtube:3i9ibrmo]
also you should check out alborq's amazing tool for placing models:
Hello,First of all I thank yours has to be Mordred fantastic job.From my side I studied a little code, then I develop a small application to simplify the placement of 3D model that can happen complicate
So I develop a small application that is used to position the models
Insights api: LINK (http://img834.imageshack.us/img834/183/wowscrnshot030413194612.jpg)
Little tutorial:
1) Set the path to your model in the EditBox
2) Click on Add
3) If you do not see your model then increase the size as needed, so you will be close to or one is your model (off-screen)
4) Change the position with XYZ button
5) change the scale with two button above to be more precise
6) meet the position indicate on a notepad
/! They are not kept for the next time!
7) Completer position in the configuration file:
Mod1: SetPosition (pos_x, pos_y, pos_z);
Mod1: SetModelScale (scale);
Mod1: SetFacing (facing);
8) Enjoy
Download link: http://depositfiles.com/files/x085iqjpw (http://depositfiles.com/files/x085iqjpw" onclick="window.open(this.href);return false;)
Special thanks to:
vxsw -> GlueXML AShell (http://modcraft.io/viewtopic.php?f=12&t=218&start=0&hilit=Shell)
(dunno if it's not his, so don't blame me.)
alborq -> for his tool to place 3D models more easily.
~Mordred
-
Very nice tutorial. Thansk :)
-
UPDATE:
added my Login screen for demonstration purposes:
LINK (http://fbe.am/4GM)
~Mordred
-
Thanks again and hey don´t drink so much ... you are still blue ;)
-
Do you know how to edit the CC-logo? or in your case, the wotlk logo atop in the left corner. I have tried doing everything, same size, I am trying to edit it with a nefarian head with the writings <Heartwing>.
-
wow awsome thanks!
Thanks again and hey don´t drink so much ... you are still blue ;)
Lol steff :D
-
Just have a look at the code. The logos are just graifc layers. The easyest way is just to swap the original logo. But thn this one is cahnged everywhere. Just creat a new BLP file and search the logo in the .xml file. There you can change tha path.
-
Hmm I can't figure out how to add the models :S
-
It has a lot to do with testing and trying.
Some models don't work and some has no texture.
All I can say about it is:
try to get something on your loginscreen,
if it's white, it has no texture,
if it's a blue-white checkered box, it has a wrong pathname.
try to set the z axis to +1 for testing, most of the time it will show a part of the model.
A little bit of Lua knowledge is needed for the model adding section :/
~Mordred
-
What would X Y Z be for in the middle of the screen?
-
Also its not possible to make an MPQ instead of placing them in my WoW-directory/interface folder?
-
X Y Z is like
Y -> left and right
Z -> up and down
X -> forward and back (only a little bit or else the model disappears)
And yes, it's possible to make it as a patch
just put all the files into a MPQ with
Interface/...
and it should work.
~Mordred
-
It has a lot to do with testing and trying.
Some models don't work and some has no texture.
All I can say about it is:
try to get something on your loginscreen,
if it's white, it has no texture,
if it's a blue-white checkered box, it has a wrong pathname.
try to set the z axis to +1 for testing, most of the time it will show a part of the model.
A little bit of Lua knowledge is needed for the model adding section :/
~Mordred
Mine is green. Even though it is the same dimensions with the logo atop of the corner.
-
Tried with MPQ and it bugged the crap out of the loginscreen xD
-
Can I add other animated m2s then creatures? Like flames, portals, etc.
Also can't I just take X.m2 + XSkin00.skin and rename to Y.m2 and YSkin00.skin and it will be the same creature but only 1 skin?
Can I also make them use different animations? Like attack etc.
-
How is it possible to rotate the model?
I have one fine in now but I look on it from the bottom :)
-
I can't get them on the damn screen xD
-
I have tested around also 20 minutst till i got one on my screen. :)
-
@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
-
Greetings. Please, if I want to create a new character. It throws me this error.
Thanks Filipsons.
(http://desmond.imageshack.us/Himg688/scaled.php?server=688&filename=errorev.png&res=landing)
PS: Sorry for my English
-
Is it normal ?
http://img15.hostingpics.net/pics/69032 ... 150925.jpg (http://img15.hostingpics.net/pics/690321WoWScrnShot040912150925.jpg" onclick="window.open(this.href);return false;)
Can you fix the link of your loginscreen (3rd message) please ? I need to see something in your vx_vars_init
-
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.
-
Mordred, can you if possible add a video/normal tut on how to with WoWModelViewer make a .m2 that can be used for this.
-
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.
-
I think he meens this:
viewtopic.php?f=61&t=272 (http://modcraft.io/viewtopic.php?f=61&t=272" onclick="window.open(this.href);return false;)
-
Was looking for this.. Thanks <3
-
I love your loginscreen :D
Are you willing to share it ? Would be awesome :D
thxin advance :-)
-
I put in a download link in some comments below.
-
AAAh,sry coudn t see the link :-p
Now i got it :D
thx again,you re doing really awesome work :-)
-
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)
-
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.
-
yeah but this Throneroom doesn´t exist as M2 :(
when it´s not possible i must use the crap looking screenshot hehe
-
Use the screenshot and add some lamps or torches as m2s
-
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.
-
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:
(http://is.gd/ZKADZZ)
-
Hm... the link on the first page (LINK (http://filebeam.com/4603a1722a6760417a8995a2e6d6b5e2%20)) 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. ^^
-
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.
-
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 :]
-
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 ;)
-
Update:
-new Loginscreen video about the fixed version
-download updated (failed with a variable :| )
-
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)
-
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
-
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!
-
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
-
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.
-
@ detonatorss: wat.
@ lordshark:
first - it could be the ambience music. which is set in the vx_vars_init.lua file in the ShowScene function
then - add a camera
UPDATE:
Loginscreen 3.0 video
the loginscreen not included -> it maybe will get released as a shell for loginscreens after the expansion for chaotic united hit release.
- main post updated
-
UPDATE:
Loginscreen 3.0 video
the loginscreen not included -> it maybe will get released as a shell for loginscreens after the expansion for chaotic united hit release.
- main post updated
...I want this. ^^
Also, perhaps you didn't notice my question so I'll try to ask it again, as I actually see you've added this in 3.0...
How did you enable the patch / revision number in the bottom left? ^^
Other than that, I can't wait on 3.0 to get released! Is there any ETA on when this expansion will come out (and thus with that, the question is simply; when will you most likely release the new log-in screen? ^^).
Great work, I really love the improvement between 2.0! You should be proud! ;)
-
hey i have a little Question again.
How i can insert the Alert Box again in this tutorial file at the Loginscreen?
-
This is just what I was looking for. no more no less :D
Thanks a lot Mordred. I really enjoyed it and thanks again for updating your own login screen. I learned a lot of things through seeing that.
:-*
-
i have one question: how change overview of bottom-up or top-down, because some models visible from above, others are seen from below and i dnt know how to change it
-
Great Tut Mordred !
i've been looking for this for a while now.
Having some issues with the .M2 that won't show but its a start.
GJ !
-
Hey , i've been using [TUTORIAL]How to create a Loginscreen with Lua & XML editing
for making a Custom Login ...
but after solving the Lua 51 error "<' i got a new one and i realy don't have a Clue how to fix it...
The new error :
(http://imageshack.us/a/img688/6756/wowscrnshot100712142511.jpg) (http://imageshack.us/photo/my-images/688/wowscrnshot100712142511.jpg/)
Pastbin:
http://pastebin.com/1N70X90c (http://pastebin.com/1N70X90c" onclick="window.open(this.href);return false;)
-
Here's what I got:
http://www.youtube.com/watch?v=N6pbTjPeF48&feature=plcp
-
For some reason whenever I click "Enter World" the loading screen disappears and I get this:
"World of Warcraft
Your game interface files are corrupted. Please remove your InterfaceFrameXML folder."
(this is using the .exe that Mordred provided, and I don't even have a FrameXML folder)
In an attempt to solve this issue, I tried using the Heroes WoW client. It works, but I get this:
"Blizzard_TimeManager has been blocked from an action only available to the Blizzard UI. You can disable this addon
and reload the UI."
Does anyone have a solution to either of these problems?
-
First one means you broke the XML structure to the point that initiation fails (most likely).
-
First one means you broke the XML structure to the point that initiation fails (most likely).
Even when downloading Mordred's sample Login Screen (The Scarlet One), I still get the same exact error. And I've been getting this error ever since I started the project. Both in early development, and up until now.
Er, nevermind. I just found a solution as I was typing this. Something was wrong with my WoW folder, so I tried using another one I had laying around. That one works fine so I must have screwed something up.
-
First one means you broke the XML structure to the point that initiation fails (most likely).
Even when downloading Mordred's sample Login Screen (The Scarlet One), I still get the same exact error. And I've been getting this error ever since I started the project. Both in early development, and up until now.
Er, nevermind. I just found a solution as I was typing this. Something was wrong with my WoW folder, so I tried using another one I had laying around. That one works fine so I must have screwed something up.
You most likely deleted your interface folder, and thus the Blizzard AddOn data.
-
You most likely deleted your interface folder, and thus the Blizzard AddOn data.
Yup you were right. Thanks for pointing that out though =) Also, here's the result of several hours of tinkering:
[youtube:46nwbinl]http://www.youtube.com/watch?v=4yttyYjo9-M[/youtube:46nwbinl]
-
Also, here's the result of several hours of tinkering:[
Needs moar roaring dragons.
-
Looks good. Have a nice mood.
But perhaps add some light effects.
-
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".
-
Ok will have a second look :) But its cool if the effects are only smale. Dont make it so cheesy;)
-
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]
-
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.
-
Wonderful i have a Missing Model and idk What it is
Anything You Need to help me?
-
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.
-
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
-
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.
-
Sorry im not the best at editing, if you could show me an example that would be great
-
OK try to explain text ;)
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.
-
Is it possible a model doesn't appear because it is reskinned and came from Mop ^^' ? (a converted model obviously)
-
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
-
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 :( ?
-
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.
-
Duplication is not a problem, the real problem is my memory... x)
I don't remember how to hardcode a texture ^^'
-
Duplication is not a problem, the real problem is my memory... x)
I don't remember how to hardcode a texture ^^'
... Most likely within the .m2 ?
-
... I'm so stupid >< !
Edit : so so so... It doesn't work :(
-
1, copy and rename the m2 and the fitting texture blps.
2. change m2 name and blp name with hex inside the m2.
3. convert edit and reconvert the textures.
-
Very nice.
-
After a lot of tears my problem is solved, sorry for the flood, I'll post a render later :)
-
It's me again...
My question is : Can I create a theme changer ?
For example: I hate human, but, the loginscreen is based on humans kingdoms, is it possible to create a menu which allow to change the loginscreen ?
I hate human, one click and... I've a loginscreen for dwarves :D !
I don't know if it's possible, I haven't skills for that but I ask :D
-
It's me again...
My question is : Can I create a theme changer ?
For example: I hate human, but, the loginscreen is based on humans kingdoms, is it possible to create a menu which allow to change the loginscreen ?
I hate human, one click and... I've a loginscreen for dwarves :D !
I don't know if it's possible, I haven't skills for that but I ask :D
yes you can, you also can make a random loginscreen so everytime you open WoW it has a different loginscreen.
it's just a bit of Lua code in AccountLogin.lua and a few things in AccountLogin.xml and it should work
I'm actually trying to rebuild the GlueXML folder, so it looks more like a game
also full keyboard control for people who like to do things fast.
my AccountLogin files have half the lines than the original ones, without the unnecessary crap
-
(What music did you use in the third loginscreen? :o )
-
it wasn't the real music, but I added it to have at least some music
also the song title was: Kevin McLeod - The Cannery
http://www.youtube.com/watch?v=gzLPZml9VRI (http://www.youtube.com/watch?v=gzLPZml9VRI" onclick="window.open(this.href);return false;)
-
Hello,First of all I thank yours has to be Mordred fantastic job.From my side I studied a little code, then I develop a small application to simplify the placement of 3D model that can happen complicate
So I develop a small application that is used to position the models
Insights api: http://imageshack.us/photo/my-images/83 ... 94612.jpg/ (http://imageshack.us/photo/my-images/834/wowscrnshot030413194612.jpg/" onclick="window.open(this.href);return false;)
(http://img834.imageshack.us/img834/183/wowscrnshot030413194612.jpg)
Little tutorial:
1) Set the path to your model in the EditBox
2) Click on Add
3) If you do not see your model then increase the size as needed, so you will be close to or one is your model (off-screen)
4) Change the position with XYZ button
5) change the scale with two button above to be more precise
6) meet the position indicate on a notepad
/! They are not kept for the next time!
7) Completer position in the configuration file:
Mod1: SetPosition (pos_x, pos_y, pos_z);
Mod1: SetModelScale (scale);
Mod1: SetFacing (facing);
8) Enjoy
Download link: http://depositfiles.com/files/x085iqjpw (http://depositfiles.com/files/x085iqjpw" onclick="window.open(this.href);return false;)
Bonjour,
tout d'abord je tien a remercier Mordred pour sont travail fantastique.
De mon coté j'ai étudié un petit peu son code, par la suite j'ai développez une petite application pour simplifier le placement des model 3D qui peut s'averez compliquez
J'ai donc développez une petit application qui sert a position le models
Aperçus de l'api : http://imageshack.us/photo/my-images/83 ... 94612.jpg/ (http://imageshack.us/photo/my-images/834/wowscrnshot030413194612.jpg/" onclick="window.open(this.href);return false;)
(http://img834.imageshack.us/img834/183/wowscrnshot030413194612.jpg)
Petit tuto :
1) Mettre le chemin de votre model dans l'EditBox
2) Cliquez sur Add
3) Si vous ne voyez pas votre model alors augmentez la taille autant que nécessaire, vous serez donc un peut près ou est votre model (hors de l'écran)
4) Modifier la position avec les bouton XYZ
5) modifier l'echelle avec les deux plus haut bouton pour etre plus précis
6) relever les position indiquez sur un bloc note
/!!! elle ne sont pas conservé pour la prochaine fois !
7) Completer les position dans le fichier de configuration :
Mod1:SetPosition(pos_x, pos_y, pos_z);
Mod1:SetModelScale(scale);
Mod1:SetFacing(facing);
8) Enjoy
Lien de téléchargement : http://depositfiles.com/files/x085iqjpw (http://depositfiles.com/files/x085iqjpw" onclick="window.open(this.href);return false;)
-
Alborq, thats impressive!
I´ll try right now
-
Awesome work alborq, if you want I can add the english part to the first post
also these are the first works on the new GlueDialog files (still WIP with a lot of bugs):
LINK (http://i.imagebanana.com/img/fp8viqxx/wow2013030420563641.png)
LINK (http://i.imagebanana.com/img/62onvcrv/wow2013030420574247.png)
the parts around the box in the middle are spinning and fly in when they get called.
-
I'm OK !
and i thinks we must explain how create a background picture in HD 16:9 but actualy, a render is soo flat..
-
it's added :)
also for HD background just make an image that's 2^X size in both dimensions
for example:
1024x1024 = 2^10 x 2^10
if you want to make a background with higher resolution just make one with:
2^11 x 2^11 which will be: 2048x2048
keep in mind that this will take 4 times the file size of the lower resolution background,
so it's good to compress the blp file.
if your converter can't do that, use THIS (http://www.hiveworkshop.com/forums/tools-560/blp-lab-v0-5-0-a-137599/), save as BLP2 and use the DXTC compression.
-
Hi, i come back for ask a little question, actually we can move Model only with Facing, we have a control on only one axis, i need move 2 other axis of model , but i dont know how, all doc dont say anything about that, i thinks we must move a CameraPosition but :
Model:SetCameraDistance() - This function is not yet documented
Model:SetCameraFacing() - This function is not yet documented
Model:SetCameraPosition() - This function is not yet documented
Model:SetCameraTarget() - This function is not yet documented
Model:SetCustomCamera() - This function is not yet documented
i have try this Mod2:SetCameraPosition(mt_pos_x, mt_pos_y, mt_pos_z);
but i have an error :attempt to call method "SetCameraPosition" (a nil value)
i must understand this fonction has been removed ?
we cant move other axe ?
(http://www.f-lohmueller.de/pov_tut/trans/rotatete.gif)
Facing = Y rotate
???? = X rotate
???? = Z rotate
-
Either this function does not exist, or you first have to set a custom camera with Model:SetCustomCamera()
also it could be that these functions just don't work outside ingame, because I tried several times to make something with the animation widget, but there's never been any respond or error.
-
I have the same problem with the function Model: SetCustomCamera () if the parameter is not good, he would not give this mistake .. here I am .. block
-
LUA is really crazy after the test for my last post (I generated the error) I remove the code related to it and my PAF model turned in another axis, my code is the same that 'before the test, I do not understand, all is not lost!
actually, i cant reset my models view ... Just epic
(WTF, Cache Log) deleted ..
-
Hi,I then discovered a terrible thing when you use my system, this camera model from the first base load model view, is that I want to say is that for the other modified axis of rotation must find a model that has a camera suitable for the task, and then change the model and so positioned as a new angle, what does that mean? my tools are useless if you do not put the path in the code before running it, and we do not use it for placement, editbox is without interest, Attention is not everything was true, no camera models are not conserner by this problem .. Unfortunately you can not create it's own camera lua Blizzard I hate you ...Take care when using my tools, if the placement is different with display once encoded in the file, you know that the problem of vien for the brave I think it just reload the camera after loading new models, nothing too difficult, I searched my model continues to be the right camera for another place, I know yours if I have conclusive results and patcherais software case and this case only
-
Mordred, I am looking for a place where I can call a function after displaying loginscrenn but before the user can see, you have an idea of when I just make this call? because I really need is the model for the camera view is generated and I can put my final model so I'd do it as soon as possible ..
Do you have any suggestion?
-
Maybe just let a function get called after the models are set
or OnUpdate on first call
-
OnUpdate <3
Ty Morded all work nice, i try to give a new version of your code for fix this probleme
All Work nice =D
Me and Hyakkimaru LOVE you
-
I've got a problem, I'm trying to put Mounted Baron Rivendare (from four horsemen "Creature/MOUNTEDDEATHKNGHt/MountedDeathKnight.m2"), but whole texture is white, and other one is correct, i know it only from wowmodelviewer, and here goes my question, how can i know what's path to it because it's not in same folder as model.
-
If creature appears in white, it's just because it a more than 1 skin, so the loginscreen don't load textures
-
By saying texture is white i meant really white texture, on wowmodelviewer "MountedDeathKnightBlack_01" is correct, "MountedDeathKnightBlack" is whole white, and that's why i ask how to get path to those because there are none in same folder as .m2 is, I tried to pull whole folder with changed name and it appears to be connected to "Creature/MOUNTEDDEATHKNIGHT" folder (both white and correct one) so i need to know from where wowmodelviewer knows that path so i can separate them. I'm newbie in it so that's probably easy question for you. I'd be really happy if someone would help me since I'm working on that loginscreen for really long and after it'll be properly textured, it will be used for real server and everybody is very excited about that so far.
PS: If someone would mind explaining how to/is it possible to make that model saved with some weapon that would be even more awesome.
Edit: Now i saw from where it has textures, but it had 3x"MountedDeathKnightBlack" (which was correct one) with different captial letters. I really don't know what's going on here. I searched every mpq in game and there's only one "MountedDeathKnightBlack.blp" but at least 2 seems to be different, in paths to blps i saw also that "white textured" one, there's no named blp with that path in game, is it possible to be "hidden" file in mpq ?
-
The reason it isn't taking the textures, is the same reason when you have some models in wmv that bug, because they have a few textures...
The mounted deathknight model, has various textures that are defined via DBC (CreatureDisplayInfo), and since you are using the model, and not a display, it doesn't read the textures.
To fix this problem, you'll have to edit the m2, either with pymodel / 010 editor and set the textures to hardcoded. Tip; Pymodeleditor is more user-friendly.
Once the textures are hardcoded, it will work no problem.
-
Mordred next bug :
Launch Wow
Connect
Go in game
Disconnect
Press Return or escape
See (model is bad set)
Detected :
:SetCamera(0); is a probleme, it is use in bad time
but when ..
-
actually I fixed that with an update before:
LINK (http://www.youtube.com/watch?v=F-YwXsLiRmI)
changes in:
vx_vars_init.lua
CharacterSelect.lua
and AccountLogin.lua
new DL link because filebeam is down I guess:
LINK (http://www.file-upload.net/download-7305716/LoginTUT.rar.html)
-
For an older version:
There is a problem with the TOSScrollFrame. For those that can not use the scroll for TOS, do this:
Go into AccountLogin.xml
Go to line 1299
Remove 1299 - 1301 consisting off:
if ( not TOSScrollFrame.loaded ) then
TOSAccept:Disable();
TOSScrollFrame.loaded = true;
I assume this fix is quite hacky. Never the less, I haven't tested the newer version and if it works.
-
I changed my login screen and I came out with this i imgur com/QzCPPqH png
How to fix?
-
I changed my login screen and I came out with this i imgur com/QzCPPqH png
How to fix?
Green would typically imply that a texture is missing. in this case, it looks like the client can't find your background image. Make sure you have the correct patch and file name set up, and also make sure that the image is in your patch.
-
Bad size for your background or it isn't found in your patch
-
Does anyone have any good converter blp <> PNG
-
Try this: viewtopic.php?f=59&t=801 (http://modcraft.io/viewtopic.php?f=59&t=801" onclick="window.open(this.href);return false;)
-
Someone know why all my models i try to import are facing the top ? Can't move them to get them in a normal position, i just see their top :/
-
Yes becaus they dont have a cam inside
You can only use models with cam So only creatures. Or you add a cam to models. Thats why i gave up using this method.
-
Okay, thanks for your answer.
Is it hard to add a cam to a model ?
-
I never tried it. Vel did it once.
-
Hm i got all the creatures with this problem too, i dont know why i got this because i tested it before with arthas and it worked well :
http://www.youtube.com/watch?v=zzgPVDxbgIc (http://www.youtube.com/watch?v=zzgPVDxbgIc" onclick="window.open(this.href);return false;)
Now i only see him from top :/
-
After downloading your files Mordred, I've again a problem, I can't find the hack which says : troll = orc and gnome = dwarf for the UI, have you put it in another file ?
-
How do you re-position the buttons on the Addon Page "Select & Deselect All"
-
Question.... Couldn't you just find the location of where the login screen is staged, like the ADT / Map file for it. Then edit it with something like Noggit to make it look differently?...
Or that's not how it's made?
-
Not at all, PainSavior. The Login Screen used by Blizzard is an .m2 Model that cannot be edited with Blender due to the use of multiple skeletons.
-
Oh wow. Okay. Thanks for the quick reply. I was under the assumption it was just a map, some where in the game. What about the Character selection screens? Same jist?
-
Yepp, same thing.
-
I'm not sure if this was posted but...Is there a way to rotate models vertically in the login screen?
-
Add a camera to it. I had to do it for 2 of the models I use.
-
Any documentation on how to do that?
I'm not very good with Lua.
-
http://pxr.dk/wowdev/wiki/index.php?tit ... LK#Cameras (http://pxr.dk/wowdev/wiki/index.php?title=M2/WotLK#Cameras" onclick="window.open(this.href);return false;)
-
Just copy the camera block from a model that works on the login screen (I recommend a creature), to the end of the cameraless-m2. Then readjust the offsets. In total, you'll be looking at about 30 offsets (just make sure you don't mess up while doing it or it will break the model).
Basically, if you add the camera to it.. the view will be face on, and that way you will achieve said "verticle rotation". It will also solve another probem that occurs, and that is that the models move if you change resolution (try setting a square resolution and take a look at what happens). If you have a camera on the model - you will have to readjust the coords (you will need Z aswell). I recommend using the DevModel addon.
-
I am getting a green background. Music worked
Confused on a step:
It states the following:
Once you have finished editing your file save it in your directory:
WoWInterfaceLoginScreen
and name it:
Background.png
Now all you have to do is drag and drop the .png file onto your BLP Converter
and remove the .png file out of the directory.
image saved as a png format 1024x768
I saved it to the LoginScreen as "Background.png"
the next part is blurry...
do i put the converter in the LoginScreen folder then drag/drop the png on it then remove the png leaving the blp file? (did that, screen is still green)
do i copy the png image to where the blp converter is at (currently it is in the interface folder as per extracted file put it), drag it on the blp converter, then move the blp file to the login screen?
if your confused - now you know I am LOL
Ok, but seriously, I get a green screen no matter what i do, with a blue/white checker square lower left
I read somewhere that either the path is wrong or the file is bad. I did it with 2 files and still come up with the same probl
Thanks if you can help me make this work!
-
you are not confused you are noob
one of firsts Rules of WoW editing is that every Image in WoW need to haev mirrored Resolition
2x2
4x4
8x8
16x16
32x32
64x64
128x128
256x256
512x512
1024x1024
2048x2048
etc
-
you are not confused you are noob
one of firsts Rules of WoW editing is that every Image in WoW need to haev mirrored Resolition
2x2
4x4
8x8
16x16
32x32
64x64
128x128
256x256
512x512
1024x1024
2048x2048
etc
I am only as smart as my teacher -
Please Explain.
The instructions (teacher) says the image needs to be saved in a png format - pretty basic, where does the above come in?
-
GOT IT!
I misread. 1024x1024 (not 1024x768)
*goes off and re-learns reading*
:lol:
-
Is this also working on 2.4.3 (TBC) Clients? Cause i always get error when starting WoW after adding new patch file.
-
Because u didnt removen MD5 Protection
-
I did.
-
Is this also working on 2.4.3 (TBC) Clients? Cause i always get error when starting WoW after adding new patch file.
Nobody knows what you did, or what the error is. Tell us what the error is.
-
Doesn't modded TBC requires wowme.exe started before wow.exe ?
-
I'm trying to make a simple solid picture login sreen. Just putting a blp in interface/loginscreen isn't working.. Should it be?
-
(http://i.imgur.com/k9Hb2Ak.png)
-
Lol sorry, I am new to it :)
But if someone could answer my question of how to do a simple login screen edit to a still image. That would be awesome :)
Udate: I've figured out how to change the Logo, I guess I have to change every little Square for the background and can't just put one big BLP? :)
-
Hello,
I was also trying to do the same as Domminust, except that I'm trying it with 1.12.1 version, so the files provided in this topic cannot be used. I started to slowly discover stuff myself, step by step.
I successfully swapped the background image behind the Dark Portal, but now I got stuck with editing the .xml files. I extracted the 1.12.1 files from patch-2.mpq of 1.12.1 and for starters I tried to move the Blizzard logo from the bottom to the top of the screen (inside AccountLogin.xml).
Sadly, everytime I make ANY change to the .xml file and pack it into a patch-i.MPQ file, the game gives an error (Interface files are corrupt, plz reinstall the game). I thought maybe those are not the correct interface files, so I extracted the default files from patch-2.MPQ again and packed them into a new patch-i.MPQ file without any changes inside + I swapped login screen music. The game works with different music, so my patch file also works.
Can you tell me why it won't allow me to do any changes in the XML file?
Thx in advance.
-
It's because you haven't disabled frame xml checking in your wow.exe. Unfortunatley i only know how to disable lua checking in 1.12.
-
Thank you very much!
Your bit of info was all I needed. Google gave me a topic on this forum with your own post viewtopic.php?p=21288#p21288 (http://modcraft.io/viewtopic.php?p=21288#p21288" onclick="window.open(this.href);return false;) that actually sent me the right way, I made my own executable and now I have succesfully moved the blizzard logo to the top of the screen. Yay!
PS: A quick one out of one of the default classic loadscreens:
[attachment=0:2vhhrtvc]LoginScreen1.jpg[/attachment:2vhhrtvc]
PS2: Later I discovered that my executable works for xml edits, but when I actually log onto a server and try to log out from the game world, the game will crash on me, so a non-crashing modified file would still be appreciated :D
-
Does it still work for Legion 7.1?