Forum

> > CS2D > Scripts > Physics sample stats (and more)?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Physics sample stats (and more)?

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Physics sample stats (and more)?

Mami Tomoe
User Off Offline

Zitieren
Hey! I'm working on a big project and I want it to use the physics engine! Below are all my current questions!


Is there a way to do the following?
:1: Prevent specific players from using a vehicle
:2: Check if a player is driving a vehicle
:3: Completely destroy (remove) a vehicle
:4: Teleport a vehicle
:5: Check if somewhere is a valid position for a car (avoid crashing)
:6: Add sound to a vehicle
:7: Animate parts of the vehicle (such as rotating)

Thanks!
1× editiert, zuletzt 13.05.19 15:27:53

alt Re: Physics sample stats (and more)?

Jaller94
User Off Offline

Zitieren
Vehicles are not part of vanilla (=unmodified) CS2D. Which lua script are you referring to for vehicles?
Please provide a link to the CS2D Downloads Archive, if you got it from there.

alt Re: Physics sample stats (and more)?

SQ
Moderator Off Offline

Zitieren
Don't have much time to explain how it works, but those particular functions probably are not included in the build.
These are server-sided utilities, so can be included with any patch.
There ain't many helping code regarding physics yet, obviously because there wasn't much need so far.
I'll take a look later how I can resolve some issues related to this.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht