Porting the Death Car Example?
by James Sparkman · in Torque Game Engine · 08/13/2003 (1:46 pm) · 3 replies
Has anyone successfully converted the death car example from from 'racing' to 'fps'? I've added another mount point for the driver and switched the guns into mount points 1 and 2 but I'm still not able to mount the vehicle. Any help is appreciated.
About the author
#2
maxMountSpeed = 0.1;
mountDelay = 2;
dismountDelay = 1;
stationaryThreshold = 0.5;
maxDismountSpeed = 0.1;
numMountPoints = 1;
mountable = true;
mountPose[0] = "Sitting";
mountPointTransform[0] = "0 0 0 0 0 1 0";
isProtectedMountPoint[0] = false;
08/13/2003 (2:26 pm)
I can already mount other wheeled vehicles. And I've added the following to make the vehicle mountable.maxMountSpeed = 0.1;
mountDelay = 2;
dismountDelay = 1;
stationaryThreshold = 0.5;
maxDismountSpeed = 0.1;
numMountPoints = 1;
mountable = true;
mountPose[0] = "Sitting";
mountPointTransform[0] = "0 0 0 0 0 1 0";
isProtectedMountPoint[0] = false;
#3
with the mountable flag true..
you should be able to mount it.
sounds like you need some echo's to print some results in the onCollision for the player.
I would echo the mountable flag of the vehicle
as well I would echo the players can mount variable
these are the common areas.
08/13/2003 (2:42 pm)
Interesting ..with the mountable flag true..
you should be able to mount it.
sounds like you need some echo's to print some results in the onCollision for the player.
I would echo the mountable flag of the vehicle
as well I would echo the players can mount variable
these are the common areas.
Torque Owner Badguy
in the onCollision method.
needs to support wheeled vehicles?
or maybe that the vehicle itself does not have the mountable tag set?