Jump to content

Recommended Posts

Posted

The debrief.log contains events coded like this:

 

{t=46139.210, type='shot', initiatorID=16805633, initiator="Unit #93", initiator_country=16, weaponID=34490113, weapon="2A33_152", weapon_type='shell',},
{t=46149.327, type='land', initiatorID=16777730, initiator="USA A-10 02", initiator_country=2, place="Kutaisi", place_id=5000029,},
{t=46156.927, type='shot', initiatorID=16805633, initiator="Unit #93", initiator_country=16, weaponID=34490881, weapon="2A33_152", weapon_type='shell',},
{t=46184.910, type='shot', initiatorID=16805633, initiator="Unit #93", initiator_country=16, weaponID=34491137, weapon="2A33_152", weapon_type='shell',},
{t=46411.404, type='shot', initiatorID=16777731, initiator="USA A-10 01", initiator_country=2, weaponID=16779523, weapon="AGM-65D Maverick", weapon_type='missile',},
{t=46448.420, type='hit', initiatorID=16777731, initiator="USA A-10 01", initiator_country=2, targetID=16784897, target="Unit #68", target_country=0, weaponID=16779523, weapon="AGM-65D Maverick", weapon_type='',},
{t=46448.420, type='dead', initiatorID=16784897, initiator="Unit #68", initiator_country=0,},
{t=46448.420, type='hit', initiatorID=16777731, initiator="USA A-10 01", initiator_country=2, targetID=16784897, target="Unit #68", target_country=0, weaponID=16779523, weapon="AGM-65D Maverick", we

 

What is the relation between the ID's (initiatorID and targetID) and unit type? How can one figure out that initiatorID=16777731 is an A-10?

There are only 10 types of people in the world: Those who understand binary, and those who don't.

Posted

Hey, case I've done this. Have a look in the servman handling of the on_damage events. Msg me over at 3qn. You'll have to use lua though :)

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...