39 lines
2.6 KiB
C++
39 lines
2.6 KiB
C++
// 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
|
|
}; |