• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

objects using the wind variable...

Messages
611
Country
switzerland
Hi all,

I'm in the progress of switching to all FS2004 SDK Tools. I've got a serious problem now:
As I'm disappointed of the looks of the default windsock, I thought I make one myself. I've got 4 non-animated models of it done in gmax and exported them. (I heard, that animated parts won't work with wind..) So what's next? Back in the FS2002 days, that was easy: tweak the asm-sources, recompile and use 'em.
Now, I managed to make the tweaks with that BGLC_9.exe provided by Rhumbaflappy, and the result is a bgl file.
But how can I use that bgl file to add it to a object library using LibCreator??
(I'm using SceneGenX for placing the lib-objects...)

That's my first question...more to come :duck: ...when this wind var reading fails again...

Regards
Jeff
 
Hi Jeff,

Two options here I think.

1. It seems you already found the asm files and tweaked them again etc. The BGL that you made with BGLC_9 is actually a MDL file (you need to rename it or compile with the option -mdl). From there on you can use it like any other MDL you made with GMax.

2. You could also use MDLTweaker to add the rotation with the wind (or other conditions) to your MDL file. Then you don't have to tweak the source manual (but you are probably a bit more limited to what I put in MDLTweaker ;)).
 
Thanks Arno,

Ahhh, so it's a mdl in the end...hmm, why did MS drop the bgl?! Well anyway, I put 2 objects into the fs world which both read the C74 variable as stated in your tutorial. They both are visible on the screen, but when I change the wind direction, nothing happens! If I startup FS and set the wind via the create flight menu, and then run FS, it works! But then again, if I change the dir via the weather menu....... :banghead: (hey cool set of emoticons you have, for every occasion, there's a suitable)

Jeff
 
Jeffrey Stähli said:
Thanks Arno,

Ahhh, so it's a mdl in the end...hmm, why did MS drop the bgl?! Well anyway, I put 2 objects into the fs world which both read the C74 variable as stated in your tutorial. They both are visible on the screen, but when I change the wind direction, nothing happens!
Jeff

It's a weird FS quirk that a wind change won't instantly affect the C74 variable for some reason. So, your windsocks are working fine.

Did you make seperate windsocks for various windspeeds also? I did this, and it seems to work fine, but I find that I get a crash when I fly to my airport from another airport (at about 10NM), but I don't get any crash when I take start at my project airport. Through trial-and-error, I figured out it was my windsock objects, so I was wondering if you had any problems. I think my problem is related to the fact that I hand-edited my .asm files, so I may have messed up there somewhere. I was testing for two conditions - and maybe this was the problem. Anyway, I'm pretty new at editing .asm, so I figured I got in a little over my head.

- Martin
 
Hi Martin,

Well, for some reason, it suddenly works now...the rotation that is. How did you implemented the velocity checks within the asm files?
I mean where exactly do I have to check the vars with IFIN1?

Crashes?? Not tested yet, but I will report if it should once happen.
New to asm editing? yeah, me too, me too...the new RIFF format of the asm's looks really odd to me...

Jeff
 
Back
Top