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

getting crazy

Messages
3
Country
spain
Hello to all

I've made a model for a stopping barrier net with a simple animation UP/DOWN. The idea is to raise it when you are landing (trigger NAV1). The problem is that there is an error during compilation and the new MDL is not created. I've been reading all the forums in the world and outside and can't find an answer.

Things Checked list.

GMAX used
part named tick18_barrera
mdl exported OK (mdl+asm+asm_0)
CAT used and new ASM files created but not new mdl
I've tryed to compile by hand, but it doesn't work.

Help please, I think the project is very interesting

Thank you

Enrique Emperador Ric
Virtual Spanish Airforce Flight Academy director
 
Hi,

What is the error you get?
 
This is the full text of the compilation status window

Starting compilation...

Microsoft (R) Flight Simulator BGL Compiler Version 8.00
Copyright (C) Microsoft Corp 1981-2002. All rights reserved.

Assembling: C:\Documents and Settings\kike\Escritorio\IADS\CAT\barrera_cat.azm
C:\Documents and Settings\kike\Escritorio\IADS\CAT\barrera_cat_0.asm(4611) : error A2006: undefined symbol : _local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Documents and Settings\kike\Escritorio\IADS\CAT\barrera_cat_0.asm(4611): Include File
BGLC: Error!

Compilation ready!


thank you Arno for your help
 
OK, usually this error means that the animation is not correct in the ASM file. Have you check the animation you made in FS before running it through CAT to see if it is working then?
 
Not really. I supposed that if it works on GMAX it will do the same in FS. (dumb of me).

It's my first animation and learning every day.

Thank you Arno.
I'll try it to see wat's going on.
 
You did mention that you used the tick18_ prefix, but are you sure you used it on all animated objects? Usually forgetting this prefix is the problem when you get errors like that.
 
OK it's for sure my problem, I though that naming the group of object with tick18_ will be the only thing to do. I have a lot of object in the group....big job :)
 
It was my problem objects have now the prefix for their names and for 4 objects I had a scaling but for that gmax-makeMDL display an error message saying to delete the scaling. I don't know how I've changed the scaling in gmax but I find how the delete it and the animation works in FS. Now I have a problem with CAT.

To test I do the same settings like in the example find in the documentation. but when I set NAV2 to 112MHz no animation in FS

With the right MDL file compiled animation plays all the time. Normal.

I have taken the name.asm file and not _0.asm
An _cat.mdl is done and used in the XML to BGLcomp to make the BGL

What can be wrong ?

When it will be OK I will use Actigate to use the parking brake event with the mask set to 1 for usrvar5 in place of the NAV2 frequency and the bounding box.

thanks for reply
 
Last edited:
No one can explain maybe a problem in gmax ?
I've tried to link all the animated object with the icon top left but no animation visible after CAT modifications.
 
Are you sure you are using the correct trigger? The example with NAV2 at 1200h, requires you to tune the radio to 112.00 to work. If you only applied a trigger that should be enough to start the animation.
 
Hi Arno

Yes I've set 112.0MHz for NAV2 on the plane
Here's the settings made in CAT :

image1jg4.jpg


image2mz4.jpg


image3dv3.jpg


image4uq8.jpg


I've made a mistake in gmax and after have seen flash tutorial on gmax animation downloadable on avsim, I've fixed some things :

only the main animated object have the tick18_ prefix
other objects attached to it are linked to the main object and verified to be well linked in the track view
all pivot point are aligned with the main object pivot point and verified
animation have been reset and redone.
export the MDL
run CAT like you can see
bglcomp with the new mdl file
bgl file replace the old one in the scenery folder....

is the *_cat.asm file could be a good help to find the problem ?

I have 20 objects of this type in the bgl. It's the only bgl file in the scenery for the moment


thanks arno
 
Last edited:
Hi,

Two things. Did you test it without the bounding box condition as well? Just to be sure the trigger itself is working.

When you say you have 20 objects, do you mean that you placed this animation library object 20 times at different locations? In that case you can't use the animation condition being applied to the trigger, it needs to be applied to the animation instead.
 
Arno

exact I've forget for the multiple animation.
now I've a bgl with only one animated object
the animation works if I devalid the first condition for the bounding box
animation starts s after the trigger occurs. it's the animation time.
if the condition dissapear, s after the animation "rewind"

with the bounding box validated the animation don't work with plane in front of the object and the NAV set

why why why ?????
 
Maybe another idea :D
If I reverse the conditions
First I place the NAV2 condition for animation trigger (only 1 animation now)
And after the bounding box ????

I will try in the evening.

Hi Manfred,

I don't think you need to use the animation condition here, all you need is the trigger. So you can leave the first screen empty as well.

The animation condition should only be used if you want to add another condition that determines when the animation can be trigger. You could for example use the time of day there, to make sure that the doors only open during the day. While the bounding box remains the trigger for the actual animation.

All distances are given relative to the reference point of the object. So that is the 0,0 point in GMax. Also be aware that the rotation command does not rotate with your heading in the XML code, so that is why you need to enter the rotation in the screen as well (and it should match your XML heading).

I've found an old reply.
Maybe the solution.....
 
Last edited:
THAT WORKS !!!!!

Read carefully the documentation, it was written to modify the rotation if you've change heading in the XML !!!! :D

Even with ActiGate and the Parking Brake. I've changed also the coordinates for bounding box because my object is in negative part in gmax....

Thank you Arno for your help and all of your useful tools

bye

PS : sorry to make answers and responses
 
Good to hear it is working now :D.
 
Back
Top