No MDL created

#1
Have been using CAT 0.93 for a while with success, but this morning I was trying to create the mdl for this particular object and am getting this error:

Starting compilation...

Microsoft (R) Flight Simulator BGL Compiler Version 8.00
Copyright (C) Microsoft Corp 1981-2002. All rights reserved.

Assembling: C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat.azm
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(359) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(359): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(458) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(458): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(484) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(484): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(525) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(525): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(554) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(554): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(598) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(598): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(627) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(627): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(671) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(671): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(700) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(700): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(744) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(744): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(773) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(773): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(817) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(817): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(846) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(846): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(890) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(890): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(919) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(919): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2342) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2342): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2343) : error A2006: undefined symbol : anim_hangar_trans_1_1_a
BGL_ANIMATE_INDIRECT(7): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2343): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2349) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2349): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2350) : error A2006: undefined symbol : anim_hangar_trans_1_1_b
BGL_ANIMATE_INDIRECT(7): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2350): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2356) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2356): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2357) : error A2006: undefined symbol : anim_hangar_trans_1_1_c
BGL_ANIMATE_INDIRECT(7): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2357): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2363) : error A2006: undefined symbol : anim_hangar_local_varbase_1
LOCAL_BASE_32(4): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2363): Include File
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2364) : error A2006: undefined symbol : anim_hangar_trans_1_1_d
BGL_ANIMATE_INDIRECT(7): Macro Called From
C:\Program Files\Microsoft Games\Flight Simulator 9\Addon Scenery\AAS_TIST\Scenery\anim_hangar_cat_0.asm(2364): Include File
BGLC: Error!

Compilation ready!
I am attaching the asm codes for review. I am using the FS9 gamepack from GMAX 1.2
 

Attachments

Last edited by a moderator:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#2
Hi Todd,

I had a look at the source and the first animation defined there has no interpolation tables in front of it. This causes CAT to get confused and gives the errors during compilation.

I also noticed you had a DICT section in your file (this is only valid in aircraft MDL files), so I guess you have been using something that is not common in scenery.
 
#3
Hmmm.... :scratchch Well, I set the first condition to Altitude and the second condition to NAV2 and the trigger at distance to ref point.

I started completely over with the hangar and recreated everything and now it works. Not sure what I did, but apparently I didnt do it again the second time.

But now that I think of it, my GMAX did freeze up about half way through the design the first time and I had to use the recovery feature. This may have messed up something in the code.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#4
I think it is more likely that you used something aircraft specific or maybe tried to use LIGHT_LAND or something like that.
 
Top