Jump to content

Search the Community

Showing results for tags 'Briefcase'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Version 1.1 (Last update: 13.11.2014) What is this? Mystery Briefcase is a simple addon script that turns an otherwise completely useless item into a prize-giving briefcase. You obtain the briefcase, right click on it, select Open and you are rewarded with 6 randomly picked items ranging from beans to chainsaws. Similar to Battlefield 4's battlepacks. Perfect for giving away during events. Demo video Check this video below for a more clear explanation: https://www.youtube.com/watch?v=3NxaCW_28xU Requirements Epoch mod 1.0.5.1 or later Maca's Right Click Option script (can be done without if you know what you're doing) Download Download available here: https://github.com/Rocu/Epoch_MysterBriefcase Installation Firstly, download & install Maca134's Right Click Option script if you haven't done it already Un-pack your mission's PBO (using PBO manager or a similar tool) Download Mystery Briefcase files from my GitHub page Copy the mbc folder into your mission's addons folder. If you don't have an addons folder in there then create it. (For example config.sqf path should now be: Your_mission_folder\addons\mbc\config.sqf) Open description.ext (from mission PBO) Find: class DayZ_loadingScreen Above it, add this: class CfgSounds { sounds[] = {Brief_Open_Sound}; class Brief_Open_Sound { name = "Brief_Open_Sound"; sound[] = {addons\mbc\brief_open.ogg,0.4,1}; titles[] = {}; }; }; Note that if you already have custom sounds in your description.ext then just add the Brief_Open_Sound class manually (using the example above) At the bottom of description.ext, add this: // Mystery Briefcase by Rocu #include "addons\mbc\dialogs.hpp" Save & close description.ext Open up your custom compiles.sqf file (if you don't have one, ) At the very bottom, add this: // Mystery Briefcase by Rocu call compile preprocessFileLineNumbers "addons\mbc\config.sqf"; Save & close compiles.sqf Open extra_rc.hpp (if you installed Maca's script correctly you should have that file in \custom\ folder) Find: class ExtraRc { Below it, add: class ItemBriefcase_Base { class OpenSurpriseBrief { text = "Open Briefcase"; script = "execVM 'addons\mbc\open_brief.sqf'"; }; }; Save & close extra_rc.hpp Re-pack your mission's PBO and you're done! If you wish to further configure the script you can do so in the config.sqf file. For Infistar's Anti-Hack users you may want to add this as well: Additional info NOTE! When you first install the script you should know that the briefcase item itself doesn't spawn anywhere by default so you need to add it to the game manually. You can add it to the loot tables or traders using the following class name: ItemBriefcase_Base. It does support Zupa's Single Currency (gives out cash as a reward). If you don't have Single Currency it will still work perfectly, just don't put coins in the reward list (it isn't there by default). If you're planning to sell the briefcase in traders I recommend not setting it's price lower than 200,000 (or 2 briefcases if you're not using Single Currency). I haven't really spent ages working on balancing the reward but 200k should be a decent price for this (considering how sometimes you won't even get 50k back but sometimes you quadruple your profits). Technical stuff For the more technical guys out there - as you can see I used the ItemBriefcase_Base class for this script as it has the model of a briefcase but no other properties. I understand it's being used as base item for other briefcases but AFAIK it doesn't affect any of the other briefcases. The script itself isn't really a game changer. Just generates 6 random items with a little UI and puts them in a box. It's completely independent and doesn't rely on other scripts which means if one were to reverse-engineer it you could attach it to virtually anywhere. If you're editing the config file the rarity field doesn't have to sum up to 100% anymore. The percentage of item's rarity depends on the sum of the rarity field. For example, let's say we have only 3 items in the loot table with 50 rarity for every item. This means that every item actually has 33,3% chance of being picked. But for the sake of the script's speed I recommend you keep the rarity number as low as possible. Having 3 items with 1 rarity is a lot better than having 3 items with 50 rarity even though in both versions they all have 33,3% chance of being picked. Credits Maca134 - For the right click option script Zipper - For Infistar's AH compatibility f3cuk - For contributing to the script +Many others who've been very helpful lately!
  2. What this does: It spawns a carepackage above the player that floats down around the player. It can be filled with whatever you want. By default the carepackage costs two brief cases to buy. Using http://epochservers.com/viewtopic.php?f=14&t=13 add this to your extra_rc.hpp class ItemBriefcase100oz { class carepackage { text = "Call carepackage"; script = "execVM 'scripts\carepackage.sqf'"; }; }; change the filepath as necessary. Now find the hacker check in your server_functions.sqf and replace if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then { with if(vehicle _x != _x && (vehicle _x getVariable ["Mission",0] != 1) && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then { save and repack. Download link - contains all three versions. for any of the map click versions you will need to make the extra_rc point to the clickpackage.sqf You can change the _cost (how many briefs it requires), you can change the _distance until the box is deleted, you can change the _smoke color, you can change the items and weapon types also. You can change the way the box is arranged on the chute, but I wouldn't touch it as it can mess with the chute or make the box float above the ground. You can also change the height that the carepackage spawns at, on line 23 _position = [_getPos select 0, _getPos select 1, 25]; change the 25 at the end. EDIT: You may have to whitelist a few things in the createvehicle.txt like !="USVehicleBox_EP1" !="ParachuteMediumEast" !="SmokeShellBlue" I don't use BE personally so I can't really help any more than that. and If you are running infistar antihack remove: onMapSingleClick ''; from AH.sqf Enjoy. To view a video of this system click HERE If you like the script, please consider donating below. Credits : Infistar, he helped majorly with weapon mag selection.
×
×
  • Create New...