I mean the easier way to customize is to make as it was in the begining, like bloodregeneration_run = 2, bloodregeneration_walk = 4 and so on, and then use r_player_blood = r_player_blood + bloodregeneration_run
It is a bit sily to use two alike scripts instead of combining them.
So I do...
Can you add some more points?
I think there should be also a check if player blood > 11999 then blood = 12000, I think without this can probably cause BE kicks.
Also isn't it better to use local variable _blood instead of r_player_blood?
Also haven't mantioned in the scripts what to do if the...
xD see my post #11, cyrq just wrote the structure i was talking about but with corections to make it work =)
I think if already tested can release and just make credits to 4 people who used to work arround it
waituntil {!alive player ; !isnull (finddisplay 46)}; - what is this for?
Also this line:
if (!(vehicle player == player)) then {
r_player_blood = r_player_blood + (_regeneration * 10);
As I understood means that if vehicle player is not player then r_player_blood...
you should also add NoNameUnit to credits, he gave me lots of ideas.
Also I see you haven't changed speed, have you checked if it corresponds to each movement, I mean are you shure that walking is abot speed 5, crawling is about speed 1?
Cause I used this numbers randomly.
Also have you tried...
I think that the better way is check in another way.
You are trying to check like if any of exceptions is true then blood = blood
it can be changed like this: if blood is less than 11999 and player is nor injured nor bleeding and so then do regeneration, else exit with or just blood = blood.
In...
I am run out with this already, it seems we almost have finished the script, but there is always something wrong, lack of experience is evident. Seems it won't be finished without help of some advansced coder
I have tried these bots and missions and each I liked but unfortunately none of them are suitable itself.
WAI seemed to be the best but I dissliked that there are no random partols, all have to be adede manually with coords.
EMS 0.3 workes with WAI but it has so many bags so I want to try EMSv2...
If I understood it clearly so I should edit files which is used to spawn bots that could enter safe zones, so these are patrols and missions, am i right?
If yes it is to many job cause i have a lot of missions amd WAI and EMS bots, so if there is a chance to adapt it for traders instead of bots...
I like the way ebay did it, it workes great, but the only thing, when i try to adjust it for bots either with the aid of:
if (! isPlayer _x) then {
deleteVehicle _x;
};
But as far as I adapted it for my safe zones, traders also dissapear when entering it.
So how could I force this to delete...
found only these ones:
r_player_unconscious
r_player_injured
r_player_infected
r_fracture_legs
r_fracture_arms
r_player_bloodDanger
r_player_inpain
r_player_loaded
dayz_hunger
dayz_thirst
dayz_combat
dayz_isSwimming
dayz_isKneeling
dayz_isCrawling
am i right?
still need for temperature, run...
so i figured out with a help of script Sleep in tent regen blood
So it could be changed somehow like:
bloodAmountrun = 1;
bloodAmountwalk = 2;
bloodAmountsneak = 4;
bloodAmountcrawl = 6;
bloodAmountstay = 10;
bloodAmountsit = 15;
bloodAmountsleep = 1000;
while {true} do
{
if(r_player_blood...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.