

achitan
Members-
Posts
43 -
Joined
-
Last visited
About achitan
- Birthday 10/10/1982
Personal Information
-
Flight Simulators
FSX:SE, X-Plane 10, DCS World 1.5 w/ A10C, MiG-15bis, MiG-21bis, Hawk, Mi-8, Ka-50, UH-1H and the P-51D.
-
Location
Romania
-
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Oh, I forgot to mention (didn't know it was actually different), I never used the beta version of DCS. And will never do :). I'm always on the latest stable version. Superb that you fixed the issue! And a new version is out https://drive.google.com/drive/folders/1VaT5_C94gk9ig52yEABAiHaToV09ouVk. Sorry about this, I just found another "rare METAR event" in terms of the "///" triple slash at the end of a nebulosity part. This would screw up the temperature reading. Now it won't anymore. Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Thanks jozeff, on thing I can't re-create is the expansion of the refresh.lua file. I've been running the app for 2 hours now with updates every second. I've also changed the ASN METARs during this test a few times. My file stays at 2 KB at it should...the only thing that changes is the time of change of the refresh.lua file. Are you sure that the refresh.lua in your C:\Users\<you>\Saved Games\DCS\MissionEditor\weather increases in size? Thanks, Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
LROP 081400Z 16005KT 130V210 CAVOK 19/M04 Q1026 NOSIG LROP - station 081400Z - day and time (8th day in the month, 14:00Z = 14:00 UTC) 16005KT - wind information (from 160 deg. at 5 knots) 130V210 - additional wind info (variating direction from 130 deg. to 210 deg) CAVOK - Clouds And Visibility OK 19/M04 - temperature and dew point (19 C, -4 C) Q1026 - QNH pressure 1026 mb NOSIG - NO SIGnificant changes in the next 2 hours -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Hi jozeff, the day and hour are filled from the METAR. You don't need to put those in...if you want to change them, just put in whatever you like in DCS. Month and year are not contained in a METAR. Everything else is :) Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Oh...I have forgotten to clean up the older refresh string :(. To tell you the truth, I haven't really test it in a continuous run environment. I'd only shortened the 30 minute refresh rate to just 10 seconds to test it in a fast manner. But I only wanted to see a new METAR successfully read. I'll make the changes and put a new version today (I'm GMT+2 w/ +1 for DST now). Thank you very much for your input! Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Yeah, my free AV also screamed. I just told it to not be so harsh with this app. I don't know what has to be included in the package for the AV to not freak out. Anyway,it works if you force it to leave it alone. Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
I've uploaded a video containing the (fast) usage of the app. -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Hi guys, sorry for being silent so much time! It's been quite a start of year :D. I've just uploaded a new version of the app with fixes and other added features over the last. I see there is quite a lot of confusion of what it does, how it does it and how it's to be used. First and foremost, DCS has the lowest grade weather implementation of any sim out there. This is not a bashing, I'm just stating a known fact. In FSX/P3D AS can place real life clouds where they actually are with the observed characteristics (localized precipitation, localized turbulence, localized temperature, etc.) and this makes it possible to actually have real life implementations of weather radars, flight dynamics because of weather, etc. BMS also has an extremily complex weather system that rivals even FSX/P3D's though it can't place single clouds. DCS on the other hand can have just a METAR and very simplified winds aloft. Yes, the dynamic weather scenario is a step forward, but it is even more limited as METARs cannot be matched even if you put in the right air masses over airports. I've, at the request of one of the users, actually tried to create a dynamic scenario with a lot of clouds but low winds - like in an oclus front towards the anti-cyclone. Not possible! I've gone from one air mass to maximum but it seems that wind is directly linked to cloud coverage. So I could not create a thick stratus layer (low wind, overcast). The only thing that worked was cumulus broken or overcast with huge winds. Nevertheless, I know ED is working on it and this will be one of the new features that I, for one, am most excited about. Coming back to the app, it does not meddle with dynamic scenarios (yet) as I found them to be quite limited, though I haven't have time to go deeper into the lua files. It just adds static weather read from actual AS weather snapshot. It is a fast way of reading the METAR and winds aloft above the interest station and puts it all over the map. It now does this continuously every 30 minutes so if you have AS running it will update that refresh.lua weather file. However, it will not update the weather in your ongoing mission because you need to end it, re-read the refresh.lua and restart the mission. But my missions don't last more than 30 minutes to an hour, so one snapshot should be OK. I made the continuous refresh feature for online servers. I don't know lua (my app is C++) but I presume there are ways of re-reading the weather file every x minutes so these admins can put a script like that on their server to run every hour and update the weather. Hope you like it, and thanks Neon (also sorry about this) for answering a lot of questions for me, Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Hi Neon, so the refresh.lua file can be found in C:\Users\<your_user>\Saved Games\DCS\MissionEditor\weather. This should be the default for all. I've now fixed the single station issue and added a SUCCSESSFULLY REFRESHED THE WEATHER! text line for you to see when the weather is refreshed (at launch and then every 30 minutes). I've also added the fog feature linked to visibility METAR entries and testing showed it worked. Hope it does for you too... -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
OK Neon, so I've made a new build (same location) with these added features: - obligatory simulator parameter which can be FSX, P3D or XP, no default - application runs continuously and updates the lua file every 30 minutes So now you should run it with DCSWeatherInjector P3D 12 2019 UGTB Don't forget to Ctrl-C or whatever else to stop it. I'll explore the LUA and mission editor features to do the actual injection, but that has low priority :). -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
So can you give me the name of the folder? ||||||||||||||||||||||||||| vvvvvvvvvvvvvvvvvvvvvvvv -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Yes, Neon, that was my aim actually. Unfortunately I have no LUA knowledge so I achieved only this first step. I wanted to make the app refresh the LUA file every hour or half an hour but when I saw that DCS didn't see the change while in a mission I knew I had to do something with LUA so I dropped it. The good news is that I can make the app re-do the LUA file periodically, so while you still have AS and this app started it would eveolve (the file at least). Let me know if you want this modification or it's better this way and you'll do it via something like cronjob... Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Hi Neon, so I re-built with an additional check. It's in the same location of course. The name of the executable was OK because I changed it since my first build as I added the visibility feature. In your particular case, the problem is because you are running the P3D Active Sky. I made this with the FSX AS version which puts the current_wx_snapshot.txt in Hifi/ASNFSX/Weather. As you can see that is because of the FSX AS version. So please tell me (I only have AS for FSX) where is the file above for you and I'll add a new parameter to the command line to choose FSX, P3D or XP. It should be in Users/<yourUSER>/AppData/Roaming/Hifi/ASNP3D/Weather/ but let's be sure before I rebuild again :). Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
Hi Lenux, so the drive behind this program was that I always had to put in the real world weather (historical or live) by hand in DCS in my missions. I took the weather parameters from Active Sky so I thought why not make the computer do this. It doesn't place clouds, it doesn't make the weather dynamic. It just reads and puts in the cloud coverage and base, temperature, time and date, visibility (still testing this but the feature should be there), turbulence level, wind at surface level, FL066 and FL260 (following DCS static weather template). The result is an actual DCS weather file that has all these parameters in and you can find it in the weather file list and load it for a fast real weather "injection" for your missions. Your "dynamic weather" question however made me think about expanding this app over the "dynamic realm" as that would be an even more realistic depiction of weather (Active Sky also provides TAFs so... :D). And I am quite advanced in meteorology. Unfortunately, DCS weather system seems quite limited at first glance, but I can dig deeper, time permitting. Thanks for the interest, Adrian -
Yet another Weather Injector...
achitan replied to achitan's topic in Utility/Program Mods for DCS World
So the first thing that strikes me is that the executable should be named AStoDCS. So...I messed up the build :(. Very sorry about this. It's the end of the year so vacations and finalizing work is getting to me :). I'll redo it and TEST it this time (I didn't re-install on my machine as the old version still works). Unfortunately, this project sits on my home machine alone so I'll get to it in about 8 hours. Hope I didn't mess up your plans. Adrian