LuaGears.wiki
changeset 1946 fabbc283a035
parent 1939 0cb80de3d5bb
child 1947 3cc17b9eed3f
equal deleted inserted replaced
1945:b7b0b2a78d8d 1946:fabbc283a035
   380 
   380 
   381 A rough description of some of the parameters:
   381 A rough description of some of the parameters:
   382 
   382 
   383  * `Radius`: Effect or collision radius, most of the time
   383  * `Radius`: Effect or collision radius, most of the time
   384  * `ImpactSound`: Sound it makes on a collision (see [Sounds])
   384  * `ImpactSound`: Sound it makes on a collision (see [Sounds])
       
   385  * `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. For example, if `ImpactSound` is `sndHellishImpact1` and `nImpactSounds` equals 4, the impact sounds will be `sndHellishImpact1` to `sndHellishImpact4`
   385  * `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.
   386  * `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.
   386  * `Boom`: Used by most gears to determine the damage dealt.
   387  * `Boom`: Used by most gears to determine the damage dealt.
   387 
   388 
   388 Example:
   389 Example:
   389 <code language="lua">
   390 <code language="lua">