• 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.

ASM editing in Fs2004

Hi,

Like many other I have also problems with a turning wind sock. I've read the post about windsocks in this forum too, and created one. But I want my windsock to have two colors(red and with) and not one. Does anyone know a good method to do this? Maybe there is some kind of code, that let your gmax object turn with the wind. I know it must be possible. Thanks in advance.

Jorrit
 
Hi Jorrit,

Yes, that is possible, but you would have to do some source tweaking for it. Have a look at [thread=90]this[/thread] or [thread=254]this[/thread] thread.
 
Ah yes, forgot to mention that. With the Fs2004 MakeMDL this option is not available by default. I think it is easiest to install MDLCommander. This will give you an option screen during the export (like it was with the Fs2002 gamepack). One of the options on this screen is "keep files" and that will save the ASM files in the same folder where you made your MDL file. I think I should update the post about working with BGLC with this information.
 
I tried Mdlcommander, I think I did what it says I had to do, but I don't get and .asm file. The tutorial is not very clear..to me. Maybe you can explain what I'm doing wrong. I only get the xml and the mdl file, as normal.
THanks
 
After you have installed MDLCommander, did you get the screen with options during export? Otherwise you maybe forgot to rename it to makemdl (and rename makemdl to the name given in the documentation)?
 
I'm sure I named it correct. I just tried something and it worked. When I export a file to the plugins folder, with a different name then the .par file it works. If I use the same name as the .par file I get an error. If I export to a different location (not the plugins folder) the mdl screen doesn't show up and I only get the xml and mdl file. And I did copied the .par to that location too
 
I never use a par file. So maybe try without it, then I always get the options screen.
 
So when you select "keep files" in the options screen, don't you get the asm files?
 
I can get the the .asm file when I export it to the plugin folder only, it won't work if I export it to any other folder. But I can get the file now, it is only not easy when I need to export it to the plugins folder
 
Strange that is not how it should be.

All I did to install it was:

1. Rename makemdl.exe to mkmdl.exe
2. Rename makemdl.parts.xml to mkmdl.parts.xml
3. Rename mdlcommander.exe to makemdl.exe (or whatever name it had in the zip)

That's all. Apart from these three files I only have the fsmodelexp.dle file in my plugins folder.
 
Problem solved!! The problem caused by a very very stupid error of me :banghead: :banghead: :banghead: Please forgive of being so very stupid. It is even too stupid to tell what it was. :duck:

Ok, next question: I've edited the .asm file, I now have the asm file the mdl file the xml, how do I make a bgl from it? I hope it is not that stupid as what I did in the previous posts.
 
Download BGLC_9, you can find it in a sticky at the top of this forum.

Then just drop your ASM file on the BGLC_9 icon or use DOS to compile it, something like:

Code:
BGLC_9 myfile.asm myfile.mdl

You can then use the updated MDL file like you used the origional.
 
oke done, but when I move the bgl file and start flightsim I get two errors:

errors.jpg



Some addition information. Although the title of the topic is called wind sock, I'm not busy the windsock anymore, but with a hangar door, that has the open is you are within an range of 20, the .asm file is editted with CATeditor downloaded here.
 
Last edited:
CAT only works with source code with the Fs2002 gamepack at the moment. Using it with the Fs2004 gamepack will not work (this could be the cause of your errors).

For the rest I have no idea about the errors, it is usual that you get a crash if you tweaked the BGL file wrong. So maybe if you tell what exactly you edited we can help in finding where it goes wrong. If you use CAT it is in general not needed to manually edit it afterwards.
 
Ok if I can't use the CAT program, I need to edit the .asm file myself. I haven't done this before, and I can't find a source code for opening a hangar door. If you are, let's say within 20m range the door should open and it should be closed (play reverse animation) if you are further away. Where can I find such a code and where do I need to place it in the .asm file.

Any idea when CAT for FS2004 is ready, I can really use that :)
 
Doing it manual would be rather complex. You should read my frequency controlled animation tutorial then and translate it from the Fs2002 to the Fs2004 code. This is something I would only recommend to people with quite some code editing experience.

I am working hard on CAT at the moment, but at the end of this week I am going on vacation. So I think it will take about a month or so, before it is alpha tested and ready to be put on the site.
 
Well, I should wait a month I think ;) Maybe I release a version of my scenery without those animations first and add those animations later, it's not a big problem. :)
 
Back
Top