Jump to content
  • 0

Modifying Loot tables


Hux

Question

I'm trying to add 10oz gold bars to the "shipwreck" (container_epoch)  loot table but it's not working for me.

I added this:

class Shipwreak
	{
		items[] = {
				{ { "Gems", "CfgLootTable" }, 5 },
				{ { "MetalBars", "CfgLootTable" }, 26 },
				{ { "ItemGoldBar", "magazine" }, 10 },
				{ { "ItemGoldBar", "magazine" }, 13 },
				{ { "ItemKiloHemp", "magazine" }, 12 },
				{ { "ItemGoldBar10oz", "magazine" }, 16 },
				{ { "ItemGoldBar10oz", "magazine" }, 18 }

Here's the whole CfgLootTable.h:

http://pastebin.com/YtcQjM7M

 

Thank you.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
4 hours ago, viper179 said:

Well first of all your in the wrong spot , and second there are already gold bars added to the ship wreck all you have to do is go in there and adjust the min and max payout from the configmain.hpp loot table.

I finally realized that.. :blush:

Where should I post a question like this?

Thanks for reply.

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
  • Advertisement
  • Discord

×
×
  • Create New...