Mike Stoddart's Resources
This resource implements a flexible system for vehicles in Torque. The main points of interest are: - Prevents code duplication by moving some vehicle logic into a new script file. - Introduces flexibility by letting you specify number of seats per vehicle, the direction each seat faces, and the pose a player will take when they mount each seat. A player can also switch seats while mounted. - The ability to only mount or dismount a vehicle when it is stationary. You can also specify thresholds on a per vehicle basis that let you determine when a vehicle is deemed to be stationary. - There are no changes to the C++ source code; only to the script files. Feel free to use as much or as little of this code as you like. The code isn't released under any license, so use it in any kind of product free or otherwise. Just don't take the credit for yourself. ;) If you make improvements or have any suggestions, please come back and post them.
Author Mike Stoddart Date 03/02/2003 (12:57 am) Comment 172 comments
