Game Development Community

Vehicle Problems

by Kirchgessner · in General Discussion · 01/04/2006 (9:19 am) · 1 replies

Right Now i was testing a vehicle in my game. I set it up in 3ds max but for some reason it won't spawn in on the example FPS game provided. It won't even show up in the category view.

Also, if i do a vehicle in Milkshape and the first player gets in mount0 then everyone else gets put in mount0 but they can't do anything. Why is this?

I'm thinking its the code on the milkshape problem, but for the other vehicle i'm completly unsure. It exports fine and all the code works it even shows up when i load its static object. Help would definetly be appreciated.




@ Kirby
The vehicle is set up How i had four other vehicles setup and they have all spawned off just fine. But this ones codeing is weird. I have it setup in the category under vehicles. (That doesn't show up) And it should spawn the vehicle off, i've even tried it in an older demo that came with the book Game Programing All in one, or something close to that. And it shows up in the category view but it won't spawn.

And on the vehicles in milkshape there are three mount points a piece. I'm using default code, so thats probably whats wrong with it.

#1
01/04/2006 (9:24 am)
Unless you're wanting to add it as a static shape, it won't show up in the category view.

If you're wanting to actually pilot the vehicle, you'll need to spawn it via script.

As for mounting everyone to mount 0: do you have additional mount points built into the model?

If so, is your script set up to properly assign clients to a node other than zero?