Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
void Main(string argument)
{
if(argument == "next")
{
firstRun = true;
}
https://youtu.be/NkhZ7BbYgvc
I think I miss understood your description and was trying to achieve a result that the script isn't designed to do which is a shame.
"Main features: Play sounds in order or random order"
I believe that it will play all sounds in list once before restarting the list, but placing sounds in script one after the other doesn't ensure it will play them in the exact order in script.
wish you could enter a number command before sound in the script so that it knows the order to play. I am not sure if thats possible, I am jealous of those who can code thanks for your time.
I am struggling to sort this issue out. I want to play a set of sounds in ascending order example:
string[] soundList = { "Malfunction DetectedId", "Running Virus ScanId", "Systems NormalId", "RebootingId" };
The sounds run in sequence until I added the last sound, it appears they now run in alphabetical order, which is not what I want. can you help because I am trying to create a hilarious situation on my elevator and have further sounds to add which wont sound right otherwise. The sounds copied from custom data to avoid any conflict
The only way to hear drone sounds in a small cockpit, would be if you could also hear them when just standing there (aka, the room around the small cockpit is airtight or you are on a planet, etc). I've tested this 15 ways to christmas. It applies to all 3 vanilla small cockpits. It doesnt matter if the small cockpit has an air supply of its own (that helps you hear all other sounds, but still not the drone sounds). Large cockpits in all the same circumstances will hear the drone sounds.
Hope i can understand how sound block work and all of that... I kinda want to finally use the sound mods i've had for a long time...
And regarding the broken sound: this bug exists for a very long time now.. I'm not sure that it will ever be fixed.. I think I need to start a new ticket at the bug tracker..
Have you considered echoing the title of the currently playing track to an LCD? Perhaps one of the wee corner LCDs would be a good readout size. Also, I don't think that the script gives you any way to expose how long a particular track is, does it? If it did, it'd be good to have the ability to play the next track when the current one finishes, as opposed to using a fixed time.
Thanks RR
also can a volume setting per song be added? When doing it timer/per/sound block (my old way) i could set the volume on each sound block, as many of the songs play at a different volume.
Anyway, Thanks for a great Mod!
If you build your own soundpack, you can however define the names, IDs and so on.
As described in my script, it can find and play songs by searching for them with partial IDs, so if you have a mod, where all sounds are named like "MyModSound1", "MyModSound2", "MyModSound3", ... you could just use it like this:
string[] soundList = { "MyMod" };
The script will find all sounds, that contain "MyMod" and play them..
So your script seems like the answer.. i have managed to get it to play 5 songs, learning the syntax of scripting as i go, but slowly.
ON to my question:
is there a easy way to change the ID or Song name? so i might make this easier by adding a prefix to Songs and not sounds?
But when i copy a list of sounds from the custom data and place it in this area at the end of this, // List of sounds by ID. IDs are saved in the custom data of the programmable block for easier access.
// The search for sounds can be done with partial strings, like "Sound" will find all sounds containing this string
// Example: string[] soundList = { "SoundBlockLightsOn", "SoundBlockLightsOff", "SoundBlockObjectiveComplete" };
string[] soundList = {}; text , placed here: soundList = {}; in the brackets. I get a lot of errors, tried adding commas after each sound(song) and that cleared a few errors but does not get them all.
So, How can i using the custom data, insert songs into end of that list of sounds by ID? Do i need a sound block for each song? i am only using 1 at them moment.
Your Scripts are the best, just gotta learn to use them right :)