Game Development Community

TGE using starter pack elements in my game

by Adam Ringel · in Torque Game Engine · 03/17/2009 (3:13 pm) · 4 replies

Ok, so I have TGE 1.5.2 and I have the book by Kenneth Finney 3d Game Programming all in One. Maybe I am missing it because the book is based on his stuff and not these starter packs probably because the book is using 1.4 not sure. Anyway I used the getting started Tutorial for TGE to make GameOne and I wanted to take the player and vehicle out of the starter packs and add them into my game. Now I have seen other post that indicate for the vehicle I take the car.cs and the shapes from the starter.racing and add them to the appropriate folders in my game which I did, but the only way I can add the vehicle is as static shapes and the buggy and wheels are separate from the vehicle. Now if I go into starter.fps under shapes there is a option to just add vehicle and default vehicle is the option and the buggy drops in the scene complete. So what am I doing wrong in my game that I don't have the vehicle option under shapes I only have misc and items. If there is a full tutorial for using these elements in my game that would be very useful, but I am unable to find it. Thanks for the help.

About the author

Recent Threads

  • AI how do I use it

  • #1
    03/17/2009 (3:36 pm)
    First, Don't use the getting started tutorial. It is too basic and will not work the same as the starter packs. There are a Ton of differences. While going thru the book, use his missions he's already setup. Different people set up their game packages differently.
    If you want to use the getting started tutorial, follow it to get all the functionality added before trying to modify it for something else.

    #2
    03/17/2009 (3:41 pm)
    1. you need to add exec("./car.cs"); inside game.cs around line#49 and make sure your car.cs file is with the game.cs file
    2. your car.cs script may be pointing to a mispelled or non-existant .dts file

    Try those.


    Edit: Mike is correct in his advise to upgrade, though the tutorials are a way to get some quick working knowledge of Torque as I started the same way.
    #3
    03/17/2009 (5:26 pm)
    I played around with it by just changing to load the starter.fps and edited everything from there. I am not sure what the difference is but I have a mountable vehicle thats being driven by an Orc lol. Now I just have to add a GUI for scoring points and some objects to put in the terrain so you have a reason to be driving around out there.
    #4
    03/17/2009 (5:30 pm)
    Good to hear.