Forum

> > CS2D > Scripts > Physics sample stats (and more)?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Physics sample stats (and more)?

5 replies
To the start Previous 1 Next To the start

old Physics sample stats (and more)?

Mami Tomoe
User Off Offline

Quote
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!
edited 1×, last 13.05.19 03:27:53 pm

old Re: Physics sample stats (and more)?

Jaller94
User Off Offline

Quote
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.

old Re: Physics sample stats (and more)?

_oops
User Off Offline

Quote
user Jaller94 has written
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.


IMG:https://i.imgur.com/Fr0DcDp.png


lol

old Re: Physics sample stats (and more)?

SQ
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview