# HG changeset patch # User Wuzzy # Date 1570900447 -3600 # Node ID bc6b4846ab11a4b3b0a687614f7d9f2a8fffcf3c # Parent 51aee302668734770f51bb64d99c901d617a0d5e LuaGears: Explain density diff -r 51aee3026687 -r bc6b4846ab11 LuaGears.wiki --- a/LuaGears.wiki Sat Oct 12 17:00:22 2019 +0100 +++ b/LuaGears.wiki Sat Oct 12 18:14:07 2019 +0100 @@ -383,6 +383,7 @@ A rough description of some of the parameters: * `Radius`: Effect or collision radius, most of the time + * `Density`: A high density makes the gear less prone to being pushed by forces, like explosons and stuff. Gears with a higher density also make a larger splash * `ImpactSound`: Sound it makes on a collision (see [Sounds]) * `nImpactSounds`: Must be used together with `ImpactSound`. Number of different impact sounds to use. `0`: Disable impact sound. `1`: Use sound selected in `ImpactSound`. `2` or higher: Uses a random impact sound each impact. The first possible sound is `ImpactSound`, the second possible sound is `ImpactSound+1`, and so on. The order of sounds is specified at [https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uTypes.pas#l120]. For example, if `ImpactSound` is `sndHellishImpact1` and `nImpactSounds` equals 4, the impact sounds will be `sndHellishImpact1` to `sndHellishImpact4` * `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.