Game Development Community

Team/Class system

by Ron Yacketta · in Torque Game Engine · 02/20/2002 (7:35 am) · 4 replies

Please forgive if this has been asked previously, I have scoured the forums and have found little to nothing regarding the subject.

I have been coding with the HL SDK for nearly 6 months now and would like to move on to bigger and better things (namely torque!).

Currently I have an extensive team/class menu system with RoundBased play (and several different game types) already coded. I would like to port this code to torque, the code does the following

1) upon ClientPutInServer() (HL SDK reference) the player is tossed into a spectaor (observer type) mode where they are unable to-do anything at all and are forced to select a team

2) once a team has been selected a class menu will be displayed

3) once the player has a team/class then checks are made to determin if a round is in progress etc... . Then either spawns a player/starts the round or spawns the player as an observer that can fly around the map etc..

I have read numerous post's on the torque SDK forums and come to realise that what I intend to-do would be best suited for scripting? (whatever that is ;) ) and not hard coded in c++

If this is the case, could you kindly point me in the right direction to get started? possible doc's? possible example code?

If this would be better suited for hard code (c++) could you kindly point in the right direction to start? the torque (downloaded) source is much larger than I am used to working with and has me feeling kinda punch drunk *snicker*

Best regards,
Ron

#1
02/20/2002 (2:53 pm)
im writing a teams tutorial, it doesnt do rounds just implements teams, with spawn points and a team scoreboard... it isnt done yet im writing the scoreboard part... tho i havent had much time lately... ill try to finish it soon :\
#2
02/20/2002 (3:03 pm)
Can you provide some basics to get me started? where should I be looking? code or script? or both? some general pointers perhaps? I am sure others who are looking at doing a Team based game (Warefare?) would like this info as well :)
#3
02/20/2002 (5:13 pm)
Joe wrote a really nice scripting language overview.

You can find it here
#4
02/20/2002 (6:29 pm)
ronald, you should start looking on the scripts and specially on game.cs ... that should get you started...