Go to file
Matthew McConnell 6729e5eadd 64 bit update
64 bit update with a few addition logging output
2017-02-21 13:49:23 +00:00
ExileLootDrop.VR comment 2016-09-28 00:01:57 +01:00
sqf 64 bit update 2017-02-21 13:49:23 +00:00
src 64 bit update 2017-02-21 13:49:23 +00:00
.gitignore Updated build to include tester exe and zip package 2016-09-28 19:36:58 +01:00
build.bat 64 bit update 2017-02-21 13:49:23 +00:00
LICENSE.txt First Commit 2016-09-27 22:50:00 +01:00
README.md Added ExileServer_system_lootManager_spawnLootInBuilding 2016-09-28 00:51:49 +01:00

Exile Loot Drop - Download

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.

Performance

ExileLootDrop.VR mission contains the original Exile method for loot and the original tables for testing

// SQF
'CivillianLowerClass' call ExileServer_system_lootManager_dropItem_sqf

// DLL
'CivillianLowerClass' call ExileServer_system_lootManager_dropItem_ext

Performance

Tester EXE

Performance1