Mission by map system
by Ronald J Nelson · in Torque Game Engine · 08/06/2006 (12:38 pm) · 1 replies
I was considering moving towards a system that is based similar to what I have seen in the Half-Life 2/CounterStrike games where the map dictates the type of mission is played on it when it is loaded. In our game we are going to have several different mission types and thought this might be the more efficient method.
Has anyone done this yet?
If so how?
If not, any suggestions?
Has anyone done this yet?
If so how?
If not, any suggestions?
Associate Orion Elenzil
Real Life Plus
but it's easy to set global variables or make functions calls in the mission file.
just look at your mission file (whatver.mis), and put whatever code you want down at the bottom, below "//--- OBJECT WRITE END ---"
for example
//--- OBJECT WRITE END --- setMissionType("ZombieBrainMunch"); // or setMissionType("DeathMatch"); // or setMissionType("CaptureTheFlag");stuff below the "OBJECT WRITE END" will be preserved thru loading & saving the mission.