You are viewing a potentially older version of this package. View all versions.
Fandovec03-Natural_selection-0.3.0 icon

Natural selection

Rewamps the ecosystem an enemies to feel more alive and interactable. Enemies will fight each other and hunt to survive.

Date uploaded a week ago
Version 0.3.0
Download link Fandovec03-Natural_selection-0.3.0.zip
Downloads 3552
Dependency string Fandovec03-Natural_selection-0.3.0

This mod requires the following mods to function

xilophor-LethalNetworkAPI-3.3.2 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 3.3.2
Fandovec03-SpiderPositionFix-1.5.1 icon
Fandovec03-SpiderPositionFix

Host fixes for bunker spider. Fixes desync/separation between agent and mesh container. Client-side fix for the offset idle animation

Preferred version: 1.5.1
Fandovec03-NaturalSelectionLib-0.6.7 icon
Fandovec03-NaturalSelectionLib

Personal Library with functions for getting, sorting and filtering enemies

Preferred version: 0.6.7

README

Natural selection - food chains and ecosystems

Aimed to make the game's ecosystem feel more alive, immersive and semi-realistic.

The mod adds plenty of interactions between entities by modifying their behaviors, adding some and rewamping entities to make them feel more like an actual living organisms rather than just another dangerous liveforms trying to have a piece of you. Or if you just want enemies to kill eachother you can!

Config options

Many mechanics, behaviors an settings can be toggled and tweaked with config with wide variety of options.

Options include:

  • Toggles to enable/disable behaviors
    • Applied on loading the mod. Requires restart.
  • Blacklists
    • Automatically generated on booting up the game. Requires restart.
  • Debug toggles
    • Can be changed at runtime with config mods (LethalConfig, LethalSettings).
    • For better bug reports, turn the toggles on when you encounter bugs or unexpected behaviors.

Branches

Stable branch: Natural selection - food chains and ecosystems

Pre-release branch: Experimental Enemy Interactions

Currently supported entities:

Red bees (Circuit bees)

  • Bees become aggressive and attack any animal or entity that get too close to their hive.
  • Enraged bees swarm any enemy in their LOS to death!
  • Special interaction: Bees have a chance to set Forest Keepers on fire!

Hygrodere (Blob)

  • Hygrodere seeks and move to nearest organic matter whenever be it be living being or a corpse.
  • Rapidly dissolves and consume the matter that makes contact with it.

Earth Leviathan (Sandworm)

  • Leviathans actively seek and hunt any organism nearby.
  • Does not hunt prey that is too small in size (Below the size of an employee).

Modified enemies:

Forest keeper:

  • Forest Keepers have a chance to extinguish and survive being set on fire although severely weakened.
  • Forest Keeper's corpse last longer on fire.

Unfinished and WIP:

Bunker Spider (Unfinished)

  • Bunker spider will defend itself when it finds itself in a dangerous situation.
  • May attempt to flee climb on wall.
  • When alterted, spider will investigate and chase after prey.

Spider web (Unfinished)

  • Spider webs stick to and slow down entities passing through it.
  • Alerts the spider.

TODO:

  • Nutcracker
  • Spore Lizard
  • Hoarder bug

Report bugs on either Github issues or the Lethal company modding discord.

Credits:

  • Zesa, TKronix, Swaggies: helping me figure out collision detection
  • Hamunii: Helped fixing the variables
  • EnzoTheProtogen: Reporting a bug
  • TheShyestGuy: Bug reports
  • Robyn and Xilophor: Pointing out flawed networking
  • DiFFoZ: Finding the problem causing bees to turn invisible
  • Quain808: Bug reports

CHANGELOG

Natural selection

0.3.0

Major changes

Added support for spider webs

  • Spider webs slow down and stick to enemies passing through them

Configuration file rewamped

  • Updated Layout and descriptions
  • Added more options and variables
  • Added automatically generating entries for blacklists and similar lists
    • Generates on booting up the game or 2nd time on loading into lobby if some entries fail to generate
  • Debug toggles update automatically if they're changed on runtime with LethalConfig/LethalSettings

Misc

  • Updated description, readme, changelog and links
  • Updated logs
    • More logs are toggled with trigger flags bool

Bug fixes

  • Fixed sandworm's networking connections and variables not being disposed of
  • Fixed ememies colliding with blacklisted enemies

0.2.6

  • Fixed bees throwing error when every enemy in LOS is killed
  • Upgraded collision system. Bees and hygrodere now hit multiplle enemies they collide with
  • Added config to log the library
  • updated README

0.2.5

  • Reupload because I forgot to upload a file. Woops
  • Updated README

0.2.4

  • Updated README
  • Updated mod for newest Library version
    • Finally fixed invisible bees!
    • Enemies can now target enemies outside of their usual domain! Inside enemies can target outside enemies when outsise and vise versa
  • Fixed bees not returning to beehives after chasing/killing enemy
  • Global enemy lists get cleared at the end of rounds or when client disconnects

0.2.3

  • Fixed and simplified config enabling enemy changes
  • Updated README

0.2.2

  • Fixed shit Networking implementation causing massive lag (Credit to Robyn and Xilo on Discord for pointing it out!)
  • Updated logs
  • edited README

0.2.1

  • Fixed giants always set on fire
  • Fixed Error spam on clients
  • Small changes to networking which fixes lag

0.2.0

  • Added networking
    • Fixes desync and network related issues, mainly enemy sounds not playing on non-host clients
  • Fixed sandworm eating non-host players inside the ship with the toggle on
  • Fixed giants not using the extinguish chance from config
  • Added blacklists to config
  • Optimization on clients/server

0.1.5

  • Fixed collisions returning NullReferenceException errors
  • Added config for sandworms to not eat players inside leaving ship
  • Updated logs and configs

0.1.4

  • Fixed logs spamming you're on experimental version
  • Added option to override vanilla sandworm collisions to possibly fix the lag when colliding with multiple enemies at once

0.1.3

  • Implemented global enemy list.
  • Fixed bees becoming invisible due to black magic (still dont know how).
  • The mod no longer sets all colliders on enemies to be triggers.
  • Hydrogires now move and consume dead corpses
  • Many more config options

0.1.2

  • Fixed logs
  • Updated for NaturalSelectionLib 0.4.0

0.1.1

  • Fixed NullReferenceException some logs

0.1.0

  • Updated manifest, README and library integration

0.0.2

  • Made less spammy logs

0.0.1

  • Inital Upload