0 Members and 3 Guests are viewing this topic.
// ***********************************************************************// **** Description file for Operation Flashpoint// **** Generated by Chris's OFP Script Editor// **** Create Description Wizard// ***********************************************************************Respawn = "SIDE";RespawnDelay = 5;onloadmission= "COOP by Forrest, Forrest Gump... shabut!";onloadmissiontime= false;class CfgSounds{   // List of sounds (.ogg files without the .ogg extension)   sounds[] = {sound3};   // Class definition needed for each sound   class sound3   {      // Name to display in mission editor      name = "sound3";      // Sound path, volume, pitch      sound[] = {\sound\sound3.ogg, db + 0, 1.0};      // Sound title text (set to no text)      titles[] = {0, ""};   };};class Weapons{   // Add the weapons to the mission gear   class BAS_JM4ACOG   {      Count = 15;   };   class BAS_JSR25   {      Count = 15;   };   class JAM_AT4launcher   {      Count = 15;   };   class BAS_JM24sws   {      Count = 15;   };};class Magazines{   // Add the magazines to the mission gear   class JAM_W556_30mag   {      Count = 200;   };   class JAM_W762sniper_20mag   {      Count = 200;   };   class JAM_w762_5mag   {      Count = 200;   };   class JAM_at4rocket   {      Count = 200;   };};titleParam1 = "DAYTIME";valuesParam1[] = {1,2,3,4,5};defValueParam1 = 1;textsParam1[] = {"Sunrise","Midday","Sunset","Night","24hrs"};titleParam2 = "INTRO SETTINGS";valuesParam2[] = {1,2};defValueParam2 = 1;textsParam2[] = {"Intro ON","Intro OFF"}; titleParam3 = "DIFFICULTI SETTINGS";valuesParam3[] = {1,2,3};defValueParam3 = 2;textsParam3[] = {"EASY","NORMAL","HARD"};
;;;________PARAM1 & PARAM 2 OPTIONS SYSTEM___________________________;;;________PARAM1________;;NB>>> for thjis to work correctly, the map time set in the editor should be midnight;;adjust the following skiptimestimes so that you get the sun just rising or just setting when you select those optionsdeletevehicle m1tx_Sunrise = 4.9tx_Sunset = 18.8?(param1 == 1):goto "SUNRISE" ?(param1 == 2):goto "MIDDAY" ?(param1 == 3):goto "SUNSET" ?(param1 == 4):goto "NIGHT"?(param1 == 5):goto "24Hrs"goto "GAMEOPTION"#SUNRISE skiptime tx_Sunrisegoto "GAMEOPTION"#MIDDAY skiptime 12goto "GAMEOPTION"#SUNSET skiptime tx_Sunsetgoto "GAMEOPTION"#NIGHT goto "GAMEOPTION"#24Hrs skiptime 12.0?(local server):[] exec "skiptime\ServerSkiptime.sqs"?!(local Server):[] exec "skiptime\ClientSkiptime.sqs"goto "GAMEOPTION";;;________PARAM2________#GAMEOPTION?(param2 == 1):goto "OPTION_A" ?(param2 == 2):goto "OPTION_B" #OPTION_A[] exec "title.sqs"goto "PARAM_END"#OPTION_B[] exec "skipintro.sqs"goto "PARAM_END"#PARAM_ENDgoto "ds";---------param3----------#ds?(param3 == 1):goto "OPTION_C" ?(param3 == 2):goto "OPTION_D" ?(param3 == 3):goto "OPTION_E" #OPTION_C[] exec "easy.sqs"goto "param_end2"#OPTION_D[] exec "normal.sqs"goto "param_end2"#OPTION_E[] exec "hard.sqs"goto "param_end2"#param_end2goto "start"