Game Development Community

Flight game

by Fernando Hidemi Uchiyama · in Torque Game Engine · 11/30/2004 (2:14 pm) · 9 replies

Hi there.

I'm new on Torque.

I've been reading Kenneth's book for two or three weeks, and I'm very proud for what i've seen till now.

But I have a question...

I have a project for a flight game (the player will be a helicopter). Is there a way to create a game like that with Torque? Because it appears the Torque Engine that comes with the book only permits the creation of a First Person Shooter game.

What Do I have to do?

Will I have to recompile the Torque Source Code to develop a flight simulator game? Is it possible to change de playbility only changing the scripts under FPS or COMMON directories?

Thank you!

About the author

Recent Threads

  • The Engine

  • #1
    11/30/2004 (3:30 pm)
    As it comes in the box, Torque comes with a few sample "games", one of which is a starter racing game.

    Vehicle classes that come in the box with torque include wheeledvehicle [which is what starter.racing uses], and hovervehicle. By editing 3 lines or so, you can convert the basic starter racing demo to a flying game.

    If that answers the question. In short, "change 3 lines in the basic torque example SDK, and you have a flying game"

    Gary (-;
    #2
    11/30/2004 (3:57 pm)
    Ok. Thank you!

    I searched and found wheeledvehicle inside \racing\server\scripts\car.cs, tryied to change some variable values that i thought would change something on the game play, but nothing ocurred (to tell the truth, after changing some variables values, some weird things started to happen on the game)!

    By the way, I didn't find "hovervehicle". Maybe it's because I'm using the Torque Engine shipped with Kennet's book.

    Could you help me on this?
    #3
    11/30/2004 (4:25 pm)
    Uhm. I'm not sure - I'm using the Torque Engine as I downloaded it after spending a hundred bucks.

    Afraid I've no idea how to help you from here, without moving the discussion to the SDK private forums, as my copy of the book hasn't arrived yet.

    Gary (-;
    #4
    11/30/2004 (4:29 pm)
    Ok! Thanks for your help!

    I'll try something on my own. :-)

    Hey, i liked that (-;, it's very original!

    Fernando.
    #5
    11/30/2004 (5:31 pm)
    With the Torque Engine and a little imagination, anything is possible.

    - Brett
    #7
    12/01/2004 (2:00 am)
    Thank you guys.

    I visited that article and now I'm trying adding those 2 datablocks (with no success) on the car racing demo.

    It would be better if someone could tell me where I have to put them. I've already tryied in "racing\server\scripts\car.cs", but nothing showed. :-(

    I'll keep trying.... :-)

    BTW, is there a tutorial or documentation that explains better the Torque Engine script part? All the tutorials I've seen till now only explained the programmation parts, how we do FOR, WHILEs, IFs, how we manage variables and functions etc. Is there a tutorial that covers all functions (in other words, that explains what every functions of Torque Engine does) and the internal structure, so when I have a problem I can solve it on my own, and not always depend of others to solve it?

    Thank you again.
    Fernando.
    #8
    12/03/2004 (7:06 pm)
    A note to say that i'm keeping my eye on this as well, thanks to thoughts of a 'flying in dataspace' concept i'm working on. so, if you hear where these snippets do go, i'd love to know as well...

    - aqaraza