Jump to content
Sign in to follow this  
Royal_Blackwatch

Check which part of vehicle is dammaged?

Recommended Posts

Is it possible to check which part of a vehicle is hit?

I mean you define the hit points lod for ofp to check what part of a vehicle is hit. So somehow you must be able to tell ofp what has to happen.

The eventhandler dammaged only seems to work with soldiers and hit shows only the amount of dammage done.

Plz drop me a line or two if you know something about this topic.

Share this post


Link to post
Share on other sites
Guest BratZ

Well there is the hitpoints LOD you reffered to, you classify things there depending on your class and things like glass will crack

I am not completely sure as I haven't overcome this part yet.

But I plan on looking at a few models and their configs and figuring it out

But I believe that when something gets hit (engine,fuselage,glass etc..) that it still does total damage to the total vehicle from what I have read.

From what I read,you cant destroy just a vehicles engine or whatever,but yet you can destroy a tanks turret.

Maybe its just glass can destroyed for most vehicles and just turrets on tanks?

I don't think you can tell what has been hit.

Sounds like you already may know this stuff,can you also add what you know?

I hope somebody adds to this please....

Share this post


Link to post
Share on other sites

Well, heres what I know about this topic.

1. (Already written) Eventhandler Dammage only seem to affect Soldiers (WHAT a pity crazy.gifcrazy.gif )

2. Eventhandler Hit works only when object is hit by a larger projectile (no infantry weapons).

3. I´ve found something in the commented config

class HitEngine {armor=0.8;material=60;name=engine;passThrough=1;}

class HitHull {armor=1;material=50;name=hull;passThrough=1;};

...

but I have no idea (at the moment) what the meaning of the variables is.

Thats all I know about this.

To be more precise what my intension is, I´m currently working on a three-engined plane. My idea is to check if one of the engines is hit and how severe the dammage is to show smoke or fire there (and some other ideas I´m not yet sure if ofp can handle that).

Share this post


Link to post
Share on other sites

Hi,

EventHandler Dammaged is working on helicopters. Just test it with a bradley and a UH60.

EDIT:

But I didn't get it to work with tanks.

Share this post


Link to post
Share on other sites

I´ve tried this with my plane but maybe it did not work because my HitPoint Lod is not finished yet.

I´m going to try this later

Share this post


Link to post
Share on other sites

I´ve tried it as you said with a bradley and a UH60 but I could not get this working.

Could You PLZ write your Init entry of the eventhandler.

I for my part copy/paste -d it from the comref of course with adapting it to my case.

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  

×