This shows you the differences between two versions of the page.
arma:config:ambient_life [2007-11-23 20:18] snakeman created initial ambient_life page |
arma:config:ambient_life [2007-11-23 20:23] (current) snakeman |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ambient Life Configs ====== | ====== Ambient Life Configs ====== | ||
- | **Ambient Life Distribution** | + | ====== Ambient Life Distribution ====== |
Ambien life is the birds, insects and possible other animals that are created/spawned around players area. | Ambien life is the birds, insects and possible other animals that are created/spawned around players area. | ||
Line 63: | Line 63: | ||
</code> | </code> | ||
- | **Basic ambient behaviour** | + | ====== Basic ambient behaviour ====== |
Basic ambient behaviour is defined in cfgVehicles.hpp | Basic ambient behaviour is defined in cfgVehicles.hpp | ||
Line 95: | Line 95: | ||
</code> | </code> | ||
- | **Ambient behaviour specialization** | + | ====== Ambient behaviour specialization ====== |
For particular species, default Bird or Insect values, defined in cfgVehicles.hpp can be specialized: | For particular species, default Bird or Insect values, defined in cfgVehicles.hpp can be specialized: | ||
Line 124: | Line 124: | ||
</code> | </code> | ||
+ | ====== Ambient Parameters ====== | ||
+ | |||
+ | **Rain** 0..1 rain intensity\\ | ||
+ | **Night** 0..1 night "intensity"\\ | ||
+ | **Meadow** 0..1 how much does the surrounding have a character of a meadow\\ | ||
+ | **Trees** 0..1 how many tress are growing in the area\\ | ||
+ | **Hills** 0..1 how much is the place "hilly" (160 ASL -> 0, 400 ASL -> 1)\\ | ||
+ | **Houses** 0..1 how many houses or other building are around\\ | ||
+ | **Windy** 0..1 wind streght (0 m/s ->0, 20 m/s -> 1)\\ | ||
+ | **Forest** 0..1 forest density\\ | ||
+ | **DeadBody** 0..1 is the place close to a dead body? (0 m ->1, 10 m -> 0)\\ | ||
+ | **Sea** 0..1 is the place close to a sea? (0 m->1, approx. 100 m->0)\\ | ||
+ | |||
+ | Parameters can be combined into Simple Expressions, like: | ||
+ | <code> | ||
+ | meadow*(1-rain)*(1-night) | ||
+ | (10-5*rain)*(1-sea)*(windy factor [0.2,0.5]) | ||
+ | </code> |