SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Projectile Flee

PBy PatchCat

Causes animals to react when a projectile hits the ground nearby

Projectile Flee

Description

<p><strong>Projectile Flee</strong><br />My first mod! I thought it was pretty weird that the animals didn't react when you throw or shoot anything nearby so I made this.</p> <p><br />It triggers passive animals to run away and predators to attack back if the projectile is thrown near them.<br />The default setup is pretty minimal and more immersive than realistic but you can make the game more challenging by making it higher.<br /><br /><strong>Config</strong>:</p> <div class="spoiler"> <div class="spoiler-toggle">Config Values</div> <div class="spoiler-text"> <p>Change the distance from the projectile that triggers the animal to react:</p> <p>&nbsp;</p> <p><strong>The default is</strong>:</p> <pre style="font-family: 'Cascadia Mono'; font-size: 9pt; color: #000000;">HorizontalRange</pre> <p>3.5 horizontal blocks</p> <p>&nbsp;</p> <pre style="font-family: 'Cascadia Mono'; font-size: 9pt; color: #000000;">VerticalRange</pre> <p>5 vertical blocks</p> <p>&nbsp;</p> <p><span style="color: #000000;">Change the distance from the player that triggers the animal to attack back:</span></p> <p>&nbsp;</p> <p><strong>The default is:</strong></p> <pre style="font-family: 'Cascadia Mono'; font-size: 9pt; color: #000000;">PredatorSeekRange</pre> <p>17 blocks</p> </div> </div> <p><br />Change the values here : ...\AppData\Roaming\VintagestoryData\ModConfig\ProjectileFlee.json (Default Location)<br /><br /><strong>Compatibility:</strong><br />It will work with any creature that has the tag "animal". I can add other compatibility or changes if needed, let me know!</p> <p>- Works with fish and anything with the class "EntityFish".</p> <p>- It works with anything classed as a projectile.</p> <p>- It excludes animals that are tamed.</p>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.