Nightshade G3 / NG Scripting Differences Compared to Legacy¶
If you have StratoScripts authored for Nightshade Legacy, you may need to make some adjustments for full functionality on Nightshade NG.
Changes that won’t break anything...¶
- The
external_viewer
command is still supported but deprecated. It simply forwards to newvideo
command. - Simultaneous playback of multiple audio and video sources now supported.
- Audio and video commands can take a new optional parameter
name
provided along with thefilename
parameter (at load time). This parameter behaves identically to the use in theimage
command and provides support for referencing more than one audio/video source. If aname
is not provided, the behavior matches that of Legacy and only one at a time is supported. audio
andvideo
commands now have aseek
argument.- The
external_viewer
parameterbackground_framerate
is deprecated. - The
audio output_rate
is deprecated. video
now supports all coordinate systems (same asimage
).video
support forxpos
andypos
parameters is identical toimage
command.- New experimental
text
command allows one to display text. flag time_lapse
addedbody
command can now load 3D models if your NG edition supports this.
Changes that could break things...¶
These are sorted with the most likely to cause problems at the top. Some of these will be fixed or improved over time.
- When using the
moveto
command it will now take the shortest path between two points. So if you have to travel more than 180 degrees you need to break your path into at least two smaller movements. Use an acceleration of zero so that movement is continuous. - Currently when using the
moveto
command, you can only have one animation at a time. If onemoveto
begins while another is still in progress, the newestmoveto
will replace the last. Key frames may help. - If you
flyto
a body you are not automatically landed on it, meaning you can not turn on your photographic landscape. Seemoveto land
. - There is currently no
nebula
command to load your own nebula images in the sky. Use theimage
command instead. - Nebula names have changed. Use the NGC or IC number like
select nebula NGC500
. - There is no
set milkyway_texture
equivalent yet. Use theimage
command instead with a scale of 360 degrees. moveto heading
now sets your navigational heading and is not backward compatible.flag orbit_trails
and related color is deprecated - see new time lapse feature.- body command big_halo feature deprecated.
- Dropped support for “old style” landscapes.
- Selecting a body does not affect your selected constellations. This is a feature improvement but differs from past behavior.
set zoom_offset
is deprecated. Seeset focal_alt
andset focal_azi
instead.- removed
zoom delta_fov
as it never worked well in practice. max_mag_nebula_name
is deprecated.- removed
flag fog
. - removed
flag point_star
. - removed
image mipmap
as unneeded. - removed
flag antialias_lines
as this is now standard.