Adding a vehicle into starter.fps
by Andrew · in Torque Game Engine · 10/19/2005 (6:05 am) · 4 replies
How do I go about adding a vehicle to starter.fps? Like perhaps the buggy from the racing demo or something like that? Would I be able to get the speedometer in as well?
#2
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3925
10/19/2005 (9:58 am)
Look at this resource, it will guide you to set up vehicles. I have successfully integrated this resource for all of my vehicles. It works quite nicely.www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3925
#3
copy buggy folder from starter.racing/data/shapes/ to starter.fps/data/shapes ?
because it isnt in the other locale..
02/21/2006 (7:46 am)
I think that second one should be:copy buggy folder from starter.racing/data/shapes/ to starter.fps/data/shapes ?
because it isnt in the other locale..
#4
copy buggy folder from starter.racing/data/shapes/ to starter.fps/data/shapes ?
because it isnt in the other locale..
02/21/2006 (7:55 am)
I think that second one should be:copy buggy folder from starter.racing/data/shapes/ to starter.fps/data/shapes ?
because it isnt in the other locale..
Torque Owner BigPapa
1. Copy the car.cs from the starter.racing/server/scripts to starter.fps/server/scripts.
2. Copy the buggy folder from starter.racing/server/scripts to starter.fps/server/scripts.
3. Open the game.cs from starter.fps/server/scripts in notepad.
4. Add exec("./car.cs"); to the end of the list of all exec lines in the onServerCreated() function.
5. Start the fps demo and press F11 to enter the world editor.
6. Press F to show the object tree to the right and click on shapes/Vehicles/DefaultCar.
This will just put the buggy in the world. Do a search on the forums on how to have your character mount the buggy.
Hope that helps.