Game Development Community

The Engine

by Fernando Hidemi Uchiyama · in Torque Game Engine · 11/29/2004 (9:26 am) · 5 replies

Hi.

I bought the book (3D Programmin all in one), installed the Torque Engine that comes with it, read almost all the pages, and now, I'm very confused...

The entire book teatches you only how to modify things... You always work on directories that have a lot of made files!

My question is: If I start developing my game now, will I have to develop the game putting my files on those directories? Or I can create a clean DIRECTORY in somewhere and construct everything from the begin?

I'm asking this because the torque engine install a lot of files, and it would be a horrible thing to put my files together with torque files. It would be confusing too....

I can't understand, for example, why torque engine always use the files that are under "fps" directory. Will I have to use this directory? My game is not a First Person Shooter!

Thank you.
Fernando.

About the author

Recent Threads

  • Flight game

  • #1
    11/29/2004 (10:01 am)
    Hrm i haven't bought the book, but i know how to change the directory.

    If your game is in directory "DudeMyGame" , edit main.cs in your folder where torque is.

    You should see in the topmost section $userMods = "starter.fps";

    that basically points to which "mod" to use. change "starter.fps". Simply change that to DudeMyGame, and you have it

    (if you were confused because of the .fps at the end, don't worry, it's just part of the folder name)

    hope that helps
    #2
    11/29/2004 (10:07 am)
    Huumm Ok.

    Thank you. I got that!!!

    The commom files are indicated by $baseMods, and your files must but putted on $userMods.

    By the way, I have another question...

    Some places says that it's possible to change the Torque Engine...

    What does it mean? Changing the .cs files under $baseMods? or Changing the source code of TGE.EXE and recompiling the file?

    Thank you.
    #3
    11/29/2004 (10:20 am)
    Changing the engine means changing the source and recompiling.

    Try adding in one of the resources to source and then recompiling.
    www.garagegames.com/index.php?sec=mg&mod=resource&page=result&qrt=Article,Book,C...

    note - some resources are script only, some require changes to source.
    #4
    11/29/2004 (10:41 am)
    Ok! That's cool, things are more clear now!

    But i have one more question...

    Where can I find a technical documentation about programming on Torque Engine (a quick reference for functions, variables and constants that are accessible by the script coding)?

    Thank you again!
    #5
    11/29/2004 (12:51 pm)
    Huum, now I understood!

    $baseMods and $userMods aren't Torque Engine variables. They are script variables! The paths are set by setModPaths() function!