Biology
Legion Studios' biology framework, including how to use it and how to add your own biologies.
The biology framework won't do much on its own, and is primarily intended for third party modders to use in their own mods.
1. Getting a unit's biology
To check the biology of a unit, use the ls_common_fnc_getBiology
function.
Here we get the biology of the current unit that the player is controlling (ls_player
) and display a groan sound if the player is a zombie.
2. Configuration
2.1 Creating a custom biology
You can easily create your own custom biology via config. Here is a biology already included in Legion Studios: Core as an example.
3. Examples of using biologies
Biologies can be used for lots of different systems, such as "ion" or "emp" ammunition not doing anything, or having a lesser effect on organic beings.
Legion Studios: Core also uses the blood models when ACE Medical is loaded. Normal blood drops will be replaced with custom ones defined in the unit's biology.
Last updated