Hi again, I tried Arno's tweaking method but didn´t find the following piece of code he mentioned:
OBJECT_0_START label word
IFIN1 OBJECT_0_FAIL, image_complex, 2, 32767
ADDOBJ OBJECT_0_SCALE
SHADOW_CALL OBJECT_0_SCALE
OBJECT_0_FAIL label BGLCODE
Instead of that makemdl generated this two .asm files
testflo1.asm with the following code:
; compile with BGLC /MDL C:\Archivos de programa\Microsoft Games\Flight Simulator 9\Addon Scenery\test\Scenery\testflo1.asm
db 'R','I','F','F' ; RIFF file identifier
dd bgl_data_end - $ - 4 ; size of RIFF data
db 'M','D','L','9' ; file identifire (FS9 model)
db 'M','D','L','H'
dd visual_model_header_end - $ - 4
dd visual_model_header_end - $ - 4
dd 0
dd 0
dd 213
dd 0
dd 0
dd 152
db 'F','S','8','0'
dd 2304
visual_model_header_end label dword
db 'I','S','F','T'
dd ver_end - $ - 4
db "MakeMDL - FS90 (9.00.030612.02)",0
ver_end label word
bounding_box_riff_start label word
db 'B','B','O','X'
dd bounding_box_riff_end - $ - 4
real4 -150.000, 0.000, -150.000
real4 150.000, 0.000, 150.000
bounding_box_riff_end label word
model_outside label BGLCODE
model_shadow label BGLCODE
model_inside label BGLCODE
crash_riff_start label BGLCODE
db 'C','R','A','S'
dd crash_riff_end - $ - 4
BGL_CRASH_START model_crash_end, 213
BGL_CRASH_OCTTREE crash_end_1
dw CRASH_FLAG_BUILDING_PLANE ; crash type
dw 1 ; nodes used
real4 -150.000000,0.000000,-150.000000 ; Box x,y,z
real4 300.000092,100.000031,300.000092 ; Box w,h,d
dw 1, 1, 1, 1, 1, 1, 1, 1 ; base offset into node table, one for each top-level branch
; So if you take branch 2 (count from 0), you add 1 to indices you encounter on that branch
; Nodes (254=empty 255=full, else an index into branch)
OCTTREE_NODE 254, 254, 254, 254, 254, 254, 254, 254 ; node 0
crash_end_1 label word
model_crash_end label word
BGL_RETURN
crash_riff_end label BGLCODE
exterior_riff_start_0 label BGLCODE
db 'E','X','T','E'
dd exterior_riff_end_0 - $ - 4
LOD_0L label BGLCODE
include C:\Archivos de programa\Microsoft Games\Flight Simulator 9\Addon Scenery\test\Scenery\testflo1_0.asm
exterior_riff_end_0 label BGLCODE
bgl_data_end label BGLCODE
and testflo1_0.asm
; BGL model for C:\Archivos de programa\Microsoft Games\Flight Simulator 9\Addon Scenery\test\Scenery\testflo1
;
; $Header:$
;
;----------------------------------------------------------------------------
;
; Final Status: 4 polys
; Alpha Status: 0 polys
; Light Status: 0 polys
; Library Status: 0 polys
;
; Start Time: 09/16/04 00:20:40
; Stop Time : 09/16/04 00:20:40
;
; Modeling units = 1.0000
; Radius = 212.1320
; Radius in meters = 212.1320
; Radius in modeling units = 213
;
testflo1_top label BGLCODE
texture_riff_start_kndflo1 label word
db 'T','E','X','T'
dd texture_riff_end_kndflo1 - $ - 4
TEXTURE_LIST_BEGIN
TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 212.132034, "ZBIAS_TESTFLO01.BMP" ; 0
TEXTURE_LIST_END
BGL_RETURN
texture_riff_end_testflo1 label word
material_riff_start_testflo1 label word
db 'M','A','T','E'
dd material_riff_end_kndflo1 - $ - 4
MATERIAL_LIST_BEGIN
MATERIAL_DEF 1.000000,1.000000,1.000000,1.000000, 0.392157,0.392157,0.392157, 0.000000,0.000000,0.000000, 0.000000,0.000000,0.000000, 0.000000 ; 0
MATERIAL_LIST_END
BGL_RETURN
material_riff_end_testflo1 label word
vertex_riff_start_testflo1 label word
db 'V','E','R','T'
dd vertex_riff_end_testflo1 - $ - 4
VERTEX_LIST_BEGIN
VERTEX_DEF -150.000015, -150.000015, 0.000000, 0.000000, 0.000000,-1.000000, 0.000000,0.000000 ; 0 part= 5 prim=0
VERTEX_DEF -150.000015, 150.000015, 0.000000, 0.000000, 0.000000,-1.000000, 0.000000,1.000000 ; 1 part= 5 prim=0
VERTEX_DEF 150.000015, -150.000015, 0.000000, 0.000000, 0.000000,-1.000000, 1.000000,0.000000 ; 2 part= 5 prim=0
VERTEX_DEF 150.000015, 150.000015, 0.000000, 0.000000, 0.000000,-1.000000, 1.000000,1.000000 ; 3 part= 5 prim=0
VERTEX_LIST_END
BGL_RETURN
vertex_riff_end_testflo1 label word
bgl_riff_start_kndflo1 label BGLCODE
db 'B','G','L',' '
dd bgl_riff_end_testflo1 - $ - 4
LOD_0_kndflo1 label BGLCODE
; NonAlpha
testflo1_NonAlpha label BGLCODE
BGL_CALL_32 kndflo1_MasterScale_1 ; Node 1 - MasterScale
BGL_END
BGL_RETURN
testflo1_MasterScale_1 label BGLCODE
; Node 3 - RotateAroundX transform:
BGL_SET_MATRIX_INDIRECT 0
BGL_CALL_32 kndflo1_testflo1_2 ; Node 5 - testflo1
testflo1_skip_1 label BGLCODE
MATERIAL 0,0 ; <255,255,255,255> ZBIAS_TESTFLO01.BMP;;;
BGL_RETURN
testflo1_testflo1_2 label BGLCODE
MATERIAL 0,0 ; <255,255,255,255> ZBIAS_TESTFLO01.BMP;;;
DRAW_TRI_BEGIN 0, 4
DRAW_TRI 2, 3, 0 ; poly=2 part=5
DRAW_TRI 1, 0, 3 ; poly=1 part=5
DRAW_TRI_END
BGL_RETURN
bgl_riff_end_testflo1 label BGLCODE
;
; STATIC ANIMATION BLOCK
;
static_matrix_list_riff_start_kndflo1 label word
db 'T','R','A','N'
dd static_matrix_list_riff_end_testflo1 - $ - 4
; Static matrix parameters for transform: 0
real4 1.000000, 0.000000, 0.000000, 0.000000
real4 0.000000, 0.000000, 1.000000, 0.000000
real4 0.000000, -1.000000, 0.000000, 0.000000
real4 0.000000, 0.000000, 0.000000, 1.000000
static_matrix_list_riff_end_testflo1 label word
;
; ANIMATION PARAMETER BLOCK
;
animation_parameters_riff_start_testflo1 label word
db 'A','N','I','P'
dd animation_parameters_riff_end_testflo1 - $ - 4
animation_parameters_riff_end_testflo1 label word
;
; ANIMATION COMMAND BLOCK
;
animation_commands_riff_start_testflo1 label word
db 'A','N','I','C'
dd animation_commands_riff_end_testflo1 - $ - 4
; Animation command for transform: 0 output index: 0
bgl_animation_command_start_kndflo1_0 label BGLCODE
BGL_TRANSFORM_INDIRECT 0, 0
bgl_animation_command_end_testflo1_0 label BGLCODE
animation_commands_riff_end_testflo1 label word
;
; SCENE GRAPH RIFF BLOCK
;
scene_graph_riff_start_kndflo1 label word
db 'S','C','E','N'
dd scene_graph_riff_end_kndflo1 - $ - 4
dw 1
bgl_scene_graph_entry_kndflo1_0 label byte
BGL_SCENEGRAPH_ENTRY 0, -1, -1, bgl_animation_command_end_kndflo1_0 - bgl_animation_command_start_kndflo1_0, bgl_animation_command_start_kndflo1_0 - bgl_scene_graph_entry_testflo1_0
scene_graph_riff_end_testflo1 label word
platform_riff_start_testflo1 label word
db 'P','L','A','T'
dd platform_riff_end_testflo1 - $ - 4
dd 2 ; platform count
BGL_PLATFORM_ENTRY 0, platform_vertex_start_kndflo1_0, 3, 0
BGL_PLATFORM_ENTRY 0, platform_vertex_start_kndflo1_1, 3, 0
platform_vertex_start_kndflo1_0 label byte
BGL_PLATFORM_VERTEX_ENTRY 150.000000, 0.000000, 150.000000
BGL_PLATFORM_VERTEX_ENTRY -150.000000, 0.000000, -150.000000
BGL_PLATFORM_VERTEX_ENTRY -150.000000, 0.000000, 150.000000
platform_vertex_start_kndflo1_1 label byte
BGL_PLATFORM_VERTEX_ENTRY -150.000000, 0.000000, -150.000000
BGL_PLATFORM_VERTEX_ENTRY 150.000000, 0.000000, 150.000000
BGL_PLATFORM_VERTEX_ENTRY 150.000000, 0.000000, -150.000000
platform_riff_end_kndflo1 label word
;--------- WARNING - WARNING - WARNING - WARNING - WARNING - WARNING ---------
;
; This file was automatically generated from C:\Archivos de programa\Microsoft Games\Flight Simulator 9\Addon Scenery\test\Scenery\testflo1
; using the MakeMDL tool. Do not edit by hand, re-run the
; tool instead.
;
; generated on 09/16/04 00:20:40
Please anyone help me to find at least that piece of code or explain me how can i generate it since i cannot find it in these asm files
Also i gotta point out that I used both systems creating a platform out of the gmax plane(geometric figure) and leaving it as a plain object not being a platform; none of them worked.
Thanks
Greg