Leaflets – Arma 3
Jump to navigation
Jump to search
(image to thumb) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
[[File:a3_orange_leaflets_drone.gif|512px|thumb|A drone dropping leaflets]] | |||
Propaganda leaflets are a new feature introduced in [[Arma 3 Laws of War]] DLC ({{GVI|arma3|1.76}}) | Propaganda leaflets are a new feature introduced in [[Arma 3 Laws of War]] DLC ({{GVI|arma3|1.76}}) | ||
=== Mission Usage === | |||
Leaflets are a special weapon which can be fired both by a player or AI. | Leaflets are a special weapon which can be fired both by a player or AI. | ||
Line 19: | Line 19: | ||
=== Custom Leaflets === | === Custom Leaflets === | ||
Leaflet visuals are tied to specific magazine type. They are defined in global [[Config.cpp]], but can be overriden in [[Description.ext]]: | Leaflet visuals are tied to specific magazine type. They are defined in global [[Config.cpp]], but can be overriden in [[Description.ext]]: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
class CfgLeaflets | class CfgLeaflets | ||
{ | { | ||
class West // | class West // configuration for 1Rnd_Leaflets_West_F | ||
{ | { | ||
text = "Text of the leaflet"; // | text = "Text of the leaflet"; // text shown when previewing the leaflet full-screen. Ideally should be localized, so even player who cannot read the image can get the information | ||
texture = "myLeaflet_ca.paa"; // | texture = "myLeaflet_ca.paa"; // leaflet texture shown when previewing the leaflet full-screen | ||
model = "myLeaflet.p3d"; // | model = "myLeaflet.p3d"; // in-flight model. Optional; When undefined, generic white leaflet is used | ||
} | } | ||
}; | }; | ||
Line 33: | Line 34: | ||
=== Leaflet Classes === | === Leaflet Classes === | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 97: | Line 99: | ||
=== Leaflet Preview === | === Leaflet Preview === | ||
Once a leaflet falls on the ground, it can be inspected using hold action. It will bring up a full-screen leaflet preview with the ability to show localized text of the leaflet. | Once a leaflet falls on the ground, it can be inspected using hold action. It will bring up a full-screen leaflet preview with the ability to show localized text of the leaflet. | ||
<gallery> | <gallery> | ||
Line 104: | Line 107: | ||
=== Scripting Functions === | === Scripting Functions === | ||
*[[BIS_fnc_initLeaflet]] | *[[BIS_fnc_initLeaflet]] | ||
*[[BIS_fnc_initInspectable]] | *[[BIS_fnc_initInspectable]] | ||
{{GameCategory|arma3|Editing}} | {{GameCategory|arma3|Editing}} |
Revision as of 11:09, 29 June 2022
Propaganda leaflets are a new feature introduced in Arma 3 Laws of War DLC (1.76)
Mission Usage
Leaflets are a special weapon which can be fired both by a player or AI.
To add leaflets to an Utility Drone, use pylons settings in Eden Editor:
Alternatively, you can add them by script:
myDrone addMagazine "1Rnd_Leaflets_West_F"; myDrone addWeapon "Bomb_Leaflets";
Several leaflet types exist apart from West, see the table below.
To let AI drop the leaflets, simply fire the weapon:
myDrone fire "Bomb_Leaflets";
Custom Leaflets
Leaflet visuals are tied to specific magazine type. They are defined in global Config.cpp, but can be overriden in Description.ext:
class CfgLeaflets
{
class West // configuration for 1Rnd_Leaflets_West_F
{
text = "Text of the leaflet"; // text shown when previewing the leaflet full-screen. Ideally should be localized, so even player who cannot read the image can get the information
texture = "myLeaflet_ca.paa"; // leaflet texture shown when previewing the leaflet full-screen
model = "myLeaflet.p3d"; // in-flight model. Optional; When undefined, generic white leaflet is used
}
};
Leaflet Classes
Leaflet Preview
Once a leaflet falls on the ground, it can be inspected using hold action. It will bring up a full-screen leaflet preview with the ability to show localized text of the leaflet.