- Messages
- 107
- Country

Hi,
New problem, new question . It's about ground polygon tweaking again .
In Gmax, I created 2 ground polygons
- Ground (layer 8) -> ground.asm, ground_0.asm
- Runway 25R/7L (layer 12) -> 25r7l.asm, 25r7l_0.asm
and exported them separately .
After that, I tweak the ASM file to call two layers in one ASM file (followed the article : http://www.fsdeveloper.com/wiki/index.php?title=Ground_polygons_(ASM_tweak)) and renamed it ground_layout.asm.
But after I exported again, in FS, it didn't show the correct heading I set for 2 files when I export them with FS2002 MakeMDL.exe .
I thought the difference appeared when I tweaked the ASM file .
Here is the coordinate of Ground.asm file
and 25L7R.asm file :
The tweaking file Ground_layout.asm file I used the coordinate of ground.asm file .
The question is what's the exactly coordinate I should use when I tweaking
If I tweak 2 files ground.asm and 25r7l.asm seperately, they worked fine (FS show correct heading, coordinates) . But I tweak as complex method, don't work for me !!!
Thanks
New problem, new question . It's about ground polygon tweaking again .
In Gmax, I created 2 ground polygons
- Ground (layer 8) -> ground.asm, ground_0.asm
- Runway 25R/7L (layer 12) -> 25r7l.asm, 25r7l_0.asm
and exported them separately .
After that, I tweak the ASM file to call two layers in one ASM file (followed the article : http://www.fsdeveloper.com/wiki/index.php?title=Ground_polygons_(ASM_tweak)) and renamed it ground_layout.asm.
But after I exported again, in FS, it didn't show the correct heading I set for 2 files when I export them with FS2002 MakeMDL.exe .
I thought the difference appeared when I tweaked the ASM file .
Here is the coordinate of Ground.asm file
;compile with BGLC /BGL G:\gmax\Scenes\ground.asm
header label word
dw 0001 ; 00 World set number
dd 0001267B8H ; 02 North bound
dd 000124754H ; 06 South bound
dd 04BD9C6E1H ; 10 East bound
dd 04BD9C6DFH ; 14 West bound
dw 20 dup(0)
dd (offset OBJECT_DATA) - (offset header)
dw 33 dup(0)
OBJECT_DATA label word
db 21 ;;LATBAND_REL
dw 00923h ;;lat min (inclusive) 512M units
dw 00934h ;;lat max (exclusive)
dd (offset OBJECT_0) - (offset OBJECT_DATA)
db 0 ;;EOL
OBJECT_0 label BGLCODE
db 12 ; NEAR_FAR_HUGE_OBJECT_HEADER
dd 000125786h,04BD9C6E0h ; latitude,longitude
db 100 ; image power
dd (offset OBJECT_0_END) - (offset OBJECT_0)
and 25L7R.asm file :
;compile with BGLC /BGL G:\gmax\Scenes\25r7l.asm
header label word
dw 0001 ; 00 World set number
dd 0001263D6H ; 02 North bound
dd 000124B36H ; 06 South bound
dd 04BD9C6E1H ; 10 East bound
dd 04BD9C6DFH ; 14 West bound
dw 20 dup(0)
dd (offset OBJECT_DATA) - (offset header)
dw 33 dup(0)
OBJECT_DATA label word
db 21 ;;LATBAND_REL
dw 00925h ;;lat min (inclusive) 512M units
dw 00932h ;;lat max (exclusive)
dd (offset OBJECT_0) - (offset OBJECT_DATA)
db 0 ;;EOL
OBJECT_0 label BGLCODE
db 12 ; NEAR_FAR_HUGE_OBJECT_HEADER
dd 000125786h,04BD9C6E0h ; latitude,longitude
db 100 ; image power
dd (offset OBJECT_0_END) - (offset OBJECT_0)
The tweaking file Ground_layout.asm file I used the coordinate of ground.asm file .
The question is what's the exactly coordinate I should use when I tweaking
If I tweak 2 files ground.asm and 25r7l.asm seperately, they worked fine (FS show correct heading, coordinates) . But I tweak as complex method, don't work for me !!!
Thanks
Attachments
Last edited:
