HellBz

[Release] Limited Safe,Crate,Tent and SupplyBoxes per Base Level

20 posts in this topic

I Inspired by @110 to set a Limit for all  Containers or Installable Supply-Boxes for a Base for each Level.

And thx for Testing and mutch Help @110


20170630074851_1.jpg20170630074905_1.jpg

Here you can Setup Limited Safes, Crates, Ternts and Supplyboxes per Baselevel

developed by @HellBz

 

 


BaseLevel Number of Safes Number of Supply Boxes Number of Crates Number of Tents
1 5 1 5 5
2 7 2 5 5
3 9 3 5 5
4 11 4 5 5
5 14 5 10 10
6 16 6 10 10
7 18 7 10 10
8 20 8 15 15
9 22 9 15 15
10 25 10 15 15

 

GitHub-Code: https://github.com/HellBz/Exile-Limited-Container-SupplyBoxes

GitHub-Download: https://github.com/HellBz/Exile-Limited-Container-SupplyBoxes/archive/1.0.zip

Discord: discord.gg/Jt9Gmj9

If you have any Qestion of Feature Wishes, feel free to Post.

If You Like this, you can give this Thread a Like.

All Players and Server-Oweners have fun with Exile.

All Server Owners have fun with limit the Containers for Players ;)


  Best Regards,

HellBz

Edited by HellBz
  • Like 12
  • Thanks 1

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, CH!LL3R said:

Will this also work for crates that are builded with Extended Base Mod?

nope currently nope

you can costumize this for extBase Mod

Only for Stock Exile

Edited by HellBz

Share this post


Link to post
Share on other sites
1 hour ago, CH!LL3R said:

Will this also work for crates that are builded with Extended Base Mod?

Lookin at the script it seems only to apply for "Exile_Container_SupplyBox ". 

 

Edit: oops, hell was faster :D

Edited by WURSTKETTE

Share this post


Link to post
Share on other sites

@HellBz

 

Aren't there some commas missing lookin @ https://github.com/HellBz/Exile-Limited-Container-SupplyBoxes/blob/master/mpmissions/Exile.YourMap/config.cpp

If not, could you be so kind to elaborate why they'r not needed there? (for learning purpose :) )

class CfgTerritories
{
	// Base Cost / Radius
	// Level 1 is allways for Pop Tabs, >= 2 for Respect
	prices[] = 
	{
		// Purchase Price       Radius      Number of Objects   Number of Safes     Number of Boxes     Number of Crates    Number of Tents
		{5000,                  15,         30,                 5,                  1                   5                   5                   }, // Level 1
		{10000,                 30,         60,                 7,                  2                   5                   5                   }, // Level 2 
		{15000,                 45,         90,                 9,                  3                   5                   5                   }, // Level 3
		{20000,                 60,         120,                11,                 4                   5                   5                   }, // Level 4
		{25000,                 75,         150,                14,                 5                   10                  10                  }, // Level 5
		{30000,                 90,         180,                16,                 6                   10                  10                  }, // Level 6
		{35000,                 105,        210,                18,                 7                   10                  10                  }, // Level 7
		{40000,                 120,        240,                20,                 8                   15                  15                  }, // Level 8
		{45000,                 135,        270,                22,                 9                   15                  15                  }, // Level 9
		{50000,                 150,        300,                25,                 10                  15                  15                  }  // Level 10
	};
};

 

Edited by WURSTKETTE

Share this post


Link to post
Share on other sites
11 minutes ago, WURSTKETTE said:

@HellBz

 

Aren't there some commas missing lookin @ https://github.com/HellBz/Exile-Limited-Container-SupplyBoxes/blob/master/mpmissions/Exile.YourMap/config.cpp

If not, could you be so kind to elaborate why they'r not needed there? (for learning purpose :) )


class CfgTerritories
{
	// Base Cost / Radius
	// Level 1 is allways for Pop Tabs, >= 2 for Respect
	prices[] = 
	{
		// Purchase Price       Radius      Number of Objects   Number of Safes     Number of Boxes     Number of Crates    Number of Tents
		{5000,                  15,         30,                 5,                  1                   5                   5                   }, // Level 1
		{10000,                 30,         60,                 7,                  2                   5                   5                   }, // Level 2 
		{15000,                 45,         90,                 9,                  3                   5                   5                   }, // Level 3
		{20000,                 60,         120,                11,                 4                   5                   5                   }, // Level 4
		{25000,                 75,         150,                14,                 5                   10                  10                  }, // Level 5
		{30000,                 90,         180,                16,                 6                   10                  10                  }, // Level 6
		{35000,                 105,        210,                18,                 7                   10                  10                  }, // Level 7
		{40000,                 120,        240,                20,                 8                   15                  15                  }, // Level 8
		{45000,                 135,        270,                22,                 9                   15                  15                  }, // Level 9
		{50000,                 150,        300,                25,                 10                  15                  15                  }  // Level 10
	};
};

 

Yes i fixed this few Secounds Ago

Share this post


Link to post
Share on other sites
22 minutes ago, Alexis said:

Why do you get the number of boxes when you can just count them locally?

The Server Side File
ExileServer_object_construction_network_buildConstructionRequest
Calls in Line 25 This File from Client:

_canBuildHereResult = [configName _constructionConfig, (ASLtoAGL (ATLtoASL _objectPosition)), getPlayerUID _playerObject] call ExileClient_util_world_canBuildHere;


and the Result are The Throws ;)
And in LIne 81 the Exile Toast.

i Hope i can Help You @Alexis

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.