Redbeard Actual Posted June 10, 2015 Report Share Posted June 10, 2015 Gonna revive an old post here instead of create a new one. I understand that remove.sqf has the chances for gems, but does anyone know where I can find the changes for the various types of ore? Here I go doing a bump! I am working on the same thing currently. Here is my remove code: if (_isMine) then { if((random 50) <= 10) then { _gem = ["ItemRuby","ItemEmerald","ItemEmerald","ItemSapphire","ItemSapphire", "ItemSapphire","ItemTopaz","ItemTopaz","ItemTopaz","ItemTopaz","ItemAmethyst","ItemAmethyst","ItemAmethyst", "ItemAmethyst","ItemAmethyst","ItemCitrine","ItemCitrine","ItemCitrine","ItemCitrine","ItemCitrine","ItemCitrine", "ItemObsidian","ItemObsidian","ItemObsidian","ItemObsidian","ItemObsidian","ItemObsidian","ItemObsidian","ItemObsidian"] call BIS_fnc_selectRandom; _selectedRemoveOutput set [(count _selectedRemoveOutput),[_gem,1]]; }; }; I did some searching and adjusted the gems in the output array to match actual rarity IRL. A gem will drop 20% of the time. If you change the number in the array [_gem,1] you will spawn that many of the gem it picks. But, I am also looking through files for the ore drops. So any information is useful. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now