I have 3 hard questions.
by Alexander B · in Torque Game Engine · 10/15/2008 (12:37 am) · 38 replies
I have 3 questions that i need to implent in my MMORPG. Thanks in advance.
1. How do i implent a character creation and selection screen. At the moment i just want a basic one that only has one model and all you do is selct a name.
2. Does anyone know how to implent a simple login screen that connects to a server and makes sure the username and password are correct then goes to the character selection screen?
3. How do i put lots of differnt missions in the game so when the player reaches a certian point the game will load the next mission and the player ends up in the place the mission starts?
1. How do i implent a character creation and selection screen. At the moment i just want a basic one that only has one model and all you do is selct a name.
2. Does anyone know how to implent a simple login screen that connects to a server and makes sure the username and password are correct then goes to the character selection screen?
3. How do i put lots of differnt missions in the game so when the player reaches a certian point the game will load the next mission and the player ends up in the place the mission starts?
#2
As silentMike said, there are various resources on doing all those. Head over to the resources and start digging. Also check out www.mmoworkshop.com where you can find an MMORPG kit for Torque.
10/15/2008 (2:33 am)
Those are not hard questions to answer if you knew how Torque works. I would suggest you first try to make a simple game to learn how the engine works. It could be something that makes use of the same art you would eventually use in your MMORPG so that you can start getting the art assets together. That is how I started with Torque, decided on a simple game but not too straight forward like an FPS so that I at least had to go into the engine code to change some things and see how the engine works. The result MultiMayhem.As silentMike said, there are various resources on doing all those. Head over to the resources and start digging. Also check out www.mmoworkshop.com where you can find an MMORPG kit for Torque.
#3
10/15/2008 (3:39 am)
Thank you for your answers but i have already made a game and i kinda know how torque works. Can someone please post links to the rescources which will help with my questions?
#5
I am not gonna do your searching for you, got my own game development to do and am trying to learn Torque X and XNA, but here goes some answers on your questions ...
1.
This depends on what exactly you mean. Is it the simple method of selecting from a set of player models or the more complicated one where one can change the face, hair, colours, etc? Depending on the method you will either stay in the GUI and just use the 3D View Gui control (not sure bout name) to display the models as the player select 'em or you would create aspecial scene (mission file), much like this, where you have mnore control over the player model and can change textures, and hide and display meshes as needed. The last option will also need you to add things like mesh hiding, multiple texture, etc. Luckily I had those links ready as I created one of those resources.
2.
Yes, I know how and did it allready, but a even a simple one might not be that simple. It also depends on whether you use torque net and server or create your own server. I wanted to try explain this but then I'll be hear writing a tutorial for a few hoursa as it involves a lot of things. It again resolves around a lot of different things like your choice of client server handing, database, etc.
3.
Well, first off, create lots of missions :)
Then, put down a trigger where you want the the map change to occur so that when the player enters the trigger your script will get a chance to laod the new mission and dump the player at what ever spawnpoint you want. Since you can create several spawn points in a mission and can in script make the player spawn at the one you want, you can have him spawn on the correct side of whatever mission was loaded.
Short from dumping code on you this is the only way onyone can answer these.
Just do yourself a favour and look at the stuff going on at www.mmoworkshop.com. If you can't answer the questions you posted you are not ready to modify Torque yourself to create an MMORPG and need to use a kit to at least get started.
10/15/2008 (2:05 pm)
Everything you want to do can be done by using www.mmoworkshop.com. Did you not have a look around that site and its forums? They also talk much more about MMORPG creation over there.I am not gonna do your searching for you, got my own game development to do and am trying to learn Torque X and XNA, but here goes some answers on your questions ...
1.
This depends on what exactly you mean. Is it the simple method of selecting from a set of player models or the more complicated one where one can change the face, hair, colours, etc? Depending on the method you will either stay in the GUI and just use the 3D View Gui control (not sure bout name) to display the models as the player select 'em or you would create aspecial scene (mission file), much like this, where you have mnore control over the player model and can change textures, and hide and display meshes as needed. The last option will also need you to add things like mesh hiding, multiple texture, etc. Luckily I had those links ready as I created one of those resources.
2.
Yes, I know how and did it allready, but a even a simple one might not be that simple. It also depends on whether you use torque net and server or create your own server. I wanted to try explain this but then I'll be hear writing a tutorial for a few hoursa as it involves a lot of things. It again resolves around a lot of different things like your choice of client server handing, database, etc.
3.
Well, first off, create lots of missions :)
Then, put down a trigger where you want the the map change to occur so that when the player enters the trigger your script will get a chance to laod the new mission and dump the player at what ever spawnpoint you want. Since you can create several spawn points in a mission and can in script make the player spawn at the one you want, you can have him spawn on the correct side of whatever mission was loaded.
Short from dumping code on you this is the only way onyone can answer these.
Just do yourself a favour and look at the stuff going on at www.mmoworkshop.com. If you can't answer the questions you posted you are not ready to modify Torque yourself to create an MMORPG and need to use a kit to at least get started.
#6
If you do a search for "Player Selection", a Code resource (by Chris C2 Byers) comes up first. It should help you a lot.
Also, "Persistent Character Server".
Tony
10/15/2008 (3:05 pm)
Alexander,If you do a search for "Player Selection", a Code resource (by Chris C2 Byers) comes up first. It should help you a lot.
Also, "Persistent Character Server".
Tony
#7
10/16/2008 (9:57 pm)
Thank you all for your help. Im going to impent the character selection code. The only help i need now is how to trigger it so the player enters the new mission and i can't find the Persistent Character Server resource. Does anyone have a link to it?
#8
10/16/2008 (10:27 pm)
Http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4085
#9
10/16/2008 (10:58 pm)
Thanks peter. I am having a problem with the character creation. How do i put in a button so it loads up the charcater selection screen? I have Guiobjectview.
#10
10/19/2008 (12:17 pm)
Anyone able to help me i still am having trouble with the button.
#11
Or are you trying to connect it to a keyboard button? (like a keybind?)
What have you tried?
I haven't tried the resource, but I'll try to help.
Tony
10/21/2008 (12:27 pm)
OK, so you have a button on the screen and you want to connect it to your selection? Is that right?Or are you trying to connect it to a keyboard button? (like a keybind?)
What have you tried?
I haven't tried the resource, but I'll try to help.
Tony
#12
10/21/2008 (2:33 pm)
I want to make a GUI button for it on the main menu so that when the player clicks the button the player selection screen comes up.
#13
Between those two resources you should be able to get it. Try them out, and if you need more help, let us know.
Tony
10/21/2008 (3:33 pm)
OK, there's a resource by Tim Newell called Inventory Pop Up. That will show you how to write a function that will pop-up a gui when you press a key (keybind). Instead of using the keybind, use the button. Also, the gettingStarted.pdf shows how to use a gui button.Between those two resources you should be able to get it. Try them out, and if you need more help, let us know.
Tony
#14
10/21/2008 (10:02 pm)
Thanks infinitum. So what i do is go to http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1862 and implent that. So will that help with putting the button on the main menu screen to open up the charcater selection?
#15
Tony
10/22/2008 (4:48 am)
It will help as a guide, but it will not put a start button on the menu. What Tim's resource will show you is how to pop a gui. The gettingStarted.pdf will show you how to create a button which you can then use to pop the gui.Tony
#16
10/22/2008 (2:17 pm)
I know how to make a GUI. But what is the command for the button to start the player selection?
#17
10/22/2008 (2:47 pm)
@Alexander B - I recommend you also spend some time going through the Gem-A-Day tutorials, the main TGE and TGEA doc landing pages, and TDN. A lot of your questions are answered throughout those doc resources.
#18
10/22/2008 (9:39 pm)
Ok all i want to know is what is the command to open up the character selection screen. Can someone please tell me?
#19
10/22/2008 (9:45 pm)
If you are using the resource, call toggleInventory()
#20
10/26/2008 (10:01 pm)
Thanks michael but i mean the command for the player slection code. So what is the command for the GUI to make the player selection to load up. I am starting to get very confused.
Associate Michael Hall
Distracted...
But basically:
1: guiObjectview + a name field much like in the existing launch mission gui.
2: you'll need to incorporate one of the database resources and persistent character server
3: if i understand the question this is already in. You can add as many mission as you want. Either number them or name them alphabetically to put them in a certain order. You place a spawn point through the mission editor - that's where the mission starts. You may want to look into one of the level saving and loading with the same equipment resources.