Game Development Community

TGEA 1.8.0 starter.racing example with download

by Mike Rowley · 01/01/2009 (5:04 pm) · 11 comments

There have been quite a few requests on the forum for a starter.racing kit for tgea, so I decided to make one. I started out with a new stronghold project and went from there. The learning curve in making this kit was pretty good as I found the default speedometer doesn't work. I never did get it to work, so, what I ended up doing was converting a digital speedometer over. That thread became quite long as there are a ton of differences between tge and tgea.
There are still a few minor things that need fixing, but I'll leave those challenges up to you. They are...
The buggy is a little tiny bit loose in the hind quarters. (sways easily)
and the speedometer needs a good background image. (I'm no artist)
This kit includes all the files needed to play it, and the guiDigiSpeedometer.cpp file to include in your own source. Please read the change log as it tells you everyone who helped and who wrote the speedometer for tge.
Some of the objects were converted from the tge starter.racing kit, while others were made by me using DeleD. You are free to use the objects if you want. I don't think they are that good.

Edit to add disclaimer:
Do not run into the arrow signs or the towers. They were converted using constructor and will crash torque if you run into them. Sorry, I forgot to import them into deled and export them out from there to stop the crash issue. (I was using an outdated version of constructor)
/endDisclaimer.

You can download the zip file from here.

I had a lot of fun making this and do hope you enjoy it.

Now, for the obglitory images...

This image shows the buggy next to the stands. Both are normal mapped.
3dcentral.net/myPic/torque/racingStarter/tn_image1.jpg

One of 2 bridges.
3dcentral.net/myPic/torque/racingStarter/tn_image5.jpg

The stands from above.
3dcentral.net/myPic/torque/racingStarter/tn_image7.jpg

Image of the starting point:
3dcentral.net/myPic/torque/racingStarter/tn_image9.jpg

#1
01/01/2009 (5:43 pm)
Well done! It is a bit difficult to control with the mouse, but I found changing LinkMouseSensitivity to 0.001 helped my erratic driving. To be honest I haven't played a driving game for years.

However it did crash whenever I had a really big impact against something, or whenever I opened up the Options GUI in-game, or mouse overed the "apply" or "OK" buttons in the Options GUI from the main menu.
#2
01/01/2009 (6:26 pm)
That's strange with the options gui. I'll look deeper into it as a cursory look didn't show up anything. (I do know it was working but isn't now....)

The crash when running into things is due to a bug in constructor. (at least it's exporter) I added a disclaimer above about it. Basiclly, don't run into the arrow signs or the towers and you should be safe. Sorry about that. I forgot to take those into deled and export them from there.

Thanks for the compliment and for trying it out.

Edit to add: I checked thru all of the files I messed with using winmerge and there were no differences between the release version and my test version. I copied my debug exe to the release folder and ran it looking for a problem. No crash. Now, there is also no crash when I run it with the release version. Something odd is going on here, but that shouldn't surprise me. It's been an odd experience all the way thru. :-D
#3
01/01/2009 (6:45 pm)
I'm glad the stater kits are coming out for 1.8 :)

I get the crash in the option menu too. Edit: option menu crashes also with your debug version.

I also was power sliding like crazy in the demo, I'll try changing the LinkMouseSensitivity.
#4
01/02/2009 (5:33 am)
Awsome , nice work Mike ! theres always a few bug to squash with new resources. theres alot of talented peeps out here that can help.
#5
01/02/2009 (7:55 am)
The debug.exe works fine. In fact after using that to change my display options to fullscreen, I went back to using the original exe and had none of the original problems with the Options GUI!
#6
01/02/2009 (1:30 pm)
Thanks guys. This bug is an odd one. It's also beyond my abilities to fix. :( Hopefully, someone will be able to figure it out.
#7
01/02/2009 (4:21 pm)
@Mike
Have you tried just recompiling? Maybe something had a hiccup in mid-flow?
Or try a compile "optimized" and then change the name?
#8
01/02/2009 (4:43 pm)
Steve, I'm thinking it has something to do with one of the scripts, but can't find which one. (I've diffed every script I've changed) I caused that crash while trying to get the speedometer hud to work, but fixed it back...so don't know. One thing that may have happened is in scriptsAndAssets/client/ui/demoWindow.png. I renamed it a few times testing and may have inadvertantly messed it up. It's the same on that's in the stronghold mission, so if all else fails, just copy that one over.
#9
01/02/2009 (7:17 pm)
I can't even replicate any of those GUI crashes now! lol!
#10
01/02/2009 (7:33 pm)
I can't eather. That's the tough part.
#11
03/22/2009 (5:37 pm)
Mike,

WOW, nice work man. I can use this to test my coming down the line NFS like racing game... way way cool, too bad i missed it til now! Thanks again,

Will