Vehicles Galore
by Tom Feni · 10/14/2004 (12:59 pm) · 47 comments
4 vehicles to use as learning tools.
included:
Dts shapes for vehicles, scripts for the vehicles, milkshape files for all vehicles. all the textures for the vehicles.
Vehicle spawners. 3 vehicle spawns for the hover, car, and tank.. didnt get the plane one done but its fairly simple to see how I did it.
Its mainly a way to see how the script works and to fine tune your own shapes..
all of these work great out of the box.. none of them will fly thru the terrain and will not crash the game.. :)
so if you do fiddle try to do so slowly so you dont get things out of whack.. :)
Now you will want to take all the scripts and add them to your scripts folder in server..
ie/ server/scripts
then open game.cs and add
with the other exec's
now add all the shapes to your client/shapes folder...
now when you open your editor all the vehicles should show up in the editor.. all save the hover will spawn by clicking on the vehicles/ shape name..
for some reason the hover wont load normally.. use the vehicle spawn points which are also loaded into the editor under vehspawns...
play around and if you have any questions let me know.. :)
oh and hey, you might need the link:
New Vehicle Zip
* ok had some probs with the server.. feel bad about it so going to upload my recent vehicle stuff.. so there are alot of things in semi-finished state.. all as-is...
Finally.. its fixed..
enjoy.. :)
ok reuploaded the files as of 4-10-2006
included:
Dts shapes for vehicles, scripts for the vehicles, milkshape files for all vehicles. all the textures for the vehicles.
Vehicle spawners. 3 vehicle spawns for the hover, car, and tank.. didnt get the plane one done but its fairly simple to see how I did it.
Its mainly a way to see how the script works and to fine tune your own shapes..
all of these work great out of the box.. none of them will fly thru the terrain and will not crash the game.. :)
so if you do fiddle try to do so slowly so you dont get things out of whack.. :)
Now you will want to take all the scripts and add them to your scripts folder in server..
ie/ server/scripts
then open game.cs and add
exec("./tooncar.cs");
exec("./toontank.cs");
exec("./hovervehicle.cs");
exec("./flyer.cs");
exec("./flyervehicle.cs");
exec("./vehiclespawn.cs");with the other exec's
now add all the shapes to your client/shapes folder...
now when you open your editor all the vehicles should show up in the editor.. all save the hover will spawn by clicking on the vehicles/ shape name..
for some reason the hover wont load normally.. use the vehicle spawn points which are also loaded into the editor under vehspawns...
play around and if you have any questions let me know.. :)
oh and hey, you might need the link:
New Vehicle Zip
* ok had some probs with the server.. feel bad about it so going to upload my recent vehicle stuff.. so there are alot of things in semi-finished state.. all as-is...
Finally.. its fixed..
enjoy.. :)
ok reuploaded the files as of 4-10-2006
About the author
#42
"you do not have the correct version of the fps starter kit or the related art needed to play on this server contact server operator for more information,
(shapebasedata::load: couldn't load shape-- "starter.fps/data/shapes/explosions/debris.dts")
this looks like an exelent resourse and is in fact what ive been searching for so please any help at all would be much apreacated. thx
09/23/2006 (1:12 pm)
Hi i downloaded it and read this whole forum but im having trouble when trying to start my game from starter.fps its "you do not have the correct version of the fps starter kit or the related art needed to play on this server contact server operator for more information,
(shapebasedata::load: couldn't load shape-- "starter.fps/data/shapes/explosions/debris.dts")
this looks like an exelent resourse and is in fact what ive been searching for so please any help at all would be much apreacated. thx
#43
--Amr
10/28/2006 (8:16 am)
I had the same problem Don. A workaround is to simply search in your code for any reference to "data/shapes/explosions/debris.dts", and comment out the lines that use it.--Amr
#44
01/02/2007 (3:46 pm)
how can I enter the plane, are there key strokes needed, when I collide, nothing happens
#45
04/13/2007 (8:21 pm)
Has anyone made a working example out of this? If so, could you upload it? Testing this resource is kind of a pain in the ass, to say the least. =\
#46
09/13/2007 (6:01 am)
I downloaded this, seems like a great resource. i have the demo ver;sion of torque 1.4. when i try to place any of the spawns, torque freezes and i have to kill with control alt delete. it is a shame because i really wanted to try out the hovercraft. also, i can only mount the plane, which is also a shame because i wanted to try out the tank. any ideas?
#47
10/19/2008 (3:29 pm)
I have this working in stock tge 1.5.1. The only problems I ran into is the hover spawn and tank spawns will crash torque. Also, I haven't looked yet, but this doesn't seem to have dismount code within it. If you press the space bar, the avatar turns in his seat. I'm going to work on this this week, and hopefully, (time from my day job permitting) will have a working example ready by this weekend. 
Torque Owner Paul Griffiths
Also, how do you dismount? i press jump(space) and the camera moves around in big steps.
Thanks for your time.