Unit Insignia – Arma 3

From Bohemia Interactive Community
Revision as of 16:07, 2 July 2014 by Str (talk | contribs)
Jump to navigation Jump to search
AAF soldier with TFAegis insignia

Unit insignia is a custom texture which can be mapped to a character to give it special look. It's similar to existing squad.xml clan logo, and it's based on real life shoulder sleeve insignia.

Usage

To add insignia to an unit, execute the following function:

[this,"111thID"] call BIS_fnc_setUnitInsignia;

Once set, you can ask for which insignia is used using:

_insignia = player call BIS_fnc_getUnitInsignia;


Official Insignias

The game contains several predefined insignias. You can preview them in-game in Arsenal.

Img Code
111thID ca.png [this,"111thID"] call BIS_fnc_setUnitInsignia;
bi ca.png [this,"BI"] call BIS_fnc_setUnitInsignia;
curator ca.png [this,"Curator"] call BIS_fnc_setUnitInsignia;
gryffinRegiment ca.png [this,"GryffinRegiment"] call BIS_fnc_setUnitInsignia;
manw ca.png [this,"MANW"] call BIS_fnc_setUnitInsignia;
TFAegis ca.png [this,"TFAegis"] call BIS_fnc_setUnitInsignia;

Configuration

Insignia

You can add a new insignia in Config.cpp or description.ext

class CfgUnitInsignia
{
	class 111thID
	{
		displayName = "111th Infantry Division"; // Name displayed in Arsenal
		author = "Bohemia Interactive"; // Author displayed in Arsenal
		texture = "\a3\UI_F_Bootcamp\Data\CfgUnitInsignia\B_111thID_texture_ca.paa"; // Image path
		textureVehicle = ""; // Does nothing currently, reserved for future use
	};
};

Objects

Objects like soldiers or cars must contain special selections on which insignia and clan logo can be displayed. Consider following these rules to make sure your addon is consistent with the official ones:

  1. To all playable vehicles (types listed in table below) of all factions, add following selections:
    • insignia - designers fills it with story-related unit insignia. Must be square.
    • clan - engine fills it with clan logo. Must be square.
    • clan_sign - engine fills it with clan name. Dimensions not specified, but should be short and wide.
  2. Map transparent texture #(argb,8,8,3)color(0,0,0,0) to all selections.
  3. When same selection is on both sides of a vehicle, none of the should be mirrored.
  4. Civilians characters and vehicles can be less unified, but must still contain all selections as military type (e.g. instead of shoulders, civilian character can have both selections on front and back side of his t-shirt).


Vehicle insignia clan clan_text Preview Image
Character Left shoulder Right shoulder N/A A3 insignia infantry.jpg
Car Both sides Front and back Optional above or below clan, if there's space A3 insignia car.jpg
Armored Vehicle Both sides above wheels / tracks Both sides of the turret.

Front and back if turret is too small or missing completely.

Optional above or below clan, if there's space A3 insignia armor.jpg
Helicopter Left side near a cabin

Both sides when clan is on front

Right side near a cabin

Front on large helicopters. insignia is then on both sides near cabin

On tail A3 insignia heli.jpg
Plane Both sides near a cabin Both (outer) sides of vertical stabilizer(s) Above or below clan A3 insignia plane.jpg
Ship Both sides, anywhere where's space Both sides, anywhere where's space Optional above or below clan, if there's space N/A