mirror of
https://github.com/Ghostrider-DbD-/GMS_RC.git
synced 2024-08-30 16:02:11 +00:00
Added the ability to set what types of kill messages are broadcast
These are set in GMS_Conifigs.sqf
This commit is contained in:
parent
7b7873adca
commit
f9186fb558
@ -120,7 +120,6 @@ switch (GMSCore_modtype) do {
|
|||||||
|
|
||||||
if (_creditKill) then
|
if (_creditKill) then
|
||||||
{
|
{
|
||||||
|
|
||||||
[_instigator,1] call GMSCore_fnc_updatePlayerKills;
|
[_instigator,1] call GMSCore_fnc_updatePlayerKills;
|
||||||
private _msg = format[
|
private _msg = format[
|
||||||
"%1 killed %2 with %3 at %4 meters %5X KILLSTREAK",
|
"%1 killed %2 with %3 at %4 meters %5X KILLSTREAK",
|
||||||
@ -130,8 +129,8 @@ if (_creditKill) then
|
|||||||
_unit distance _instigator,
|
_unit distance _instigator,
|
||||||
_killstreak
|
_killstreak
|
||||||
];
|
];
|
||||||
[_msg] remoteExec["systemChat",-2];
|
private _players = allPlayers deleteAt (allPlayers find _instigator);
|
||||||
//[["showScore",[_reward,"",_kills],""],[_instigator]] call blck_fnc_messageplayers;
|
[_instigator, _reward, _experience, name _unit, _unit distance _instigator, getText(configFile >> "CfgWeapons" >> currentWeapon _instigator >> "displayName"), _killstreak, GMS_killMessageToAllPlayers] remoteExec ["GMSCore_fnc_killedMessages",_players];
|
||||||
[unit, _instigator, _reward, _experience, _killstreak] remoteExec ["GMSCore_fnc_killedMessages",_instigator];
|
[_instigator, _reward, _experience, name _unit, _unit distance _instigator, getText(configFile >> "CfgWeapons" >> currentWeapon _instigator >> "displayName"), _killstreak, GMS_killMessageTypesKiller] remoteExec ["GMSCore_fnc_killedMessages",[_instigator]];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -52,8 +52,35 @@
|
|||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
// Kill message configurations
|
// Kill message configurations
|
||||||
// These determine whether and when messages are sent to players regarding AI Kills or illegal kills that might damage a vehicle.
|
// These determine whether and when messages are sent to players regarding AI Kills or illegal kills that might damage a vehicle.
|
||||||
GMS_useKillMessages = true; // when true a message will be broadcast to all players each time an AI is killed; may impact server performance.
|
GMS_killMessageToAllPlayers = [
|
||||||
GMS_useKillScoreMessage = true; // when true a tile is displayed to the killer with the kill score information
|
/*
|
||||||
|
These settings are used by GMSCore to determine what kinds of messages to use to notify players of a kill.
|
||||||
|
SystemChat can be broadcast to all players.
|
||||||
|
Comment out all options to disable this function (faster)
|
||||||
|
*/
|
||||||
|
|
||||||
|
//"toast", // Exile only
|
||||||
|
//"epochMsg", // Epoch only
|
||||||
|
//"hint",
|
||||||
|
//"cutText",
|
||||||
|
//"dynamic", // A display with information about rewards formated in a list on the left side of the screen
|
||||||
|
// Not recommended
|
||||||
|
//"systemChat"
|
||||||
|
];
|
||||||
|
GMS_killMessageTypesKiller = [
|
||||||
|
/*
|
||||||
|
These settings are used by GMSCore to determine what kinds of messages to use to notify players of a kill.
|
||||||
|
SystemChat can be broadcast to all players.
|
||||||
|
The other notifications will only be viewed by the player reponsible for the kill.
|
||||||
|
*/
|
||||||
|
|
||||||
|
//"toast", // Exile only
|
||||||
|
//"epochMsg", // Epoch only
|
||||||
|
//"hint",
|
||||||
|
//"cutText",
|
||||||
|
"dynamic", // A display with information about rewards formated in a list on the left side of the screen
|
||||||
|
"systemChat"
|
||||||
|
];
|
||||||
GMS_useIEDMessages = true; // Displayes a message when a player vehicle detonates and IED (such as would happen if a player killed AI with a forbidden weapon).
|
GMS_useIEDMessages = true; // Displayes a message when a player vehicle detonates and IED (such as would happen if a player killed AI with a forbidden weapon).
|
||||||
|
|
||||||
GMS_rewards = [[0,0],[0,0],[0,0],[0,0]];
|
GMS_rewards = [[0,0],[0,0],[0,0],[0,0]];
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class GMSBuild {
|
class GMSBuild {
|
||||||
Version = "7.144";
|
Version = "7.143";
|
||||||
Build = "261";
|
Build = "261";
|
||||||
Date = "04-21-2023";
|
Date = "09-14-2023";
|
||||||
};
|
};
|
||||||
|
|
||||||
class CfgPatches {
|
class CfgPatches {
|
||||||
|
Loading…
Reference in New Issue
Block a user