XPiXel Posted October 13, 2011 Author Share Posted October 13, 2011 **This guide 100% supports Version 2.0,but it has not been tested on outdated versions.**_______________________________________________________________________**This is a guide on how to add a tutorial message when you first log-in. By the end of the tutorial, you must have created a tutorial message like I said above. Everything is client-side , and of course ,you need **Visual Basic 6(Enterprise/Professional)**.1.Open up your "**client.vbp**".2.Open up your "**modGeneral**" and search for:```Public Sub MenuState(ByVal state As Long)```Under this:```MENU_STATE_ADDCHAR```Add this below it:``` frmMain.picTutorial.Left = frmMain.txtChat.Left frmMain.picTutorial.top = frmMain.txtChat.top frmMain.txtMyChat.Locked = True frmMain.picTutorial.Visible = True```3.Open up your "**frmMain**" and search for:```Private Sub Form_Unload(Cancel As Integer)```Under this:```logOutGame```Add this below it:``` picTutorial.Visible = False txtMyChat.Locked = False frmMain.txtMyChat.Visible = True```4.Add the following form work:>! Make a picturebox with the following properties:**Name** - picTutorial**BackColor** - &H000C0E0F&**Visible** - True(To see the picturebox with these positioning properties, extend the form's height)**Left** - 432**Height** - 138**Top** - 704**Width** - 476>! Make a label on the picturebox with the following properties:**Name** - lblTutorialName**Caption** - Welcome to Eclipse Origins! (This is an optional caption.)**Font** - Georgia 8(Bold)**BackStyle** - Transparent**ForeColor** - &H8000000E&**Height** - 255**Left** - 120**Top** - 240**Width** - 6855>! Make a second label on the picturebox with the following properties:**Name** - lblTutorialText**Caption** - Before playing, you should learn the basic controls for the game. First, use the ARROW KEYS to move your character. Use SHIFT to walk slower. Use the CONTROL key to attack or interact with NPCs. Finally, use the MOUSE to interact with the game interface, target players and NPCs and other things. (This is an optional caption.)**Font** - Georgia 8**BackStyle** - Transparent**ForeColor** - &H8000000E&**Height** - 855**Left** - 120**Top** - 600**Width** - 6855>! Make a third label on the picturebox with the following properties:**Name** - lblTutorialExit**Caption** - Close Window (This is an optional caption.)**Font** - Georgia 8(Bold)**BackStyle** - Transparent**ForeColor** - &H8000000E&**Height** - 255**Left** - 2880**Top** - 1560**Width** - 13355.Double-click "**lblTutorialExit**" and add this:```picTutorial.Visible = FalsetxtMyChat.Locked = False```**_______________________________________________________________________**Remember to put the height back to the original after doing the form work.Glad to help out, if you get any issues on this, feel free to reply.**Please do not PM me for any issues on this tutorial.Please give me credit if you are to use this.**** Link to comment Share on other sites More sharing options...
PVJsquad Posted October 13, 2011 Share Posted October 13, 2011 Nice Tutorial :cheesy: :cheesy: :O :O Link to comment Share on other sites More sharing options...
Murdoc Posted October 13, 2011 Share Posted October 13, 2011 Simple yet useful, thanks! Link to comment Share on other sites More sharing options...
Domino_ Posted October 13, 2011 Share Posted October 13, 2011 Looks good, but woun't this tutorial message appear afther closing game and login again? Link to comment Share on other sites More sharing options...
XPiXel Posted October 14, 2011 Author Share Posted October 14, 2011 @Domino_:> Looks good, but woun't this tutorial message appear afther closing game and login again?Yes, it's the same reason why I added that code to the NPC Speech Box, like when you log in, the NPC conversation you were in would be gone.``` picTutorial.Visible = False```If you want to remove it just remove the code above in your project below logoutGame. Don't remove anything else if you want your players not to be able to type when they log in again without closing the client.By the way,``` frmMain.txtMyChat.Locked = True```This code is to prevent typing when the tutorial is up. Link to comment Share on other sites More sharing options...
Likestodraw Posted November 20, 2011 Share Posted November 20, 2011 Why would you post this tutorial when you posted another tutorial that was much more simple? Link to comment Share on other sites More sharing options...
whittenator25 Posted December 22, 2011 Share Posted December 22, 2011 I did it but nothing is popping up…any ideas what it might be? Link to comment Share on other sites More sharing options...
XPiXel Posted December 24, 2011 Author Share Posted December 24, 2011 @Likestodraw:> Why would you post this tutorial when you posted another tutorial that was much more simple?Ugh… I thought this tutorial was resting in peace until you bumped it, lol.Anyways, that other one was just a simple chatbox message, this one is really a tutorial to match those NPC dialogues, so I posted this one to improve the first terrible and simple one. I prefer you use this one.@whittenator25:> I did it but nothing is popping up…any ideas what it might be?Register again. This only shows up to first-time players. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now