OFPSDEV / BECTI

Mission Development for OFPS
3 stars 4 forks source link

Fix repair sometimes not fixing wheels. #109

Closed DanielVF closed 9 years ago

DanielVF commented 9 years ago

Sometimes when a vehicle's wheels are damaged, you can't fix it with a repair kit. The received wisdom from players is to shoot up the vehicle with grenades/tank rounds to damage it more, then repair. This turns out poorly for everyone involved.

The problem is that a vehicle may have no overall damage, but still have individually damaged components/hitpoints/sections. To fix this, we need to repair each component/hitpoint/section individually after the main repair is complete.

References:

SpanishSurfer commented 9 years ago

This was fixed right?

thecoolestname36 commented 9 years ago

I wrote some code that was commented out. It gets the wheels on the vehicle being repaired but does not fix the wheels, just gets the wheels. I just wanted to write it down for notes for other people.

d3b9cc2480ac8abda2b57641854230079099c829

thecoolestname36 commented 9 years ago

Redundant, look for 'Repair Script'