diff --git a/custom_leaflets.hpp b/custom_leaflets.hpp new file mode 100644 index 0000000..8caadd4 --- /dev/null +++ b/custom_leaflets.hpp @@ -0,0 +1,39 @@ +// This contains custom definitions for leaflets. It is not required to set this up, but you're welcome to if you want to use them. + +// To use this, configure one or more of the below. Then use the pylon editor of a drone in EDEN to add the appropriate magazine type (like 1Rnd_Leaflets_Custom_01_F) to the drone. Then, when the drone is flying, do `drone1 fire "1Rnd_Leaflets_Custom_01_F";` to drop the leaflets. The leaflet will then be shown in the world, and can be picked up by players to read the text and see the image. + +class Custom_01 // configuration for 1Rnd_Leaflets_Custom_01_F +{ + text = "Leaflet text"; // 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 = "images\leaflets\leaflet_custom_01.paa"; // leaflet texture shown when previewing the leaflet full-screen +}; + +class Custom_02 // configuration for 1Rnd_Leaflets_Custom_02_F +{ + text = "Leaflet text"; // 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 = "images\leaflets\leaflet_custom_02.paa"; // leaflet texture shown when previewing the leaflet full-screen +}; + +class Custom_03 // configuration for 1Rnd_Leaflets_Custom_03_F +{ + text = "Leaflet text"; // 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 = "images\leaflets\leaflet_custom_03.paa"; // leaflet texture shown when previewing the leaflet full-screen +}; + +class Custom_04 // configuration for 1Rnd_Leaflets_Custom_04_F +{ + text = "Leaflet text"; // 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 = "images\leaflets\leaflet_custom_04.paa"; // leaflet texture shown when previewing the leaflet full-screen +}; + +class Custom_05 // configuration for 1Rnd_Leaflets_Custom_05_F +{ + text = "Leaflet text"; // 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 = "images\leaflets\leaflet_custom_05.paa"; // leaflet texture shown when previewing the leaflet full-screen +}; + +class Custom_06 // configuration for 1Rnd_Leaflets_Custom_06_F +{ + text = "Leaflet text"; // 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 = "images\leaflets\leaflet_custom_06.paa"; // leaflet texture shown when previewing the leaflet full-screen +}; \ No newline at end of file diff --git a/description.ext b/description.ext index ecf0796..1efe1da 100644 --- a/description.ext +++ b/description.ext @@ -89,18 +89,16 @@ minPlayerDistance = 500; //-------------------------------------------BASE SETTINGS---------------------------------------------------------------// -class Params -{ -}; +class Params {}; - -// CfgFunctions class CfgFunctions { #include "framework\CfgFunctions.hpp" #include "custom_scripts.hpp" }; - +class CfgLeaflets { + #include "custom_leaflets.hpp" +}; class CfgDebriefingSections { class acex_killTracker { diff --git a/images/leaflets/.gitkeep b/images/leaflets/.gitkeep new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/images/leaflets/.gitkeep @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/images/leaflets/leaflet_template.jpg b/images/leaflets/leaflet_template.jpg new file mode 100644 index 0000000..23d90e5 Binary files /dev/null and b/images/leaflets/leaflet_template.jpg differ diff --git a/mission_settings.hpp b/mission_settings.hpp index fcc6810..a73b678 100644 --- a/mission_settings.hpp +++ b/mission_settings.hpp @@ -1,4 +1,4 @@ -author = "MISSION AUTHOR"; +author = "MISSION AUTHOR"; onLoadName = "THIS APPEARS ON TOP OF THE LOADING SCREEN IMAGE"; loadScreen = "mission.jpg"; onLoadMission = "THIS APPEARS BELOW THE LOADING SCREEN IMAGE"; @@ -9,6 +9,13 @@ overviewText = "THIS IS WHERE YOU DESCRIBE THE MISSION IN THE #MISSION LIST"; // The name for the series of missions of your campaign. Used for organizational and search purposes missionSeries = "MY SERIES NAME"; +// What kind of mission is this? (Use only one) +missionGroup = "Saturday Op"; +// missionGroup = "Friday Op"; +// missionGroup = "Wednesday Op"; +// missionGroup = "FTX"; +// missionGroup = "Training"; + // Add waypoints to players' MicroDAGR devices // respawn locations (bases) are added by default, don't put them here