Open X39 opened 9 years ago
With the fluids, the loss of blood should also play into how hydrated/dehydrated a player is, since blood is a mixture of fluid. You also might want to make a distinction between the types of fluid used(Hextend vs LRs vs Normal Saline) since they all will do different things to the human body.
According to what you wrote; does that mean we need to redefine the blood term from the mods perspective? So that multiple fluids join together into blood?
If we can, yes. The tricky part is getting that match right if we go that route, since blood is actually fluid, red blood cells, white blood cells, and plasma. We dont want a player to magically lose blood via dehydration, but they should start getting dehydrated with sever bloodloss/hight temperature.
a possible way would to generate a new structure remark about what we have right now Unit variables X39_MS2_var_Bleeding_Blood X39_MS2_var_Bleeding_Clotting
both more or less work together and result in https://github.com/X39/XMS2/blob/master/X39_MS2_Scripting/Functions/Bleeding/getBloodPresure.sqf https://github.com/X39/XMS2/blob/master/X39_MS2_Scripting/Functions/Bleeding/getter/getBlood.sqf
what would need to be changed remove the "X39_MS2_var_Bleeding_Blood" variable and add a new variable for EACH fluid also remove the add/set Blood functions
after that, each fluid would need to get its own set/get/add functions + variable then alter the https://github.com/X39/XMS2/blob/master/X39_MS2_Scripting/Functions/Bleeding/getter/getBlood.sqf function so that it calculates the current blood value with maximum blood value in mind out of those fluids
it also means that there would some kind of function needed to reduce the general blood value (as youre not only bleeding a single fluid or all fluids for the same value)
please correct me if i left out some point or something is not clear
That would work well. It also would support providing to much fluid(tricking the body into thinking it has enough blood again) which ends vasoconstriction and then will bust clots back open and start bleeding again, but this time with less blood
I started a few months ago with a system that adds this to arma, maby we can add this xms2?
feel free to give it a shot
Okay will will make for that a new branch, so we can test that beside the normal dev.
This will be done in implement_hunger_buddy branch
we cannot call ourself simulation if we dont got it inside also the water can be used in combination with the planned eye thingy
What needs to be archived
Other notes