Racing Game, needs some help!
by Preet Uppal · in General Discussion · 02/19/2004 (5:02 am) · 3 replies
Hi, I've recently purchased torque, after reading about it on the website, and messing around with the free demo. I realised it would be perfect for a project I'm working on for my final year of University. Basically it's a racing game set in the city that I live in. All I really want to get working at the moment is 1 level, maybe 2. I importing models from 3ds max for the building and build the track around that using the terrain editor.
What i need help on is the more complicated stuff, and please don't laugh. I'm very new at this and I'm not the greatest at programming.
At the moment i just want to play with the buggy that you get in the stand starter racing kit, you know changing the maximum speeds, basic stuff like that. there's a few other things i wanna do aswell but for the moment probably best to start of with the basics. Any help at all would be much appreciated. Thanks in advance.
What i need help on is the more complicated stuff, and please don't laugh. I'm very new at this and I'm not the greatest at programming.
At the moment i just want to play with the buggy that you get in the stand starter racing kit, you know changing the maximum speeds, basic stuff like that. there's a few other things i wanna do aswell but for the moment probably best to start of with the basics. Any help at all would be much appreciated. Thanks in advance.
About the author
#2
02/19/2004 (3:29 pm)
Brilliant!!! Thanks Kenneth, that was a great help, exactly what i was looking for. My next problem will probably be getting another buggy to follow a path around the track, but thats further down the line, first i'm going to make this one handle a bit more like a road car instead of a buggy, thanks again. :)
#3
C'mon guys Xp
02/20/2004 (8:17 am)
Wrong forum : torque forums for torque discussions, private torque forums for actual TGE code discussions. C'mon guys Xp
Torque Owner Gonzo T. Clown
C:\Program Files\Torque Demo\demo\server\scripts\car.cs
The variables you will want to play with start at this section of code....
//----------------------------------------------------------------------------
datablock WheeledVehicleTire(DefaultCarTire)
{
// Tires act as springs and generate lateral and longitudinal
// forces to move the vehicle. These distortion/spring forces
// are what convert wheel angular velocity into forces that
// act on the rigid body.