iSoJu Posted September 25, 2014 Report Share Posted September 25, 2014 players sometimes respawn at their bodies with duped inv with the fix OP posted should i try the fix MGM posted? Link to comment Share on other sites More sharing options...
0verHeaT Posted September 25, 2014 Author Report Share Posted September 25, 2014 players sometimes respawn at their bodies with duped inv with the fix OP posted should i try the fix MGM posted? You can either try the fix MGT posted or mine. These will remove the bug where players spawn near their bodies. MGT 1 Link to comment Share on other sites More sharing options...
iSoJu Posted September 25, 2014 Report Share Posted September 25, 2014 tyvm Link to comment Share on other sites More sharing options...
DECO1919 Posted September 25, 2014 Report Share Posted September 25, 2014 0verHeaT, can you send me your plyrHit, server player died and server player death sqfs? Cause nothing happen after installing your script Link to comment Share on other sites More sharing options...
WarHammer(DayZ) Posted September 25, 2014 Report Share Posted September 25, 2014 OMG.... I have been waiting for someone to post how to do this for months!!! I've asked several times on the boards and no one had a how-to... Thank you so very much for sharing. Link to comment Share on other sites More sharing options...
0verHeaT Posted September 25, 2014 Author Report Share Posted September 25, 2014 0verHeaT, can you send me your plyrHit, server player died and server player death sqfs? Cause nothing happen after installing your script I posted it Link to comment Share on other sites More sharing options...
WarHammer(DayZ) Posted September 25, 2014 Report Share Posted September 25, 2014 I just put this on my server and tested it out.. Man it's awesome!!! Great script Just one thing, I am also getting the BLUFOR messages to pop in sidechat as well . Would you know how to disable this ? Thank you in advance Link to comment Share on other sites More sharing options...
0verHeaT Posted September 25, 2014 Author Report Share Posted September 25, 2014 I just put this on my server and tested it out.. Man it's awesome!!! Great script Just one thing, I am also getting the BLUFOR messages to pop in sidechat as well . Would you know how to disable this ? Thank you in advance DZE_DeathMsgGlobal = false; Set this to false in your init.sqf Link to comment Share on other sites More sharing options...
WarHammer(DayZ) Posted September 25, 2014 Report Share Posted September 25, 2014 DZE_DeathMsgGlobal = false; Set this to false in your init.sqf Thanks man !!!! Link to comment Share on other sites More sharing options...
Pro_Speedy Posted September 25, 2014 Report Share Posted September 25, 2014 Any fix for all the nilm messages? And what about if a vehicle kill shouldn't there be a check for that otherwise it's 2 names next to eachother. I wouldn't say this is completely functional yet. But thanks for releasing! Link to comment Share on other sites More sharing options...
PeterBeer Posted September 25, 2014 Report Share Posted September 25, 2014 Yer most the time someone gets shot says nil / run someone over says nil when that happens people think im killing them will "admin hacks" when im not even on line .... Link to comment Share on other sites More sharing options...
Pro_Speedy Posted September 25, 2014 Report Share Posted September 25, 2014 Yer most the time someone gets shot says nil / run someone over says nil when that happens people think im killing them will "admin hacks" when im not even on line .... haha Link to comment Share on other sites More sharing options...
0verHeaT Posted September 25, 2014 Author Report Share Posted September 25, 2014 Yer most the time someone gets shot says nil / run someone over says nil when that happens people think im killing them will "admin hacks" when im not even on line .... This could be avoided by checking if the killername, distance...etc. nil is and only execute this if it is not nil. Give me a moment... Link to comment Share on other sites More sharing options...
Pro_Speedy Posted September 25, 2014 Report Share Posted September 25, 2014 I though maybe if it resulted in NIL change it to say AI but i'm guessing you get nil for other deaths and not AI Hmm Link to comment Share on other sites More sharing options...
0verHeaT Posted September 25, 2014 Author Report Share Posted September 25, 2014 To fix the nil errors add this (instead of the old part) if ((_killername == "STRING") and ((currentWeapon _killer) == "STRING")) then { _pic = gettext(configFile >> 'cfgWeapons' >> (currentWeapon _killer) >> 'picture'); _kill_txt = format ["<t align='left' size='0.9'>%1 </t>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<img size='1.0' align='left' image='%2'/>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<t align='left' size='0.9'> %3 </t>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<t align='left' size='0.9'>[%4m]</t>",_killerName,_pic,_victimName,(ceil _distance)]; customkillMessage = [_kill_txt]; publicVariable "customkillMessage"; }; below _loc_message = format["PKILL: %1 was killed by %2 with weapon %3 from %4m", _victimName, _killerName, _weapon, _distance]; Link to comment Share on other sites More sharing options...
PeterBeer Posted September 25, 2014 Report Share Posted September 25, 2014 To fix the nil errors add this (instead of the old part) if ((_killername == "STRING") and ((currentWeapon _killer) == "STRING")) then { _pic = gettext(configFile >> 'cfgWeapons' >> (currentWeapon _killer) >> 'picture'); _kill_txt = format ["<t align='left' size='0.9'>%1 </t>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<img size='1.0' align='left' image='%2'/>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<t align='left' size='0.9'> %3 </t>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<t align='left' size='0.9'>[%4m]</t>",_killerName,_pic,_victimName,(ceil _distance)]; customkillMessage = [_kill_txt]; publicVariable "customkillMessage"; }; below _loc_message = format["PKILL: %1 was killed by %2 with weapon %3 from %4m", _victimName, _killerName, _weapon, _distance]; No message come up on this Link to comment Share on other sites More sharing options...
WarHammer(DayZ) Posted September 26, 2014 Report Share Posted September 26, 2014 No message come up on this He is correct , when you implement that change you no longer get the custom message with the picture in the top left corner of the screen. Nor any death message for that matter Link to comment Share on other sites More sharing options...
0verHeaT Posted September 26, 2014 Author Report Share Posted September 26, 2014 ok i noticed that this did not work. I just did not have the time to test this yesterday. Im gonna rewrite the script to fix these issues. Link to comment Share on other sites More sharing options...
PeterBeer Posted September 26, 2014 Report Share Posted September 26, 2014 ok i noticed that this did not work. I just did not have the time to test this yesterday. Im gonna rewrite the script to fix these issues. Any eta waiting on on the edge of my seat here ? ;) Link to comment Share on other sites More sharing options...
PcKoPaT Posted September 26, 2014 Report Share Posted September 26, 2014 thx... Link to comment Share on other sites More sharing options...
18com Posted September 26, 2014 Report Share Posted September 26, 2014 _pic = gettext(configFile >> 'cfgWeapons' >> (currentWeapon _killer) >> 'picture'); _kill_txt = format ["<t align='left' size='0.65'>%1 </t>",_victimName,_pic,_distance,_killerName]; _kill_txt = _kill_txt + format ["<img size='0.75' align='left' image='%2'/>",_victimName,_pic,_distance,_killerName]; _kill_txt = _kill_txt + format ["<t align='left' size='0.65'>(%3m)</t>",_victimName,_pic,_distance,_killerName]; _kill_txt = _kill_txt + format ["<t align='left' size='0.65'> %4 </t>",_victimName,_pic,_distance,_killerName]; Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted September 26, 2014 Report Share Posted September 26, 2014 like this?? something tells me this don't look right? _message = format["%1 was killed by %2 with weapon %3 from %4m",_victimName, _killerName, _weapon, _distance]; _loc_message = format["PKILL: %1 was killed by %2 with weapon %3 from %4m", _victimName, _killerName, _weapon, _distance];if ((_killername == "STRING") and ((currentWeapon _killer) == "STRING")) then { _pic = gettext(configFile >> 'cfgWeapons' >> (currentWeapon _killer) >> 'picture'); _kill_txt = format ["<t align='left' size='0.9'>%1 </t>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<img size='1.0' align='left' image='%2'/>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<t align='left' size='0.9'> %3 </t>",_killerName,_pic,_victimName,(ceil _distance)]; _kill_txt = _kill_txt + format ["<t align='left' size='0.9'>[%4m]</t>",_killerName,_pic,_victimName,(ceil _distance)]; customkillMessage = [_kill_txt]; publicVariable "customkillMessage"; }; }; Link to comment Share on other sites More sharing options...
0verHeaT Posted September 26, 2014 Author Report Share Posted September 26, 2014 Any eta waiting on on the edge of my seat here ? ;) Has been updated. Link to comment Share on other sites More sharing options...
PeterBeer Posted September 26, 2014 Report Share Posted September 26, 2014 Has been updated. Testing now thanks man Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted September 26, 2014 Report Share Posted September 26, 2014 This..... if (!isDedicated) then { [] execVM "YOURPATH\kill_msg.sqf"; or this.... if (!isDedicated) then { execVM "YOURPATH\kill_msg.sqf"; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now