Search results

  1. K

    reworking zombies with no need to make additional @mod

    I am trying to rework zombies like in yum's zed mode but with no need to download additional mode, it means we will have custom files wich will make the same effect. There are lots of relations so we will need a lot of custom files which will make the mission file much bigger but i think this...
  2. K

    Need Scripting Help (Combat-Check and Loop)

    don't know how you tested it, but when I was testing it was giving me 10 points if not in vehicle and + some points for case standing, so I got 15 points
  3. K

    Need Scripting Help (Combat-Check and Loop)

    Have no time to test now, just look upon this variants, and may be try to test them. private ["_veh","_inVeh","_speed","_regeneration","_thirst","_hunger","_exceptions","_blood","_cursorTarget"]; _veh = gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'displayName'); _inVeh =...
  4. K

    Need Scripting Help (Combat-Check and Loop)

    I remaked the script structure a bit, now testing. As for last checks, I mean if you pass the first check (blood < 11999) for example you passed it with 11990 and then regenerate while standing 20 points at once, it may cause BE kick, because of 12010 blood amount. So made such structure (code...
  5. K

    Need Scripting Help (Combat-Check and Loop)

    Have checked your release, so exceptions also don't work properly. The regeneration is always 10 + regeneration based on speed. So the script isn't finished yet =( Speed values also should be changed, cause not all of them make the effect, as when sneaking - has the same effect like walking.
  6. K

    Need Scripting Help (Combat-Check and Loop)

    almost got it working, need more test with exceptions, and still regenerate only 10 points each time private ["_vehicle","_inVehicle","_speed","_regeneration", "_exceptions"]; waituntil {!alive player ; !isnull (finddisplay 46)}; _vehicle = vehicle player; _inVehicle = (_vehicle != player)...
  7. K

    Need Scripting Help (Combat-Check and Loop)

    This has also worked, but with the same problems, like not all exceptions work, and no matter in vehicle or not, sleep or not, what movement speed i have, it regenerate 10 poiints for each loop private ["_regeneration", "_exceptions"]; waituntil {!alive player ; !isnull (finddisplay 46)}...
  8. K

    Need Scripting Help (Combat-Check and Loop)

    I meab you have 11995 for instance so the script will loop and you can get additional 20 points if make no movement, so your blood should become 12015 and BE can kick - ban in this case. That's why i decided to make this check cause i don't know wether it is present in some of dayz_code to limit...
  9. K

    Need Scripting Help (Combat-Check and Loop)

    have tried this one private ["_regeneration"]; waituntil {!alive player ; !isnull (finddisplay 46)}; _regeneration = 1; //change to whatever you like, 0 - no regeneration, 1 - normal regeneration, 2 - double speed regeneration, 3 - triple speed regeneration. while {alive player} do { if...
  10. K

    Need Scripting Help (Combat-Check and Loop)

    found some errors: if ((r_player_blood < 12000) AND !(_exceptions) then { - missing ")" after (_exceptions) so should be like this: if ((r_player_blood < 12000) AND !(_exceptions)) then { And this line: if (vehicle player == player) AND !(s_player_sleep) then { should look like...
  11. K

    Need Scripting Help (Combat-Check and Loop)

    it seems to have some i supose syntaxis errors cause I have stuck at "requesting character data from server" And logs PRT shows this: 23:36:21 Error in expression <se { r_player_blood = r_player_blood; }; sleep 2; };> 23:36:21 Error position: <; sleep 2; };> 23:36:21 Error Missing )...
  12. K

    Need Scripting Help (Combat-Check and Loop)

    s_player_sleep is a global variable used in different scripts it is used like other global variables I have found for this script, like r_player_unconscious and others
  13. K

    Need Scripting Help (Combat-Check and Loop)

    It would be very nice from yours =)
  14. K

    Need Scripting Help (Combat-Check and Loop)

    I am not changing it, i just thought if it could be simplified that way it is better than a long script.
  15. K

    Need Scripting Help (Combat-Check and Loop)

    sorry i am wrong, it is made similar to some scripts I can not find now. It was very similar to your fist one but using s_player_sleep
  16. K

    Need Scripting Help (Combat-Check and Loop)

    sleep should work, cause in krixes scripts it is made in a similar way
  17. K

    Need Scripting Help (Combat-Check and Loop)

    not yet, could you test it plaese?
  18. K

    Need Scripting Help (Combat-Check and Loop)

    think should change this _exceptions = r_player_unconscious,r_player_injured,r_player_infected,r_fracture_legs,r_fracture_arms,r_player_inpain,r_player_loaded,(dayz_statusArray select 0) > 0.5, (dayz_statusArray select 1) > 0.5; to this _exceptions =...
  19. K

    Need Scripting Help (Combat-Check and Loop)

    It ssems as far as we use switch (true), the script could be simplifed to this: private ["_regeneration", "_exceptions"]; waituntil {!alive player ; !isnull (finddisplay 46)}; _regeneration = 1; //change to whatever you like, 0 - no regeneration, 1 - normal regeneration, 2 - double speed...
  20. K

    Need Scripting Help (Combat-Check and Loop)

    here it is: private ["_regeneration", "_exceptions"]; waituntil {!alive player ; !isnull (finddisplay 46)}; _regeneration = 1; //change to whatever you like, 0 - no regeneration, 1 - normal regeneration, 2 - double speed regeneration, 3 - triple speed regeneration. _exceptions =...
Back
Top