Game Development Community

My new MissionArea Game

by Entr0py · in Torque Game Engine · 01/31/2007 (4:50 pm) · 3 replies

I finished my new missionarea game, but since I don't think many people will buy it I am releasing the source code to the community for all to enjoy.

The object of the game is to make as many missionareas as you can.

Here is the code:

First we need to allow more than one missionarea to be made. In missionarea.cpp in Missionarea::Add, comment out the following lines like this:

//   if(isServerObject() && MissionArea::getServerObject())
//   {
//      Con::errorf(ConsoleLogEntry::General, "MissionArea::onAdd - MissionArea already instantiated!");
//      return(false);
//   }

Then somewhere in script add this (these values are simply my preferences, change them around however you like):

function Entr0pysBadassMissionareaGame()
{
   for(%i=0;%i<786876876876876;%i++)
   {
      new missionarea(%i){
         Area = "-360 -648 720 1296";
         flightCeiling = "300";
         flightCeilingRange = "20";
         locked = "true";
     };
     echo(%i);
   }

}

Then start the game and go into the console and type:

Entr0pysBadassMissionareaGame();

I let this run while I went to smoke a cigarette and got a high score of 650,000, which makes me the reigning champ of The Missionarea game. I would like to see you n00bs do better.

#1
01/31/2007 (4:56 pm)
I hate to be the one to pee in anyone's cheerios, but this game is less fun than the GCC compiler option game.

Gary (-;
#2
01/31/2007 (4:57 pm)
I happen to be rather fond of that one :(
#3
01/31/2007 (5:07 pm)
"Gary "ChunkyKs" Briggs has made 666 posts on the forums."

You're the devil.