Game Development Community

2 Different game types?

by Christopher Gardner · in Torque 3D Professional · 02/28/2010 (2:13 pm) · 2 replies

How would I be able to create another game type (specificaly a campaign type) in addition ot the default deathmatch mode, and allow the user to choose the type of game he wants to do?

#1
02/28/2010 (2:28 pm)
To make another game type, just copy the original gameDM.cs (remember to exec the new file), rename all the "DeathMatchGame" into what ever you want the game type to be (ex. CampaignGame). Then add this dynamic variable to your missions LevelInfo
gameType = "your game type here";
Where gameType (in this case) would be "Campaign".
#2
02/28/2010 (2:34 pm)
Thanks