Unit Insignia – Arma 3
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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 == | |||
To add insignia to an unit, execute the following function: | |||
<nowiki>[</nowiki>[[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]]. | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 6: | Line 19: | ||
|- | |- | ||
| [[File:111thID ca.png|50px]] | | [[File:111thID ca.png|50px]] | ||
| <code>111thID</code> | | <code>[this,"111thID"] call BIS_fnc_setUnitInsignia;</code> | ||
|- | |- | ||
| [[File:bi ca.png|50px]] | | [[File:bi ca.png|50px]] | ||
| <code>bi</code> | | <code>[this,"bi"] call BIS_fnc_setUnitInsignia;</code> | ||
|- | |- | ||
| [[File:curator ca.png|50px]] | | [[File:curator ca.png|50px]] | ||
| <code>curator</code> | | <code>[this,"curator"] call BIS_fnc_setUnitInsignia;</code> | ||
|- | |- | ||
| [[File:gryffinRegiment ca.png|50px]] | | [[File:gryffinRegiment ca.png|50px]] | ||
| <code>gryffinRegiment</code> | | <code>[this,"gryffinRegiment"] call BIS_fnc_setUnitInsignia;</code> | ||
|- | |- | ||
| [[File:manw ca.png|50px]] | | [[File:manw ca.png|50px]] | ||
| <code>manw</code> | | <code>[this,"manw"] call BIS_fnc_setUnitInsignia;</code> | ||
|- | |- | ||
| [[File:TFAegis ca.png|50px]] | | [[File:TFAegis ca.png|50px]] | ||
| <code>TFAegis</code> | | <code>[this,"TFAegis"] call BIS_fnc_setUnitInsignia;</code> | ||
|} | |} | ||
== Configuration == | |||
=== Insignia === | |||
You can add a new insignia in [[config.cpp]] or [[description.ext]] | |||
class CfgUnitInsignia | |||
{ | |||
class 111thID | |||
{ | |||
displayName = "111th Infantry Division"; {{codecomment|// Name displayed in [[Arsenal]]}} | |||
author = "Bohemia Interactive"; {{codecomment|// Author displayed in Arsenal}} | |||
texture = "\a3\UI_F_Bootcamp\Data\CfgUnitInsignia\B_111thID_texture_ca.paa"; {{codecomment|// Image path}} | |||
textureVehicle = ""; {{codecomment|// Does nothing currently, reserved for future use}} | |||
}; | |||
}; | |||
=== Objects === | |||
Objects like soldiers or cars must contain special selections on which insignia nd 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 <code>#(argb,8,8,3)color(0,0,0,0)</code> 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). | |||
{| border="1" width="100%" style="border-collapse:collapse" cellpadding="3px" | |||
! style="background-color:khaki; width:0;" | Vehicle | |||
! style="background-color:khaki;" | insignia | |||
! style="background-color:khaki;" | clan | |||
! style="background-color:khaki;" | clan_text | |||
! style="background-color:khaki; width:0;" | Preview Image | |||
|- | |||
| style="background-color:khaki;" | '''Character''' | |||
| style="text-align:center;" | '''Left''' shoulder | |||
| style="text-align:center;" | '''Right''' shoulder | |||
| style="text-align:center;" | N/A | |||
| style="text-align:center;" | [[Image:A3 insignia infantry.jpg|200px]] | |||
|- | |||
| style="background-color:khaki;" | '''Car''' | |||
| style="text-align:center;" | '''Both''' sides | |||
| style="text-align:center;" | '''Front''' and '''back''' | |||
| style="text-align:center;" | Optional above or below ''clan'', if there's space | |||
| style="text-align:center;" | [[Image:A3 insignia car.jpg|200px]] | |||
|- | |||
| style="background-color:khaki;" | '''Armored Vehicle''' | |||
| style="text-align:center;" | '''Both''' sides above wheels / tracks | |||
| style="text-align:center;" | '''Both''' sides of the turret. | |||
Front and back if turret is too small or missing completely. | |||
| style="text-align:center;" | Optional above or below ''clan'', if there's space | |||
| style="text-align:center;" | [[Image:A3 insignia armor.jpg|200px]] | |||
|- | |||
| style="background-color:khaki;" | '''Helicopter''' | |||
| style="text-align:center;" | '''Left''' side near a cabin | |||
'''Both''' sides when ''clan'' is on front | |||
| style="text-align:center;" | '''Right''' side near a cabin | |||
Front on large helicopters. ''insignia'' is then on both sides near cabin | |||
| style="text-align:center;" | On tail | |||
| style="text-align:center;" | [[Image:A3 insignia heli.jpg|200px]] | |||
|- | |||
| style="background-color:khaki;" | '''Plane''' | |||
| style="text-align:center;" | '''Both''' sides near a cabin | |||
| style="text-align:center;" | '''Both''' (outer) sides of vertical stabilizer(s) | |||
| style="text-align:center;" | Above or below ''clan'' | |||
| style="text-align:center;" | [[Image:A3 insignia plane.jpg|200px]] | |||
|- | |||
| style="background-color:khaki;" | '''Ship''' | |||
| style="text-align:center;" | '''Both''' sides, anywhere where's space | |||
| style="text-align:center;" | '''Both''' sides, anywhere where's space | |||
| style="text-align:center;" | Optional above or below ''clan'', if there's space | |||
| style="text-align:center;" | N/A | |||
|} | |||
[[Category:Arma 3: Editing|{{uc:{{PAGENAME}}}}]] | [[Category:Arma 3: Editing|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:52, 2 July 2014
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.
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 nd 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).