Skip to content

Commit

Permalink
[v1.2] General QoL Improvements & Fixes (#1)
Browse files Browse the repository at this point in the history
- Added .gitignore
- Updated year in LICENSE
- Updated speaker properties in demo park.
- Re-arranged materials and textures folders to make more sense.
- Removed demo sounds as default parameter values.
- Changed the default gain on all speakers from 0.8 to 1.
- Removed the unused "Speaker Angle" parameter from the Outdoor Speaker.
- Improved the top texture on the Outdoor Speaker.
  • Loading branch information
redthirten authored Jun 8, 2024
1 parent 71d8fbe commit 3ad7610
Show file tree
Hide file tree
Showing 42 changed files with 97 additions and 86 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Unneeded NL2 files
*.nl2park_backup
*.nl2pkg

# Display shell files
scenery/display_shell

# Zip files
*.zip

# TODO file
TODO.txt

# Generated by MacOS
.DS_Store

# Generated by Windows
Thumbs.db
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 David Wolfe (Red-Thirten)
Copyright (c) 2024 David Wolfe (Red-Thirten)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Binary file modified Reds-Speakers.nl2park
Binary file not shown.
24 changes: 12 additions & 12 deletions scenery/reds_speakers/JBL Speaker.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<clip distance="70"/>
</model>
<description>A &quot;JBL&quot; style speaker, with recolorable mount, speaker rotation, and audio options.</description>
<preview>textures/previews/jbl_speaker.png</preview>
<preview>materials/previews/jbl_speaker.png</preview>
<usercolor>
<label>Mount Color</label>
<index>0</index>
Expand All @@ -27,14 +27,14 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/normal_loop.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file</id>
<description>An Audio File that plays on loop, assuming no other events are occuring (ie. A specified coaster is E-Stopped),</description>
<label>Looped Audio (Leave empty for no sound):</label>
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/announcement.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_emergency</id>
<description>An Audio File that should be played when the specified coaster is E-Stopped.</description>
<label>E-Stop Audio (Leave empty for no sound):</label>
Expand All @@ -47,7 +47,7 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/trigger_example.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_trigger</id>
<description>An Audio File that should be played when the specified coaster trigger is activated.</description>
<label>Triggered Audio (Leave empty for no sound):</label>
Expand All @@ -74,7 +74,7 @@
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>0.8</defaultvalue>
<defaultvalue>1</defaultvalue>
<id>gain</id>
<description>Gain of the Audio. Higher values result in louder audio.</description>
<label>Audio Gain (0.0 to 1.0):</label>
Expand All @@ -86,14 +86,14 @@
<description>Pitch (Speed) of the Audio File</description>
<label>Audio Pitch (0.1 to 10.0):</label>
</scriptparameter>
<materialpath name="aluminum">textures/case_metal_light.nl2mat</materialpath>
<materialpath name="black">textures/plastic_black.nl2mat</materialpath>
<materialpath name="case_metal">textures/case_metal.nl2mat</materialpath>
<materialpath name="aluminum">materials/case_metal_light.nl2mat</materialpath>
<materialpath name="black">materials/plastic_black.nl2mat</materialpath>
<materialpath name="case_metal">materials/case_metal.nl2mat</materialpath>
<materialpath name="chrome">intern:data/materials/Chrome.nl2mat</materialpath>
<materialpath name="fabric">textures/fabric.nl2mat</materialpath>
<materialpath name="logo">textures/red_audio_logo.nl2mat</materialpath>
<materialpath name="fabric">materials/fabric.nl2mat</materialpath>
<materialpath name="logo">materials/red_audio_logo.nl2mat</materialpath>
<materialpath name="mount">intern:data/materials/metal/Metal A User0.nl2mat</materialpath>
<materialpath name="red_plastic">textures/plastic_red.nl2mat</materialpath>
<materialpath name="white_plastic">textures/plastic_white.nl2mat</materialpath>
<materialpath name="red_plastic">materials/plastic_red.nl2mat</materialpath>
<materialpath name="white_plastic">materials/plastic_white.nl2mat</materialpath>
</sceneobject>
</root>
2 changes: 1 addition & 1 deletion scenery/reds_speakers/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 David Wolfe (Red-Thirten)
Copyright (c) 2024 David Wolfe (Red-Thirten)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
20 changes: 10 additions & 10 deletions scenery/reds_speakers/Long Speaker.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<clip distance="70"/>
</model>
<description>A long, recollorable, outdoor style speaker, with angle and audio options.</description>
<preview>textures/previews/long_speaker.png</preview>
<preview>materials/previews/long_speaker.png</preview>
<usercolor>
<label>Mount Color</label>
<index>0</index>
Expand Down Expand Up @@ -37,14 +37,14 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/normal_loop.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file</id>
<description>An Audio File that plays on loop, assuming no other events are occuring (ie. A specified coaster is E-Stopped),</description>
<label>Looped Audio (Leave empty for no sound):</label>
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/announcement.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_emergency</id>
<description>An Audio File that should be played when the specified coaster is E-Stopped.</description>
<label>E-Stop Audio (Leave empty for no sound):</label>
Expand All @@ -57,7 +57,7 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/trigger_example.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_trigger</id>
<description>An Audio File that should be played when the specified coaster trigger is activated.</description>
<label>Triggered Audio (Leave empty for no sound):</label>
Expand All @@ -84,7 +84,7 @@
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>0.8</defaultvalue>
<defaultvalue>1</defaultvalue>
<id>gain</id>
<description>Gain of the Audio. Higher values result in louder audio.</description>
<label>Audio Gain (0.0 to 1.0):</label>
Expand All @@ -96,12 +96,12 @@
<description>Pitch (Speed) of the Audio File</description>
<label>Audio Pitch (0.1 to 10.0):</label>
</scriptparameter>
<materialpath name="aluminum">textures/case_metal_light.nl2mat</materialpath>
<materialpath name="black">textures/plastic_black.nl2mat</materialpath>
<materialpath name="aluminum">materials/case_metal_light.nl2mat</materialpath>
<materialpath name="black">materials/plastic_black.nl2mat</materialpath>
<materialpath name="chrome">intern:data/materials/Chrome.nl2mat</materialpath>
<materialpath name="logo">textures/red_audio_logo.nl2mat</materialpath>
<materialpath name="logo">materials/red_audio_logo.nl2mat</materialpath>
<materialpath name="mount">intern:data/materials/metal/Metal A User0.nl2mat</materialpath>
<materialpath name="plastic">textures/plastic_user1.nl2mat</materialpath>
<materialpath name="speaker_grill">textures/metal_grill_user2.nl2mat</materialpath>
<materialpath name="plastic">materials/plastic_user1.nl2mat</materialpath>
<materialpath name="speaker_grill">materials/metal_grill_user2.nl2mat</materialpath>
</sceneobject>
</root>
20 changes: 10 additions & 10 deletions scenery/reds_speakers/Loud Speaker.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<clip distance="40"/>
</model>
<description>A recolorable, old school loud speaker, with speaker rotation, and audio options.</description>
<preview>textures/previews/loud_speaker.png</preview>
<preview>materials/previews/loud_speaker.png</preview>
<param basescalex="1.5"/>
<param basescaley="1.5"/>
<param basescalez="1.5"/>
Expand Down Expand Up @@ -35,14 +35,14 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/normal_loop.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file</id>
<description>An Audio File that plays on loop, assuming no other events are occuring (ie. A specified coaster is E-Stopped),</description>
<label>Looped Audio (Leave empty for no sound):</label>
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/announcement.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_emergency</id>
<description>An Audio File that should be played when the specified coaster is E-Stopped.</description>
<label>E-Stop Audio (Leave empty for no sound):</label>
Expand All @@ -55,7 +55,7 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/trigger_example.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_trigger</id>
<description>An Audio File that should be played when the specified coaster trigger is activated.</description>
<label>Triggered Audio (Leave empty for no sound):</label>
Expand All @@ -82,7 +82,7 @@
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>0.8</defaultvalue>
<defaultvalue>1</defaultvalue>
<id>gain</id>
<description>Gain of the Audio. Higher values result in louder audio.</description>
<label>Audio Gain (0.0 to 1.0):</label>
Expand All @@ -94,12 +94,12 @@
<description>Pitch (Speed) of the Audio File</description>
<label>Audio Pitch (0.1 to 10.0):</label>
</scriptparameter>
<materialpath name="black">textures/plastic_black.nl2mat</materialpath>
<materialpath name="black">materials/plastic_black.nl2mat</materialpath>
<materialpath name="bolt">intern:data/materials/Chrome.nl2mat</materialpath>
<materialpath name="front_logo">textures/red_audio_logo.nl2mat</materialpath>
<materialpath name="front_logo">materials/red_audio_logo.nl2mat</materialpath>
<materialpath name="mount">intern:data/materials/metal/Metal A User0.nl2mat</materialpath>
<materialpath name="plastic">textures/plastic_user1.nl2mat</materialpath>
<materialpath name="rear_logo">textures/loud_speaker_rear_logo.nl2mat</materialpath>
<materialpath name="speaker_bump">textures/loud_speaker_bump.nl2mat</materialpath>
<materialpath name="plastic">materials/plastic_user1.nl2mat</materialpath>
<materialpath name="rear_logo">materials/loud_speaker_rear_logo.nl2mat</materialpath>
<materialpath name="speaker_bump">materials/loud_speaker_bump.nl2mat</materialpath>
</sceneobject>
</root>
25 changes: 9 additions & 16 deletions scenery/reds_speakers/Outdoor Speaker.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<clip distance="40"/>
</model>
<description>A recolorable outdoor speaker (typically used in planters), with audio options.</description>
<preview>textures/previews/outdoor_speaker.png</preview>
<preview>materials/previews/outdoor_speaker.png</preview>
<param lockonterrain="true"/>
<usercolor>
<label>Speaker Color</label>
Expand All @@ -23,23 +23,16 @@
<sharedvm>true</sharedvm>
<resource id="LICENSE">LICENSE</resource>
</script>
<scriptparameter>
<type>double</type>
<defaultvalue>0</defaultvalue>
<id>angle</id>
<description>This setting will only become visable in Play Mode. Angle in degrees from the default angle (can be negative as well).</description>
<label>Speaker Angle (Degrees):</label>
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/normal_loop.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file</id>
<description>An Audio File that plays on loop, assuming no other events are occuring (ie. A specified coaster is E-Stopped),</description>
<label>Looped Audio (Leave empty for no sound):</label>
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/announcement.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_emergency</id>
<description>An Audio File that should be played when the specified coaster is E-Stopped.</description>
<label>E-Stop Audio (Leave empty for no sound):</label>
Expand All @@ -52,7 +45,7 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/trigger_example.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_trigger</id>
<description>An Audio File that should be played when the specified coaster trigger is activated.</description>
<label>Triggered Audio (Leave empty for no sound):</label>
Expand All @@ -79,7 +72,7 @@
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>0.8</defaultvalue>
<defaultvalue>1</defaultvalue>
<id>gain</id>
<description>Gain of the Audio. Higher values result in louder audio.</description>
<label>Audio Gain (0.0 to 1.0):</label>
Expand All @@ -91,9 +84,9 @@
<description>Pitch (Speed) of the Audio File</description>
<label>Audio Pitch (0.1 to 10.0):</label>
</scriptparameter>
<materialpath name="fabric">textures/fabric.nl2mat</materialpath>
<materialpath name="outdoor_speaker_bump">textures/outdoor_speaker_bump.nl2mat</materialpath>
<materialpath name="plastic1">textures/plastic_user1.nl2mat</materialpath>
<materialpath name="plastic2">textures/plastic_user2.nl2mat</materialpath>
<materialpath name="fabric">materials/fabric.nl2mat</materialpath>
<materialpath name="outdoor_speaker_bump">materials/outdoor_speaker_bump.nl2mat</materialpath>
<materialpath name="plastic1">materials/plastic_user1.nl2mat</materialpath>
<materialpath name="plastic2">materials/plastic_user2.nl2mat</materialpath>
</sceneobject>
</root>
22 changes: 11 additions & 11 deletions scenery/reds_speakers/Small Speaker.nl2sco
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<clip distance="50"/>
</model>
<description>A small, recollorable, outdoor style speaker, with angle and audio options.</description>
<preview>textures/previews/small_speaker.png</preview>
<preview>materials/previews/small_speaker.png</preview>
<usercolor>
<label>Mount Color</label>
<index>0</index>
Expand Down Expand Up @@ -37,14 +37,14 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/normal_loop.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file</id>
<description>An Audio File that plays on loop, assuming no other events are occuring (ie. A specified coaster is E-Stopped),</description>
<label>Looped Audio (Leave empty for no sound):</label>
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/announcement.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_emergency</id>
<description>An Audio File that should be played when the specified coaster is E-Stopped.</description>
<label>E-Stop Audio (Leave empty for no sound):</label>
Expand All @@ -57,7 +57,7 @@
</scriptparameter>
<scriptparameter>
<type filetype="audio">resourcepath</type>
<defaultvalue>sounds/trigger_example.ogg</defaultvalue>
<defaultvalue></defaultvalue>
<id>audio_file_trigger</id>
<description>An Audio File that should be played when the specified coaster trigger is activated.</description>
<label>Triggered Audio (Leave empty for no sound):</label>
Expand All @@ -84,7 +84,7 @@
</scriptparameter>
<scriptparameter>
<type>double</type>
<defaultvalue>0.8</defaultvalue>
<defaultvalue>1</defaultvalue>
<id>gain</id>
<description>Gain of the Audio. Higher values result in louder audio.</description>
<label>Audio Gain (0.0 to 1.0):</label>
Expand All @@ -96,13 +96,13 @@
<description>Pitch (Speed) of the Audio File</description>
<label>Audio Pitch (0.1 to 10.0):</label>
</scriptparameter>
<materialpath name="aluminum">textures/case_metal_light.nl2mat</materialpath>
<materialpath name="black">textures/plastic_black.nl2mat</materialpath>
<materialpath name="aluminum">materials/case_metal_light.nl2mat</materialpath>
<materialpath name="black">materials/plastic_black.nl2mat</materialpath>
<materialpath name="chrome">intern:data/materials/Chrome.nl2mat</materialpath>
<materialpath name="logo">textures/red_audio_logo.nl2mat</materialpath>
<materialpath name="logo">materials/red_audio_logo.nl2mat</materialpath>
<materialpath name="mount">intern:data/materials/metal/Metal A User0.nl2mat</materialpath>
<materialpath name="plastic1">textures/plastic_user1.nl2mat</materialpath>
<materialpath name="plastic2">textures/plastic_user2.nl2mat</materialpath>
<materialpath name="speaker_grill">textures/metal_grill_user2.nl2mat</materialpath>
<materialpath name="plastic1">materials/plastic_user1.nl2mat</materialpath>
<materialpath name="plastic2">materials/plastic_user2.nl2mat</materialpath>
<materialpath name="speaker_grill">materials/metal_grill_user2.nl2mat</materialpath>
</sceneobject>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<root>
<material>
<description>Black textured metal.</description>
<preview>materials/metal_29_col.jpg</preview>
<preview>textures/metal_29_col.jpg</preview>
<renderpass>
<shadercore>Result = tex0;
Specular = Add(0.2, tex0);</shadercore>
<transparency mode="opaque"/>
<linearshading/>
<rgbgen mode="bumplighting"/>
<texunit>
<map>materials/metal_29_col.jpg</map>
<map>textures/metal_29_col.jpg</map>
<tcgen mode="base"/>
</texunit>
<texunit>
<map>materials/metal_29_nrm.jpg</map>
<map>textures/metal_29_nrm.jpg</map>
<bump mode="normalgloss"/>
<tcgen mode="base"/>
</texunit>
Expand Down
Loading

0 comments on commit 3ad7610

Please sign in to comment.