Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
skigoggles

character_data.medical

Recommended Posts

Does anyone have info to decode this field in the database?

 

I found some code that was for epoch and it clearly doesn't match.

Share this post


Link to post
Share on other sites

Does anyone have info to decode this field in the database?

 

I found some code that was for epoch and it clearly doesn't match.

It's not much...but if you can fill in any of the blanks I'd like to know too.

I just started to document these for myself...

 

Healthy

[false,false,false,false,false,false,true,12010

 

Medical Problems

 

1

2

3  Sick   [false,false,true,false,false,false,true]

4

5  Broken Leg  [[false,false,false,false,true,false,true]

6

7

Share this post


Link to post
Share on other sites

from server_functions.sqf

 

server_medicalSync = {
_player = _this select 0;
_array = _this select 1;
 
_player setVariable["USEC_isDead",(_array select 0)]; //0
_player setVariable["NORRN_unconscious", (_array select 1)]; //1
_player setVariable["USEC_infected",(_array select 2)]; //2
_player setVariable["USEC_injured",(_array select 3)]; //3
_player setVariable["USEC_inPain",(_array select 4)]; //4
_player setVariable["USEC_isCardiac",(_array select 5)]; //5
_player setVariable["USEC_lowBlood",(_array select 6)]; //6
_player setVariable["USEC_BloodQty",(_array select 7)]; //7
// _wounds; //8
// [_legs,_arms]; //9
_player setVariable["unconsciousTime",(_array select 10)]; //10
_player setVariable["blood_type",(_array select 11)]; //11
_player setVariable["rh_factor",(_array select 12)]; //12
_player setVariable["messing",(_array select 13)]; //13
_player setVariable["blood_testdone",(_array select 14)]; //14
 
};

Share this post


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

×