Leaflets – Arma 3
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2") |
Lou Montana (talk | contribs) m (Fix example) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
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. | ||
To add leaflets to an Utility Drone, use pylons settings in [[:Category:Eden Editor]]: | To add leaflets to an Utility Drone, use pylons settings in [[:Category:Eden Editor|Eden Editor]]: | ||
[[File:a3 orange leaflets pylons.jpg|240px]] | [[File:a3 orange leaflets pylons.jpg|240px]] | ||
Line 22: | Line 22: | ||
=== Custom Leaflets === | === Custom Leaflets === | ||
Leaflet visuals are tied to specific magazine type. They are defined in global [[Config.cpp]], but can be | Leaflet visuals are tied to specific magazine type. They are defined in global [[Config.cpp]], but can be overridden in [[Description.ext]]: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
class CfgLeaflets | class CfgLeaflets | ||
Line 28: | Line 28: | ||
class West // configuration for 1Rnd_Leaflets_West_F | class West // configuration for 1Rnd_Leaflets_West_F | ||
{ | { | ||
text = "Text of the leaflet"; // text shown when previewing the leaflet full-screen. | text = "Text of the leaflet"; // text shown when previewing the leaflet full-screen. Should ideally be localised, 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 | 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 | model = "myLeaflet.p3d"; // in-flight model. Optional; When undefined, generic white leaflet is used | ||
} | }; | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 38: | Line 38: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Magazine class | ! Magazine class | ||
! CfgLeaflets class | ! CfgLeaflets class |
Latest revision as of 17:15, 14 March 2024
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:
Several leaflet types exist apart from West, see the table below.
To let AI drop the leaflets, simply fire the weapon:
Custom Leaflets
Leaflet visuals are tied to specific magazine type. They are defined in global Config.cpp, but can be overridden 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. Should ideally be localised, 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.