Game Development Community

Need help To create a dirt track

by Tom Hutchison · in Torque Game Engine · 08/24/2004 (9:08 am) · 18 replies

Hi Everyone,I have never use torque and got it to build a Dirt track racing game.Need some help in getting started. I dont want hill in my track just flat circle dirt track.Anyone got any suggest on this. Any Help will be really apperciated. Thanks Tom

#1
08/24/2004 (10:13 am)
Well, to get the track, just use the flatten brush within the terrain editor. Then use the texture editor and modify the texture with some dirt.
#2
08/24/2004 (11:12 am)
HI George, ok understand that.What I dont understand is About The Torque DEMO in the VC.net.Do you need the Torque Game engine Demo or can you create it thru The Torque engine in VC.net? Your saying all I need is use the terrain editor and use the Flatten brush ,then use the texture editor and modify the texture with some dirt.So I should beable to program VC.net to use those editor inside the Torque game engine.correct me if i wrong,ok? I am newbie at this.... Thanks Tom
#3
08/24/2004 (11:26 am)
The editors are PART of the engine.

You shouldn't have to do anything in VC.NET to get this working.

Open the demo app (executable) and press F11 (I think?! - not at my home PC).
#4
08/24/2004 (12:31 pm)
Yea it is F11...
#5
08/25/2004 (5:20 am)
Hey Guys, I did what you say to do and guess what I got 62 building error.again i get cannot file ctl3d.h. I look thru the include in Vc.net couldnt find it. could that be missing file in torque?Is there anyone would be willing to let me email you a screen shot of what going and maybe you can help find out what hell is going on.Thanks Guys
#6
08/25/2004 (8:50 am)
OK. Download the TGE Demo...

Open the .exe. Don't touch your Microsoft VC. Go into a game room. Press F11. It ain't that hard. ;)

If you want to compile the engine, download Release_1_2_2 from WinCVS. I compile with MinGW and MSYS, so hopefully you know how to do it within VC. Open up the .exe in your torque/example directory. Go into a level. Press F11. Rinse and Repeat.

BTW, .h files are source code, they don't come with the demo. This is the simplist feature of Torque (The Terrain Editor).

Kirby Webber right above your most recent post said DON'T TOUCH VC!!! What did you say that you did? You said that you used VC. You don't need it at all to run the demo. Just double click the .exe.
#7
08/25/2004 (1:30 pm)
Hi George, What I mean by TorqueDemo is that what it call in Vc.net. I also have The TGE DEMO.I have play with the TGE DEMO And use The Terrain Editor and try to flatted the hill down.What wanted to do is build Dirt track in Torque Game Engine.create a track from ground up.What I did was open up VC.net got The Solution Torque SDK open in Vc.net the click on F11 and it started to build it,but got 62 building error. I am not trying to run The TGE DEMO .What I am trying to find out is Do you have to use the TGE DEMO To build a game?I thought all I need was The Torque Game Engine And CVS And VC.net to build a game.
Thanks Tom
#8
08/25/2004 (7:10 pm)
To build a game you also need a modelling program.

You don't need the torque demo to build a game. Just compile the source code of the TGE.

Maybe you should try to compile with MinGW and MSYS....

I am having a hard time understanding your english. Maybe you should spend a *raises voice*little*puts voice back to normal* more time on your posts.
#9
08/26/2004 (8:04 am)
Ok, I have two modelling program.Sorry about your having hard time understand my english.Ok let me see if i got this correct.I dont Need the TGE DEMO to build A game, All I need is just compile the source code of the TGE. That Mean All I need to do that with is either VC.NET Or with MinGW or MSYS and TGE. Correct? What was confusing me was all the Talk about TGE DEMO and I Had hard time understand the different between the TGE DEMO and The TORQUE DEMO Project in VC.Net. Are you understanding me now?

You suggest that I should try compile with MinGW and MSYS. I when to that site but got confuse and Had Hard time deciding on which one I need to download.Didnt want to download the wrong one.
Thanks for your Help
#10
08/26/2004 (8:10 am)
Download MinGW and install it. Then download MSYS and install it. Run MSYS and follow the directions that can be found in the forums by running a search for: MinGW MSYS

On the TGE Demo note.... The TGE Demo is a pre-compiled TGE source code. It doesn't come with the source, so a lot of the engine's features can't be changed. When you download the TGE over WinCVS, you just get the source. When you compile it, you get a TGE Demo program, but with the source code.
#11
08/26/2004 (1:59 pm)
Let me see if I can clarify this for you.

The Torque Game Engine is an executable program that can be used to power games, given the right data to process. It also includes several built-in editors to make it easier to create and/or modify that data.

The free Torque demo executable, the precompiled version that Torque licence holders can download and the one compiled from the CVS source are almost identical. The main difference between the first and the others is the external data included.

This data takes the form of scripts (text files), model definitions, images, sounds etc. most of which are created using external editors and converted to a format readable by TGE.

If you attempt to run the Torque executable without including data for it to process, it won't do very much. Because of this, most beginners start off by modifying an existing game, usually one from the example directory/folder.

If you'd rather start with a more basic framework, search the resources for the "MinApp" tutorials.

You might want to consider purchasing the 3D Game Programming All In One book, as that is an excellent resource for beginners.
#12
08/27/2004 (5:20 am)
Hi Geroge, How do know which one to download? Thanks Tom
#13
08/27/2004 (5:32 am)
Hi Wysardry, Thanks for trying to clarify this for me.Thanks And That What I thought it was all about too.I understand most beginners start off by modiflying and existing game, But the major problem with that is for me is none of those existing game dont fit my type of racing game. My is flat circle dirt track game. The track our in circle done have hill,lakes,trees.To modify those existing games I would have to major remove trees,lakes,hills and then create and design circle dirt track. To me it be better to start from ground up instead.If you have any suggest I will be extremely appericated to hear them.

Thanks For Your Help. Tom
#14
08/27/2004 (3:41 pm)
Well, there are two obvious ways of doing this:-

1. Choose one of the racing demos, run it, then press F11 to go into editor mode, then F7 for the terrain editor. You can then flatten the landscape by adjusting the general settings so that the height range is 0, use the brush tools to do it manually or create a heightmap image to import.

Unfortunately, as you say, you'd need to delete all the objects that you don't want (many of which will be in mid air as they used to be on hills).

2. Use the MinApp Tutorials as a starting point for creating a completely "empty" game. You'll need all 4 parts, plus the Basic GUI demo, but they're all linked to from that page.

The main drawback to this method is that you would no longer have a working car model to work from.
#15
08/27/2004 (3:56 pm)
I would recommend this:

Start up the compiled torque executable (torqueDemo_Debug.exe or whatever) or the TGE Demo, as you call it.
Press F11 once you've started a game (either the FPS or racing). Go up to the file menu, and select New mission. This will flatten terrain, remove the texture, and delete all objects. You can proceed to load texture files (use the Window menu to see what editors there are) and paint the terrain as wished. When you save the mission be SURE to select the correct directory to save in, or it will not work when you want to load it. Save it in the missions folder (which should already be there). I don't remember the complete path, but the folder is called missions.

If you still have questions, I recommend not asking them for a few days. That means you should open up the TGE demo or your own torque exe file, start a game, press F11 and experiment. Play. Just have fun. Don't seriously try to make your game yet. If you do, you will be bald in a few days, as well as the rest of us. Wysardry made an excellent recommendation to get the 3D game programming book. It talks about torque... it's basically the newbie guide to torque.
#16
08/27/2004 (4:14 pm)
Actually, I tried that with the racing example in the (free) demo before posting my suggestions (I don't have the licensed SDK on this machine), and the new mission included hills and replaced the car with the orc character.

I thought it would therefore require at least as much effort to create a racing game with a flat track from that starting point.
#17
08/28/2004 (10:52 am)
Hmm.. interesting. It works in starter.fps in head... flat and bare. Oh well.
#18
09/03/2004 (3:30 pm)
Will I play around with the TGE DEmo And created a Flat plane to test my car on.Plus created a Test track too. Thanks Guys...