Jump to content

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...