Compare commits
6 Commits
4.2.0
...
dba0a0e57c
| Author | SHA1 | Date | |
|---|---|---|---|
| dba0a0e57c | |||
| 888a688f56 | |||
| c94f660682 | |||
|
|
7e93ebfbfd | ||
|
|
e0c8f3c952 | ||
|
|
d200f83375 |
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [4.2.1] - 2024-06-23
|
||||
|
||||
### Changed
|
||||
|
||||
- Allowed Equipment Definition typo
|
||||
|
||||
## [4.2.0] - 2024-06-20
|
||||
|
||||
### Added
|
||||
@@ -12,7 +18,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
- New Resupply Boxes
|
||||
- Ability to spawn spare tires and tracks at the arsenal and via Zeus module
|
||||
|
||||
|
||||
### Changed
|
||||
|
||||
- Split vehicle flags into colors and shapes for additional options
|
||||
|
||||
@@ -141,7 +141,7 @@ class DisallowedEquipment {
|
||||
"Tier1_ATACR18_Geissele_Docter_Black", //Nightforce Series Optic
|
||||
"Tier1_ATACR18_Geissele_Docter_Desert_Vanilla", //Nightforce Series Optic
|
||||
"Tier1_ATACR18_Geissele_Docter_Desert", //Nightforce Series Optic
|
||||
"sps_black_hornet_01_F" // Black Hornet Drone Mod
|
||||
"sps_black_hornet_01_Static_F" // Black Hornet Drone Mod
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -15,7 +15,13 @@ addMissionEventHandler ["HandleChatMessage",
|
||||
{
|
||||
params ["_channel", "_owner", "_from", "_text", "_person", "_name", "_strID", "_forcedDisplay", "_isPlayerMessage", "_sentenceType", "_chatMessageType"];
|
||||
|
||||
if ( missionNamespace getVariable ["milsim_globalChat", false] ) exitWith{ false };
|
||||
if ( missionNamespace getVariable ["milsim_sideChat", false] ) exitWith{ false };
|
||||
if ( missionNamespace getVariable ["milsim_commandChat", false] ) exitWith{ false };
|
||||
if ( missionNamespace getVariable ["milsim_groupChat", false] ) exitWith{ false };
|
||||
if ( missionNamespace getVariable ["milsim_vehicleChat", false] ) exitWith{ false };
|
||||
if ( missionNamespace getVariable ["milsim_directChat", false] ) exitWith{ false };
|
||||
|
||||
|
||||
if (_channel != 1) exitWith { false };
|
||||
|
||||
|
||||
@@ -1,15 +1,33 @@
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
//---------------------
|
||||
// Global Chat
|
||||
//---------------------
|
||||
[
|
||||
QGVARMAIN(globalChat),
|
||||
"CHECKBOX",
|
||||
"Global Chat Text Enabled",
|
||||
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
|
||||
true, // default value
|
||||
true, // requires restart
|
||||
{
|
||||
params ["_value"];
|
||||
[
|
||||
QGVARMAIN(globalChat),
|
||||
_value
|
||||
] call EFUNC(common,logSettingChanged);
|
||||
}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
//---------------------
|
||||
// Side Chat
|
||||
//---------------------
|
||||
|
||||
[
|
||||
QGVARMAIN(sideChat),
|
||||
"CHECKBOX",
|
||||
"Side Chat Text Enabled",
|
||||
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
|
||||
false, // default value
|
||||
true, // default value
|
||||
true, // requires restart
|
||||
{
|
||||
params ["_value"];
|
||||
@@ -20,7 +38,92 @@
|
||||
}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
|
||||
//---------------------
|
||||
// Command Chat
|
||||
//---------------------
|
||||
[
|
||||
QGVARMAIN(commandChat),
|
||||
"CHECKBOX",
|
||||
"Command Chat Text Enabled",
|
||||
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
|
||||
true, // default value
|
||||
true, // requires restart
|
||||
{
|
||||
params ["_value"];
|
||||
[
|
||||
QGVARMAIN(commandChat),
|
||||
_value
|
||||
] call EFUNC(common,logSettingChanged);
|
||||
}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
//---------------------
|
||||
// Group Chat
|
||||
//---------------------
|
||||
[
|
||||
QGVARMAIN(groupChat),
|
||||
"CHECKBOX",
|
||||
"Group Chat Text Enabled",
|
||||
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
|
||||
true, // default value
|
||||
true, // requires restart
|
||||
{
|
||||
params ["_value"];
|
||||
[
|
||||
QGVARMAIN(groupChat),
|
||||
_value
|
||||
] call EFUNC(common,logSettingChanged);
|
||||
}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
|
||||
//---------------------
|
||||
// Vehicle Chat
|
||||
//---------------------
|
||||
[
|
||||
QGVARMAIN(vehicleChat),
|
||||
"CHECKBOX",
|
||||
"Vehicle Chat Text Enabled",
|
||||
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
|
||||
true, // default value
|
||||
true, // requires restart
|
||||
{
|
||||
params ["_value"];
|
||||
[
|
||||
QGVARMAIN(vehicleChat),
|
||||
_value
|
||||
] call EFUNC(common,logSettingChanged);
|
||||
}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
|
||||
//---------------------
|
||||
// Vehicle Chat
|
||||
//---------------------
|
||||
[
|
||||
QGVARMAIN(directChat),
|
||||
"CHECKBOX",
|
||||
"Direct Chat Text Enabled",
|
||||
[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
|
||||
true, // default value
|
||||
true, // requires restart
|
||||
{
|
||||
params ["_value"];
|
||||
[
|
||||
QGVARMAIN(directChat),
|
||||
_value
|
||||
] call EFUNC(common,logSettingChanged);
|
||||
}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
|
||||
[QGVARMAIN(globalChat), false] call CBA_settings_fnc_set;
|
||||
[QGVARMAIN(sideChat), false] call CBA_settings_fnc_set;
|
||||
[QGVARMAIN(commandChat), false] call CBA_settings_fnc_set;
|
||||
[QGVARMAIN(groupChat), false] call CBA_settings_fnc_set;
|
||||
[QGVARMAIN(vehicleChat), false] call CBA_settings_fnc_set;
|
||||
[QGVARMAIN(directChat), false] call CBA_settings_fnc_set;
|
||||
|
||||
diag_log text "[MILSIM] (settings) Custom CBA settings initialized";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#define MAJOR 4
|
||||
#define MINOR 2
|
||||
#define PATCHLVL 0
|
||||
#define PATCHLVL 1
|
||||
#define BUILD 0
|
||||
|
||||
Reference in New Issue
Block a user