Skip to content

Simple and Advanced Addons

offyerrocker edited this page Nov 16, 2020 · 3 revisions

Simple Addons require no code knowledge and contain no code- only the assets in the correct file format, with the folder structure organized correctly. If created and installed correctly, ACH will handle all code related to loading assets and generating localization/menu data.

Simple Addons for Hitmarkers and Textures are essentially in the same format. They are individual or groups of textures that can be used as hitmarkers or crosshairs, but cannot contain custom animation functions, cannot be resized (except by editing the image file itself), and are otherwise very limited in their ability, but are very easy to create and install.

Advanced Addons are added via code; some knowledge of code may be required, depending on the complexity of your intended addon. They are essentially BLT mods whose sole purpose is to load the Addon data into ACH on startup via Lua code, and as a result require an .xml file or a mod.txt mod definition file for BeardLib or SuperBLT (respectively) to load this code.

Because Advanced Addons are designed for users who want more control in their addons' features, their folder structure is not as important.

Currently, Advanced Hitsound Addons have no significant benefit over Simple Hitsound Addons.

The following example addon packs provide useful templates and comments for creating their respective addon types:

Crosshair Pack Addon: https://modworkshop.net/mod/29819

Hitsound Pack Addon: https://modworkshop.net/mod/29820

Hitmarker Pack Addon: https://modworkshop.net/mod/29821

Clone this wiki locally