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

Lights...disappeared?

Messages
374
Country
italy
Hi guys,
I'm tweaking my asm files to make some lights visible during night and since 150m. This is my code:
Code:
OBJECT_0_START label word 
IFIN1 OBJECT_0_FAIL, image_complex, 2, 32767 
IFIN1 OBJECT_0_FAIL, tod, 2, 4 
IFIN1 OBJECT_0_FAIL, 033Bh, 0, 150
ADDOBJ OBJECT_0_SCALE 
SHADOW_CALL OBJECT_0_SCALE 
OBJECT_0_FAIL label BGLCODE 
    BGL_JUMP_32 OBJECT_0_END  
OBJECT_0_SCALE label    BGLCODE
It works but since 150m to I-don't-know they appears, after this "point" they disappear forever. What's wrong?
thanks!
 
Hi,

I am not really sure what you mean here. Can you write down your question in other words? The code looks OK, I don't see a problem in there.
 
Ok, sorry for my bad english!
So, I've hacked the file because I want that my lights will be visible from 150m (now I can see that lights from 5km!). I've tweaked the code and seems works fine. When I approach to airport the lights became visible since 150m but after a couple of seconds (moving close to them) they became invisible again! (or better they disappear).
I guess I wrongly hacked the code...
 
Hi,

How far are the lights from the reference point (the 0,0 point in GMax)? The distance is always measured from that point, so it could be that you are flying out of range again.
 
Back
Top