Skip to content

How to add a insignia

Broström.A | Evul edited this page Sep 24, 2018 · 37 revisions

To add an insignia involve two steps; creation and conversion of an image, some minor scripting

Image and format

First off you need the image in a PNG format with a transparent background with the size 512x512 that is converted to PAA the ARMA 3 image format. This is done with the Arma 3 Tools program; TexView2, ImageToPAA or ARMAKE

Image to cScripts

  1. Naming the insignia (Follow current name standard).
  2. Place your insignia in: cScripts\Data\Insignia\
  3. Add the new insignia to CfgUnitInsignia.hpp
    To make it easy to add more insignias we have developed a macro to be used: MACRO_UNITINSIGNIA(CONFIGNAME,picture-name.paa);
  4. Add the insignia to the selector script; fn_initInsigniaSelections.sqf To make it easy for your self to add more insignia to the selector just copy paste an insignia function from a previous category. Example:
    [_object,"Squad Insignia 1/1/C/1-7","11C_17_Insignia","cScripts\Data\Insignia\1-1-C-17.paa",['ACE_MainActions','cScriptInsigniaSelectionMenu','cScriptInsigniaSelectionCharlie']] call FUNC(addInsigniaSelection);
    

cScripts Development Wiki

Clone this wiki locally