Whackeddie99 Posted August 22, 2011 Author Share Posted August 22, 2011 Okay, this is my first tutorial ever, and it may not be the best. I'm going to show the 'newer' people to Eclipse a lesson for VB6\.Now, when most new people use tutorials, it seems they just copy and paste everything and they're done. They don't take the time to understand the code, and that is what this tutorial will do.This tutorial is very simple, and should be for newbies only, as it requires very little knowledge of VB6.When you type /help on a brand new EO, it shows some commands in the chatbox, and other stuff.**After this tutorial, typing /help will bring up a menu box, which shall display the controls, commands, and other things you want to teach new players in your game.**First off, download the two attachments and save them as Help (in GUI > Main) and X (Main > Buttons), both JPEG.Open up EO in VB6, and make a new picturebox OVER the picscreen, NOT IN IT!!!!! and name it picHelp. Now scroll down on the properties, and click Picture, select the Help attachment you downloaded. Set the picHelp visible to false (in the properties), so that it is not shown when you first start EO.Now create a new label in that picturebox, name it lblHelp. Set the caption to Help, and you can resize the font to whatever you would like in the properties. This will be your header at the top of the menu, so make it big (I use size 22).set the backcolor to black and the forecolor to white, and place it at the top of the picturebox.Now create another picturebox, this time inside the picHelp picturebox. Name this new one picX, and set the picture to the X attachment you downloaded earlier. Place it at the top right of the help menu.Now, make another label inside of picHelp, name it lblHelpTxtThis is where all your info shall go, such as your controls, commands, tips, anything you want to explain in your help window. Type in whatever you want, thats your choice.Now to the coding!Ctrl + F and find /help in HandleKeyPressesreplace:``` Call AddText("Social Commands:", HelpColor) Call AddText("'msghere = Broadcast Message", HelpColor) Call AddText("-msghere = Emote Message", HelpColor) Call AddText("!namehere msghere = Player Message", HelpColor) Call AddText("Available Commands: /info, /who, /fps, /fpslock", HelpColor)```With:```frmMain.picHelp.Visible = True```Now for you newbies, the code that you just inserted makes it so when you type /help in-game, instead of showing all that jazz in the chatbox, it will make the Help menu visible, or in other words it will open the help menu.Double click picX and insert this code```picHelp.Visible = False```This will make it so when you click the X button in the help menu, it closes it.So now after you've done all this and made the lblHelpTxt say what you want, compile and run, and you should get something similar to this:![](http://www.freemmorpgmaker.com/files/imagehost/pics/e233c01764cd07597f48fc3d8bc65c01.png)Without the Controls button on the left of course. You can edit this until you are satisfied, add buttons on the left like I will and make it show a different label instead of lblHelpTxt, or you can make a button on the game somewhere that opens the help menu, its really up to you. Anything is possible with this, and its just a boost for newbies who don't know how to make simple buttons or commands open something.This is a raw tut, but hopefully it teaches some newbies something about using commands to open windows. Don't include credit, I did this tutorial for fun ^-^Oh and btw, correct me if I forgot something? First tutorial!!! Link to comment Share on other sites More sharing options...
iSnow Posted August 25, 2011 Share Posted August 25, 2011 I can see getting use out of this. It's simple and can be expanded upon. I will code it in when I can and see what I can do with it. Easy but useful. Nice. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 25, 2011 Author Share Posted August 25, 2011 Thanks :D Link to comment Share on other sites More sharing options...
Domino_ Posted August 25, 2011 Share Posted August 25, 2011 Thanks, I like games where is smtn like this. :D Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 25, 2011 Author Share Posted August 25, 2011 Are you using it :D Link to comment Share on other sites More sharing options...
Connor Posted August 26, 2011 Share Posted August 26, 2011 I've already got something like this in my game, although you did a good job.Thanks for sharing this with the community. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 28, 2011 Author Share Posted August 28, 2011 Thanks Connor Link to comment Share on other sites More sharing options...
Xanvius Posted August 29, 2011 Share Posted August 29, 2011 Where do I draw the picHelp box as I drew it and couldn't click login or register or anything xD Sorry I am a newb Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 29, 2011 Author Share Posted August 29, 2011 @Xanvius:> Where do I draw the picHelp box as I drew it and couldn't click login or register or anything xD Sorry I am a newb@Whackeddie99:> Open up EO in VB6, and make a new picturebox OVER the picscreen, NOT IN IT!!!!! and name it picHelp.You have to make the picHelp picturebox over the picscreen, but make sure it isn't in the picscreen itself. If its in the picScreen, you wont see it when you use the /help command. To make sure its not in the picscreen, you could drag the right side of the game out a bit, then make the picHelp there, and then move it to on top of the picscreen. That should work good.Oh, and dont forget to move the right side back in though. Link to comment Share on other sites More sharing options...
Xanvius Posted August 29, 2011 Share Posted August 29, 2011 @Whackeddie99:> You have to make the picHelp picturebox over the picscreen, but make sure it isn't in the picscreen itself. If its in the picScreen, you wont see it when you use the /help command. To make sure its not in the picscreen, you could drag the right side of the game out a bit, then make the picHelp there, and then move it to on top of the picscreen. That should work good.> > Oh, and dont forget to move the right side back in though.Ia there no picScreen inside CS:DE? I am having trouble finding it. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 29, 2011 Author Share Posted August 29, 2011 this tut is for EO 2.0, I don't use CS:DE, so idk and if you are new, please, please use EO 2.0, or you will epically fail. Link to comment Share on other sites More sharing options...
Xanvius Posted August 29, 2011 Share Posted August 29, 2011 @Whackeddie99:> this tut is for EO 2.0, I don't use CS:DE, so idk and if you are new, please, please use EO 2.0, or you will epically fail.Ah ok xD Link to comment Share on other sites More sharing options...
iSnow Posted August 30, 2011 Share Posted August 30, 2011 If your using CS:DE, you need to render all these things. That can be done in the ModDirectX8, however I won't go into details since I'm not much good with that either. Link to comment Share on other sites More sharing options...
Xanvius Posted August 30, 2011 Share Posted August 30, 2011 I have successfully codded this menu in CS:DE thanks again :D Link to comment Share on other sites More sharing options...
Whackeddie99 Posted September 6, 2011 Author Share Posted September 6, 2011 no problemo senor 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