Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
But to expand the question, is it as efficient as vanilla areas or better?
A territory is a larger area of influence than just a base.
This mod is not about world map.
This is kind of API for other mods.
But I may add debug option to visualize territory bounds.
You can check out github readme code examples.
It's not perfect, but I found this pretty helpful and easy to setup territories for things from code.
It uses Territory as a default base, it can be initialized by Thing(including its size) or by position on the map.
To locate things in territory, you need to use Territory.Locator<ThingType> and call its Tick in the Tick() method of thing.
Locating is delayed and optional(default 10 ticks), you can set it with property TicksDelay.
There's multiple types of territories, but you can create custom one by overriding Cells property or GetCells method.
I've created this mod as a dependency to avoid usage of same multiple assemblies for each mod.
@ MIS42NE May I suggest that you put a little more detail on what this mod is/does (e.g framework for future mods etc.) Looking at the folder structure it appears to be a framework for supporting other mods. Assemblies folder still has the pdb file from compilation.