airtom Posted January 21, 2010 Posted January 21, 2010 Yeah, you can always manually change the file order or have the script to do so before Black Shark start.... But this would be again another workaround for the functionality BS should have.
zdXu Posted January 21, 2010 Posted January 21, 2010 (edited) If you want listening your favorite music in a combat helicopter IMO then you fail. Probably the next thing is "How to manage to view my favorite movies on the Shkval-Screen"... Edited January 21, 2010 by zdXu
maiochine Posted January 21, 2010 Posted January 21, 2010 Guys we are going off topic here ! please leave this topic for how to make radio station work not for BS bugs and point of views ! [sIGPIC][/sIGPIC]
Woots Posted February 2, 2010 Posted February 2, 2010 9- Copy }, ["Mayak"] = { name="Mayak", type = BEACON_BROADCAST_STATION, position = { latitude = 44.744348, longitude = 40.093099, height = 220.0, course = 0 }, frequency = 125675000.0, power = 1500.0, modulation = "AM", content = { [1] = { startTime = 0 * 3600 + 0 * 60 + 0, period = 30.0 * 60.0, priority = 1, sources = {"RadioMayak\\!RadioMayak.wav"} }, [2] = { rand = true, cycled = true, interruptable = true, priority = 0, sources = { "RadioMayak\\Music/" } 10- after sources = { "RadioMayak\\Music/" } write down } } }, 11- Now paste the paragraph you just copied after } } }, Enjoy. Good stuff thanks! JTLYK, if you follow the above exactly, you'll end up with } } } }, which is one too many. [sIGPIC][/sIGPIC]
StrongHarm Posted February 2, 2010 Posted February 2, 2010 Has anyone figured out how to push streaming radio? I'd like to stream through some real ATC chatter. It's a good thing that this is Early Access and we've all volunteered to help test and enhance this work in progress... despite the frustrations inherent in the task with even the simplest of software... otherwise people might not understand that this incredibly complex unfinished module is unfinished. /light-hearted sarcasm
airtom Posted February 3, 2010 Posted February 3, 2010 Good stuff thanks! JTLYK, if you follow the above exactly, you'll end up with } } } }, which is one too many. Always best practise in programming is to use tabulators (or spaces) at the beginning of lines (indent) when you open logical block. Here in this case, "{" and "}" are used for defining arrays. When you open array by "{" automatically increase indent on everything what follows and when you close this block by "}", decrease indent again. This will help you avoid missing braces and errors during game startup. I guess, notepad++ does automatic indenting once you indent one line with tabulator. Example: My_array = { ["first_array_index"] = { variable1 = "some_value", variable2 = "some_other_value" }, ["second_array_index"] = { width = 100, height = 50 } } I hope this little lesson of programming will help you in future ;)
airtom Posted February 3, 2010 Posted February 3, 2010 (edited) Has anyone figured out how to push streaming radio? I'd like to stream through some real ATC chatter. Yes, there is a mod for it: http://forums.eagle.ru/showthread.php?t=44922 Edited February 3, 2010 by airtom
maiochine Posted February 3, 2010 Posted February 3, 2010 @woots: I suggest you follow the screenshots indications ! Because when I copied and pasted the scripts in the forum topic , the { thing has changed...anyway if you need anything else just ask me. Cheers [sIGPIC][/sIGPIC]
Woots Posted February 3, 2010 Posted February 3, 2010 (edited) I hope this little lesson of programming will help you in future ;) What lesson? Indenting code while programming? Uhhh, that's nothing new. I'm just making an observation it case Maiochine wanted to fix his post. It was obvious to me, maybe not to others. Edited February 4, 2010 by Woots [sIGPIC][/sIGPIC]
airtom Posted February 4, 2010 Posted February 4, 2010 What lesson? Indenting code while programming? Uhhh, that's nothing new. I'm just making an observation it case Maiochine wanted to fix his post. It was obvious to me, maybe not to others. Well, indenting code, defining arrays, making logical blocks in lua... It is a "little lesson", but to those guys who are not coders. They probably don't know, what are braces used for. My post wasn't dedicated to you, I used only the piece of your post as example how to not do the coding (I know the forum engine itself formatted text in this bad way, but do non-programmers know that?). Let's make it clear, I hope my post will be usefull for non-programmers.
maiochine Posted February 4, 2010 Posted February 4, 2010 GUYS WOULD YOU PLEASE STOP STOP STOP going OFF TOPIC ? 've never seen a topic on ED easily understandable...you read the topic titlte and than you have a heart attack when you see how many pages of reply that's because KIDS like you enjoy fighting for unsignificant things... C'mooooooooon ! MAIOCHINE OVER AND OUT [sIGPIC][/sIGPIC]
Woots Posted February 4, 2010 Posted February 4, 2010 (edited) because KIDS like you enjoy fighting for unsignificant things... C'mooooooooon ! MAIOCHINE OVER AND OUT Take a chill pill Maio. No one's fighting. Edited February 4, 2010 by Woots [sIGPIC][/sIGPIC]
Recommended Posts