PDA

View Full Version : Problem with exporting CAT mdl


dr_psyser
21 Jun 2005, 12:48
G'day Everyone (this is my first post!)

I am experiencing a problem while trying to use object placer to place a modified MDL (using CAT) - the problem is occuring in obplacer, but I am pretty sure it stems from CAT.

I have placed a simple animation trigger (bounding area) on an animation of a car going by, I have no troubles in CAT, but when I go to compile the XML file in object placer, I get the following error message:

C:\Program Files\SceneryDesign.org\ObPlacer XML>bglcomp compile.xml

Parsing document: compile.xml

ERROR C2014: Failed to load model data in file: C:\Program Files\SceneryDesign.org\Library Creator XML\MDLS\TESTCAR_cat.mdl
ERROR C2149: Failed to load model data!
ERROR C2340: Failed to finalize MODEL_DATA!
ERROR C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <ModelData
ERROR: name = 8268827B78294E55A7E740B6BBE86E93
ERROR: sourceFile = C:\Program Files\SceneryDesign.org\Library Creator XML\MDLS\TESTCAR_cat.mdl
ERROR: >
ERROR:
ERROR C2024: Failed to process closing element tag <ModelData> near line 1!


Parse complete!

Can anyone cast any light on the problem?

Thanks Arno for all your work mate, you are a true legend!

Cheers

Jarrad

arno
21 Jun 2005, 14:02
Hi Jarrad,

Can you take a look at the XML file created by ObPlacer XML? Does it contain quotes around the MDL filename? If they are missing that is probably the problem (due to the space in your path).

dr_psyser
22 Jun 2005, 01:29
G'day Arno

Yup I have quotations around model number.

I have attached (http://www.westsim.com.au/CCBB/CARANIMATIONS.xml) the XML file if you want to have a look at it.

Cheers

Jarrad

arno
23 Jun 2005, 14:20
Hi Jarrad,

The file looks OK. How are you compiling the file? From ObPlacer XML or manual with BGLComp?

dr_psyser
25 Jun 2005, 01:40
Thanks arno

I'm compiling straight from ObPlacer after saving my changes to the XML. Would you recommend doing it manually?

Cheers

Jarrad

arno
25 Jun 2005, 03:49
Hi Jarrad,

No, I thought it could be the problem if you did it manual :).

Can you sent me your MDL file? Then I can test to compile here.

dr_psyser
25 Jun 2005, 13:26
G'day Arno

Thanks mate, here ya go

Cheers

Jarrad

arno
26 Jun 2005, 04:22
Hi Jarrad,

If you are using the same file you sent me know, the problem is that they MDL name in the XML is different then the MDL file name. ANIMATE_CARS_cat.mdl vs ANIMATEDCAR_cat.mdl. Can you check if you use the correct filename? Once I change the name if compiles without errors here.