From Demo to Multiplayer easy as 123
by Ace · in Torque Game Engine Advanced · 06/06/2004 (1:47 pm) · 3 replies
I use vc6.0 on win98se, with no problems to speak of.
The demo uses GameType to determine how you will spawn. Here's a quick way to go from Demo to multiplayer.
//In client/init.cs about line 206
change Singleplayer to MultiPlayer
if you want coop or dm
The demo uses GameType to determine how you will spawn. Here's a quick way to go from Demo to multiplayer.
//In features.mis Edit line 6 to read
type = "any";
//Instead of DemoScene
//In features.mis Add:
new SimGroup(PlayerDropPoints) {
new SpawnSphere() {
position = "223.12 -79.5069 185.262";
rotation = "0 0 1 189.076";
scale = "0.940827 1.97505 1";
dataBlock = "SpawnSphereMarker";
radius = "10";
sphereWeight = "1";
indoorWeight = "1";
outdoorWeight = "1";
homingCount = "0";
lockCount = "0";
locked = "false";
};
};//that should drop you right at the door of the base.//In client/init.cs about line 206
change Singleplayer to MultiPlayer
/ Start up the server..
createServer("MultiPlayer", "demo/data/missions/features.mis");if you want coop or dm
About the author
Ace Owner of NoESCape.sytes.net starting from the beginning on 3d torque
#2
06/20/2004 (3:42 am)
You did something wrong there. Are you sure you placed the brackets properly?
#3
Thanks again for opening my eyes. :)
06/20/2004 (5:14 am)
Yeah. You were sort of right. :) Instead of placing the brackets wrong I actually placed the entire SimGroup wrong. Where it said add to features.mis I thought it meant I could just drop it on the end of the file. Shame on me for not paying attention to the rest of the file. :)Thanks again for opening my eyes. :)
Torque Owner Hank-Ahn
Missing spawn points group MissionGroup/PlayerDropPoints
I hope that helps. Thanks.