This is a WIP mod that adds sound to the game in the form of a new electronic component:
SPKR Speaker
Known bugs:
Some notes sound harsh together
Short static when a note releases
Short static on long notes
Doesn't work on some machines (please provide feedback so I can troubleshoot)
Notes don't stop when the simulation does
--type "Quiet()" into the console to stop sounds
Releases:
(Should work for Windows and Linux)
Yep, avast threw up a virus alert for my lua51.dll. Are you sure it's not modded? Where did you dl it. I don't regularly say things are false positives. Sauce please and fix, I'd really like to see how you've done this.
(the only other option is run it in a virtual machine, but effort)
CeeJayBee:
Yep, avast threw up a virus alert for my lua51.dll. Are you sure it's not modded? Where did you dl it. I don't regularly say things are false positives. Sauce please and fix, I'd really like to see how you've done this.
(the only other option is run it in a virtual machine, but effort)
Avast is pretty sensitive at times, but since LUA51 is pretty common it doesn't seem like the base library would give a false positive.
I'm using proteaAudio (http://viremo.eludi.net/proteaAudio/index.html) which includes those two dlls. I didn't modify either. If you really want to, you could re-download their dlls and use them instead, but they should be the same as the ones I packaged.
edit: I changed the dll in the download to be the official one from lua.org. The only change I made was removing the period to change it from lua5.1 to lua51 because it didn't recognize it until I did.
edit2: I ran the old and new Lua51.dll and the proAudioRt.dll in Avast and I can confirm that the old Lua51.dll did not pass inspection. The new dll I included does, however, pass Avast inspection, as well as the proAudioRt.dll. Sorry I didn't check that first, but now the dlls are tested and safe.
looks clean now- thanks!
Nice, works now. Pretty cool element.
True, but this is done in lua, meaning that you can stack other lua mods with it and neither I nor the end user have to worry about compiling. I prefer lua scripting in powder toy due to the accessability, but that's just me.