Jump to content
Sign in to follow this  
Zeddy

How to destroy wheels in editor?

Recommended Posts

Hi guys

I'm trying to create a truck with destroyed wheels. I've tried lowering the damage slider in the editor, but either the truck has wheels or undergoes spontaneous self-combustion - no in between.

I've also dug around in the scripting references, but haven't found anything to destroy the wheels only.

Anyone able to point me in the right direction, if it's even possible? :o

---------- Post added at 03:45 AM ---------- Previous post was at 03:41 AM ----------

Sorry, found it after all!

http://community.bistudio.com/wiki/setHit

Set hit command! :D

Share this post


Link to post
Share on other sites

on a HMMWV its

left front wheel

car sethit ["wheel_1_1_steering", 1]

left back wheel

car sethit ["wheel_1_2_steering", 1]

right front wheel

car sethit ["wheel_2_1_steering", 1]

right back wheel

car sethit ["wheel_2_2_steering", 1]

im not sure its the same on all cars/trucks.

you can use.

this addEventHandler ["handleDamage","hint str(_this)"]; 

to find that out.. keep in mind. you sometimes need to shoot several times to get the right part.. also aim as low as possible on the wheels.

you can also use a tool called Eliteness to extract info from the models

Edited by nuxil

Share this post


Link to post
Share on other sites

Thanks nuxil, I was just beating my head trying to figure out how to choose the correct "wheel" in Czech!

It works a charm now! :)

Share this post


Link to post
Share on other sites

Thanks for asking Zeddy, I've been wondering how to do that for awhile, was trying to use

Smoke1="SH_125_HE" createVehicle [(getpos this select 0), (getpos this select 1), (getpos this select 2)+ 20];

and impact the correct wheel. LMAO!

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  

×