Advertisement
dapperstache

Description.ext add ins (for fn_initEnvironment)

Oct 27th, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 3.68 KB | None | 0 0
  1. //Add the following to your description.ext
  2.  
  3. // === FUNCTIONS
  4.  
  5. class CfgFunctions {
  6.     #include "DAP\functions\functions.fncs"
  7. };
  8.  
  9. // === PARAMETERS
  10.  
  11.  
  12. class Params
  13. {
  14.  
  15.     class OBR_Title01
  16.     {
  17.         title = "<================================================================MISSION PARAMETERS================================================================>";
  18.         values[] = {0};
  19.         texts[] = {""};
  20.         default = 0;
  21.     };
  22.    
  23.     class OBR_safeZoneside
  24.     {
  25.         title = "Select Safezone Owner";
  26.         values[] = {0, 1, 2, 3};
  27.         texts[] = {"East","West","Independent","Civilian"};
  28.         default = 1;
  29.     };
  30.    
  31.     class NUP_spacer01
  32.     {
  33.         title = "";
  34.         values[] = {0};
  35.         texts[] = {""};
  36.         default = 0;
  37.     };
  38.    
  39.     class NUP_Title02
  40.     {
  41.         title = "<====================================================================ENVIRONMENT====================================================================>";
  42.         values[] = {0};
  43.         texts[] = {""};
  44.         default = 0;
  45.     };
  46.    
  47.     class OBR_timeOfDay                                                                                            
  48.     {
  49.         title = "Environment: Time of Day";
  50.         values[] = {101,0,4,8,12,16,18,20,24};
  51.         texts[] = {"System Time","Random","Dawn","Mid Morning","Noon","Afternoon","Evening","Night","Midnight"};
  52.         default = 12;      
  53.     };
  54.        
  55.     class OBR_overcast
  56.     {
  57.         title = "Environment: Overcast";
  58.         values[] = {2, 0, 0.25, 0.50, 0.75, 1};
  59.         texts[] = {"Random","Clear","25% Overcast","50% Overcast","75% Overcast","100% Overcast (will cause rain)"};
  60.         default = 0;
  61.     };
  62.    
  63.     class OBR_rain
  64.     {
  65.         title = "Environment: Precipitation";
  66.         values[] = {2, 3, 0, 0.25, 0.50, 0.75, 1};
  67.         texts[] = {"Random","Snow","No Rain","25% Heavy","50% Heavy","75% Heavy","100% Heavy"};
  68.         default = 0;
  69.     };
  70.    
  71.     class OBR_fog
  72.     {
  73.         title = "Environment: Fog";
  74.         values[] = {2, 0, 0.5, 0.10, 0.15, 0.20, 0.25, 0.30, 0.35, 0.40, 0.45, 0.50, 0.55, 0.60, 0.65, 0.70, 0.75, 0.80, 0.85, 0.90, 0.95, 1};
  75.         texts[] = {"Random","No Fog","5% Foggy","10% Foggy","15% Foggy","20% Foggy","25% Foggy","30% Foggy","35% Foggy","40% Foggy","45% Foggy","50% Foggy","55% Foggy","60% Foggy","65% Foggy","70% Foggy","75% Foggy","80% Foggy","85% Foggy","90% Foggy","95% Foggy","100% Foggy"};
  76.         default = 0;
  77.     };
  78.    
  79.     class OBR_windStrength
  80.     {
  81.         title = "Environment: Wind Strength";
  82.         values[] = {2, 0, 0.25, 0.50, 0.75, 1};
  83.         texts[] = {"Random","No Wind","25% Windy","50% Windy","75% Windy","100% Windy"};
  84.         default = 0;
  85.     };
  86.    
  87.     class OBR_windForce
  88.     {
  89.         title = "Environment: Wind Change";
  90.         values[] = {2, 0, 0.25, 0.50, 0.75, 1};
  91.         texts[] = {"Random","No Variance","25% Variance","50% Variance","75% Variance","100% Variance"};
  92.         default = 0;
  93.     };
  94.    
  95.     class OBR_windGusts
  96.     {
  97.         title = "Environment: Wind Gust Intensity";
  98.         values[] = {2, 0, 0.25, 0.50, 0.75, 1};
  99.         texts[] = {"Random","No Gusts","25% Intensity","50% Intensity","75% Intensity","100% Intensity"};
  100.         default = 0;
  101.     };
  102.    
  103.     class OBR_lightning
  104.     {
  105.         title = "Environment: Lightning Intensity";
  106.         values[] = {2, 0, 0.25, 0.50, 0.75, 1};
  107.         texts[] = {"Random","No Lightning","25% Intensity","50% Intensity","75% Intensity","100% Intensity"};
  108.         default = 0;
  109.     };
  110.        
  111.     class OBR_waves
  112.     {
  113.         title = "Environment: Wave Intensity";
  114.         values[] = {2, 0, 0.25, 0.50, 0.75, 1};
  115.         texts[] = {"Random","No Waves","25% Intensity","50% Intensity","75% Intensity","100% Intensity"};
  116.         default = 0;
  117.     }; 
  118.        
  119.     class OBR_timeAcceleration
  120.     {
  121.         title = "Environment: Time Acceleration";
  122.         values[] = { 1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24 };
  123.         texts[] = { "None", "2x", "4x", "6x", "8x", "10x", "12x", "14x", "16x", "18x", "20x", "22x", "24x" };
  124.         default = 1;
  125.         function = "BIS_fnc_paramTimeAcceleration";
  126.     };
  127.    
  128.     class NUP_spacer02
  129.     {
  130.         title = "";
  131.         values[] = {0};
  132.         texts[] = {""};
  133.         default = 0;
  134.     };
  135.    
  136. };
  137.    
  138. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement