maca134

Exile Loot Drop DLL

46 posts in this topic

Information at https://github.com/maca134/ExileLootDrop

Download at https://github.com/maca134/ExileLootDrop/releases

A server mod/extension to replace the Exile loot drop function with a dll.

Examples:

Get single item (returns string so is backwards compatible with Exile):

_item = 'table' call ExileServer_system_lootManager_dropItem;

Get multiple items (returns an array of items, this is good for mission stuff):

_items = ['table', 10] call ExileServer_system_lootManager_dropItem;

To Install: Run the mod on the server and stick the below into CfgExileCustomCode in you mission files

class CfgExileCustomCode
{
  ...
  ExileServer_system_lootManager_dropItem = "\ExileLootDrop\ExileServer_system_lootManager_dropItem.sqf";
  ExileServer_system_lootManager_spawnLootInBuilding = "\ExileLootDrop\ExileServer_system_lootManager_spawnLootInBuilding.sqf";
  ...
};


Now replace @ExileLootDrop\ExileLootDrop.cfg with your own servers loot (this is the default Exile table). The loot is in the "pre-compiled" format.

  • Like 14

Share this post


Link to post
Share on other sites

Very cool.. to be clear on "run this mod"

Install = Turn this to @ExileLootDrop and add to startup command line?

the customcode will call on that as \ExileLootDrop\?

or am i just putting the ExileLootDrop folder mission side and its overwriting from there?

Share this post


Link to post
Share on other sites
Advertisement
5 minutes ago, odizzzzle said:

Very cool.. to be clear on "run this mod"

Install = Turn this to @ExileLootDrop and add to startup command line?

the customcode will call on that as \ExileLootDrop\?

or am i just putting the ExileLootDrop folder mission side and its overwriting from there?

Get the release package from github. Its not hard to get working, mess around with it abit :D

Share this post


Link to post
Share on other sites

There are a number of ways to set this up. You can run the mod -servermod=@Exile;@Exile_Server;@ExileLootDrop

Or you can copy the pbo into @ExileServer/addons, copy the DLL+CFG to @ExileServer

Then you ADD the override line into the exile mission config.

class CfgExileCustomCode
{
  ...
  ExileServer_system_lootManager_dropItem = "\ExileLootDrop\ExileServer_system_lootManager_dropItem.sqf";
  ExileServer_system_lootManager_spawnLootInBuilding = "\ExileLootDrop\ExileServer_system_lootManager_spawnLootInBuilding.sqf";
  ...
};

Share this post


Link to post
Share on other sites

sorry i did not follow up sooner. i was able to get this working with my loot tables/groups about ten min after i posted. its on my test server and will switch over tomorrow morning 

thanks for all of your contributions!!

Edited by odizzzzle
because iphone

Share this post


Link to post
Share on other sites
3 hours ago, GolovaRaoul said:

Maybe stupid question, but what exactly is the use of this? To increase loot spawning performance?

Yuppp

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.