Game Development Community

Fixed start points?

by James Bond · in Torque Game Engine · 02/07/2005 (3:45 pm) · 3 replies

In the racing demo the buggy starts in random places each time i start a new game. This is due to the spawnSphire ?

How do I go about makig the player start from the same place each time? say on a starting line?
Thanks,
-James B.

#1
02/08/2005 (4:42 am)
Yes it's due to the spawnsheres. Go to the World Editor (F11) and delete all vehicle spawnspheres except one. Then place on a starting line.

Nick
#2
02/08/2005 (6:21 am)
Nick,

I have done this, however it has had no ipmact on the start position of the buggy,

do i have to re link it in the code somewhere? if so where should i be looking?

Thanks,
-James B.
#3
02/08/2005 (6:46 am)
No, you can do it in either the World Editor OR in script.

Just to make sure did you save the mission after you applied the change?

In case you want to check it in the script, edit the mission file (.mis) that is in your /data/missions folder. You should have only one instance of the following:
new SimGroup(PlayerDropPoints) {
      new SpawnSphere() {
         position = "57.0109 17.7818 51.2";
         rotation = "0 0 1 89.7727";
         scale = "1 1 1";
         dataBlock = "SpawnSphereMarker";
         radius = "1";
         sphereWeight = "100";
         indoorWeight = "100";
         outdoorWeight = "100";
            locked = "false";
            lockCount = "0";
            homingCount = "0";
      };

Nick