Aliveman Posted July 15, 2013 Report Share Posted July 15, 2013 The bandits on my server are having a hard time staying bandit because of the automatic humanity gain. I saw this issue brought up on the github but it didn't get much of a response. Is there a way to disable this? Link to comment Share on other sites More sharing options...
0 Sovokiii Posted July 15, 2013 Report Share Posted July 15, 2013 where are you hosting @ ?? Link to comment Share on other sites More sharing options...
0 Aliveman Posted July 15, 2013 Author Report Share Posted July 15, 2013 Vert Link to comment Share on other sites More sharing options...
0 Aliveman Posted July 19, 2013 Author Report Share Posted July 19, 2013 Awol can you enlighten me here? Link to comment Share on other sites More sharing options...
0 Armifer Posted July 19, 2013 Report Share Posted July 19, 2013 In player_spawn_2.sqf comment out the following to disable automatic humanity gain. if (_speed > 0.1) then { _timeOut = _timeOut + 1; }; _humanity = player getVariable ["humanity",0]; if (_timeOut > 150) then { _timeOut = 0; if (_humanity < 2500) then { _humanity = _humanity + 150; _humanity = _humanity min 2500; player setVariable ["humanity",_humanity,true]; }; }; anthony 1 Link to comment Share on other sites More sharing options...
0 Mattman Posted July 23, 2013 Report Share Posted July 23, 2013 Is this not Client side? I would think there is more involved then just commenting it out on the server end. Some sort of execVM stuff pulling it server side maybe? I would love to be able to change the humanity as well. I have too many bandits running around with over 10k humanity because they gain humanity faster than they can kill people Link to comment Share on other sites More sharing options...
0 anthony Posted July 28, 2013 Report Share Posted July 28, 2013 Armifer, thanks for pointing this out, not because I am disabling it, but instead, because it gave me the idea to make players lose humanity on my server. Too many people who kill the AI/NPC bandits from the protection of their vehicle with a mounted gun after getting hero status. This will force them to take more risk by dismounting. Link to comment Share on other sites More sharing options...
0 vbawol Posted July 29, 2013 Report Share Posted July 29, 2013 This auto humanity regen will be removed in the next patch. Link to comment Share on other sites More sharing options...
0 Aliveman Posted July 29, 2013 Author Report Share Posted July 29, 2013 Armifer, I have found the lines you are talking about in the dayz_code but I can not find where player_spawn_2.sqf is called anywhere in the server files so that I can redirect it to the modified file in my mission folder. Can you give me a hint? Link to comment Share on other sites More sharing options...
0 anthony Posted July 29, 2013 Report Share Posted July 29, 2013 compiles.sqf Link to comment Share on other sites More sharing options...
0 Aliveman Posted July 29, 2013 Author Report Share Posted July 29, 2013 compiles.sqf Thats what I was thinking but I did not see player_spawn_2.sqf being called. Link to comment Share on other sites More sharing options...
0 anthony Posted July 30, 2013 Report Share Posted July 30, 2013 It is on line 111. player_spawn_2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_spawn_2.sqf"; Link to comment Share on other sites More sharing options...
Question
Aliveman
The bandits on my server are having a hard time staying bandit because of the automatic humanity gain. I saw this issue brought up on the github but it didn't get much of a response. Is there a way to disable this?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now