Game Development Community

Multi passenger vehicles

by Edward Gardner · in Torque Game Engine · 03/06/2002 (6:33 am) · 1 replies

Ok, I have mountable vehicles, but my checks to see if the vehicle already has a pilot don't work. So another player carjacks the vehicle if they collide with it. And all the models pile up at mount0 with the last player to collide becoming the driver.

Anyone got real multipassenger vehicles working? or at least able to prevent more than one person from being able to pilot a vehicle?

#1
03/06/2002 (11:41 am)
there's some comments on the Armor::onCollision and Armor::DoMount ... or something like that! :P
It says it mounts pilots only for now, and assigns the player the mount0 node, you'll have to modify that part of the code to check if there's a pilot already and if there is mount on a different node