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.
How do I go about makig the player start from the same place each time? say on a starting line?
Thanks,
-James B.
About the author
#2
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.
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
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:
Nick
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
Torque Owner Nick Zafiris
Nick