- Messages
- 68
- Country

Hi everyone. I am kind of messing with the gmax ground polys and tweaking them to be 3-dimensional. The Wiki tutorial on this article did not help me because a lot of lines on my ASM file is missing like:
My ASM shows this, the first one is the original, the second one has the _0 in it.
Please help me on this. I don't know where to find the line to activate the object to be 3d. Oh and last thing, I used MDLCommander in this.
Thanks a lot for the help
Justin
PHP:
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
PHP:
; compile with BGLC /MDL C:\Program Files\gmax\gamepacks\fs2004\meshes\polygon_sample.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 1018
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 -899.650, 0.000, 383.647
real4 -817.382, 0.000, 475.887
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, 1018
BGL_CRASH_OCTTREE crash_end_1
dw CRASH_FLAG_BUILDING_PLANE ; crash type
dw 1 ; nodes used
real4 -899.649658,0.000000,383.647400 ; Box x,y,z
real4 82.267433,30.746412,92.239235 ; 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:\Program Files\gmax\gamepacks\fs2004\meshes\polygon_sample_0.asm
exterior_riff_end_0 label BGLCODE
bgl_data_end label BGLCODE
PHP:
;--------- WARNING - WARNING - WARNING - WARNING - WARNING - WARNING ---------
;
; This file was automatically generated from C:\Program Files\gmax\gamepacks\fs2004\meshes\polygon_sample
; using the MakeMDL tool. Do not edit by hand, re-run the
; tool instead.
;
; generated on 12/28/07 20:04:58
;
;--------- WARNING - WARNING - WARNING - WARNING - WARNING - WARNING ---------
; BGL model for C:\Program Files\gmax\gamepacks\fs2004\meshes\polygon_sample
;
; $Header:$
;
;----------------------------------------------------------------------------
;
; Final Status: 2 polys
; Alpha Status: 0 polys
; Light Status: 0 polys
; Library Status: 0 polys
;
; Start Time: 12/28/07 20:04:58
; Stop Time : 12/28/07 20:04:58
;
; Modeling units = 1.0000
; Radius = 1017.7610
; Radius in meters = 1017.7610
; Radius in modeling units = 1018
;
polygon_sample_top label BGLCODE
texture_riff_start_polygon_sample label word
db 'T','E','X','T'
dd texture_riff_end_polygon_sample - $ - 4
TEXTURE_LIST_BEGIN
TEXTURE_DEF TEXTURE_BUILDING , <255,255,255,255>, 61.596540, "APRON_TEXTURE_CONCRETE.BMP" ; 0
TEXTURE_LIST_END
BGL_RETURN
texture_riff_end_polygon_sample label word
material_riff_start_polygon_sample label word
db 'M','A','T','E'
dd material_riff_end_polygon_sample - $ - 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_polygon_sample label word
vertex_riff_start_polygon_sample label word
db 'V','E','R','T'
dd vertex_riff_end_polygon_sample - $ - 4
VERTEX_LIST_BEGIN
VERTEX_DEF -899.648071, 0.000000, 475.888031, 0.000000, 1.000000, 0.000000, 0.000000,1.000000 ; 0 part= 0 prim=0
VERTEX_DEF -899.648071, 0.000000, 383.648010, 0.000000, 1.000000, 0.000000, 0.000000,0.000000 ; 1 part= 0 prim=0
VERTEX_DEF -817.384033, 0.000000, 475.888031, 0.000000, 1.000000, 0.000000, 1.000000,1.000000 ; 2 part= 0 prim=0
VERTEX_DEF -817.384033, 0.000000, 383.648010, 0.000000, 1.000000, 0.000000, 1.000000,0.000000 ; 3 part= 0 prim=0
VERTEX_LIST_END
BGL_RETURN
vertex_riff_end_polygon_sample label word
bgl_riff_start_polygon_sample label BGLCODE
db 'B','G','L',' '
dd bgl_riff_end_polygon_sample - $ - 4
LOD_0_polygon_sample label BGLCODE
; NonAlpha
polygon_sample_NonAlpha label BGLCODE
MATERIAL 0,0 ; <255,255,255,255> APRON_TEXTURE_CONCRETE.BMP;;;
DRAW_TRI_BEGIN 0, 4
DRAW_TRI 0, 1, 2 ; poly=2 part=0
DRAW_TRI 1, 3, 2 ; poly=1 part=0
DRAW_TRI_END
BGL_END
BGL_RETURN
bgl_riff_end_polygon_sample label BGLCODE
;--------- WARNING - WARNING - WARNING - WARNING - WARNING - WARNING ---------
;
; This file was automatically generated from C:\Program Files\gmax\gamepacks\fs2004\meshes\polygon_sample
; using the MakeMDL tool. Do not edit by hand, re-run the
; tool instead.
;
; generated on 12/28/07 20:04:58
;
;--------- WARNING - WARNING - WARNING - WARNING - WARNING - WARNING ---------
Please help me on this. I don't know where to find the line to activate the object to be 3d. Oh and last thing, I used MDLCommander in this.
Thanks a lot for the help
Justin



