Help for the tutorial
by Samir Metta · in Torque Game Engine · 06/18/2007 (2:54 pm) · 7 replies
Hi. I've just bought TGE 1.5.2 last week and installed it. I'm stuck at page 11 of 16 of the Tutorial where it says to write loadMyMission(); in the Parent panel in order to push start at the beginning of the game. Well, the start page is there, but when I click Start, the loading page is on but nothing appears. How do you get it started. Can anyone help me with this? Thank you.
#2
-thanks
06/20/2007 (4:09 pm)
Samir I am having the same problem as you and here is the problem. This is an entry tutorial for people who even do not know the scripting language. Michael you suggested to check the console for errors but that tutorial does not go into detail on how to use the consol. It is just a brief over view. A starting tutorial should be a brief jump start for those new to the engine. You can not expect a novice to know where in the script to check the path and knowing how to use a consol that is not explained. Can you elaberate on what to do?-thanks
#3
function loadMyMission()
where it says: createServer("SinglePlayer", expandFilename("./data/missions/gameonemission.mis"));
I created a new mission under a different name so check that name of your mission to what you have saved it as. My name was called awake.mis so I changed it to look like this.
createServer("SinglePlayer", expandFilename("./data/missions/awake.mis"));
If you have anymore questions please let me know.
06/20/2007 (4:25 pm)
Samir to answer your first question here is what the problem was for me but I resolved it. In the main.cs project in your code look for this funciton:function loadMyMission()
where it says: createServer("SinglePlayer", expandFilename("./data/missions/gameonemission.mis"));
I created a new mission under a different name so check that name of your mission to what you have saved it as. My name was called awake.mis so I changed it to look like this.
createServer("SinglePlayer", expandFilename("./data/missions/awake.mis"));
If you have anymore questions please let me know.
#4
If you press the tilde (~) key, the console drops down and you can check for error messages...things that resemble the word ERROR. Also, errors are highlighted in red.
When you close down the game, whatever happened in the console is saved to console.log, which can be opened up in notepad (found in the same directory as your .exe).
I highly recommend new users to Torque pick up Codeweaver or Torsion. Both of these applications allow you to organize your scripts into one project, and perform searches for functions, variables, and other words.
Also, this is THE most common question/problem people encounter with this tutorial. Be sure to do a search in the forums using simple key terms describing your problem. A key flaw is that the tutorial doesn't have you write the loadMyMission(), which is a problem since it has a hard coded path to a mission, which could have a different name than what you call your's.
One last thing, check out my recent tutorials and documentation if you want more in depth starting information with creating a game from scratch in Torque...
I'll be around if you want some helpful links or need more information.
06/20/2007 (4:39 pm)
I have no expectations out of novices, or veterans, or professionals....If you press the tilde (~) key, the console drops down and you can check for error messages...things that resemble the word ERROR. Also, errors are highlighted in red.
When you close down the game, whatever happened in the console is saved to console.log, which can be opened up in notepad (found in the same directory as your .exe).
I highly recommend new users to Torque pick up Codeweaver or Torsion. Both of these applications allow you to organize your scripts into one project, and perform searches for functions, variables, and other words.
Also, this is THE most common question/problem people encounter with this tutorial. Be sure to do a search in the forums using simple key terms describing your problem. A key flaw is that the tutorial doesn't have you write the loadMyMission(), which is a problem since it has a hard coded path to a mission, which could have a different name than what you call your's.
One last thing, check out my recent tutorials and documentation if you want more in depth starting information with creating a game from scratch in Torque...
I'll be around if you want some helpful links or need more information.
#5
06/20/2007 (8:03 pm)
Thanks Michael for the tips. I will look at your tutorial too. I know for me the information you just provided will be a big help to me. I use Torison myself and cant do anything with out it.
#6
07/09/2007 (3:12 pm)
Thanks, it worked, but the only thing is my character falls in a hole 3 seconde after the game starts!
#7
07/10/2007 (6:32 am)
Look for the player spawn sphere and move it up on the z axis. Look in the list on the right I think they are named playerDropPoints or something simular (It's a big sphere when selected, otherwise it says null). Click on them and make sure they are above the ground. If they aren't move them up by selecting them and have the line connected to the z highlighted and hold down the left mouse button and move it up. (If I remember right z axis is up/down in torque.. unlike modeling porgrams where y zxis is up/down).
Community Manager Michael Perry
ZombieShortbus