Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
tarabas

How to show damage

Recommended Posts

Hey i am playing with the Editor. How can i show damage that weapons do and soldiers/vehicles ?

I saw this on Youtube(dayz has some servers that show player damage).

Or is there a mod/addon that shows the damage on vehicles/Soldiers that i can download?

Share this post


Link to post
Share on other sites

You can see damage to vehicles if you get into the vehicle and check out the little colored boxes that track damage to parts like engine, hull, wheels, etc. Such functionality to the best of my knowledge is not available for units...but if you get into event handlers, I am pretty sure there's one that can track damage to various parts (some of which, I might add are in Czech).

But DayZ (which I have very little experience playing) and I44 likely have mod-specific custom-build functionality that tracks damage to body parts likely using a similar method as described above.

You might be able to mess with these to find what you're looking for:

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

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

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

Share this post


Link to post
Share on other sites

h34dup said it already, so looking into events could be the right decision here.

If the mod you're using has a custom damage handling system, it wouldn't hurt to search for the HandleDamage-Eventhandler and check what they're doing.

Also there is an eventhandler which is fired everytime the unit/vehicle suffers damage, namely Dammaged.

In both cases the selection name is returned in the event handler, giving you more information about the actual part which got hit.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×