Homeworld 2 : FunctionaddNebula
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
addNebula(<sNebulaName>, <sNebulaType>, <tPosition>, <tColor>, ?, <fSize>)

Description
Adds a nebula to a ".level" file. These damage ships!

Example
addNebula("MyNebula", "M11_Bentusi_Radiation", {0.0, 0.0, 0.0,}, {1, 1, 1, 1,}, 0.0, 0.0)

Arguments
<sNebulaName>: the name of the nebula.
<sNebulaType>: the type of nebula. Can be any of the following:
"M05_DustCloud_Nebula"
"M05_NebualDustCloud_NoRes"
"M05_NebualDustCloud_NoRes2"
"M05_NebualDustCloud_NoRes3"
"M07_Foundry_Radiation"
"M08_NoDamage_Radiation"
"M11_Bentusi_Debris"
"M11_Bentusi_Radiation"
"MP_Bentusi_Radiation"
"Nebula01_Cream"
"Nebula01_Teal"
"Nebula_0"
"Nebula_Hiding"
"Radiation"
<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.

Notes
This function must be called from within the DetermChunk() function.

Scope

Related Pages:
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty
FunctionAddLocalizedText.html
100%
00:00
512 KB
1.88 MB/s
FunctionAddLocalizedText.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionAddLocalizedText.html
Status:
512 KB / 512 KB ( 1.88 MB/s )
File Size:
512 KB
Virus scan:
Time Start:
2019.08.20 - 17:08:54
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
1.86 MB/s
mouse double click: download pause/resume
mouse middle click: download cancel
mouse double click: open file
mouse double click + Ctrl: open dir
mouse middle click: delete from list
mouse middle click + Ctrl: delete from system
press mouse button + Ctrl: drag & drop