Tricky cs_vehicle behavoir, help plz Created 20 years ago2004-02-27 22:07:16 UTC by Thor Thor

Created 20 years ago2004-02-27 22:07:16 UTC by Thor Thor

Posted 20 years ago2004-02-27 22:07:16 UTC Post #17625
Alright, ya know how in starwars2 the vehicles (tie fighters) operate on a flat surface, aka dont go up or down, but if you jump off of the death star, you will fall to the bottom of space? How do you get the vehilces to stay on some magical floating surface there but the people fall through it?

I tried turning off the pitch thing in the vehicles but allt hat appears to do is prevent them from pitching, they still feel the effects of gravity and fall to the bottom of the next surface. How can i block vehilce movement without blocking playermovement as well?

Any help would be greatly appreciated :-)
Posted 20 years ago2004-02-28 08:50:30 UTC Post #17670
You'll have to trick the engine to think that the vehicle IS touching the floor but its really tall-
Change the 'height' value(is there one?) to the same amount you want the car to be tall.
I hope you get the point...
Posted 20 years ago2004-02-29 00:48:23 UTC Post #17831
The Tie Fighter's are func_trains following pathcorners.
That is why they are not affected by gravity.
Posted 20 years ago2004-02-29 01:13:28 UTC Post #17834
Thx Zombie, i think your right about that.

They are definitely vehicles though, not func_trains...

I'll post back if that idea works.
Posted 20 years ago2004-02-29 08:11:49 UTC Post #17862
Well, they might be, I havent played starwars for years ;)
Posted 20 years ago2004-03-01 11:41:56 UTC Post #18004
all you have to do is place the first path_track entity, the one for the spawn point of the vehicle, in the air... and there u go... the vehicle should spawn in the air... if that doesnt work... theres an option for the height above track... play around with that number...
You must be logged in to post a response.