Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions Audio File.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
<root>
<sceneobject>
<model path="models/UnitCube.glb"/>
<description>Assigns a sound file and lets you input a name for its Audio ID. This ID is then referenced by Audio Groups and Cue Triggers.</description>
<preview>thumbs/File.png</preview>
<param allowrot="false"/>
<param allowscale="false"/>
<param baseroty="-90"/>
<script>
<classpath></classpath>
<class>scripts.AudioFile</class>
Expand All @@ -13,33 +17,34 @@
<defaultvalue></defaultvalue>
<id>audio_file</id>
<description>The audio file that will be associated</description>
<label>Audio Clip</label>
<label>Audio File</label>
</scriptparameter>
<scriptparameter>
<type>string</type>
<defaultvalue>My Audio Snippet</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_name</id>
<description>Unique name of this audio snippet, used for referencing</description>
<label>Name</label>
<description>Audio id that links to audio file.</description>
<label>Audio Id [Must be unique]</label>
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>1</defaultvalue>
<id>audio_gain</id>
<description>Range of [0 - 1]</description>
<label>Gain</label>
<description>The default pitch of this audio file.</description>
<label>Gain [Range 0 - 1]</label>
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>1</defaultvalue>
<id>audio_pitch</id>
<description>Range of [0.1 - 10]</description>
<label>Pitch</label>
<description>The default pitch of this audio file.</description>
<label>Pitch [Range 0.1 - 1]</label>
</scriptparameter>
<scriptparameter>
<type>bool</type>
<defaultvalue>false</defaultvalue>
<id>audio_is_music</id>
<description>Specified if this audio should be categorised as music or sound. The overall gain is affected by user volume settings</description>
<label>Audio Is Music</label>
</scriptparameter>
<materialpath name="Material">thumbs/File.nl2mat</materialpath>
Expand Down
23 changes: 14 additions & 9 deletions Audio Group.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,36 @@
<root>
<sceneobject>
<model path="models/UnitCube.glb"/>
<description>The main controller that defines the Group ID, and sets the main audio loop using an Audio ID.</description>
<preview>thumbs/Controller.png</preview>
<param allowrot="false"/>
<param allowscale="false"/>
<param baseroty="-90"/>
<script>
<classpath></classpath>
<class>scripts.AudioController</class>
<sharedvm>true</sharedvm>
</script>
<scriptparameter>
<type>string</type>
<defaultvalue>My Audio Snippet</defaultvalue>
<id>primary_audio_name</id>
<description>Name of this audio snippet, used for referencing</description>
<label>Primary Audio Name</label>
<defaultvalue></defaultvalue>
<id>group_name</id>
<description>Links all emitters/cues to this group.</description>
<label>Group Id</label>
</scriptparameter>
<scriptparameter>
<type>string</type>
<defaultvalue>My Group</defaultvalue>
<id>group_name</id>
<label>Group Name</label>
<defaultvalue></defaultvalue>
<id>primary_audio_name</id>
<description>Audio Id used for playing background music on loop for this group.</description>
<label>Primary Audio Id</label>
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>0.05</defaultvalue>
<id>audio_mute_gain</id>
<description>The gain used when triggered audio is overlayed with primary track [0-1]</description>
<label>Background Gain</label>
<description>The gain used when triggered audio is overlayed with primary track.</description>
<label>Background Gain [Range 0 - 1]</label>
</scriptparameter>
<materialpath name="Material">thumbs/Controller.nl2mat</materialpath>
</sceneobject>
Expand Down
50 changes: 0 additions & 50 deletions Audio Queue Time Of Day.nl2sco

This file was deleted.

44 changes: 0 additions & 44 deletions Audio Queue Timer.nl2sco

This file was deleted.

56 changes: 0 additions & 56 deletions Audio Queue Track Trigger.nl2sco

This file was deleted.

2 changes: 2 additions & 0 deletions Audio Queue Shut Off.nl2sco → Button - Master Switch.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<clip mesh="Cylinder.007" distance="10"/>
<clip distance="25"/>
</model>
<description>Turns all audio on or off within the assigned Group ID.</description>
<preview>thumbs/ButtonSwitch.png</preview>
<usercolor>
<label>Switch Color</label>
<index>0</index>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<clip mesh="Cylinder.001" distance="10"/>
<clip distance="25"/>
</model>
<description>Mutes or unmutes the main loop file within the assigned Group ID.</description>
<preview>thumbs/ButtonMute.png</preview>
<usercolor>
<label>Button Color</label>
<index>0</index>
Expand Down
4 changes: 3 additions & 1 deletion Audio Queue Button.nl2sco → Button - Trigger.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<clip mesh="Cylinder.001" distance="10"/>
<clip distance="25"/>
</model>
<description>Manually plays a chosen Audio ID within the assigned Group ID.</description>
<preview>thumbs/ButtonTrigger.png</preview>
<usercolor>
<label>Button Color</label>
<index>0</index>
Expand All @@ -24,7 +26,7 @@
</usertexture>
<script>
<classpath></classpath>
<class>scripts.AudioQueueButton</class>
<class>scripts.AudioCueButton</class>
<sharedvm>true</sharedvm>
</script>
<scriptparameter>
Expand Down
25 changes: 17 additions & 8 deletions Audio Queue EStop.nl2sco → Cue Trigger - Emergency Stop.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,55 @@
<root>
<sceneobject>
<model path="models/UnitCube.glb"/>
<description>Plays an assigned Audio ID to a Group ID when the Emergency Stop is activated.</description>
<preview>thumbs/EmergencyStop.png</preview>
<param allowrot="false"/>
<param allowscale="false"/>
<param baseroty="-90"/>
<script>
<classpath></classpath>
<class>scripts.AudioQueueEStop</class>
<class>scripts.AudioCueEStop</class>
<sharedvm>true</sharedvm>
</script>
<scriptparameter>
<type>string</type>
<defaultvalue>My Audio Group</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_group</id>
<description>The audio group that will be triggered</description>
<label>Audio Group</label>
<description>Links all emitters/cues to a certain group.</description>
<label>Group Id</label>
</scriptparameter>
<scriptparameter>
<type>string</type>
<defaultvalue>My Audio File</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_name</id>
<label>Audio Name</label>
<description>Audio id that links to audio file.</description>
<label>Audio Id [Must be unique]</label>
</scriptparameter>
<scriptparameter>
<type>coaster</type>
<id>audio_coaster</id>
<description>The coaster to track for emergency stop.</description>
<label>Coaster</label>
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>60</defaultvalue>
<id>audio_interval</id>
<label>Interval (Seconds)</label>
<description>Interval that this will be cued when activated.</description>
<label>Interval (Seconds) [Range 0.1 - inf]</label>
</scriptparameter>
<scriptparameter>
<type>bool</type>
<defaultvalue>false</defaultvalue>
<id>audio_mutelower</id>
<description>Sets wether this audio cue will mute lower priority audio cues. Used along-side the audio priority parameter.</description>
<label>Mute Lower Priority Audio [Advanced]</label>
</scriptparameter>
<scriptparameter>
<type>int</type>
<defaultvalue>2</defaultvalue>
<defaultvalue>5</defaultvalue>
<id>audio_priority</id>
<description>Sets the priority of this audio cue which determines what cues will silence others. Used along-side mute lower parameter.</description>
<label>Audio Priority [Advanced]</label>
</scriptparameter>
<materialpath name="Material">thumbs/EmergencyStop.nl2mat</materialpath>
Expand Down
Loading
Loading