Game Development Community

Help with creating a mission code

by Kory Imaginism · in Torque Game Engine · 12/29/2006 (11:08 am) · 6 replies

Ok I'm new to toruqescripting, and I'm currently working on a project and I've notice that alot of the tech demo/modded demo games are using the deathmatch as their demos, that's great and all but I would like to know how to get the project to run a mission not a deathmatch where it would have to connect to a server. I want it to play out like a normal game with different objectives to accomplish and different events that trigger things throughout the game, in order to go on to the next stage or level. I searched for any example code but my search was unsuccessful. If someone could help me out on this or give me an example code on how to get something like this to happen on a game. It would help me out alot, plus I believe it would help out others to.

thanks in advance...

#1
12/29/2006 (11:48 am)
Http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=11876

Deathmatch, Team Deathmatch, Capture the Flag.
#2
12/29/2006 (12:08 pm)
Awhile back someone had a "single player starter kit" but I don't have the link and a search showed nothing... Sorry
#3
12/29/2006 (12:25 pm)
Quote:Awhile back someone had a "single player starter kit" but I don't have the link and a search showed nothing... Sorry

You mean Single Player Starter Kit ?
#4
12/29/2006 (6:35 pm)
Thanks, but what I'm looking for is a basic gameplay script, like a player with an objective to rescue a person or multiple different people to exit a stage with bot trying to kill the player or the victim. Something pretty simply that I can try to excute so I can make a playable demo.

thanks in advance

If someone can help me create a script like the one I discribe above it would help me learn torque scripting.
#5
12/29/2006 (7:28 pm)
Read over this file server/scripts/game.cs
Everything you want to change is right there now.

If you want to exit the stage via reaching a certain location you can look at the built in trigger system. in the server/scripts/trigger.cs file.
#6
01/03/2007 (6:39 am)
This may help you.

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