Jump to content
Sign in to follow this  
Gravengrav

Flat tire on vehicle.

Recommended Posts

I'm trying to create a mission where the appearance of a car with a flat tire is needed.

This is me trying to figure that out: :confused:

Tried searching, but came up empty. So I try asking, in the hope that someone knows anything about adding damaged parts to vehicles.

Cheers

Share this post


Link to post
Share on other sites

setHit :)

For most cars the parts are named like this:

wheel_1_1_steering = Left front tire

wheel_1_2_steering = Left rear tire

wheel_1_3_steering = Left middle tire (trucks)

wheel_2_1_steering = Right front tire

wheel_2_2_steering = Right rear tire

wheel_2_3_steering = Right middle tire (trucks)

So for example flattening the front right would be done with this:

vehicle setHit ["wheel_2_1_steering", 0.9];

Share this post


Link to post
Share on other sites
setHit :)

For most cars the parts are named like this:

wheel_1_1_steering = Left front tire

wheel_1_2_steering = Left rear tire

wheel_1_3_steering = Left middle tire (trucks)

wheel_2_1_steering = Right front tire

wheel_2_2_steering = Right rear tire

wheel_2_3_steering = Right middle tire (trucks)

So for example flattening the front right would be done with this:

vehicle setHit ["wheel_2_1_steering", 0.9];

Thank you very much! Worked perfectly :yay:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×