0 Members and 2 Guests are viewing this topic.
; ***********************************************************************; **** Custom crate script for Operation Flashpoint; **** Generated by Chris's OFP Script Editor; **** Crate Builder Wizard 2.0; ****; **** ORIGINAL FILE NAME: CUSTOM_CRATE.sqs; **** INSTRUCTIONS: Run script from the INITIALIZATION box of the crate; **** RUN CODE: [this] Exec "CUSTOM_CRATE.sqs"; ***********************************************************************; Get the crate parameter given_crate = _this Select 0; Remove the stock items from the crateClearMagazineCargo _crateClearWeaponCargo _crate; Add the items to the crate_crate AddWeaponCargo ["AT4Launcher", 50]_crate AddMagazineCargo ["AT4Launcher", 250]_crate AddWeaponCargo ["CarlGustavLauncher", 50]_crate AddMagazineCargo ["CarlGustavLauncher", 250]_crate AddWeaponCargo ["HuntingRifle", 50]_crate AddMagazineCargo ["HuntingRifleMag", 250]_crate AddWeaponCargo ["LAWLauncher", 50]_crate AddMagazineCargo ["LAWLauncher", 250]_crate AddWeaponCargo ["M21", 50]_crate AddMagazineCargo ["M21", 250]_crate AddWeaponCargo ["M60", 50]_crate AddMagazineCargo ["M60", 250]_crate AddWeaponCargo ["PK", 50]_crate AddMagazineCargo ["PK", 250]_crate AddWeaponCargo ["RPGLauncher", 50]_crate AddMagazineCargo ["RPGLauncher", 250]_crate AddWeaponCargo ["SVDDragunov", 50]_crate AddMagazineCargo ["SVDDragunov", 250]Exit
Yes, save the sqm in the mission folder.