Jump to content

[Release] Custom Kill Messages


0verHeaT

Recommended Posts

  On 1/25/2015 at 6:35 PM, DangerRuss said:

what nil weapon issue? I have no issue with these kill messages at all.

 

I followed the instructions on the first post, the kill messages show up but it will be like killer - victim [distance] and a popup will come up saying nil picture not found. I had skimmed through the entire thread but didn't really see any posts that people were saying worked.

Link to comment
Share on other sites

  On 1/25/2015 at 8:18 PM, inkko said:

I followed the instructions on the first post, the kill messages show up but it will be like killer - victim [distance] and a popup will come up saying nil picture not found. I had skimmed through the entire thread but didn't really see any posts that people were saying worked.

You didnt look hard enough man. Literally one page back I posted

Link to comment
Share on other sites

  On 1/24/2015 at 10:04 AM, 0verHeaT said:

If you want a systemChat message additionally

  Reveal hidden contents

server_playerDied.sqf

kill_msg.sqf

Hey man these didnt work for me. Did I miss something?

server_playerDied.sqf

  Reveal hidden contents

 

kill_msg.sqf

  Reveal hidden contents

Link to comment
Share on other sites

  On 1/26/2015 at 1:21 AM, DangerRuss said:

Hey man these didnt work for me. Did I miss something?

server_playerDied.sqf

  Reveal hidden contents

 

kill_msg.sqf

  Reveal hidden contents

customkillMessage = [_kill_txt,_msg];
Link to comment
Share on other sites

  On 1/26/2015 at 11:42 AM, 0verHeaT said:
customkillMessage = [_kill_txt,_msg];

thanks I missed that. The system chat message shows up but it says  A was killed by B with C from Scalar meters

 

The kill feed and the deathboard both display the correct distance, just the system chat message does not.

 

should this

_msg = format ["<Playerkill>: %1 was killed by %2 with a %3 from %4 meters",_victimName,_killerName,_weapon,(ceil distance)]; // <--- Edit HERE Your MSG

be this?

_msg = format ["<Playerkill>: %1 was killed by %2 with a %3 from %4 meters",_victimName,_killerName,_weapon,(ceil _distance)]; // <--- Edit HERE Your MSG

Yes that is the problem and I have resolved it.

Link to comment
Share on other sites

someone know what is going on there?

21:15:07 "PKILL: Andrey killed himself"
21:15:07 Error in expression < = [
_victimName,
_killerName,
_weapon,
_pic,
_distance,
ServerCurrentTime
];
Pl>
21:15:07   Error position: <_pic,
_distance,
ServerCurrentTime
];
Pl>
21:15:07   Error Undefined variable in expression: _pic
21:15:07 File z\addons\dayz_server\compile\server_playerDied.sqf, line 77

Server_playerdied.sqf

http://pastebin.com/wynvHmK9

 

fnc_plyrHit.sqf

http://pastebin.com/Af7krzh6

 

kill_msg.sqf

http://pastebin.com/1QiN0ti5

 

and a question, i did killboard fix, and you said we can see this in trader city??

where in trader city, i have never saw this.

Link to comment
Share on other sites

  On 1/28/2015 at 2:30 AM, ElDubya said:

Depends which map you are running. If Napf, there is one inside Lenzburg trader against the wall. Look for a small white board on legs. There is also one at Schratten trader against the outwide wall of the medical trader.

 

i am running chernarus instance 11.

Link to comment
Share on other sites

  On 1/28/2015 at 12:53 AM, herculys said:

someone know what is going on there?

  Reveal hidden contents

Server_playerdied.sqf

http://pastebin.com/wynvHmK9

 

fnc_plyrHit.sqf

http://pastebin.com/Af7krzh6

 

kill_msg.sqf

http://pastebin.com/1QiN0ti5

 

and a question, i did killboard fix, and you said we can see this in trader city??

where in trader city, i have never saw this.

 

This apears (in your case) if someone killed himself.

You could move this line in your server_playerDied.sqf

_pic = _victim getVariable["AttackedByWeaponImg", "nil"];

right under 

_distance = _victim getVariable["AttackedFromDistance", "nil"];

to fix this.

 

Alternatively, you can use the updated version on my github.

The fix is already included there.

Link to comment
Share on other sites

  On 1/28/2015 at 9:06 PM, herculys said:

 

what are the differences in the new version, in addition to sleep 3;
and this fix?
 
and where the hell i can see this killboard on chernarus?
someone give me a screenshot, i cant find it in google.

 

If you go back one page, there is a guy asking for the updated files, which I linked to him my post from the page before that with all of the correct files you need to use. Copy and paste.

The deathboards are in the safe zones, I think default safe zones only have one in Stary. It looks like a white sign on 2 wooden legs standing up about face level near the vehicle trader/weapon tent traders. Classname is "Info_Board_EP1"

Link to comment
Share on other sites

If anyone wants a system chat message to pop up in addition to the kill feed with pictures, use these 2 files.
server_playerDied.sqf

  Reveal hidden contents

 

kill_msg.sqf

  Reveal hidden contents

 

It will look like this
NdywL8K.jpg

Link to comment
Share on other sites

just for you know 0verHeaT your player_murderMenu.sqf in https://github.com/0verHeaT/CustomKillMsg/tree/master/mission

 

is giving this error >>

 

Error in expression <>With a %1<br/>,_name];
if (_image != "nil") then {
_record_stxt = _record_s>
  Error position: <nil") then {
_record_stxt = _record_s>
  Error Missing ]
File mpmissions\__CUR_MP.Chernarus\custom\player_murderMenu.sqf, line 50

---------

 

i'm using DangerRuss files now.

Link to comment
Share on other sites

  On 1/29/2015 at 9:27 AM, herculys said:

 

just for you know 0verHeaT your player_murderMenu.sqf in https://github.com/0verHeaT/CustomKillMsg/tree/master/mission

 

is giving this error >>

 

Error in expression <>With a %1<br/>,_name];
if (_image != "nil") then {
_record_stxt = _record_s>
  Error position: <nil") then {
_record_stxt = _record_s>
  Error Missing ]
File mpmissions\__CUR_MP.Chernarus\custom\player_murderMenu.sqf, line 50

---------

 

i'm using DangerRuss files now.

 

 

I noticed a small syntax error. Has been updated.

Link to comment
Share on other sites

  • 2 weeks later...
  On 2/13/2015 at 2:01 PM, Jamrock said:

Any way to make the message on the left lower corner ?

You could use the script I posted above which has both the messages at the top left and the bottom left. The one at the bottom left is in system chat so you can page up to see the messages which are no longer on the screen.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...