Arno,
don't forget to mention, that these are variables used for static scenery and are available mainly for section 9. For dynamic scenery, there are different variables which can also be used like:
0018 objects pitch, bank and heading data (readonly)
0024 different objects flag, readonly!
values to check:
0x0001 anti collision stopping disabled
0x0002 unused
0x0004 gear bit
0x0008 unused
0x0010 day
0x0020 dawn / dusk
0x0040 night
0x0F00 mask for density bits (0...4 valid)
0x1000 object is considered "other traffic"
0x2000 object is considered "service traffic"
0x4000 object is considered "ground aircraft traffic"
0x8000 object is considered "airborne aircraft traffic"
for example: IfVarRange( :AntiCollision_disable 0024 0x0001 0x0001 )
0026 timer variable, I think it's the same as 5FC (readonly)
002C Object radius in meters (read-write!)
SetVar( 002C 0 )
IfVarRange( :toosmall 002C 0 2 )
0030, 0032, 0034, 0036, 0038, 003A, 003C, 003E (read-write) - color or user variables 0-7
for ex.: SetVar( 0030, 1 )
There are also other but for dynamic scenery these are by my opininon the most important.
To come back to section 9 variables. ADF frequency has 2 variables, not only one. First one, 7C6 is used for checking whole numbers, then there is another 7CA or sth like that, that can be used for reading decimal numbers.
Arno, do You need some examples for SCASM and ASM? I can help You with the SCASM (I am just learning ASM+gmax+...).
Hope it helps and best regards,
don't forget to mention, that these are variables used for static scenery and are available mainly for section 9. For dynamic scenery, there are different variables which can also be used like:
0018 objects pitch, bank and heading data (readonly)
0024 different objects flag, readonly!
values to check:
0x0001 anti collision stopping disabled
0x0002 unused
0x0004 gear bit
0x0008 unused
0x0010 day
0x0020 dawn / dusk
0x0040 night
0x0F00 mask for density bits (0...4 valid)
0x1000 object is considered "other traffic"
0x2000 object is considered "service traffic"
0x4000 object is considered "ground aircraft traffic"
0x8000 object is considered "airborne aircraft traffic"
for example: IfVarRange( :AntiCollision_disable 0024 0x0001 0x0001 )
0026 timer variable, I think it's the same as 5FC (readonly)
002C Object radius in meters (read-write!)
SetVar( 002C 0 )
IfVarRange( :toosmall 002C 0 2 )
0030, 0032, 0034, 0036, 0038, 003A, 003C, 003E (read-write) - color or user variables 0-7
for ex.: SetVar( 0030, 1 )
There are also other but for dynamic scenery these are by my opininon the most important.
To come back to section 9 variables. ADF frequency has 2 variables, not only one. First one, 7C6 is used for checking whole numbers, then there is another 7CA or sth like that, that can be used for reading decimal numbers.
Arno, do You need some examples for SCASM and ASM? I can help You with the SCASM (I am just learning ASM+gmax+...).
Hope it helps and best regards,
Last edited:


