PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


arma2:missions:texture_on_mission

ArmA 2 How To Display Texture During Mission

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

Create a file called description.ext in your mission folder. Copy the following code over:

class RscTitiles 
{ 
   class TAG_bloodScreen 
   { 
      idd = -1; 
      duration = 10; //Displayed for 10 seconds 
 
      class Controls 
      { 
         class Splatter1 
         { 
            type = 0; //CT_STATIC 
            style = 0x800; //ST_KEEP_ASPECT_RATIO 
            x = "safeZoneX + 0.1"; 
            y = "safeZoneY + 0.1"; 
            w = 0.2; 
            h = 0.2; 
            text = "splatter1.paa"; //File name 
            colorText[] = {1,1,1,0.8}; //Last number is alpha 
         }; 
         class Splatter2 : Splatter1 //Inherit values from Splatter1 
         { 
            x = 0.5; 
            y = 0.5; 
            text = "splatter2.paa"; 
         }; 
      }; 
   }; 
}; 

Note that any time you edit description.ext you have to re-load the mission.

Now, to display the resource just use the following somewhere in your script:

cutRsc ["TAG_bloodScreen", "PLAIN", 0];
arma2/missions/texture_on_mission.txt · Last modified: 2024/08/01 21:32 by snakeman