Soooo as far as i know, all my files are normal and the _playerID should exist.
Im not really sure how the death event works, as in what is called first. I tried logging the id in the server_playerDied.sqf, which just brought the error to that line. I tried logging the playerid in player_death.sqf file, but the log never showed up (presumably because of the error cancellign it.
HOWEVER, the deathscreen shows up when i add it. Its jsut that i dont respawn fresh. Instead i respawn with my gear at my body...
Question
kwek20
Hello!
Im trying to add a custom death screen to my server as shown here: http://opendayz.net/threads/death-screen-and-sound.18718/
However. When i die i get this error in the console:
In my custom compile.sqf:
player_death = compile preprocessFileLineNumbers "custom\player_death.sqf";
This gives the error, allthough i do not edit server_playerdied.sqf
player_death = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_death.sqf";
This works, however no death screen now :(
Custom player_death.sqf copied directly from dayz epoch github:
https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/compile/player_death.sqf
Soo this is the code i have (copied from my file)
http://pastebin.com/iQn43hYY
My server_playerDied.sqf:
http://pastebin.com/fCzSkYJv
Directly from the denizio linux epoch installer:
https://github.com/denisio/Dayz-Epoch-Linux-Server/blob/master/%40dayz_epoch_server/addons/dayz_server/compile/server_playerDied.sqf
Soooo as far as i know, all my files are normal and the _playerID should exist.
Im not really sure how the death event works, as in what is called first. I tried logging the id in the server_playerDied.sqf, which just brought the error to that line. I tried logging the playerid in player_death.sqf file, but the log never showed up (presumably because of the error cancellign it.
HOWEVER, the deathscreen shows up when i add it. Its jsut that i dont respawn fresh. Instead i respawn with my gear at my body...
If you need any more files shown, just ask!
I really want this death screen :3
Link to comment
Share on other sites
3 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