About Back To The Wild
Makes animals spawn with random HP and Strength with optional config to show each spawn in console and integrated chat listing on current server setup.
Features :
- Animals can spawn as Alpha animal with increased stats and spawnrates (new in v2.0.0)
- Spawns any animal (vanilla or playerspawned) with altered stats
- Set Min/Max Health
- Set Min/Max Strength
- This will give each animal a random value in hp and strength !!!
- Option to change any animal type true/false
- Option to set populations through plugin or use the servers variables.
- Can print to console each animal stating hp and strength lvls true/false on spawning.
- Chatcommand printing current populations/health/and Total animal count per animal type to the chat (with permission)
Animal list :
- Bear
- PolarBear
- Wolf
- Boar
- Stag
- Horse
- Chicken
Permissions :
- backtothewild.Admin
Commands :
/bttw animals : for a full listing of cfg setup and total animal count
Rust native API :
Using Rusts native commands and checks like the example below in console
del assets/rust.ai/agents/wolf/wolf.prefab
you now can use a simpler method like below in console
del bear
del alpha bear
del polarbear
del alpha polarbear
del boar
del chicken
del horse
del stag
del wolf
del alpha wolf
Example API to determin of a animal is a Normal or a Alpha animal
void OnEntityDeath(BaseAnimalNPC animal, HitInfo info) { if (animal == null) return; BasePlayer attacker = info.InitiatorPlayer; if (attacker != null && animal.name.Contains("Alpha")) { Puts($"The animal was a {animal.name}"); } return; }
Configuration Normal animals :
- Change animal stats on spawns : true/false
- Minimum Health
- Maximum Health
- Minimum Strength
- Maximum Strength
- Running Speed
Configuration Alpha animals :
- Can spawn as Alpha : True/False
- Spawnrate (0-100) : based on % with 100% as always spawn as Alpha
- Health Multiplier : ea 1.5 multiplies the base randomisation value with 1.5x value
- Strength Multiplier (Att dmg) : ea 3.0 multiplies the base randomisation value with 3x value
- Speed Multiplier : ea 1.2 multiplies the base speed value with 1.2x value
Animals will have any stat between minimum and maximum, giving a random stat.
{ "Skip Huntsman when using ChickenBow Plugin": true, "Console Logging settings": { "Show Bear spawns in Console": false, "Show PolarBear spawns in Console": false, "Show Wolf spawns in Console": false, "Show Boar spawns in Console": false, "Show Stag spawns in Console": false, "Show Horse spawns in Console": false, "Show Chicken spawns in Console": false }, "Population settings": { "Set population variables ?": true, "Bear population": 5.0, "PolarBear population": 3.0, "Wolf population": 5.0, "Boar population": 5.0, "Stag population": 6.0, "Horse population": 6.0, "Ridable Horse population": 4.0, "Chicken population": 6.0 }, "Bear settings": { "Change Bear stats on spawns": true, "Minimum Health": 400, "Maximum Health": 600, "Minimum Strength (Att dmg)": 30, "Maximum Strength (Att dmg": 40, "Running Speed": 0.1, "Alpha": { "Can spawn as alpha": true, "Spawnrate (0-100)": 100, "Health Multiplier": 3.0, "Strength Multiplier(Att dmg)": 1.5, "Speed Multiplier": 1.0 } }, "PolarBear settings": { "Change PolarBear stats on spawns": true, "Minimum Health": 400, "Maximum Health": 600, "Minimum Strength (Att dmg)": 32, "Maximum Strength (Att dmg": 44, "Running Speed": 6.0, "Alpha": { "Can spawn as alpha": true, "Spawnrate (0-100)": 10, "Health Multiplier": 3.0, "Strength Multiplier(Att dmg)": 1.5, "Speed Multiplier": 1.0 } }, "Wolf settings": { "Change Wolf stats on spawns": true, "Minimum Health": 150, "Maximum Health": 300, "Minimum Strength (Att dmg)": 20, "Maximum Strength (Att dmg)": 30, "Running Speed": 0.1, "Alpha": { "Can spawn as alpha": true, "Spawnrate (0-100)": 10, "Health Multiplier": 3.0, "Strength Multiplier(Att dmg)": 1.5, "Speed Multiplier": 1.0 } }, "Boar settings": { "Change Boar stats on spawns": true, "Minimum Health": 150, "Maximum Health": 450, "Minimum Strength (Att dmg)": 15, "Maximum Strength (Att dmg)": 25, "Running Speed": 0.1 }, "Stag settings": { "Change Stag stats on spawns": true, "Minimum Health": 150, "Maximum Health": 425, "Minimum Strength (Att dmg)": 15, "Maximum Strength (Att dmg)": 25, "Running Speed": 1.0 }, "Horse settings": { "Change Horse stats on spawns": true, "Minimum Health": 150, "Maximum Health": 600, "Minimum Strength (Att dmg)": 15, "Maximum Strength (Att dmg)": 25, "Running Speed": 1.0 }, "Chicken settings": { "Change Chicken stats on spawns": true, "Minimum Health": 25, "Maximum Health": 100, "Minimum Strength (Att dmg)": 1, "Maximum Strength (Att dmg)": 5, "Running Speed": 1.0 } }
Localisation :
English language file included to use a diffrent language just make a new file in the language folder.
{ "InvalidInput": "<color=red>Please enter a valid command!</color>", "Version": "\nVersion : V", "Info": "\n<color=green>List of current Population(KM2)/Health min/max settings\nAnd counts how many are on the map</color>", "NoPermission": "<color=red>You do not have permission to use that command!</color>" }
Credits :
Thx @Horus for making a awsome icon