Unit Insignia – Arma 3
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{|class" to "{| class") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 12: | Line 12: | ||
The game contains several predefined insignias. You can preview them in-game in [[Arsenal]]. | The game contains several predefined insignias. You can preview them in-game in [[Arsenal]]. | ||
{| class="wikitable | {| class="wikitable align-center" | ||
! Image | ! Image | ||
! Code | ! Code | ||
Line 19: | Line 19: | ||
|- | |- | ||
| [[File:111thID ca.png|75px]] | | [[File:111thID ca.png|75px]] | ||
| < | | <sqf>[this, "111thID"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| 111th Infantry Division | | 111th Infantry Division | ||
| {{Icon|arma3}} | | {{Icon|arma3}} | ||
|- | |- | ||
| [[File:TFAegis ca.png|75px]] | | [[File:TFAegis ca.png|75px]] | ||
| < | | <sqf>[this, "TFAegis"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Task Force Aegis | | Task Force Aegis | ||
| {{Icon|arma3}} | | {{Icon|arma3}} | ||
|- | |- | ||
| [[File:gryffinRegiment ca.png|75px]] | | [[File:gryffinRegiment ca.png|75px]] | ||
| < | | <sqf>[this, "GryffinRegiment"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Griffin Regiment | | Griffin Regiment | ||
| {{Icon|arma3}} | | {{Icon|arma3}} | ||
|- | |- | ||
| [[File:curator ca.png|75px]] | | [[File:curator ca.png|75px]] | ||
| < | | <sqf>[this, "Curator"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Zeus | | Zeus | ||
| {{Icon|arma3}} | | {{Icon|arma3}} | ||
|- | |- | ||
| [[File:bi ca.png|75px]] | | [[File:bi ca.png|75px]] | ||
| < | | <sqf>[this, "BI"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| | | {{Name|bi}} | ||
| {{Icon|arma3}} | | {{Icon|arma3}} | ||
|- | |- | ||
| [[File:manw ca.png|75px]] | | [[File:manw ca.png|75px]] | ||
| < | | <sqf>[this, "MANW"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Make Arma Not War | | Make Arma Not War | ||
| {{Icon|arma3}} | | {{Icon|arma3}} | ||
|- | |- | ||
| [[File:CTRG15 ca.png|75px]] | | [[File:CTRG15 ca.png|75px]] | ||
| < | | <sqf>[this, "CTRG15"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| CTRG 15 - NATO | | CTRG 15 - NATO | ||
| {{Icon|expansion}} | | {{Icon|expansion}} | ||
|- | |- | ||
| [[File:CTRG14 ca.png|75px]] | | [[File:CTRG14 ca.png|75px]] | ||
| < | | <sqf>[this, "CTRG14"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| CTRG 14 - NATO | | CTRG 14 - NATO | ||
| {{Icon|expansion}} | | {{Icon|expansion}} | ||
|- | |- | ||
| [[File:CTRG ca.png|75px]] | | [[File:CTRG ca.png|75px]] | ||
| < | | <sqf>[this, "CTRG"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| CTRG | | CTRG | ||
| {{Icon|expansion}} | | {{Icon|expansion}} | ||
|- | |- | ||
| [[File:Jets_ID ca.png|75px]] | | [[File:Jets_ID ca.png|75px]] | ||
| < | | <sqf>[this, "Jets_ID"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Carrier Strike Group 14 | | Carrier Strike Group 14 | ||
| {{Icon|jets}} | | {{Icon|jets}} | ||
|- | |- | ||
| [[File:CombatPatrol ca.png|75px]] | | [[File:CombatPatrol ca.png|75px]] | ||
| < | | <sqf>[this, "CombatPatrol"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Combat Patrol | | Combat Patrol | ||
| {{Icon|argo}} | | {{Icon|argo}} | ||
|- | |- | ||
| [[File:IDAP ca.png|75px]] | | [[File:IDAP ca.png|75px]] | ||
| < | | <sqf>[this, "IDAP"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| IDAP | | IDAP | ||
| {{Icon|orange}} | | {{Icon|orange}} | ||
|- | |- | ||
| [[File:AAF_3rdRegiment ca.png|75px]] | | [[File:AAF_3rdRegiment ca.png|75px]] | ||
| < | | <sqf>[this, "AAF_3rdRegiment"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| AAF 3rd Support Regiment | | AAF 3rd Support Regiment | ||
| {{Icon|orange}} | | {{Icon|orange}} | ||
|- | |- | ||
| [[File:CSAT_ScimitarRegiment ca.png|75px]] | | [[File:CSAT_ScimitarRegiment ca.png|75px]] | ||
| < | | <sqf>[this, "CSAT_ScimitarRegiment"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Scimitar Regiment | | Scimitar Regiment | ||
| {{Icon|tacops}} | | {{Icon|tacops}} | ||
|- | |- | ||
| [[File:AAF_1stRegiment ca.png|75px]] | | [[File:AAF_1stRegiment ca.png|75px]] | ||
| < | | <sqf>[this, "AAF_1stRegiment"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| 1st Regiment | | 1st Regiment | ||
| {{Icon|tank}} | | {{Icon|tank}} | ||
|- | |- | ||
| [[File:EAF_5thRegiment ca.png|75px]] | | [[File:EAF_5thRegiment ca.png|75px]] | ||
| < | | <sqf>[this, "EAF_5thRegiment"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| 5th Regiment | | 5th Regiment | ||
| {{Icon|enoch}} | | {{Icon|enoch}} | ||
|- | |- | ||
| [[File:EnochJointTraining ca.png|75px]] | | [[File:EnochJointTraining ca.png|75px]] | ||
| < | | <sqf>[this, "EnochJointTraining"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Exercise Electron | | Exercise Electron | ||
| {{Icon|enoch}} | | {{Icon|enoch}} | ||
|- | |- | ||
| [[File:Spetsnaz ca.png|75px]] | | [[File:Spetsnaz ca.png|75px]] | ||
| < | | <sqf>[this, "Spetsnaz223rdDetachment"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Spetsnaz 223rd Special Purpose Detachment | | Spetsnaz 223rd Special Purpose Detachment | ||
| {{Icon|enoch}} | | {{Icon|enoch}} | ||
|- | |- | ||
| [[File:Astra ca.png|75px]] | | [[File:Astra ca.png|75px]] | ||
| < | | <sqf>[this, "Astra"] call BIS_fnc_setUnitInsignia;</sqf> | ||
| Astra | | Astra | ||
| {{Icon|enoch}} | | {{Icon|enoch}} | ||
|} | |} | ||
== Configuration == | == Configuration == | ||
Line 132: | Line 134: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{Feature | | {{Feature|informative|Insignia texture should ideally be 128x128px [[PAA File Format|PAA]] file.}} | ||
=== Objects === | === Objects === | ||
Line 141: | Line 143: | ||
#* ''clan'' - engine fills it with clan logo. '''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'''. | #* ''clan_sign'' - engine fills it with clan name. Dimensions not specified, but should be '''short and wide'''. | ||
# Map transparent texture < | # Map transparent texture <sqf inline>"#(argb,8,8,3)color(0,0,0,0)"</sqf> to all selections. | ||
# When same selection is on both sides of a vehicle, none of | # When same selection is on both sides of a vehicle, none of them should be mirrored. | ||
# 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). | # 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). | ||
Line 149: | Line 151: | ||
class CfgVehicles | class CfgVehicles | ||
{ | { | ||
class | class MyVehicle | ||
{ | { | ||
hiddenSelections[] = { "someSelection", "anotherSelection", "insignia" }; // insignia selection has to be present | hiddenSelections[] = { "someSelection", "anotherSelection", "insignia" }; // insignia selection has to be present | ||
Line 162: | Line 164: | ||
! Clan | ! Clan | ||
! Clan Text | ! Clan Text | ||
! style=width:0 | ! style="width: 0" | Preview Image | ||
|- | |- | ||
| '''Character''' | |||
| '''Left''' shoulder | | '''Left''' shoulder | ||
| '''Right''' shoulder | | '''Right''' shoulder | ||
Line 204: | Line 206: | ||
|- | |- | ||
| '''Ship''' | | <br>'''Ship'''<br><br> | ||
| '''Both''' sides, anywhere where there is space | | '''Both''' sides, anywhere where there is space | ||
| '''Both''' sides, anywhere where there is space | | '''Both''' sides, anywhere where there is space | ||
Line 210: | Line 212: | ||
| {{n/a}} | | {{n/a}} | ||
|} | |} | ||
{{GameCategory|arma3|Editing}} | {{GameCategory|arma3|Editing}} |
Revision as of 17:34, 9 December 2022
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 is based on real life shoulder sleeve insignia.
Usage
Official Insignias
The game contains several predefined insignias. You can preview them in-game in Arsenal.
Configuration
Insignia
You can add a new insignia in Config.cpp and 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\data\GUI\Cfg\UnitInsignia\111thID_ca.paa"; // Image path
material = "\A3\Ui_f\data\GUI\Cfg\UnitInsignia\default_insignia.rvmat"; // .rvmat path
textureVehicle = ""; // Does nothing, 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:
- 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.
- Map transparent texture "#(argb,8,8,3)color(0,0,0,0)" to all selections.
- When same selection is on both sides of a vehicle, none of them should be mirrored.
- 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).
Once the model is ready, list the selection in object's config. The order of selections is not important, BIS_fnc_setUnitInsignia is looking specifically for insignia.
class CfgVehicles
{
class MyVehicle
{
hiddenSelections[] = { "someSelection", "anotherSelection", "insignia" }; // insignia selection has to be present
};
};