Game Development Community

Map Editor Standalone

by Jem Bem · in Artist Corner · 12/06/2003 (3:24 am) · 5 replies

Is the Map Editor Standalone available for free? Because I find it irritating to have to go into the FPS Demo and hit F11 to launch the map editor...

If the licensing is not against it would anyone mind sending it to me please?

#1
12/06/2003 (5:19 am)
Sam,

The map editor you are speaking of is built into the torque engine.

See how the map editor is loaded in script - Then you can find a way to make it start up by default.
#2
12/06/2003 (5:21 am)
Lol, so make a shortcut with like -mapEd or something in it?
#3
12/06/2003 (5:34 am)
Yep that sure is possible :)
#4
12/06/2003 (5:36 am)
Lol, I checked, doesn't work, I looked and saw the only ones, theres none that actually work tho, there was a list of them.
#5
12/06/2003 (5:47 am)
Sam,

It appears that the "toggleEditor(%make)" function should do the trick. Although you may need to load a mission first before using it.

To load a mission, you could try and do what the load mission gui does :

%serverType = "SinglePlayer";

   createServer(%serverType, %mission);
   %conn = new GameConnection(ServerConnection);
   RootGroup.add(ServerConnection);
   %conn.setConnectArgs($pref::Player::Name);
   %conn.setJoinPassword($Client::Password);
   %conn.connectLocal();

Then perhaps somewhere (like after, though im not sure when connectLocal() returns), turn on the editor :

toggleEditor(true);