Game Development Community

Le noob, le questions

by Jimmy Daggett · in Torque Game Engine · 05/10/2008 (10:55 am) · 21 replies

Ok.
I have created a map for my first extremely small game.
I am just trying to get used to the feel of TGE.
Now, I have questions, and I know I could prolly find this stuff in the documentation, but I much prefer a human being telling me how to do something than a document on the computer (if that makes any sense).

Ok. Here we go.

I want to make a first person shooter.
It is going to prolly be very much like the FPS demo that comes with TGE. But I don't care. I just need to get used to the way TGE works.
Ok, so I've made my map (THE BLOODPLAINS!!!!!) and now need to get it functioning correctly.

If someone would be so kind as to help me:

Create two teams.
Spawn players on RED team in RED fortress, and spawn players on the BLUE team in BLUE fortress.
Have players have health and ammo.
Create health, ammo and upgrade packs around the map.
Have different upgrade levels for: ammo (normal, aether, fiery, poison) and armor (normal, heavy, titanium, gold).
Have different weapons: (crossbow main, grenades [normal, aether, poison, fire], melee [sword, hatchet]).*
Have a score based on number of kills.
Have triggers around the map (for ex: a catapult that launches massive boulders, or a lever that blows something up).*

*= not a primary concern, would implement only if i can actually get the game running

If anyone could possibly explain how to do these things, it would help GIGANTICALLY. Again, I know that I could prolly find these buried in the documentation, but I prefer human help.
I also beleive experience teaches much more than books do.
Plus, I'm just plain lazy.

Ok, that's it.
Jimmy
Page «Previous 1 2
#1
05/10/2008 (11:04 am)
Hopefully someone will answer your questions, but I will tell you that this community, as with pretty much every other dev community, generally is a "Look for the answer yourself first, then go to the forums." It's not because of snobbines, but primarily because the people who can answer the questions looked the answers up for themselves at one point.

Hope you find what you need...
#2
05/10/2008 (11:04 am)
The easiest way to do that would be to buy the combat starter kit as it has all that implemented.
Explaining how to do those things would take a whole book.
#3
05/10/2008 (11:05 am)
Hmm, if you're not the guy to read documentation, then I recommend taking some course on Torque. Visit TorqueSchool for online lessons that, according to what others are saying here on the forums, are very good (IIRC even David Blake took a course there and he's probably the guy with the most expansive knowledge of Torque around here).

No offense, but basically saying something like "I don't want to read docs, can someone please teach me" seems real lame to me... lazy, as you yourself are saying. Then you should at least be willing to shed some bucks at it.
#4
05/10/2008 (11:06 am)
Well, I am first going to tell you that the document WAS written by a human being, so what you said made no sense.

No one will help you make your game. You need to either HIRE a programmer, or learn how to program yourself. If you would like a good starting point buy the DreamGames Combat Starter Kit, or spend a ton of time hoarding resources on the site. If you're lazy you shouldn't be trying to make a game at all.

Torque is a game engine, not a point-and-click-have-someone-do-everything-for-you type of thing.

Hope that helps. Even though I know its what you don't want to hear, its the truth.
#5
05/10/2008 (11:08 am)
And BTW, it's "les questions" :)
#6
05/10/2008 (5:33 pm)
I'm sure that's all in here somewhere, sorry but I'm not going to make the links clickable, you'll at least have to copy and paste the links:



LAVA/WATER DAMAGE PLAYER.CS BUG FIX
http://www.garagegames.com/mg/forums/result.thread.php?qt=67816


LOD DIFs

http://www.garagegames.com/mg/forums/result.thread.php?qt=59919


RENDERED MISSION AREA

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13823


UPDATED TERRAIN DEFORMER

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13884


CONTINUOUS LASER

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8006


REDUCING LEVEL LOAD TIMES

http://www.garagegames.com/mg/forums/result.thread.php?qt=23589


EXPLODING PLAYER WHEN KILLED

http://www.garagegames.com/mg/forums/result.thread.php?qt=70393


PLAYER DAMAGE EXPLOSION

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13036


WEAPON CYCLING IN TORQUE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5907


TORQUE PROFILER

http://tdn.garagegames.com/wiki/Torque/Profiler


HOW TO PORT THE TGE STARTER.FPS TO TGEA 1.0.3

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13534


SLOW MOTION

http://www.garagegames.com/mg/forums/result.thread.php?qt=71213


TGE SPAWNPOINTS THAT SPAWN ANYTHING

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12641


SWIMMING IN ONE STEP -- STANDARD FPS SWIMMING PHYSICS

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11543


WATER COVERAGE BUG

http://www.garagegames.com/mg/forums/result.thread.php?qt=21868


ADDING NEW POSITIONS AND MOVES -- SWIM, CROUCH, CRAWL, PRONE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4348


INVENTORY POPUP TUTORIAL

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1842


WEAPON & AMMO DROP

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3889


THROWING YOUR WEAPON

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3421


ENTITY SENSING CROSSHAIR

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13813


HAND TO HAND COMBAT, LOCATION DAMAGE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3374


WARNING LABEL GENERATOR

http://www.warninglabelgenerator.com/


FOLIAGE REPLICATOR UPGRADES FOR TGEA

http://www.garagegames.com/mg/forums/result.thread.php?qt=56798


SKYBOXES WITH BRYCE

http://tdn.garagegames.com/wiki/WorldBuilding/Skyboxes/Skyboxes_With_Bryce


TXP CRATE & BARREL PACK $11.00

http://www.txpgone3d.com/contentpage6.php


WILDCAT AI PACK

http://www.3d-diggers.de/webshop/product_info.php?products_id=139


REMOVING FIRST PERSON VIEW

http://www.garagegames.com/mg/forums/result.thread.php?qt=35936


MASTER SERVER PROTOTYPE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5962


PLAYER ANIMATIONS DETERMINED BY WEAPON

http://www.garagegames.com/mg/forums/result.thread.php?qt=69536


WATERBLOCK TILING BUG FIX

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12901


FIXING THE ZOMBIE SHUFFLE - BROKEN AI ANIMATION AT SLOW SPEEDS

http://www.garagegames.com/blogs/62564/13856


TIM HELDNA SKY STARTER KIT

http://www.reallyreallygoodthings.com/resources/SkyStarter.zip


TORQUE SDK DOCUMENTATION

http://www.garagegames.com/docs/tge/index.php


WHEELED VEHICLE LONGITUDINAL TYPO

http://www.garagegames.com/mg/forums/result.thread.php?qt=68799


TXPGONE3D CRATES & BARRELS

http://store.payloadz.com/str-asp-i.42531-n.TGE_Crate_Barrel_Content_Pack_Software_-end-detail.html

http://www.txpgone3d.com/contentpage.php


EVOLUCIAN MUSIC - FREE MP3 TRACKS FOR GAMES

http://www.soundclick.com/bands/pagemusic.cfm?bandID=660257


MOUNTED PARTICLE EMITTERS

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8156

http://www.garagegames.com/mg/forums/result.thread.php?qt=68830


VIDEO BUTTONS FOR TGE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12471


BF2 STYLE CAPTURE THE FLAG

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12430


BETTER VEHICLE CONTROL

http://www.garagegames.com/mg/forums/result.thread.php?qt=60427


RANDOM BULLET RICHOCHET NOISES

http://www.garagegames.com/mg/forums/result.thread.php?qt=60509


TGE SPAWN POINTS THAT SPAWN ANYTHING

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12641


MULTIPLE PLAYER CLASS SELECTION

http://garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11733


GAME-READY MODELS - SKELETON

http://www.game-ready.com/pro_11030.html


PROTECTING ART ASSETS WITH ENCRYPTION

http://www.garagegames.com/mg/forums/result.thread.php?qt=61003


CG TEXTURES ROYALTY FREE

http://www.cgtextures.com/


AI PLAYER MIMIC SCRIPT

http://www.garagegames.com/mg/forums/result.thread.php?qt=61403


TGEA PARTICLE EMITTER ENHANCEMENT GUIDE

http://www.garagegames.com/mg/forums/result.thread.php?qt=61359


VEHICLE/RIGID COLLISION UPDATE

http://www.garagegames.com/mg/forums/result.thread.php?qt=63305


fxDECAL UPDATE for 1.4.2

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11352


NETWORKED TERRAIN DEFORMATION PROBLEM

http://www.garagegames.com/mg/forums/result.thread.php?qt=50663#383187


LIGHTWAVE RIGGING FOR TORQUE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10098


RENDERFIRSTPERSON = FALSE, BUT STILL DOES IT
http://www.garagegames.com/mg/forums/result.thread.php?qt=39441


BASIC TERRAINDEFORMER OBJECT FOR TORQUE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7343


TORQUE MMO KIT - COMMUNITY EDITION

http://www.mmoworkshop.com/trac/mom/wiki/Downloads


FINAL FANTASY XI SCREENSHOTS

http://www.siliconera.com/2006/01/14/new-screenshots-of-final-fantasy-xi-treasures-of-aht-urhgan/


INVENTORY MANAGER TUTORIAL

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1955


GENERATING COM CHATTER LIKE VOICES

http://www.garagegames.com/mg/forums/result.thread.php?qt=42596


SCRIPTED CONQUEST GAME MODE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13062


ANIMATED FXSHAPEREPLICATOR

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10390


METAL SPARKS

http://www.garagegames.com/mg/forums/result.thread.php?qt=61851


USING DIFFERENT MODELS WITH AIGUARD

http://www.garagegames.com/mg/forums/result.thread.php?qt=66321


LIST OF ENGINE MODIFICATION RESOURCES

http://www.garagegames.com/mg/forums/result.thread.php?qt=66485


SMALL BUGFIX & IMPROVEMENTS IN RENDERING SPAWNSPHERES
http://www.garagegames.com/mg/forums/result.thread.php?qt=65642


FXTREE REPLICATOR - SPEEDTREE LIKE RESOURCE

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13325


TOGGLING A LIGHT ON AND OFF

http://www.garagegames.com/mg/forums/result.thread.php?qt=62888


DOOR OBJECT PART 2

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13641


"When we are struck at without a reason, we should strike back again very hard;
I am sure we should--so hard as to teach the person who struck us never to do
it again." --Jane Eyre, by Charlotte Bronte
.
#7
05/10/2008 (6:11 pm)
Great link list, Alan. Couple of really useful tutorials in there I had not come across.
#8
05/10/2008 (6:19 pm)
Hi Jimmy.
Making the game you want is easy enough.
Follow these steps to get an exact copy of your game without too much effort.

Go to the directory you installed the SDK.
On my system it would be H:\Torque\Torque_1_5_2
but yours could be different.

In that directory is the TGEDemo.exe file. Depending on your main.cs file, it will start the Stronghold mission.
If not, then Open the file main.cs and look for this line:

$defaultGame = "tutorial.base";

change the line to this:

$defaultGame = "starter.fps";

This tells TorqueDemo to go to the starter.fps directory and start the main.cs file inside that folder to begin your game.

Once the starter.fps has loaded.. at the selection screen choose "stronghold" or it might already be selected.

Once in the game, press the F10 key.. this brings you to the mission GUI editor.

On the right side of the screen you'll see a closed Folder with a + sign next to it.
On the Left you'll see your mission screen.

Top of the main window there reads: New Control
Click the small checkbox next to New Control and scroll down to GuiButtonCtrl and select it ( click the selection )

Now look to the right side of the screen. Then lower right of the screen has a Panel.
In that Panel is a "Misc" section.
Just below the "Misc" section is a text field for you to name your GuiButtonCtrl you just made.
In that text field enter the words "Make Game" without the quotes, and in the top of that same Panel click on Apply

What this does is unlock a hidden command in the engine and this is where the magic begins.

Now, same panel.. there is a section named Parent. and under that is a command/i] section for you to enter " LoadMyMission(); " without the quotes, and press the [i]Apply button again.

What this does is every time you click that button you just created.. the one that now reads Make Game... the engine will go to the script file function called LoadMyMission() and it will execute the commands inside that function.

Now open up the starter.fps Folder.
Inside that folder is another main.cs file which you can open with TorqueScript or any text editor.
Scroll down to the bottom of that script file and add this code:
// Load My Mission for instant Make Game

function loadMyMission()
{
   // make sure we eliminate any speedbumps to unlock a secret
   disconnect();
   
   // Create the server and load the mission
   createServer("SinglePlayer", expandFilename("./data/missions/gameonemission.mis"));

   // Make a local connection
   %conn = new GameConnection(ServerConnection);
   RootGroup.add(ServerConnection);
   %conn.setConnectArgs("Player");
   %conn.setJoinPassword("None");
   %conn.connectLocal();
}

Now your set.

I've included a Graphic for your new Button below.


tubeimage.com/files/folkr5lwenoej2opvc36-Make-Game_thumb.png
If you have any trouble getting this to work, then as a SDK owner you can visit the TDN section ( it's a private forum section ) which can guide you further.

Once your ready for the magic... Press the Make Game button
#9
05/10/2008 (6:29 pm)
Alan, you just gave me a new bookmark.
#10
05/10/2008 (6:54 pm)
Holy CRAP thank you.
that is a unbelievably awesome list of links.

@Neill and Rene (kind of, more just Neill)
Apparently i struck a tender spot.
I'm terribly sorry my asking for help offended you.
But at the moment, I am a broke student attempting to find his way in the world.
I don't exactly have a huge amount of time to spend teaching myself the skills.
I was hoping some very nice people could help me through it, but apparently I made some ppl mad.
And I know when I say I don't have the time to learn you're prolly just say 'if u don't have the time, then don't even bother.'
But I have a dream, m'lad, and I shall not let it die jsut because I have no time or money!
I am going to make a game, dammit!
Someday, somehow, I will make a game.
And thanks again to ppls for helping so very much.

Alan, you are most definitely the man.
#11
05/10/2008 (6:58 pm)
You didn't make me mad at all, just frustrated. You wouldn't believe the amount of morons that think they can have everyone do everything for them. (Not you.) I'm sorry if I came over as too aggressive. My bad.
#12
05/10/2008 (7:08 pm)
Hrm. those features sound pretty familliar.

have a look at this thing:
http://www.mydreamrpg.com/orders/more_information.php?product_id=42,
#13
05/10/2008 (7:10 pm)
Quote:But I have a dream, m'lad, and I shall not let it die jsut because I have no time or money!
I am going to make a game, dammit!
Great!! :-) Make it and show it off. That'll teach them. :-)
#14
05/10/2008 (7:12 pm)
Oh, and I guess I should note, the Bronte quote at the end wasn't directed at anyone in particular either, it was just at the end of the text document that I keep on my desktop and drop in great stuff into when I find it.

And of course the fact that the Bronte Sisters created some of the coolest, most ruthless characters in literature...
#15
05/10/2008 (7:12 pm)
Jimmy,
Edward F. Maurina III made 2 books that are very good for the basics to advanced that use the Torque Game Engine ( TGE )

www.amazon.com/Game-Programmers-Guide-Torque-GarageGames/dp/1568812841/ref=sr_1_...
and www.amazon.com/Multiplayer-Gaming-Engine-Coding-Torque/dp/1568814224/ref=sr_1_1?...
#16
05/10/2008 (7:35 pm)
@Scott
That "Make Game" button thing is just gorgeous...

@Mike
"Teach them"?? Neill and me??

To maybe clarify this: my intention wasn't to bash on anyone. Rather my point was "If you want to do something creative, you have to be willing to put in the effort it takes."

@Jimmy
Mad? No, not the least bit. Sorry if I came across like that.
#17
05/10/2008 (8:24 pm)
Just thought I'd chime in here:

@Alan - In my book, you definitely get the MVP title of the week: Most Valuable Poster. I've made a lot of link lists (haha) posts for community members in the past, but what you posted trumps almost all of mine. Kudos! Also, excellent usage of Bronte =)

@Jimmy - Though a few months late, I'd like to say "Welcome to the Community." Seeing your "in your face" passion for game development is refreshing. When you do get around to reading the official docs, be sure to post some feedback on which aspects of the docs you like, and what you think might be missing. That would be very useful to the authors =)

Not everyone likes using documentation in the beginning of their development. Some people like to dive right in, and just need a little direction. Here's a little bit of irony (for those of you who might know me): I did not open a single official doc page when I started learning Torque. It was there. I knew where it was. But I wanted to dive right into the engine and use the forums/resources as my guide.

When I felt thoroughly lost, and did not want to bother the same people who helped me continuously, I turned to the docs. When I felt more competent using the engine, I started reading more docs and posting less questions.

Now I write docs....go figure O.o

So, learn how you wish, but don't forsake the docs entirely. There's some good stuff in there.
#18
05/11/2008 (1:02 am)
Lol! love the 'Make Game' button!

Someone recently posted on our ZDay forums that they had 100% completed alpha version of our game that is only a fraction of that complete. Methinks they've installed your magic script....
#19
05/11/2008 (9:14 pm)
This has gotten WAY more replies than i thought it would.

Thanks a TON to everyone for just taking time to post,
even though most of you are saying i should shut up and read the docs.

I'm just anxious to get going on my game idea, and with having to read constantly because of school, I was hoping this might be different.
I understand, however, that all I am looking for can be found in les dovs.
So I shall search les docs.

Thanks again, everyone, for posting so quickly!
I almost had a seizure when I saw there were 20 replies!

@Neill and Rene
Ok good.
I thought the fact that I wasn't exactly tickled at reading docs may have upset you.
Glad it didn't!
#20
05/12/2008 (7:16 pm)
Nice list Alan. I added a couple more and I'll add the url's for you :)


Key Press to Mount Vehicle (or USE Button)
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11831

Select Weapon Via Gui
www.garagegames.com/mg/forums/result.thread.php?qt=65458#477022

Blender Torque Tutorials by Nigel Symes
www.rstralberg.com/blendertuts.html
Page «Previous 1 2