Skip to content

Cross‐Mod Compatability

IAmBatby edited this page Jan 22, 2024 · 10 revisions

Overriding SelectableLevel Dungeon Size Multiplier

float dungeonSizeMin;

float dungeonSizeMax;

float dungeonSizeLerpPercentage

If the currentLevel factorySizeMultiplier is below the dungeonSizeMin or above the dungeonSizeMax values, the following line will be applied

SizeMutiplier = Mathf.Lerp(dungeonSizeMax, currentLevel.factorySizeMultiplier, dungeonSizeLerpPercentage);

//Examples

Mathf.Lerp(3, 4, 0f);
//Dungeon Size Is Clamped To 3 (dungeonSizeMax).

Mathf.Lerp(3, 4, 1f);
//Dungeon Size Is Clamped To 4 (Unaltered).

Mathf.Lerp(3, 4, 0.5f);
//Dungeon Size Is Clamped To 3.5 (In-Between Of dungeonSizeMax And The Provided Dungeon Size)


Dynamically Injecting DungeonFlow's Into SelectableLevel via Route Price

List<(Vector2,Int)> dynamicRoutePricesList

  • A check to see if the currentLevel ExtendedLevel.routePrice is between the Vector2.x and Vector2.y

Dynamically Injecting DungeonFlow's Into SelectableLevel via Level Tags

List<(String,Int)> dynamicLevelTagsList

  • A string comparison between the names provided in the list and the currentLevel's ExtendedLevel.levelTags

  • Level Tags assigned by default can be seen here


Dynamically Injecting DungeonFlow's Into SelectableLevel via Level SourceName

  • A string comparison between the names provided in the list and the currentLevel's ExtendedLevel.contentSourceName
  • Vanilla Level's will have this as "Lethal Company"

List<(String,Int)> manualContentSourceNameReferenceList


Dynamically Injecting DungeonFlow's Into SelectableLevel via Level PlanetName

List<(String,Int)> manualPlanetNameReferenceList

  • A string.Contains check between the names provided in the list and the currentLevel's PlanetName

Vanilla Level Tags

01. Experimentation: "Vanilla", "Wasteland"

02. Assurance: "Vanilla", "Desert", "Canyon"

03. Vow: "Vanilla", "Forest", "Valley"

04. Gordion: "Vanilla", "Company", "Quota"

05. Offense: "Vanilla", "Desert", "Canyon"

06. March: "Vanilla", "Forest", "Valley"

06. Rend: "Vanilla, "Snow", "Ice", "Tundra"

07. Dine: "Vanilla, "Snow", "Ice", "Tundra"

08. Titan: "Vanilla, "Snow", "Ice", "Tundra"


Custom Level Tags

##. All: "Custom"