Game Development Community

How can I make a cars game from the FPS Demo

by dot not use · in General Game Discussion · 10/19/2009 (9:57 pm) · 13 replies

Hello everyone,

I am a beginner in Torque. I'm trying to create a cars game, I have several models of cars that I can import but my questions are:
¿How can I make my car be the main controlable object instead of the default character? and ¿How can I make acting like a real car? I mean, I have managed to import a model of a car and replace the character by the car... but it acts like a human player (free camera, my car jumps and things like that).

Thanks so much

Rodrigo

About the author

Recent Threads


#1
10/19/2009 (11:57 pm)
That depends on the engine you are using.
I have 2 made. 1 with tge and the other with tgea.
You can download them from 3dcentral.net
LeRace is tge
starter.Racing is tgea. Both use the fps starter kit as a base.
#2
10/20/2009 (10:48 am)
Thanks for answering. I have tried the racing game and it looks nice! it's what I want to do but now I am using a different version of the engine, Torque 3D 2009, and I don't know how to integrate this editor with your game.
Any idea?
thanks
#3
10/20/2009 (8:34 pm)
It's all done the same way. (only some things have moved.)
If you dif the scripts in the tgea version, you'll see how I did it. You will be adding some scripts and modifying others.
Currently, I have my race ported to T3D, but the vehicle physics don't work as well as they did in tgea.

Here's a screenie for you.

It's easier to explain by doing a dif of the files between the tgea folders.
#4
10/21/2009 (3:25 pm)
Hey Mike I am not seeing this on your site, I am mainly interested in the TGEA one.
#5
10/21/2009 (9:33 pm)
Sorry about that. It was a goof with the permissions.

Just click here to see the downloads.
#6
10/22/2009 (12:20 am)
I thank you for the speedy reply and fix, I also appreciate the trouble you went through porting to tgea. If it was not for members like your self I would have given up a long time ago.
#7
10/22/2009 (11:26 am)
I am finally using the TGEA 1.8 engine. I have some problems when trying to change the resolution of the screen to a bigger one (the game is closed with an error). Also i have problems when changin textures
Is it normal?

Thanks
#8
10/22/2009 (9:18 pm)
Yes. That's normal. I think...think...it got fixed in 1.8.2 but I'm not sure.
Thanks Foodstamp. Hopfully I'll have my t3d port done soon. (just have to find some time to finish it up)
#9
10/27/2009 (10:13 am)
I know I'm being tedious but, how can I change the default controls?
The idea is moving the car with keyboard, not with the mouse but I don't know where I have to look

thanks again
#10
10/27/2009 (2:47 pm)
I have already done it, by modifying default.bind.cs
But it's impossible to disable the mouse driving, without disabling also the mouse in the map editor

I have tried also the game OrcTown, its great!
#11
10/27/2009 (6:52 pm)
default.bind.cs is definately the place to change keybindings.

As for the mouse, in default.bind.cs, comment out:

moveMap.bind( mouse, xaxis, yaw );
moveMap.bind( mouse, yaxis, pitch );

as those two only turn the player model. (or car if you are using the car as your player)

Quote:I have tried also the game OrcTown, its great!
Thanks. My grandson and I still play it together. He loves shooting me.
#12
11/02/2009 (6:37 am)
I've managed to do it, and i've changed also the tyres behaviour (now they return to the center).
What i'm trying to do now is changing the buggy model for my own model, but i'm having problems. Wich 3dmax version have you used? and wich exporter? any special consideration for me to know?

Thanks for wasting your time with me xD
#13
11/02/2009 (9:31 pm)
3ds max?? Too expensive for my budget. I haven't made any vehicles. (tis why my starter kit uses the default buggy)
There are tutorials in tdn for making wheeled vehicles tho. You might check them out to see if they help you.