Here I maintain a personal, basic mod framework.
Feel free to create a PR if you see something missing!
-
MAIN ADDON
- Has a set of my personal macros. Some are somewhat duplicate from cba, but i already got used to them. Feel free to use them or not.
-
TEMPLATE ADDON Folder
- Basic CfgFunctions Setup
- example
fn_example.sqffunction
- example
- Basic CBA XEH Setup
- example
XEH_preInit.sqfwith CBA Addon Option Template
- example
- Basic CfgFunctions Setup
-
INCLUDE Folder
- CBA Macros and Stuff
- ACE3 Macros and Stuff
- some A3 GUI Stuff
-
HEMTT
- hemtt's project.toml
- hemtt's launch.toml
- simple Editor Test Mission
test.vrto be used withhemtt launch Test
- simple Editor Test Mission
-
GITHUB
- Github Action on release
- create and rename .zip files for the Github Release Page
- Update Existing Steam Workshop Files directly from the Github Release
- Requires Steam Account that Owns Arma3. It is strongly advised to aquire a secondary account if you wish to use the release->Steamworkshop feature
- Planned: Bump Patch Version on PR Merge
- Planned: Bump Minor Version on Release, set patch to 0
- SQF Validator Python Script
- Github Action on release
-
Automated Version Bumping
- MINOR on
hemtt release(WIP: Only bumps when using on your local mashine through hemtt, not when releasing through github action.) - PATCH on github PR (PLANNED, not done yet - need to learn github action stuff first)
- BUILD on
hemtt built, includinghemtt launch
- MINOR on
- replace PLACEHOLDER:
~MAINPREFIX~with desired MAINPREFIX, example:x - replace PLACEHOLDER:
~PREFIX~with desired PREFIX, exampleABE
mod.cpp.hemtt\project.toml
- Check
$PBOPREFIX$ - Update
addons\main\script_mod.hpp - Update
addons\main\script_version.hppwhen needed - Update
addons\main\config.cpp - Update
addons\main\stringtable.xml
Examples are common or my_addon
Important
Ensure only lowercase is used in addon name! Especially important for the foldername. Building with hemtt through github will cause issues if uppercase is used!
- replace PLACEHOLDER:
~TEMPLATE_ADDON~with desired Addon Name.
-
Rename Folder accordingly, like
commonormy_addon. only lowercase! -
Check
$PBOPREFIX$should say something likex\abe\addons\my_addon -
Check and Update
script_component.hpp- check and update
COMPONENTandCOMPONENT_BEAUTIFIEDif needed - check both
#includes
- check and update
-
Update
addons\~TEMPLATE_ADDON~\config.cpp- update
authors[] = {}; - update other entries where needed.
- update
-
Start building your mod
- Dont forget to remove fn_example.
winget install BrettMayson.HEMTT to install.
in tools you can find a update_hemtt.bat which i use in my autostart folder to automatically update hemtt.
You can find your Win Users Autostart folder via WIN+R -> shell:startup
https://learn.microsoft.com/en-us/windows/package-manager/winget/