Game Development Community

Newbie needs Help.. :(

by Demitri · in Torque Game Engine · 03/16/2003 (1:43 am) · 6 replies

^-^
o

Hi all,

I've just got the Torque engine and I've searched through lots of tutorials, but I can't find one that can help me achieve any measurable work. I have programming basics, and I wish to program a stealth-based fps using the Torque engine.

Some questions:
- How do I make my own executable, instead of running the torquedemo -mod XXXX command line?
- Is there any really easily comprehensible tutorial and function listing for scripting and coding?
- How do I make an object move around a terrain from ground up? I'm lost with the fps example that came with Torque, too many files for me to comprehend. :(
- How do I assign attributes to the objects in the game? E.g. Give the player an armor class rating...

In short, I'm lost.. the documentation onsite here and offsite does not seem to give me an idea of how the scripting/coding works... Please help.

Will be tremendously thankful!! :D~~

About the author

Recent Threads

  • 3DS Export problems

  • #1
    03/16/2003 (2:02 pm)
    What you need to do is learn how to use the TGE scripting language. Most of what you requested you will be able to do in script.

    Here is a set of tutorials designed for the first time user of TGE that I wrote to give people a groudning in TGE Script.

    www.liquid.nq.net/tutorial/
    #2
    03/18/2003 (6:53 pm)
    Hey Daniel,

    Thanks for the prompt reply. :)

    I've seen your site before. However I'm absolutely new to mod creation, and I've a few questions to ask. First of all some background about myself. Graphic Design and 3D are my core strengths, but I have a lot of experience with Director Lingo and some experience in the C language.

    1. Where do I put my scripts? I'm using Tribal IDE, but I know not where the scripts should go. In short I don't know where to start scripting, and what I should first do to create a mod.
    2. Do I start from absolute scratch or should I load the FPS shooter? When I load the FPS in Tribal IDE, there are so many scripts to get lost in, and its kind of hard for a newbie for me to start playing around with it.

    My many thanks, brother, its a great relief to know there's someone out there to help.. ^.^
    #3
    03/18/2003 (10:04 pm)
    Another question..

    This may sound stupid but, how do I remove the ingame tools and the torque engine gui from the beginning of the game, and compile it as mygame.exe without the -mod and all? ._.
    #4
    03/19/2003 (12:34 am)
    Quote:How do I make my own executable, instead of running the torquedemo -mod XXXX command line?

    In example\main.cs, there are variables you can set called $baseMod and $userMod. The engine uses $userMod as the default mod to load. So by default, $userMod is the samething as running torqueDemo.exe -mod fps.

    Quote:Is there any really easily comprehensible tutorial and function listing for scripting and coding?

    One of torque's weak areas in documentation at the moment, so a lot of learning will have to be self taught. The IRC channel is a good resource if you get stuck. The engine really isn't that hard to understand once you've been around the block a few times. :)

    Quote:How do I assign attributes to the objects in the game? E.g. Give the player an armor class rating...

    There are many different ways to do this, I'd suggest learning the engine first. :)

    Quote:Where do I put my scripts?

    What I did, was rename the fps folder to my game's name. Then I made sure the package was renamed also (will hand torque if you don't). And then change $userMods. And then modify the existing fps files as you go.

    I wouldn't recommend starting from scratch as a newbie, the fps mod gives you a good framework to start with. It would only make your efforts more difficult.
    #5
    03/19/2003 (3:39 am)
    Hey Anthony,

    Thanks for the tips!!
    Got a few more questions though..
    I've tried changing the $userMod to "racing" but it doesn't load the racing game by default. The console.txt reads: "Missing File: Racing/client/init.cs!" When I copy the whole "client" folder from the fps folder there were no errors but the game does not load, it merely hangs at the dos console.

    What server and channel is the Torque channel on?? I've tried but I can't find a Torque or Garagegames channel. -_-
    #6
    03/19/2003 (7:35 am)
    "racing" is a mod of "fps" so the base game has to be "fps" then type -mod racing after the executable to get the racing mod to work.