Fear Factor: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 1: Line 1:
In the formulae below:
In the formulae below:
* ''distance'' = Distance between the predator (the player or another animal) and the prey [[Animals|animal]].
* ''distance'' = Distance between the predator (the player or another animal) and the prey [[Animals|animal]].
* ''range'' = Predator's detection range (<code>detectRange</code> value), which can be reduced by taking [[Predatory Instincts]].
* ''range'' = Predator's detection range (<code>detectRange</code> value), which can be reduced by taking Predatory Instincts.
* ''fear'' = Prey's fear factor (<code>fearFactor</code> value).
* ''fear'' = Prey's fear factor (<code>fearFactor</code> value).



Latest revision as of 11:19, 2 July 2024

In the formulae below:

  • distance = Distance between the predator (the player or another animal) and the prey animal.
  • range = Predator's detection range (detectRange value), which can be reduced by taking Predatory Instincts.
  • fear = Prey's fear factor (fearFactor value).

A prey will be put on alert if: 𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒<(𝑟𝑎𝑛𝑔𝑒×𝑓𝑒𝑎𝑟)

The prey's alertness towards a predator is assigned each tick according to the following formula:

𝑎𝑙𝑒𝑟𝑡𝑛𝑒𝑠𝑠=𝑎𝑙𝑒𝑟𝑡𝑛𝑒𝑠𝑠+𝑟𝑎𝑛𝑔𝑒2𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒2𝑟𝑎𝑛𝑔𝑒2×50

If 𝑎𝑙𝑒𝑟𝑡𝑛𝑒𝑠𝑠100 the prey will flee. Default alertness to predators may be hard coded currently.