Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
SpawnSalvageOnDeath(..see Arguments..)

Description

Example
SpawnSalvageOnDeath(NewShipType, "Slv_Chunk_Sml01", 50, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.1, 100, -600, 0, 0, 0)

Arguments
Note: there are (sometimes rather severe) radomizations applied to all arguments - which is a good thing, but makes understanding and mapping them that much harder -TheBlind

  1. NewShipType
  2. The type of resource/salvage.
  3. The number of chunks to spawn (integer).
  4. The percent of the total ship RU value. the total value governed by build cost and multiplier in tuning.lua / If all chunks don“t add up to 100% the engine will re-assign percentages evenly
  5. x-location
  6. y-location All locations relative to the spawning ship
  7. z-location
  8. random add to spawn location
  9. initial vertical direction (around x)
  10. initial horizontal direction (around y)
  11. unknown
  12. unknown
  13. initial x speed
  14. initial y speed The chunk will use its build in thruster capability to slow down
  15. initial z speed
  16. cloud dispersion spawn multiple chunks under 2) to really see this in action, but works with single chunks as well
  17. turns around port/starboard axis of spawning ship during dispertion (will slow down after dispersion is finished)
  18. turns around top/bottom axis of spawning ship during dispertion (will slow down after dispersion is finished)
  19. turns around aft/front axis of spawning ship during dispertion (will slow down after dispersion is finished)
  20. initital random tumble modifier

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
FunctionSound_ExitIntelEvent.html
100%
00:00
496 KB
2.56 MB/s
FunctionSound_ExitIntelEvent.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSound_ExitIntelEvent.html
Status:
496 KB / 496 KB ( 2.56 MB/s )
File Size:
496 KB
Virus scan:
Time Start:
2019.08.21 - 11:36:08
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.87 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
FunctionSound_EnterIntelEvent.html
100%
00:00
496 KB
1.59 MB/s
FunctionSound_EnterIntelEvent.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSound_EnterIntelEvent.html
Status:
496 KB / 496 KB ( 1.59 MB/s )
File Size:
496 KB
Virus scan:
Time Start:
2019.08.21 - 11:36:19
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
1.70 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
FunctionSound_EnableAllSpeech.html
100%
00:00
496 KB
2.00 MB/s
FunctionSound_EnableAllSpeech.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSound_EnableAllSpeech.html
Status:
496 KB / 496 KB ( 2.00 MB/s )
File Size:
496 KB
Virus scan:
Time Start:
2019.08.21 - 11:36:45
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.18 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