Jump to content
  • 0

Death Messages


SN1P3R

Question

17 answers to this question

Recommended Posts

  • 0

DZE_DeathMsgGlobal = true;
DZE_DeathMsgTitleText = true;

enableRadio false;

 

These were my settings - Changed it to this

 

DZE_DeathMsgGlobal = true;
DZE_DeathMsgTitleText = false;
DZE_DeathMsgSide = false;

enableRadio true;  (tested this with false and true)

 

But it still has not changed anything

Link to comment
Share on other sites

  • 0

You need to define the enable radio way before the other variables...  like this:

//REALLY IMPORTANT VALUES
dayZ_instance =	24;				//The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;

//disable greeting menu 
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio true;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;

... /snip/ ....

//============== CUSTOMIZE DEATHMESSAGES HERE ===================================
DZE_DeathMsgGlobal = false; //message of the kill will be broadcast as a Global message as written by victim
DZE_DeathMsgSide = true;
DZE_DeathMsgTitleText = false;
//============== /CUSTOMIZE DEATHMESSAGES HERE ==================================
Link to comment
Share on other sites

  • 0

Yup... ours is basically the same.  (I am Sniper's scripter BTW)

 

If you look closely in the lower-left corner of the image, you will  see the A global message DOES appear,

but it only says who is killed, the rest of the message is getting chopped for some reason...

Link to comment
Share on other sites

  • 0

 

You need to define the enable radio way before the other variables...  like this:

//REALLY IMPORTANT VALUES
dayZ_instance =	24;				//The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;

//disable greeting menu 
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio true;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;

... /snip/ ....

//============== CUSTOMIZE DEATHMESSAGES HERE ===================================
DZE_DeathMsgGlobal = false; //message of the kill will be broadcast as a Global message as written by victim
DZE_DeathMsgSide = true;
DZE_DeathMsgTitleText = false;
//============== /CUSTOMIZE DEATHMESSAGES HERE ==================================

 

I'm not trying to be rude but this is not even true. The variables don't do anything until they are called in the code. Most of the time (though not always) it's even safe to override functions (such as player_build, etc -- since they are just technically variables holding compiled code) waaaay after they are defined.

DZE_DeathMsgGlobal = true;
DZE_DeathMsgTitleText = true;
DZE_DeathMsgSide = true;
enableRadio false;

is no different than

enableRadio true;
DZE_DeathMsgGlobal = true;
DZE_DeathMsgTitleText = true;
DZE_DeathMsgSide = true;

now, it IS possible that somewhere else in your code after this block you are overriding the enableRadio true; value you set with enableRadio false;

Link to comment
Share on other sites

  • 0

Yes, global variables can be changed. The various message systems are extremely susceptible to locality, have had many hours of fun trying to get messages showing to players. Either remote exec from the server or setup a trigger, object variable, that when detected by the player sets off a locally created message..

Link to comment
Share on other sites

  • 0

In the init.sqf file i changed

 

enableRadio true;

 

DZE_DeathMsgGlobal = true;
DZE_DeathMsgSide = true;
DZE_DeathMsgTitleText = false;

 

And it is working but not all the time maybe 1 of every 8 will show the message.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...