Unit Insignia – Arma 3
Jump to navigation
Jump to search
m (Updated table design) |
Lou Montana (talk | contribs) m (Minor fixes) |
||
Line 1: | Line 1: | ||
[[File:a3 insignia.png|thumb|AAF soldier with ''TFAegis'' insignia]] | [[File:a3 insignia.png|thumb|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 [http://en.wikipedia.org/wiki/Shoulder_sleeve_insignia shoulder sleeve 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 [http://en.wikipedia.org/wiki/Shoulder_sleeve_insignia shoulder sleeve insignia]. | ||
== Usage == | == Usage == | ||
See [[BIS_fnc_setUnitInsignia]]. | See [[BIS_fnc_setUnitInsignia]]. | ||
== Official Insignias == | == Official Insignias == | ||
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 sortable" | {| class="wikitable sortable" | ||
! | ! Image | ||
! Code | ! Code | ||
! Note | ! Note | ||
|- | |- | ||
| [[File:111thID ca.png|50px]] | | [[File:111thID ca.png|50px]] | ||
| <code>[this,"111thID"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "111thID"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| 111th Infantry Division | | 111th Infantry Division | ||
|- | |- | ||
| [[File:TFAegis ca.png|50px]] | | [[File:TFAegis ca.png|50px]] | ||
| <code>[this,"TFAegis"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "TFAegis"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Task Force Aegis | | Task Force Aegis | ||
|- | |- | ||
| [[File:gryffinRegiment ca.png|50px]] | | [[File:gryffinRegiment ca.png|50px]] | ||
| <code>[this,"GryffinRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "GryffinRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Griffin Regiment | | Griffin Regiment | ||
|- | |- | ||
| [[File:curator ca.png|50px]] | | [[File:curator ca.png|50px]] | ||
| <code>[this,"Curator"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "Curator"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Zeus | | Zeus | ||
|- | |- | ||
| [[File:bi ca.png|50px]] | | [[File:bi ca.png|50px]] | ||
| <code>[this,"BI"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "BI"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Bohemia Interactive | | Bohemia Interactive | ||
|- | |- | ||
| [[File:manw ca.png|50px]] | | [[File:manw ca.png|50px]] | ||
| <code>[this,"MANW"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "MANW"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Make Arma Not War | | Make Arma Not War | ||
|- | |- | ||
| [[File:CTRG15_ca.png|50px]] | | [[File:CTRG15_ca.png|50px]] | ||
| <code>[this,"CTRG15"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "CTRG15"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| CTRG 15 - NATO | | CTRG 15 - NATO | ||
|- | |- | ||
| [[File:CTRG14 ca.png|50px]] | | [[File:CTRG14 ca.png|50px]] | ||
| <code>[this,"CTRG14"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "CTRG14"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| CTRG 14 - NATO | | CTRG 14 - NATO | ||
|- | |- | ||
| [[File:CTRG ca.png|50px]] | | [[File:CTRG ca.png|50px]] | ||
| <code>[this,"CTRG"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "CTRG"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| CTRG | | CTRG | ||
|- | |- | ||
| [[File:Jets_ID ca.png|50px]] | | [[File:Jets_ID ca.png|50px]] | ||
| <code>[this,"Jets_ID"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "Jets_ID"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Carrier Strike Group 14 | | Carrier Strike Group 14 | ||
|- | |- | ||
| [[File:CombatPatrol ca.png|50px]] | | [[File:CombatPatrol ca.png|50px]] | ||
| <code>[this,"CombatPatrol"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "CombatPatrol"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Combat Patrol | | Combat Patrol | ||
|- | |- | ||
| [[File:IDAP ca.png|50px]] | | [[File:IDAP ca.png|50px]] | ||
| <code>[this,"IDAP"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "IDAP"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| IDAP | | IDAP | ||
|- | |- | ||
| [[File:AAF_3rdRegiment ca.png|50px]] | | [[File:AAF_3rdRegiment ca.png|50px]] | ||
| <code>[this,"AAF_3rdRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "AAF_3rdRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| AAF 3rd Support Regiment | | AAF 3rd Support Regiment | ||
|- | |- | ||
| [[File:CSAT_ScimitarRegiment ca.png|50px]] | | [[File:CSAT_ScimitarRegiment ca.png|50px]] | ||
| <code>[this,"CSAT_ScimitarRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "CSAT_ScimitarRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Scimitar Regiment | | Scimitar Regiment | ||
|- | |- | ||
| [[File:AAF_1stRegiment ca.png|50px]] | | [[File:AAF_1stRegiment ca.png|50px]] | ||
| <code>[this,"AAF_1stRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "AAF_1stRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| 1st Regiment | | 1st Regiment | ||
|- | |- | ||
| [[File:EAF_5thRegiment ca.png|50px]] | | [[File:EAF_5thRegiment ca.png|50px]] | ||
| <code>[this,"EAF_5thRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "EAF_5thRegiment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| 5th Regiment | | 5th Regiment | ||
|- | |- | ||
| [[File:EnochJointTraining ca.png|50px]] | | [[File:EnochJointTraining ca.png|50px]] | ||
| <code>[this,"EnochJointTraining"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "EnochJointTraining"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Exercise Electron | | Exercise Electron | ||
|- | |- | ||
| [[File:Spetsnaz ca.png|50px]] | | [[File:Spetsnaz ca.png|50px]] | ||
| <code>[this,"Spetsnaz223rdDetachment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "Spetsnaz223rdDetachment"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Spetsnaz 223rd Special Purpose Detachment | | Spetsnaz 223rd Special Purpose Detachment | ||
|- | |- | ||
| [[File:Astra ca.png|50px]] | | [[File:Astra ca.png|50px]] | ||
| <code>[this,"Astra"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | | <code>[<nowiki/>[[this]], "Astra"] [[call]] [[BIS_fnc_setUnitInsignia]];</code> | ||
| Astra | | Astra | ||
|} | |} | ||
== Configuration == | == Configuration == | ||
=== Insignia === | === Insignia === | ||
You can add a new insignia in [[Config.cpp]] and [[Description.ext]]. | You can add a new insignia in [[Config.cpp]] and [[Description.ext]]. | ||
<syntaxhighlight lang="cpp">class CfgUnitInsignia | <syntaxhighlight lang="cpp"> | ||
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 | |||
textureVehicle = ""; // Does nothing, reserved for future use | |||
};</syntaxhighlight> | }; | ||
}; | |||
</syntaxhighlight> | |||
Insignia texture should ideally be 128x128px [[PAA]] file. | {{Informative | Insignia texture should ideally be 128x128px [[PAA File Format||PAA]] file.}} | ||
=== Objects === | === 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: | 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: | # To all playable vehicles (types listed in table below) of all factions, add following selections: | ||
Line 118: | Line 127: | ||
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''. | 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''. | ||
<syntaxhighlight lang="cpp">class CfgVehicles | <syntaxhighlight lang="cpp"> | ||
class CfgVehicles | |||
{ | |||
class myVehicle | |||
{ | |||
hiddenSelections[] = { "someSelection", "anotherSelection", "insignia" }; // insignia selection has to be present | |||
};</syntaxhighlight> | }; | ||
}; | |||
</syntaxhighlight> | |||
{|class="wikitable" | {|class="wikitable" style="text-align: center; width: 100%" cellpadding="0.25em" | ||
! style=width:0 | ! style="width: 0" | Vehicle | ||
! | ! Insignia | ||
! | ! Clan | ||
! | ! Clan Text | ||
! style=width:0;" | Preview Image | ! style=width:0;" | Preview Image | ||
|- | |- | ||
| | '''Character''' | | | '''Character''' | ||
| '''Left''' shoulder | |||
| '''Right''' shoulder | |||
| | | {{n/a}} | ||
| [[Image:A3 insignia infantry.jpg|200px]] | |||
|- | |- | ||
| '''Car''' | |||
| '''Both''' sides | |||
| '''Front''' and '''back''' | |||
| Optional above or below ''clan'', if there is space | |||
| [[Image:A3 insignia car.jpg|200px]] | |||
|- | |- | ||
| '''Armored Vehicle''' | |||
| '''Both''' sides above wheels / tracks | |||
| '''Both''' sides of the turret. | |||
Front and back if turret is too small or missing completely. | Front and back if turret is too small or missing completely. | ||
| Optional above or below ''clan'', if there is space | |||
| [[Image:A3 insignia armor.jpg|200px]] | |||
|- | |- | ||
| '''Helicopter''' | |||
| '''Left''' side near a cabin | |||
'''Both''' sides when ''clan'' is on front | '''Both''' sides when ''clan'' is on front | ||
| '''Right''' side near a cabin | |||
Front on large helicopters. ''insignia'' is then on both sides near cabin | Front on large helicopters. ''insignia'' is then on both sides near cabin | ||
| On tail | |||
| [[Image:A3 insignia heli.jpg|200px]] | |||
|- | |- | ||
| '''Plane''' | |||
| '''Both''' sides near a cabin | |||
| '''Both''' (outer) sides of vertical stabilizer(s) | |||
| Above or below ''clan'' | |||
| [[Image:A3 insignia plane.jpg|200px]] | |||
|- | |- | ||
| '''Ship''' | |||
| '''Both''' sides, anywhere where there is space | |||
| '''Both''' sides, anywhere where there is space | |||
| Optional above or below ''clan'', if there is space | |||
| | | {{n/a}} | ||
|} | |} | ||
[[Category:Arma 3: Editing|Unit Insignia]] | [[Category:Arma 3: Editing|Unit Insignia]] |
Revision as of 12:11, 23 March 2020
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
Official Insignias
The game contains several predefined insignias. You can preview them in-game in Arsenal.
Image | Code | Note |
---|---|---|
[this, "111thID"] call BIS_fnc_setUnitInsignia;
|
111th Infantry Division | |
[this, "TFAegis"] call BIS_fnc_setUnitInsignia;
|
Task Force Aegis | |
[this, "GryffinRegiment"] call BIS_fnc_setUnitInsignia;
|
Griffin Regiment | |
[this, "Curator"] call BIS_fnc_setUnitInsignia;
|
Zeus | |
[this, "BI"] call BIS_fnc_setUnitInsignia;
|
Bohemia Interactive | |
[this, "MANW"] call BIS_fnc_setUnitInsignia;
|
Make Arma Not War | |
[this, "CTRG15"] call BIS_fnc_setUnitInsignia;
|
CTRG 15 - NATO | |
[this, "CTRG14"] call BIS_fnc_setUnitInsignia;
|
CTRG 14 - NATO | |
[this, "CTRG"] call BIS_fnc_setUnitInsignia;
|
CTRG | |
[this, "Jets_ID"] call BIS_fnc_setUnitInsignia;
|
Carrier Strike Group 14 | |
[this, "CombatPatrol"] call BIS_fnc_setUnitInsignia;
|
Combat Patrol | |
[this, "IDAP"] call BIS_fnc_setUnitInsignia;
|
IDAP | |
[this, "AAF_3rdRegiment"] call BIS_fnc_setUnitInsignia;
|
AAF 3rd Support Regiment | |
[this, "CSAT_ScimitarRegiment"] call BIS_fnc_setUnitInsignia;
|
Scimitar Regiment | |
[this, "AAF_1stRegiment"] call BIS_fnc_setUnitInsignia;
|
1st Regiment | |
[this, "EAF_5thRegiment"] call BIS_fnc_setUnitInsignia;
|
5th Regiment | |
[this, "EnochJointTraining"] call BIS_fnc_setUnitInsignia;
|
Exercise Electron | |
[this, "Spetsnaz223rdDetachment"] call BIS_fnc_setUnitInsignia;
|
Spetsnaz 223rd Special Purpose Detachment | |
[this, "Astra"] call BIS_fnc_setUnitInsignia;
|
Astra |
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
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 the 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
};
};