• 0
Sign in to follow this  
Followers 0
EvilSeeQu

[Solved] Contamination loot spawn.

Question

So, i've been trying to help a bud out with the Tanoa exile server he's running, but we're not getting anywhere with the loot spawn so far.

The issue is that loot will not spawn in the contaminated area, even if its defined in his "ExileLootDrop.cfg" as shown here:

> Radiation
5, MilitaryBackpacks
5, MilitaryHeadgear
5, Ghillies
5, DLCGhillies
10, Snipers
8, CUPsnipers
5, SniperAttachments
15, DLCRifles
5, DLCOptics
5, DLCSupressor
10, Explosives
30, EpicWeapons

 

The contamination area itself works like it should, with the code in the mission.sqm file being:

class Item15
		{
			dataType="Marker";
			position[]={8335.7734,2.0879136e+019,10337.402};
			name="RZ_North_Icon";
			type="ExileContaminatedZoneIcon";
			id=18;
			atlOffset=2.0879136e+019;
		};
		class Item16
		{
			dataType="Marker";
			position[]={8333.8193,1.7114239e+025,10336.147};
			name="RZ_North_ZoneMarker";
			markerType="ELLIPSE";
			type="ExileContaminatedZone";
			colorName="ColorOrange";
			alpha=0.60158074;
			fillName="SolidBorder";
			a=275.37576;
			b=275.37576;
			angle=359.03839;
			drawBorder=1;
			id=19;
			atlOffset=1.7114239e+025;
		};

 

And the config.cpp file regarding the radiation effect:

	class Namalsk: Altis 
	{
		class FireFlies: FireFlies
		{
			enable = 1;
		};

		class Anomalies: Anomalies
		{
			enable = 1;
		};

		class Breathing: Breathing
		{
			enable = 1;
		};

		class Snow: Snow
		{
			enable = 1;
			surfaces[] = {"#nam_snow"};
		};

		class Radiation: Radiation
		{
			enable = 1;
			contaminatedZones[] = 
			{
				{{3960.14,	8454.75,	152.862}, 	80, 	140},	// Object A1
				{{4974.70,	6632.82,	4.74293}, 	40, 	150},	// Object A2
				{{6487.92,	9302.03,	36.0014}, 	60, 	110}	// Sebjan Chemical Factory
			};
		};

		class Temperature: Temperature
		{
			daytimeTemperature[] = {-2.00,-1.77,-1.12,-0.10,1.24,2.78,4.40,6.00,7.46,8.65,9.50,9.90,9.90,9.50,8.65,7.46,6.00,4.40,2.78,1.24,-0.10,-1.12,-1.77,-2.00,-2.00};
		};
	};

	class Tanoa: Altis
	{
		class FireFlies: FireFlies
		{
			enable = 1;
		};

		class Anomalies: Anomalies
		{
			enable = 0;
		};

		class Breathing: Breathing
		{
			enable = 0;
		};

		class Snow: Snow
		{
			enable = 0;
		};

		class Radiation: Radiation
		{
			enable = 1;
			contaminatedZones[] =
			{
				{{8335.83,	10337.3,	0.00143814}, 	80, 	150},	// Sugar Company
			};
		};

		class Temperature: Temperature
		{
			daytimeTemperature[] = {15.93,16.89,18.42,20.40,22.68,25.10,27.48,29.63,31.40,32.66,33.32,33.80,33.80,33.32,32.66,31.40,29.63,27.48,25.10,22.68,20.40,18.42,16.89,15.93,15.93};
		};
	};
};

 

 

So im wondering if there is anything in the config.cpp file regarding the "class:Altis" and "Class Tanoa:Altis" that might be causing the issues, or if you guys can see something else in the codes that i've overlooked, since i don't want him to try stuff out and maybe end up messing the whole server up in the process.

Loot spawns perfectly fine everywhere else but the contamination zone which is supposed to be at the Sugar Cane Factory.

Edited by EvilSeeQu

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

For about 4 month i having the same problem and overall i dont know why.

You can try define on one buidling in the Lootpositions if it workig or not.

class Land_Device_disassembled_F
    {
        table = "Radiation";        
        positions[] ={{1.65137,-1.44824,-0.380497},{1.25391,-0.257813,-0.380497},{1.39453,1.29492,-0.380497},{0.851563,-1.87207,0.722443},{0.567383,2.33203,-0.374416},{0.0712891,2.94043,-0.374416},{-1.3916,1.58691,-0.380497},{-1.36719,0.451172,-0.380497},{-1.66504,-1.05078,-0.380497},{-0.90625,-1.85547,0.690922}};
    };

In example i have added this and its works ^^

Share this post


Link to post
Share on other sites
  • 0

Problem fixed, turns out that the CfgLootTable.h was missing the whole Radiation class, so no items were actually assigned to the Radiation Loot table.
Didn't notice it before i got access to the actual serverfiles in realtime, so now all that is needed is to add the items and chance of spawning in the new Radiation class.

 

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.