Sign in to follow this  
Zze

Loot wont spawn on Chernarus 2035

2 posts in this topic

Hello, been trying for about two days and cant get anything to spawn

this is what my exile_server_config.pbo->config.cpp looks like

Spoiler

class CfgPatches
{
	class exile_server_config
	{
		requiredVersion = 0.1;
		requiredAddons[] = {};
		units[] = {};
		weapons[] = {};
		magazines[] = {};
		ammo[] = {};
	};
};

class CfgBuildings
{	
	class Land_Church_03
	{
		table = "Military";
		positions[] =
		{
			{6.9043,-0.101563,-14.342},
			{1.23145,6.1543,-14.342},
			{2.24414,-6.71094,-14.342},
			{-7.88818,-4.61523,-14.342},
			{-2.24951,-7.22363,-14.342},
			{10.4438,-0.133789,-13.2479},
			{-6.93164,4.14063,-14.342},
			{-2.16064,8.12012,-14.342},
			{-1.85547,2.87891,-14.2229},
			{-0.125,2.42969,-14.2229},
			{0.0117188,-3.50195,-14.2229},
			{3.4458,1.41992,-14.2229},
			{7.36084,1.99414,-14.2229},
			{10.6294,-5.25977,-14.1742},
			{6.54785,8.24609,-14.2229},
			{4.38379,8.20508,-14.2229},
			{6.9043,-0.101563,-14.342},
			{1.23145,6.1543,-14.342},
			{2.24414,-6.71094,-14.342},
			{-7.88818,-4.61523,-14.342},
			{-2.24951,-7.22363,-14.342},
			{10.4438,-0.133789,-13.2479},
			{-6.93164,4.14063,-14.342},
			{-2.16064,8.12012,-14.342}
		};
	};
	
	
	////////////////////////////////////////////
	
};
class CfgLootTables
{
	class Military        //ALL THIS NEEDS TO BE CHANGED
    {        
		count = 55;
		half = 9680.48;
		halfIndex = 25;
		sum = 10000;
		items[] = 
		{
			{1497.75, "CUP_arifle_AKM"},// 14.9775%
			{2995.51, "hlc_rifle_M1903A1"},// 14.9775%
			{3744.38, "Exile_Weapon_LeeEnfield"},// 7.4888%
			{4493.26, "CUP_arifle_M16A2"},// 7.4888%
			{5242.139999999999, "V_Chestrig_rgr"},// 7.4888%
			{5991.01, "U_B_CombatUniform_mcam_vest"},// 7.4888%
			{6739.889999999999, "V_Platecarrier1_rgr"},// 7.4888%
			{7239.139999999999, "Exile_Weapon_CZ550"},// 4.9925%
			{7488.77, "srifle_DMR_06_olive_F"},// 2.4963%
			{7738.39, "hlc_rifle_M1903A1"},// 2.4963%
			{7988.02, "CUP_arifle_M4A1"},// 2.4963%
			{8237.640000000001, "U_B_T_Soldier_AR_F"},// 2.4963%
			{8487.27, "hlc_rifle_psg1"},// 2.4963%
			{8736.890000000001, "arifle_Mk20_F"},// 2.4963%
			{8986.52, "Exile_Item_Bandage"},// 2.4963% 
			{9236.15, "arifle_Katiba_F"},// 2.4963%
			{9485.77, "U_B_FullGhillie_ard"},// 2.4963%
			{9510.73, "TRYK_B_Medbag_OD"},// 0.2496% MilitaryItems
			{9535.7, "TRYK_U_B_WDL_GRY_CombatUniform"},// 0.2496%
			{9560.66, "H_HelmetLeaderO_ghex_F"},// 0.2496%
			{9585.62, "CUPSubMachineGuns"},// 0.2496%
			{9605.59, "hgun_Pistol_heavy_02_F"},// 0.1997%
			{9625.56, "hgun_Pistol_Signal_F"},// 0.1997%
			{9645.53, "arifle_AKS_F"},// 0.1997%
			{9665.5, "H_HelmetIA_camo"},// 0.1997%
			{9680.48, "arifle_Katiba_GL_F"},// 0.1498%
			{9695.460000000001, "arifle_SPAR_01_GL_snd_F"},// 0.1498%
			{9710.43, "ItemGPS"},// 0.1498%
			{9725.41, "Exile_Headgear_GasMask"},// 0.1498%
			{9740.39, "CUP_optic_RCO"},// 0.1498%CUPPistols
			{9755.369999999999, "hgun_Pistol_heavy_01_F"},// 0.1498%
			{9770.34, "U_O_FullGhillie_ard"},// 0.1498%
			{9785.32, "U_O_OfficerUniform_ocamo"},// 0.1498%
			{9800.3, "arifle_MX_Black_F"},// 0.1498%
			{9815.279999999999, ""},// 0.1498%
			{9830.25, "TRYK_B_Carryall_wood"},// 0.1498%
			{9845.23, "CUP_muzzle_snds_M14"},// 0.1498%
			{9860.210000000001, "TRYK_B_Coyotebackpack"},// 0.1498%
			{9875.19, "CUP_optic_LeupoldMk4_MRT_tan"},// 0.1498%
			{9890.16, "CUP_optic_ACOG"},// 0.1498%
			{9900.15, "arifle_CTAR_GL_blk_F"},// 0.0999%
			{9910.130000000001, "arifle_CTAR_blk_F"},// 0.0999%
			{9920.12, "U_I_GhillieSuit"},// 0.0999%
			{9930.1, "Exile_Item_InstaDoc"},// 0.0999%
			{9940.09, "CUP_optic_LeupoldMk4"},// 0.0999%
			{9950.07, "TRYK_B_Kitbag_Base_JSDF"},// 0.0999%
			{9960.06, "Exile_Weapon_VSSVintorez"},// 0.0999%
			{9970.04, "B_Carryall_ocamo"},// 0.0999%
			{9980.029999999999, "Exile_Item_Knife"},// 0.0999%
			{9985.02, "Exile_Item_SleepingMat"},// 0.0499%
			{9990.01, "MMG_02_black_F"},// 0.0499%CUP_optic_LeupoldMk4
			{9995.01245, "CUP_HandGrenade_M67"},// 0.0499% 
			{9995.021, "CUP_arifle_M16A2"},
			{9995.0241, "Exile_Item_ThermalScannerPro"},
			{10000, "srifle_GM6_F"}// 0.0499%         
		};        
	};      	
};

//rest of config trimmed but it is there

 

Server and client are on same version of the map.. I don't get what i am doing wrong :(

Edited by Zze

Share this post


Link to post
Share on other sites

Lol solved...

Was using the old version of the loot tables like

class CfgLootTables

now its

class CfgExileLootServer
{
	class LootTables
	{

and different layout...

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.