Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localized diary topics #1159

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
ae72280
Removed and replaced date topic from diary record
AndreasBrostrom Jun 11, 2019
2c326e2
fix scripted optics in pause menu in MP (#1160)
commy2 Jun 13, 2019
20b7c90
check masses of items of disposable framework (#1161)
commy2 Jun 14, 2019
b261892
Reverted settings
AndreasBrostrom Jun 14, 2019
0bd78ee
update scripted optics effect radblur classes (#1163)
commy2 Jun 15, 2019
cd8a239
rotate scripted optic according to weapon bank (#1162)
commy2 Jun 15, 2019
6a42995
add cartridge ejection effect on repeat (#1158)
commy2 Jun 15, 2019
4e7a681
optimize CBA_fnc_randomVector3D (#1164)
commy2 Jun 15, 2019
57f542e
handle expressions in CfgOpticsEffect (#1165)
commy2 Jun 20, 2019
e02e5cb
replace more %xy in mission names (#1166)
commy2 Jun 20, 2019
3094023
Bump to v3.12.0.190621
jonpas Jun 20, 2019
d8a8812
Update badge to 11.2
ViperMaul Jun 21, 2019
e6f5d96
handle %20 = space
commy2 Jun 21, 2019
d941c59
Merge branch 'master' into release-3.12
ViperMaul Jun 21, 2019
e997bcb
Unneeded
ViperMaul Jun 21, 2019
f941810
update CBA_fnc_uniqueUnitItems (#1157)
commy2 Jun 23, 2019
07a2e04
Fix CBA_fnc_removeItemCargo removing all containers instead of specif…
jonpas Jun 29, 2019
42622e9
Use BI's new matrix commands (#1173)
Kexanone Jun 30, 2019
508ebd3
Notify - Skippable parameter, Lifetime Setting, Use in Accessory comp…
jonpas Jul 6, 2019
a89b691
Scripted optics updates (#1176)
commy2 Jul 6, 2019
6b3e8d6
Merge branch 'master' into release-3.12
jonpas Jul 6, 2019
87f11ad
Bump to v3.12.0.190706
jonpas Jul 6, 2019
a1132ec
add failure code argument to fnc_progressBar (#1177)
McDiod Jul 7, 2019
fa7634c
Merge branch 'master' into release-3.12
jonpas Jul 8, 2019
1534839
Bump to v3.12.0.190708
jonpas Jul 8, 2019
72a3af4
Use latest releases URL in README.md
jonpas Jul 8, 2019
4159b35
XEH - Add direct XEH support for 1.94 objects (#1182)
PabstMirror Jul 25, 2019
2056941
Update loadorder for 1.94 Contact DLC (#1171)
dedmen Jul 25, 2019
7ebac50
Add magwells for SCAR rifle magazines when EGLM is mounted (#1179)
Drofseh Jul 25, 2019
5fd88fa
1.94 - Fix GL magwells (#1183)
PabstMirror Jul 26, 2019
10df1c5
Add Contact DLC JointRails (#1181)
dedmen Jul 26, 2019
547cab0
fix file capitalization part 1
commy2 Jul 26, 2019
d9cab5a
fix file capitalization part 2
commy2 Jul 26, 2019
20b4328
move some macros
commy2 Jul 26, 2019
c75104b
joint rails - enoch attachment classes compatibility
commy2 Jul 26, 2019
95f21c3
config formatting
commy2 Jul 26, 2019
cc983f9
manual merge
commy2 Jul 26, 2019
4833ee3
Revert "move some macros"
commy2 Jul 26, 2019
a6370b0
Merge branch 'master' of https://github.com/CBATeam/CBA_A3 into enoch…
commy2 Jul 26, 2019
e0d5606
don't overwrite vanilla magazine base classes
commy2 Jul 26, 2019
6ee185f
don't overwrite vanilla magazine base classes
commy2 Jul 26, 2019
3227dbb
implement addWeaponWithAttachmentsCargoGlobal command (#1188)
commy2 Jul 26, 2019
b6df6ac
fix minor ui issues with Contact DLC ui modifications (#1186)
commy2 Jul 27, 2019
35f39a8
Merge branch 'master' of https://github.com/CBATeam/CBA_A3 into enoch…
commy2 Jul 27, 2019
6fcd51e
joint rails - enoch attachment classes compatibility - Variant A (#1184)
commy2 Jul 27, 2019
432f214
add legacy JR component
commy2 Jul 27, 2019
c9473ec
legacy jr for mx and the rest
commy2 Jul 27, 2019
3398c01
Merge pull request #1189 from CBATeam/legacyJR
commy2 Jul 27, 2019
37d4943
move legacy jr to optionals
commy2 Jul 27, 2019
c8ebb96
fix scripted optics pip effect
commy2 Jul 28, 2019
1298d71
Put tags into quotes
R3voA3 Jul 29, 2019
7213615
Removed double quotes from some theme entries.
R3voA3 Jul 29, 2019
f46e92b
Opening brackes are now EOL
R3voA3 Jul 30, 2019
5ff62dc
fix optic tilting in vehicles
commy2 Aug 2, 2019
b3234ea
Merge pull request #1197 from CBATeam/fixOpticsFFV
commy2 Aug 2, 2019
831f738
Merge pull request #1191 from CBATeam/scripted-optics-ppeffect
commy2 Aug 2, 2019
1cafbd2
move scope expressions to nobin component
commy2 Aug 2, 2019
c0c34da
Create $PBOPREFIX$
PabstMirror Aug 2, 2019
2942dc1
function header
commy2 Aug 4, 2019
62e461a
Merge pull request #1199 from CBATeam/nobinXEH
commy2 Aug 4, 2019
dcc8594
Bump to v3.12.1.190804
jonpas Aug 4, 2019
053f8fb
Update mod.cpp on build
jonpas Aug 4, 2019
74ba847
Support copying additional directories in make.py
jonpas Aug 4, 2019
875beba
Fix overwrite builds for folder copy in make.py
jonpas Aug 4, 2019
72256f4
fix ee
PabstMirror Aug 5, 2019
c5161ae
Merge pull request #1200 from CBATeam/XEH_CLASS_BASE
commy2 Aug 5, 2019
cb329ee
Merge branch 'master' into release-3.12.1
jonpas Aug 5, 2019
75eea96
Bump to v3.12.1.190805
jonpas Aug 5, 2019
3a6b5af
Add randomizeFacewear to common CfgFunctions
jonpas Aug 6, 2019
35f0f44
Add CBA_fnc_randomizeFacewear
jonpas Aug 6, 2019
7c631df
Run randomizeFacewear on all units
jonpas Aug 6, 2019
c0cee7e
Prefix allowedFacewear
jonpas Aug 6, 2019
ca56543
Apply suggestions from code review
jonpas Aug 7, 2019
4aa92c6
added colored MX mag variants
Loupeznik Aug 9, 2019
790fd54
syntax edited
Loupeznik Aug 9, 2019
6ebb9f5
sorted array values
Loupeznik Aug 9, 2019
e82740a
Merge pull request #1202 from Loupeznik/65magwells_fix
commy2 Aug 10, 2019
0bab13c
Bump to v3.12.1.190812
jonpas Aug 12, 2019
054b971
Czech translation added
Loupeznik Aug 12, 2019
e5d17f1
Czech translation
Loupeznik Aug 12, 2019
18e9c72
Czech translation
Loupeznik Aug 12, 2019
3435480
Czech translation fix
Loupeznik Aug 12, 2019
8fdf226
Enhanced Czech translation
Loupeznik Aug 12, 2019
e1c4b61
Merge branch 'release'
jonpas Aug 12, 2019
96eab72
Merge pull request #1203 from Loupeznik/cs-CZ-translation
commy2 Aug 15, 2019
2d8218d
Rename to CBA_facewearList, Add example configs
jonpas Aug 15, 2019
2595495
add CONTACT SERVER ADMIN header to signature mismatch message
commy2 Aug 15, 2019
8ab8cdb
Common - Prevent endless loop with waitAndExec
PabstMirror Aug 17, 2019
ed90459
Update init_perFrameHandler.sqf
PabstMirror Aug 20, 2019
4055131
restore newline
PabstMirror Aug 20, 2019
b4fcfb5
Default transition targetstate to transition configName
Aug 21, 2019
89cfeeb
is/getText replacements for BIS function
Aug 21, 2019
1ccbafa
Merge pull request #1213 from PiZZAD0X/statemachineDefaultTargetState
commy2 Aug 21, 2019
eee311b
Merge branch 'master' of https://github.com/CBATeam/CBA_A3 into fixed…
commy2 Aug 23, 2019
664a56c
handle returned assignments in key events
commy2 Aug 23, 2019
75e6bfb
Merge pull request #1214 from CBATeam/keybinding-assignment-safe-return
commy2 Aug 23, 2019
1f7f9b2
Add Spanish translation for UI category
jonpas Aug 26, 2019
fac8ecb
Merge pull request #1216 from CBATeam/ui-cat-spanish
commy2 Aug 26, 2019
851af68
Add period at the end of target debug info log
jonpas Sep 2, 2019
d35ee72
Merge pull request #1217 from CBATeam/target-debug-period
commy2 Sep 2, 2019
524c6a7
Update issue templates
jonpas Sep 5, 2019
9ed598c
Remove empty Todo template (redundant)
jonpas Sep 5, 2019
4eec633
Remove old issue template
jonpas Sep 5, 2019
ecdb7f5
Merge pull request #1219 from CBATeam/new-issue-templates
commy2 Sep 5, 2019
8a94c03
Cleanup CfgPatches and use VERSION_CONFIG consistently (#1222)
jonpas Sep 7, 2019
851b690
Improve VERSION_CONFIG (#1221)
jonpas Sep 7, 2019
94c5a06
Support disableRandomization array
jonpas Sep 7, 2019
ac77666
Merge branch 'master' into facewear-rand
jonpas Sep 7, 2019
13cc2e0
Support empty string or None
jonpas Sep 7, 2019
a900057
Merge pull request #1201 from CBATeam/facewear-rand
commy2 Sep 7, 2019
1050d67
report backpacks with CBA_fnc_getItemConfig
commy2 Sep 7, 2019
061aa91
fix crash when hosting server with large ui scale
commy2 Sep 8, 2019
6ea0525
Merge pull request #1224 from CBATeam/fix-host-server-crash
commy2 Sep 8, 2019
9e6cf09
Bump to v3.12.2.190909
jonpas Sep 9, 2019
06012e5
optimization
commy2 Sep 9, 2019
522cd1e
Merge pull request #1223 from CBATeam/getItemConfig-backpacks
commy2 Sep 9, 2019
31c5165
Merge pull request #1209 from CBATeam/fixWaitAndExec
commy2 Sep 9, 2019
e286d5a
Merge branch 'master' into release-3.12.2
jonpas Sep 9, 2019
8274a56
Merge pull request #1192 from R3voA3/master
commy2 Sep 9, 2019
3a54a99
Merge pull request #1212 from CBATeam/fixed-error-messages
commy2 Sep 9, 2019
7c4e6bd
Merge branch 'master' into release-3.12.2
jonpas Sep 9, 2019
eb0827e
Remove excessive concatenation operators from macros library
jonpas Sep 10, 2019
b896b7a
Add new muzzle slots
Blutze Sep 11, 2019
68d0054
fix includeDisabled flag in CBA_fnc_supportMonitor
commy2 Sep 14, 2019
adb26e0
Minor improvements to settings UI
mharis001 Sep 15, 2019
c37a148
Apply suggestions from code review
mharis001 Sep 15, 2019
0911400
Clean up empty lines
Blutze Sep 16, 2019
1f0f9c0
Merge pull request #1227 from Blutze/blutze-newmuzzles
commy2 Sep 17, 2019
5cb3ebe
Merge pull request #1231 from mharis001/settings-ui-changes
commy2 Sep 17, 2019
fae207c
Merge pull request #1225 from CBATeam/macros-cleanup
commy2 Sep 17, 2019
61f376d
Merge pull request #1229 from CBATeam/fix-supportMonitor-includeDisab…
commy2 Sep 17, 2019
f925da7
Add magwells for the UZI and AS50
Drofseh Sep 29, 2019
1cad393
Merge pull request #1233 from Drofseh/JAM-UZI-AS50
commy2 Oct 1, 2019
b5b40f1
Add turret event
neilzar Oct 2, 2019
2b53e1b
Couple changes that weren't saved
neilzar Oct 2, 2019
d028d79
update comments
neilzar Oct 2, 2019
7af94f7
Replace CBAr with CBAv
neilzar Oct 2, 2019
a33b3b5
remove private where it shouldn't have been
neilzar Oct 2, 2019
549cc55
Add missing Turkish Translations
654wak654 Oct 3, 2019
c7079ff
Merge pull request #1239 from 654wak654/tr-translations
commy2 Oct 3, 2019
e4042c2
XEH - Fix version report in rpt
PabstMirror Oct 9, 2019
f9f0d02
Merge pull request #1240 from CBATeam/xehVer
commy2 Oct 9, 2019
f0097f2
Ignore invalid turrets
neilzar Oct 10, 2019
b1ef956
Consider [] as driver
neilzar Oct 10, 2019
b74c35d
Fix whitespace
neilzar Oct 10, 2019
7bb6cd1
Add extra param information
neilzar Oct 10, 2019
e4a00b3
Merge pull request #1237 from neilzar/turret-event
commy2 Oct 12, 2019
1032469
Statemachine - Trivial performance changes
PabstMirror Oct 18, 2019
b2829e1
Replace all use of count as a forEach
PabstMirror Oct 18, 2019
79fe85b
Update fnc_startFallbackLoop.sqf
PabstMirror Oct 18, 2019
855b523
Merge pull request #1242 from CBATeam/trivialSM
commy2 Oct 18, 2019
4c342f6
Scaled cba_optic_big_pip and cba_optic_small_pip models outwards on t…
JonBons Oct 24, 2019
25285ef
Adjusted CBA optic camera FOV to 0.78 to account for model changes fo…
JonBons Oct 24, 2019
78e23c1
Adjusted CBA optic camera FOV to 1.02 to make the camera match up wit…
JonBons Oct 26, 2019
43f4caa
Changed CBA optic camera FOV back to 0.75 as there is some scaling is…
JonBons Oct 26, 2019
a2b02af
Merge pull request #1245 from JonBons/optics-21by9
commy2 Oct 26, 2019
d9f94e7
Merge branch 'NoDatedDiaryRecord' of https://github.com/ColdEvul/CBA_…
commy2 Oct 30, 2019
5fe929e
store diary records in variables
commy2 Oct 30, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: Bug
assignees: ''

---

**Mods (complete and add to the following information):**
- **Arma 3:** `x.xx` [e.g. 1.00 stable, rc, dev]
- **CBA:** `3.x.x` [e.g. 3.0.0 stable, commit hash]
_Make sure to reproduce the issue with only CBA on a newly created mission!_

**Description:**
A clear and concise description of what the bug is.

**Steps to reproduce:**
- Go to ...
- Click ...
- See ...

**Expected behavior:**
A clear and concise description of what you expected to happen.

**Where did the issue occur?**
- Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal

**Log Files:**
- Link to ([gist](https://gist.github.com) or [pastebin](http://pastebin.com)) to the client and/or server RPT file. An instruction to find your RPT files can be found [here](https://community.bistudio.com/wiki/Crash_Files#Arma_3).

**Additional context:**
Add any other context about the problem here.

**Screenshots:**
If applicable, add screenshots to help explain your problem.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Enhancement request
about: Suggest an improvement for this project
title: ''
labels: Enhancement
assignees: ''

---

**Is your enhancement related to a problem?**
A clear and concise description of what the enhancement entails. Ex. [...] would improve user experience.

**Solution you'd like:**
A clear and concise description of what you want to happen.

**Alternatives you've considered:**
A clear and concise description of any alternative solutions or ideas you've considered.

**Additional context:**
Add any other context or screenshots about the enhancement here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: Feature
assignees: ''

---

**Is your feature request related to a problem?**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Solution you'd like:**
A clear and concise description of what you want to happen.

**Alternatives you've considered:**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context:**
Add any other context or screenshots about the feature request here.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Community Base Addons
[![](https://img.shields.io/travis/CBATeam/CBA_A3.svg?style=flat-square)](https://travis-ci.org/CBATeam/CBA_A3)
[![](https://img.shields.io/badge/Changelog-Link-orange.svg?style=flat-square)](https://github.com/CBATeam/CBA_A3/issues?q=is%3Aclosed+milestone%3A3.11.2)
[![](https://img.shields.io/badge/Release-3.11.1-blue.svg?style=flat-square)](https://github.com/CBATeam/CBA_A3/releases/tag/v3.11.2.190515)
[![](https://img.shields.io/badge/Changelog-Link-orange.svg?style=flat-square)](https://github.com/CBATeam/CBA_A3/issues?q=is%3Aclosed+milestone%3A3.12.2)
[![](https://img.shields.io/badge/Release-3.12.2-blue.svg?style=flat-square)](https://github.com/CBATeam/CBA_A3/releases/latest)
[![](https://img.shields.io/badge/Github-Wiki-lightgrey.svg?style=flat-square)](https://github.com/CBATeam/CBA_A3/wiki)
[![](https://img.shields.io/badge/BIF-Thread-lightgrey.svg?style=flat-square)](https://forums.bistudio.com/topic/168277-cba-community-base-addons-arma-3)
[![](https://img.shields.io/badge/Function-Documentation-yellow.svg?style=flat-square)](https://cbateam.github.io/CBA_A3/docs/files/overview-txt.html)
Expand Down
3 changes: 1 addition & 2 deletions addons/accessory/MRT_AccFncs/config.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
class CfgPatches {
class MRT_AccFncs {
requiredAddons[] = {"cba_accessory"};
versionDesc = "MRT Attachment Functions";
units[] = {};
requiredAddons[] = {"cba_accessory"};
};
};
6 changes: 3 additions & 3 deletions addons/accessory/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common", "cba_events"};
author = "$STR_CBA_Author";
authors[] = {"da12thMonkey", "Robalo", "Tupolov"};
version = VERSION;
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
5 changes: 3 additions & 2 deletions addons/accessory/fnc_switchAttachment.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private _currWeaponType = call {
_currItem = "";
-1
};
if (_currWeaponType < 0) exitWith {hint "You are not holding a weapon!"; false};
if (_currWeaponType < 0) exitWith { false };

#define __cfgWeapons configfile >> "CfgWeapons"
#define __currItem __cfgWeapons >> _currItem
Expand Down Expand Up @@ -80,8 +80,9 @@ if (!isNil "_switchItem") then {
};
};
private _switchItemHintText = getText (__cfgWeapons >> _switchItem >> "MRT_SwitchItemHintText");
private _switchItemHintImage = getText (__cfgWeapons >> _switchItem >> "picture");
if !(_switchItemHintText isEqualTo "") then {
hintSilent format ["%1", _switchItemHintText];
[[_switchItemHintImage, 2.0], [_switchItemHintText], true] call CBA_fnc_notify;
};
playSound "click";
} else {
Expand Down
9 changes: 9 additions & 0 deletions addons/accessory/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<French>Community Base Addons - Fonctions des accessoires</French>
<Turkish>Community Base Addons - Aksesuar Fonksiyonları</Turkish>
<Italian>Community Base Addons - Funzioni per Accessori</Italian>
<Czech>Community Base Addons - Funkce doplňků</Czech>
</Key>
<Key ID="STR_CBA_accessory_railNext">
<English>Next rail item state</English>
Expand All @@ -24,6 +25,7 @@
<French>Mode de l'accessoire sur rail suivant</French>
<Turkish>Sonraki ray aksesuarı</Turkish>
<Italian>Stato successivo dell'oggetto sulla slitta</Italian>
<Czech>Další režim doplňku na liště</Czech>
</Key>
<Key ID="STR_CBA_accessory_railNext_tooltip">
<English>Cycles to the next mode available for your rail slot attachment</English>
Expand All @@ -36,6 +38,7 @@
<French>Passe au prochain mode disponible de votre accessoire sur rail</French>
<Turkish>Ray aksesuarınızı sonraki moda geçirir</Turkish>
<Italian>Passa alla modalità successiva del tuo accessorio sulla slitta</Italian>
<Czech>Přepíná na další možný režim doplňku na liště</Czech>
</Key>
<Key ID="STR_CBA_accessory_railPrev">
<English>Prev rail item state</English>
Expand All @@ -48,6 +51,7 @@
<French>Mode de l'accessoire sur rail précèdent</French>
<Turkish>Önceki ray aksesuarı</Turkish>
<Italian>Stato precedente dell'oggetto sulla slitta</Italian>
<Czech>Předchozí režim doplňku na liště</Czech>
</Key>
<Key ID="STR_CBA_accessory_railPrev_tooltip">
<English>Cycles to the previous mode available for your rail slot attachment</English>
Expand All @@ -60,6 +64,7 @@
<French>Passe au précèdent mode disponible de votre accessoire sur rail</French>
<Turkish>Ray aksesuarınızı önceki moda geçirir</Turkish>
<Italian>Passa alla modalità precedente del tuo accessorio sulla slitta</Italian>
<Czech>Přepíná na předchozí možný režim doplňku na liště</Czech>
</Key>
<Key ID="STR_CBA_accessory_opticNext">
<English>Next optics state</English>
Expand All @@ -72,6 +77,7 @@
<French>Mode de l'optique suivant</French>
<Turkish>Sonraki nişangah modu</Turkish>
<Italian>Stato successivo dell'ottica</Italian>
<Czech>Další režim zaměřovače</Czech>
</Key>
<Key ID="STR_CBA_accessory_opticNext_tooltip">
<English>Cycles to the next mode available for your optics slot attachment</English>
Expand All @@ -84,6 +90,7 @@
<French>Passe au prochain mode disponible de votre optique</French>
<Turkish>Varolan nişangahınızı sonraki moduna geçirir</Turkish>
<Italian>Passa alla modalità successiva della tua ottica</Italian>
<Czech>Přepíná na další možný režim doplňku slotu pro zaměřovač</Czech>
</Key>
<Key ID="STR_CBA_accessory_opticPrev">
<English>Prev optics state</English>
Expand All @@ -96,6 +103,7 @@
<French>Mode de l'optique sur rail précèdent</French>
<Turkish>Önceki nişangah modu</Turkish>
<Italian>Stato precedente dell'ottica</Italian>
<Czech>Předchozí režim zaměřovače</Czech>
</Key>
<Key ID="STR_CBA_accessory_opticPrev_tooltip">
<English>Cycles to the previous mode available for your optics slot attachment</English>
Expand All @@ -108,6 +116,7 @@
<French>Passe au précèdent mode disponible de votre optique</French>
<Turkish>Varolan nişangahınızı önceki moduna geçirir</Turkish>
<Italian>Passa alla modalità precedenta della tua ottica</Italian>
<Czech>Přepíná na předchozí možný režim doplňku slotu pro zaměřovač</Czech>
</Key>
</Package>
</Project>
7 changes: 4 additions & 3 deletions addons/ai/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {"CBA_B_InvisibleTarget","CBA_O_InvisibleTarget","CBA_I_InvisibleTarget","CBA_BuildingPos"};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Rommel"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
3 changes: 3 additions & 0 deletions addons/ai/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
<Polish>Community Base Addons - Sztuczna Inteligencja</Polish>
<Turkish>Community Base Addons - Yapay Zeka</Turkish>
<Italian>Community Base Addons - Intelligenza Artificiale</Italian>
<Czech>Community Base Addons - Umělá inteligence</Czech>
</Key>
<Key ID="STR_CBA_AI_BuildingPos">
<English>AI Building Position</English>
<German>KI Gebäudeposition</German>
<Czech>Poloha stavby AI</Czech>
<Turkish>AI Bina Pozisyonu</Turkish>
</Key>
</Package>
</Project>
7 changes: 4 additions & 3 deletions addons/arrays/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"cba_common"};
version = VERSION;
author = "$STR_CBA_Author";
authors[] = {"Spooner"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
1 change: 1 addition & 0 deletions addons/arrays/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Polish>Community Base Addons - Tablice</Polish>
<Turkish>Community Base Addons - Diziler</Turkish>
<Italian>Community Base Addons - Array</Italian>
<Czech>Community Base Addons - Pole</Czech>
</Key>
</Package>
</Project>
1 change: 1 addition & 0 deletions addons/common/CfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class CfgFunctions {
PATHTO_FNC(binocularMagazine);
PATHTO_FNC(addBinocularMagazine);
PATHTO_FNC(removeBinocularMagazine);
PATHTO_FNC(randomizeFacewear);
};

class Cargo {
Expand Down
3 changes: 3 additions & 0 deletions addons/common/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@ activateAddons GVAR(addons);
}];
}] call CBA_fnc_addClassEventHandler;

// Facewear randomization
["CAManBase", "InitPost", CBA_fnc_randomizeFacewear] call CBA_fnc_addClassEventHandler;

ADDON = true;
8 changes: 4 additions & 4 deletions addons/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

class CfgPatches {
class ADDON {
author = "$STR_CBA_Author";
name = CSTRING(component);
url = "$STR_CBA_URL";
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"A3_Data_F_Tank_Loadorder"};
version = VERSION;
requiredAddons[] = {"A3_Data_F_Enoch_Loadorder", "A3_Data_F_Mod_Loadorder"};
author = "$STR_CBA_Author";
authors[] = {"Spooner","Sickboy","Rocko"};
url = "$STR_CBA_URL";
VERSION_CONFIG;
};
};

Expand Down
14 changes: 11 additions & 3 deletions addons/common/fnc_getItemConfig.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Description:
A function used to return the config of an item.

Parameters:
_weapon - Any kind of item, weapon or magazine class name <STRING>
_item - Any kind of item, weapon or magazine class name <STRING>

Returns:
_config - Item config. <CONFIG>
Expand All @@ -23,16 +23,24 @@ Author:
---------------------------------------------------------------------------- */
SCRIPT(getItemConfig);

params [["_weapon", "", [""]]];
params [["_item", "", [""]]];

private _result = configNull;

{
private _config = configFile >> _x >> _weapon;
private _config = configFile >> _x >> _item;

if (isClass _config) exitWith {
_result = _config;
};
} forEach ["CfgWeapons", "CfgMagazines", "CfgGlasses"];

if (isNull _result) then {
private _config = configFile >> "CfgVehicles" >> _item;

if (getNumber (_config >> "isBackpack") isEqualTo 1) then {
_result = _config;
};
};

_result
Loading