From cf64805d1064839b13dfc5d2bfd2a6d95a71af62 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Thu, 24 Nov 2016 17:46:57 -0500 Subject: [PATCH] Disable RadioProtocol group chat spam Works well with AI, still needs multiplayer testing. --- CHANGE LOG 1.0.6.txt | 7 +- SQF/dayz_code/Configs/RadioProtocol.hpp | 252 ++++++++++++++++++++++++ SQF/dayz_code/config.cpp | 1 + 3 files changed, 257 insertions(+), 3 deletions(-) create mode 100644 SQF/dayz_code/Configs/RadioProtocol.hpp diff --git a/CHANGE LOG 1.0.6.txt b/CHANGE LOG 1.0.6.txt index f34080116..012c7ce0a 100644 --- a/CHANGE LOG 1.0.6.txt +++ b/CHANGE LOG 1.0.6.txt @@ -15,8 +15,8 @@ [NEW] Anzio 20mm sniper and RedRyder BB Gun by @arma2WillRobinson [NEW] Added "RedRyder" and "350Rnd_BB_Magazine" to loot pile. #1456 #1457 @Namindu [NEW] Added action to lock and unlock vehicles from inside #1103 @pj999 @ebaydayz -[NEW] Autorun hotkey (0 = Toggle auto run) @ebaydayz -[NEW] Earplugs/Lower sound effects volume hotkey (F1) and status UI icon. +[NEW] Autorun hotkey ('0' key) +[NEW] Earplugs hotkey ('F1' key) [NEW] Snap building, use DZE_modularBuild = true; in init.sqf to enable. @raymix [NEW] Auto login when a player joins the server, default 10 seconds, requires description.ext update in the mission (disable in description.ext by setting defValueParam1 = 31;) @icomrade [NEW] Blood types system is disabled by default. Set dayz_classicBloodBagSystem = false; in init.sqf to enable. @@ -51,7 +51,7 @@ [NEW] Salvage can now be disabled on locked vehicles via DZE_salvageLocked variable. #1757 @oiad [NEW] You may now rearm pooks and other helicoper/vehicle pilot/driver weapons @icomrade [NEW] Rewrote death messages to a PVEH instead of the unreliable MPHit. Added localization, more causes of death, systemChat and dynamicText killfeed options. @ebaydayz -[NEW] Optional group system with database save (F5 key). Settings available in configVariables.sqf. Command bar is now hidden. @icomrade @ebaydayz +[NEW] Group system ('F5' key) with database save. Settings available in configVariables.sqf. CommandBar and RadioProtocol spam are now disabled via config. @icomrade @ebaydayz [NEW] Parachute can now auto open at a set height during HALO jump. Altitude and speed meter can also be enabled. See configVariables.sqf. @ebaydayz [CHANGED] Combattimeout now uses diag_tickTime instead of time. @@ -120,6 +120,7 @@ [FIXED] Humanity hit is now applied correctly to players shooting from vehicles. @ebaydayz [FIXED] Chopped down trees are now synced for JIP players, so they no longer respawn on relog. @ebaydayz [FIXED] Several errors with loading and unloading unconscious players from vehicles. @oiad @ebaydayz +[FIXED] Occasional glitch death when opening parachute during HALO jump. @ebaydayz [UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1 [UPDATED] .bat files updated in Config-Examples @Raziel23x diff --git a/SQF/dayz_code/Configs/RadioProtocol.hpp b/SQF/dayz_code/Configs/RadioProtocol.hpp new file mode 100644 index 000000000..7883764ef --- /dev/null +++ b/SQF/dayz_code/Configs/RadioProtocol.hpp @@ -0,0 +1,252 @@ +//Disable automatic group chat spam "CEASE FIRE", "READY", "REGROUP", "UNKNOWN 12'OCLOCK", etc. +class RadioProtocolEmpty { + class Words {}; + class Arguments {}; + class Default {priority = -1; timeout = -1;}; + class Report {priority = -1; timeout = -1;}; + class PriorityReport {priority = -1; timeout = -1;}; + class Confirmation {priority = -1; timeout = -1;}; + class Completition {priority = -1; timeout = -1;}; + class JoinCompleted {priority = -1; timeout = -1;}; + class Failure {priority = -1; timeout = -1;}; + class Notify {priority = -1; timeout = -1;}; + class Detected {priority = -1; timeout = -1;}; + class NormalCommand {priority = -1; timeout = -1;}; + class CriticalReport {priority = -1; timeout = -1;}; + class UrgentCommand {priority = -1; timeout = -1;}; + class UICommand {priority = -1; timeout = -1;}; + class Design {priority = -1; timeout = -1;}; + class ClausePosition {}; + class ClausePositionNear {}; + class SentUnitKilled {}; + class SentSupportAskHeal {}; + class SentSupportAskRepair {}; + class SentSupportAskRefuel {}; + class SentSupportAskRearm {}; + class SentSupportConfirm {}; + class SentSupportReady {}; + class SentSupportDone {}; + class SentSupportNotAvailable {}; + class SentHealthCritical {}; + class SentDammageCritical {}; + class SentFuelCritical {}; + class SentFuelLow {}; + class SentAmmoCritical {}; + class SentAmmoLow {}; + class SentReportPosition {}; + class SentIsLeader {}; + class SentCommandCompleted {}; + class SentJoinCompleted {}; + class SentFireReady {}; + class SentFireNegative {}; + class SentCommandFailed {}; + class SentDestinationUnreacheable {}; + class SelectEnemyDetectedSentence {}; + class SentEnemyDetectedGroupCoreRelative {}; + class SentEnemyDetectedOnGridReference {}; + class SentEnemyDetectedLocationRelative {}; + class SentEnemyDetectedUnitRelative {}; + class SentEnemyDetectedSenderRelative {}; + class SentObjectDestroyed {}; + class SentObjectDestroyedUnknown {}; + class SentContact {}; + class SentUnderFire {}; + class SentCoverMe {}; + class SentCovering {}; + class SentSuppressing {}; + class SentReloading {}; + class SentThrowingGrenade {}; + class SentThrowingSmoke {}; + class SentIncomingGrenade {}; + class SentEnemyContact {}; + class SentEndangered {}; + class SentRouted {}; + class SentWitnessDeadBody {}; + class SentWitnessKilled {}; + class SentCombatGeneric {}; + class SentCheering {}; + class SentScreaming {}; + class SentClear {}; + class SentRepeatCommand {}; + class SentWhereAreYou {}; + class SentReturnToFormation {}; + class SentFormColumn {}; + class SentFormStaggeredColumn {}; + class SentFormWedge {}; + class SentFormEcholonLeft {}; + class SentFormEcholonRight {}; + class SentFormVee {}; + class SentFormLine {}; + class SentFormFile {}; + class SentFormDiamond {}; + class SentBehaviourCareless {}; + class SentBehaviourSafe {}; + class SentBehaviourAware {}; + class SentBehaviourCombat {}; + class SentBehaviourStealth {}; + class SentOpenFire {}; + class SentOpenFireInCombat {}; + class SentHoldFire {}; + class SentHoldFireInCombat {}; + class SentCeaseFireInsideGroup {}; + class SentCeaseFire {}; + class SentLooseFormation {}; + class SentKeepFormation {}; + class SentUnitPosDown {}; + class SentUnitPosMiddle {}; + class SentUnitPosUp {}; + class SentUnitPosAuto {}; + class SentFormPosAdvance {}; + class SentFormPosStayBack {}; + class SentFormPosFlankLeft {}; + class SentFormPosFlankRight {}; + class SentReportStatus {}; + class SentTeam {}; + class SentTeamPlural {}; + class SentWatchTgt {}; + class SentWatchDir {}; + class SentWatchPos {}; + class SentWatchAround {}; + class SentNoTarget {}; + class SentTarget {}; + class SentEngage {}; + class SentFire {}; + class SentEngageNoTarget {}; + class SentFireNoTarget {}; + class SelectCmdMoveSentence {}; + class SentCmdMoveGroupRelative {}; + class SentCmdMoveRecipientsRelative {}; + class SentCmdMoveToGrid {}; + class SentCmdMoveToTarget {}; + class SentCmdMoveToObject {}; + class SentCmdMoveLocationRelative {}; + class SentCmdHealSomeone {}; + class SentCmdHealSelf {}; + class SentAssemble {}; + class SentDisassemble {}; + class SentCmdActionTakeBag {}; + class SentCmdActionDropBag {}; + class SentCmdActionOpenBag {}; + class SentLightsOn {}; + class SentLightsOff {}; + class SentPointersOn {}; + class SentPointersOff {}; + class SentCmdHeal {}; + class SentCmdHealFar {}; + class SentCmdHealAt {}; + class SentCmdRepair {}; + class SentCmdRepairFar {}; + class SentCmdRepairAt {}; + class SentCmdRefuel {}; + class SentCmdRefuelFar {}; + class SentCmdRefuelAt {}; + class SentCmdRearm {}; + class SentCmdRearmFar {}; + class SentCmdRearmAt {}; + class SentCmdSupport {}; + class SentCmdSupportFar {}; + class SentCmdSupportAt {}; + class SentCmdDropWeapon {}; + class SentCmdDropMagazine {}; + class SentCmdTakeWeapon {}; + class SentCmdTakeWeaponFar {}; + class SentCmdTakeWeaponAt {}; + class SentCmdTakeMagazine {}; + class SentCmdTakeMagazineFar {}; + class SentCmdTakeMagazineAt {}; + class SentCmdAction {}; + class SentCmdActionNear {}; + class SentCmdActionFar {}; + class SentCmdActionAt {}; + class SentCmdTakeFlag {}; + class SentCmdTakeFlagFar {}; + class SentCmdTakeFlagAt {}; + class SentCmdReturnFlag {}; + class SentCmdReturnFlagFar {}; + class SentCmdReturnFlagAt {}; + class SentCmdEject {}; + class SentCmdPlaceCharge {}; + class SentCmdDetonate {}; + class SentCmdActivateTimer {}; + class SentCmdDeactivateBomb {}; + class SentCmdDeactivateMine {}; + class SentCmdTakeMine {}; + class SentCmdLightFire {}; + class SentCmdLightFireFar {}; + class SentCmdLightFireAt {}; + class SentCmdPutOutFire {}; + class SentCmdPutOutFireFar {}; + class SentCmdPutOutFireAt {}; + class SentCmdOpenDoor {}; + class SentCmdOpenDoorFar {}; + class SentCmdOpenDoorAt {}; + class SentCmdCloseDoor {}; + class SentCmdCloseDoorFar {}; + class SentCmdCloseDoorAt {}; + class SentCmdFollowMe {}; + class SentCmdFollow {}; + class SentCmdAttack {}; + class SentAttackNoTarget {}; + class SentCmdFire {}; + class SentCmdGetIn {}; + class SentCmdGetInCommander {}; + class SentCmdGetInDriver {}; + class SentCmdGetInPilot {}; + class SentCmdGetInGunner {}; + class SentCmdGetInCargo {}; + class SentCmdSwitchToDriver {}; + class SentCmdSwitchToGunner {}; + class SentCmdSwitchToCommander {}; + class SentCmdSwitchToCargo {}; + class SentCmdGetOut {}; + class SentCmdStop {}; + class SentCmdExpect {}; + class SentCmdHide {}; + class SentCmdDismiss {}; + class SentNotifyAttack {}; + class SentNotifyAttackSubgroup {}; + class SentNotifySupport {}; + class SentConfirmMove {}; + class SentConfirmAttack {}; + class SentConfirmOther {}; + class SentARTYFireAt {}; + class SentRepairThat {}; + class SentARTYRoundsComplete {}; + class SentARTYCannotExecuteAdjustCoordinates {}; + class SentARTYCannotExecuteThatsOutsideOurFiringEnvelope {}; + class SelectVehicleMoveSentence {}; + class VehicleMoveGroupRelative {}; + class VehicleMoveRecipientsRelative {}; + class VehicleMoveToGrid {}; + class VehicleMoveToObject {}; + class VehicleMoveLocationRelative {}; + class VehicleWatchTgt {}; + class VehicleWatchPos {}; + class VehicleJoin {}; + class VehicleFire {}; + class VehicleTarget {}; + class VehicleNoTarget {}; + class VehicleCeaseFire {}; + class VehicleForward {}; + class VehicleStop {}; + class VehicleBackward {}; + class VehicleFaster {}; + class VehicleSlower {}; + class VehicleLeft {}; + class VehicleRight {}; + class VehicleManualFire {}; + class VehicleCancelManualFire {}; + class VehicleDirectFire {}; + class VehicleLoad {}; + class VehicleLoadMagazine {}; + class VehicleAzimut {}; + class VehicleFireFailed {}; +}; +class RadioProtocolBase: RadioProtocolEmpty {}; +class RadioProtocol_EP1_EN: RadioProtocolEmpty {}; +class RadioProtocol_EP1_TK: RadioProtocolEmpty {}; +class RadioProtocol_WMN_EP1_TK: RadioProtocolEmpty {}; +class RadioProtocolEN: RadioProtocolEmpty {}; +class RadioProtocolRU: RadioProtocolEmpty {}; +class RadioProtocolCZ: RadioProtocolEmpty {}; +class RadioProtocol_BAF: RadioProtocolEmpty {}; \ No newline at end of file diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index c073778e3..65bb433cb 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -95,6 +95,7 @@ class CfgAddons #include "Configs\rscTitles.hpp" #include "Configs\CfgWorlds.hpp" #include "Configs\CfgMoves.hpp" +#include "Configs\RadioProtocol.hpp" #include "Configs\CfgVehicles\CfgVehicles.hpp" #include "Configs\CfgWeapons\CfgWeapons.hpp" #include "Configs\CfgCrafting\CfgCrafting.hpp"