![]() |
|
Player:setVelocity(Velocity) (Starfall) - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Feedback (https://teamscm.co.uk/forum-9.html) +--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html) +--- Thread: Player:setVelocity(Velocity) (Starfall) (/thread-3357.html) |
Player:setVelocity(Velocity) (Starfall) - RaylaV - 04-07-2020 So this exists in the docs, and says it can set a players velocity, I have been playing with the idea of a jetpack as i may or may-not be releasing a bunch of Pulsar : Lost Colony related chips, found this Starfall type (Player etVelocity()) and found it just returns access deniedIs it possible for it to be enabled, as Player etPos() is enabled with permissions?Much Obliged, RE: Player:setVelocity(Velocity) (Starfall) - Aternalis - 04-07-2020 (04-07-2020, 01:30 AM)∞Ouroboros∞ Wrote: So this exists in the docs, and says it can set a players velocity, I cant say im a starfall coder but this would actually be kinda cool to see RE: Player:setVelocity(Velocity) (Starfall) - frdhog - 04-07-2020 I also thing this would be good and would be better in terms of balance compared to setting a player's position (I'm not making the case that should be removed) RE: Player:setVelocity(Velocity) (Starfall) - Person8880 - 06-07-2020 The way this works is a bit of a hack really, hence why it's currently admin only. It conflicts with the movement system and isn't really the right way to manipulate player velocity. However, binding the move system would be a bit too much power for Starfall to have. The alternative way to make a jetpack would be using a vehicle (or the chair tool) and moving that around with forces. That would give you better physics (as it's VPhysics simulated rather than the move system), though admittedly you can't use your toolgun/weapons in the chair. RE: Player:setVelocity(Velocity) (Starfall) - RaylaV - 06-07-2020 I can't say I expected it to be enabled, can thoroughly understand it's clashes with gamesystems, Sad, big sad. Thanks for getting back to me. RE: Player:setVelocity(Velocity) (Starfall) - mariofludd - 07-07-2020 (06-07-2020, 11:50 PM)∞Ouroboros∞ Wrote: I can't say I expected it to be enabled, can thoroughly understand it's clashes with gamesystems, Iirc the main reason it got disabled was because it allows space noclip oops |