JohnyMST Posted October 22, 2013 Report Share Posted October 22, 2013 Hi guys, I'm looking for a file/code that is responsible for Humanity when killing a zombie. Currently, my server is set to 5 per kill. I would like to raise that to 15/20 due to humanity problems when killing bandits. Anyone knows where I can find this code? Thanks! Link to comment Share on other sites More sharing options...
0 xoleum Posted October 22, 2013 Report Share Posted October 22, 2013 In the dayz epoch client folder, go to the addons folder and unpack the dayz_code.pbo Then go to dayz_code\compile\local_eventKill.sqf on line 17 is the humanity change. you'll also need to call a compile for this file so it'll do its work. JohnyMST and 31_D!4b10 2 Link to comment Share on other sites More sharing options...
0 JohnyMST Posted October 22, 2013 Author Report Share Posted October 22, 2013 OK, thanks for the info. I did not have eventKill.sqf file but I now created one with the code from Github. So I placed this local_eventKill.sqf in directory: dayz_code\compile Changed the humanity to +20 as I wanted Copied the file and pasted into my main directory "Missions" > "Epoch.Chernarus" where mission.sqf & mission.sqm & init.sqf files are located (I am with VIlayer, they don't have PBO's ) . Now I am stuck with the last part of your post: "you'll also need to call a compile for this file so it'll do its work." Can you please explain this? Thanks ! Link to comment Share on other sites More sharing options...
0 LimpNoodle Posted October 22, 2013 Report Share Posted October 22, 2013 I'll do this at home and skype you Johny Link to comment Share on other sites More sharing options...
0 Joerivang Posted October 22, 2013 Report Share Posted October 22, 2013 Wow, why would you want so much humanity per zombie kill? if i am a fresh spawn in your server it only takes me 125 zombiekills and i would gain 2500 humanity and be a hero. Link to comment Share on other sites More sharing options...
0 JohnyMST Posted October 22, 2013 Author Report Share Posted October 22, 2013 Wow, why would you want so much humanity per zombie kill? if i am a fresh spawn in your server it only takes me 125 zombiekills and i would gain 2500 humanity and be a hero. Only because bugged humanity in Dayz. Most of players where I play are bandits with -20k (including myself) because we protect ourselves. Never open fire on anyone unless we get shot at. There has to be some balance to this... Thanks LimpNoodle. I'm away Today however feel free to PM me or Skype me. I'll get the messages Link to comment Share on other sites More sharing options...
0 xoleum Posted October 22, 2013 Report Share Posted October 22, 2013 well, just putting the changed file in the mission PBO won't do a thing. the clients will download it but not use it unless it's somehow linked to the init.sqf in your mission.PBO. here's a quick howto: 1: go into your mission folder. 2: create a folder called scripts if it doesnt exists yet. 3: put your own version of local_eventKill.sqf in the scripts folder 4: create a file called compiles.sqf inside the scripts folder and put the following in it: local_eventKill = compile preprocessFileLineNumbers "scripts\local_eventKill.sqf"; //Generated when something is killed 5: save the file 6: open init.sqf in your mission folder 7: look for: progressLoadingScreen 1.0; 8: insert under this line: call compile preprocessFileLineNumbers "scripts\compiles.sqf"; //Compile custom compiles 9: save the file. 10: done What this does is overwrite the local_eventKill attribute difined in the dayz epoch client files (dayz_code/init/compiles.sqf) to now point to the file in your mission folder. JohnyMST, SteveJ, Axe Cop and 1 other 4 Link to comment Share on other sites More sharing options...
0 LimpNoodle Posted October 22, 2013 Report Share Posted October 22, 2013 and there xoleum already done it for you :D thx bud Link to comment Share on other sites More sharing options...
0 JohnyMST Posted October 23, 2013 Author Report Share Posted October 23, 2013 Awesome xoleum! Got this working now :) I have dropped 20 to 15. Lets hope we can get the original humanity bug fixed (so you get some + when u kill a bandit) Thanks again, really appreciate your help on this. LimpNoodle, you too. Thanks for your efforts! Link to comment Share on other sites More sharing options...
Question
JohnyMST
Hi guys,
I'm looking for a file/code that is responsible for Humanity when killing a zombie.
Currently, my server is set to 5 per kill.
I would like to raise that to 15/20 due to humanity problems when killing bandits.
Anyone knows where I can find this code?
Thanks!
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now