juandayz Posted June 27, 2017 Report Share Posted June 27, 2017 Is there any way to keep the values of this variables humanKills //zombieKills// banditKills . after player die? I mean you kill 10 zeds 10 bandits and 10 survivors/heros .. then you die and respawn with the sames values. like humanity variable (persistent). cannot found where is reseted to 0. Link to comment Share on other sites More sharing options...
0 Cherdenko Posted June 28, 2017 Report Share Posted June 28, 2017 this is the thing i could findhttps://github.com/EpochModTeam/DayZ-Epoch/blob/12abbfa686dc4236402cb3ff3a69898c9adb6bcb/SQF/dayz_code/Configs/RscDisplay/RscPlayerUI.hpp juandayz 1 Link to comment Share on other sites More sharing options...
0 salival Posted June 28, 2017 Report Share Posted June 28, 2017 @juandayzThey never get reset, it's just when you die a new character is created with 0 kill totals / other status and your old stats are not carried over. I don't think it would be difficult to carry it over but I suspect (and I could be wrong) that you would need to get the values from the database since all global variables are reset in the client after death (like restarting the client) juandayz 1 Link to comment Share on other sites More sharing options...
0 Anhor Posted June 28, 2017 Report Share Posted June 28, 2017 7 minutes ago, salival said: @juandayzThey never get reset, it's just when you die a new character is created with 0 kill totals and your old ones are not carried over. And thats good so. As I allways said: Dying = fail Dying during a mission = fail Dying during a fight against other players = fail Dying about the environment = fail The goal is to survive as long as possible with ONE character. I remeber since I play the SA with our squad (PVP) ......... if someone was dying during a fight, he was not allowed to intervene again. That was a rule in our fight ......... just to remember the players death is final. WLF 1 Link to comment Share on other sites More sharing options...
0 juandayz Posted June 28, 2017 Author Report Share Posted June 28, 2017 ANhor this is for build a scoreboard in deathmatch mod. Tnks salival..so i guess i need see how humanity is carried from old character to new..and made thw same with the others vars. Link to comment Share on other sites More sharing options...
0 salival Posted June 28, 2017 Report Share Posted June 28, 2017 I would probably just use an external database dll like extDB for persistant statistics like this, the hive gets all the information when spawning and it wont let you look for other things apart from what it needs juandayz 1 Link to comment Share on other sites More sharing options...
Question
juandayz
Is there any way to keep the values of this variables humanKills //zombieKills// banditKills . after player die?
I mean you kill 10 zeds 10 bandits and 10 survivors/heros .. then you die and respawn with the sames values. like humanity variable (persistent).
cannot found where is reseted to 0.
Link to comment
Share on other sites
5 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