Team Spartan Cookies & Milk Forums
Shuttle support - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Shuttle support (/thread-3366.html)

Pages: 1 2


Shuttle support - Tomeno - 08-07-2020

None of the shuttles classify as vehicles and aren't recognized by Player:inVehicle/vehicle or stargate.isInVehicle, which only works for the Stargate vehicles. Furthermore, there's no way to get the passengers or drivers of shuttles.


RE: Shuttle support - The17thDoctor - 08-07-2020

Moreover, the ST shuttles, which are their own shield generators, dont support Shield functions.


RE: Shuttle support - Ethan Vondwarf - 08-07-2020

and Regulars can't fly them even if spawned by member+


RE: Shuttle support - The17thDoctor - 08-07-2020

That's normal, it was meant to be that way.


RE: Shuttle support - Ethan Vondwarf - 08-07-2020

Wasn't like that when I played as regular


RE: Shuttle support - The17thDoctor - 08-07-2020

It wasnt but now it is.


RE: Shuttle support - Person8880 - 08-07-2020

I've added a "Shuttle" type that exposes read methods for the pilot, passengers and shield state for TSCM shuttles, as well as Player:inShuttle() and Player:getShuttle() methods. They'll be available after the next restart.


RE: Shuttle support - Tomeno - 09-07-2020

I do wish shuttles also had a getPassengerSeatPoint equivalent, since getting bone/attachment positions of players in shuttle seats doesn't seem to work.
Thanks for the additions though, much appreciated.


RE: Shuttle support - Person8880 - 09-07-2020

I've added Shuttle:getPassengerSeatPoint() which works identically to the vehicle method, should give you the world position and angles for all passenger seating positions. It'll be available after the next restart.


RE: Shuttle support - 57e11a - 09-07-2020

Damn Person, you are really devoted to this server! Many feature requests, most of them are pretty quickly replied to with a "I've added <x>. It should be available after the next restart", 100/10 best server owner..