addNebula(<sNebulaName>, <sNebulaType>, <tPosition>, <tColor>, ?, <fSize>)
Adds a nebula to a ".level" file. These damage ships!
addNebula("MyNebula", "M11_Bentusi_Radiation", {0.0, 0.0, 0.0,}, {1, 1, 1, 1,}, 0.0, 0.0)
<sNebulaName>: the name of the nebula.
<sNebulaType>: the type of nebula. Can be any of the following:
<tPosition>: a table containing the nebula's X, Z, and Y coordinates.
<tColor>: a table containing the nebula's red, green, and blue color values, as well as its opacity (alpha). Color values must be a between 0 and 255. Opacity (alpha) must be a value between 0 and 1.
?: dunno.
<fSize>: the size of the nebula.
This function must be called from within the DetermChunk() function.
Related Pages

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.