Map2dif error.
by Sam B. · in Artist Corner · 07/10/2003 (3:22 am) · 1 replies
When compiling my prefab, I get the following error:
"Interior::write: non-write capable stream passed"
The process window gives the following results :
Successfully opened map file: e:\dynamix\worldcraft files\is_minotaurlair.map
Parsing mapfile...done.
Creating BSP...done.
Marking active zones...done
Creating surfaces...done.
Lightmaps: Normal...
* Number of ambiguous planes (dropped): 1
Alarm...done.
Resorting and Packing LightMaps...done.
STATISTICS
- Total brushes: 1712
+ structural: 1381
+ detail: 328
+ portal: 3
- Number of zones: 9
- Number of surfaces: 8029
Exporting to runtime...done.
Writing Resource: persist..(base/interiors/is_minotaurlair.dif)
The " * Number of ambiguous planes (dropped): 1" catches my eye. That dropped from 3+ after I added some detail brushes.
Can anyone help with this? I must get the file compiled by friday to meet a deadline. Thank you.
"Interior::write: non-write capable stream passed"
The process window gives the following results :
Successfully opened map file: e:\dynamix\worldcraft files\is_minotaurlair.map
Parsing mapfile...done.
Creating BSP...done.
Marking active zones...done
Creating surfaces...done.
Lightmaps: Normal...
* Number of ambiguous planes (dropped): 1
Alarm...done.
Resorting and Packing LightMaps...done.
STATISTICS
- Total brushes: 1712
+ structural: 1381
+ detail: 328
+ portal: 3
- Number of zones: 9
- Number of surfaces: 8029
Exporting to runtime...done.
Writing Resource: persist..(base/interiors/is_minotaurlair.dif)
The " * Number of ambiguous planes (dropped): 1" catches my eye. That dropped from 3+ after I added some detail brushes.
Can anyone help with this? I must get the file compiled by friday to meet a deadline. Thank you.
Associate Matt Fairfax
Night Heron Games
Some other causes might be that your .dif is read-only or in a read-only folder or that the export folder does not actually exist.
As a good rule of thumb I generally put the .map file in the same folder as where the .dif is going to be exported and just don't specify an export file name (i.e. map2dif.exe c:\torque\example\fps\data\interiors\evil1\fairfax\bhouse.map will write bhouse.dif out to the same folder).
Don't stress too much over ambiguous planes or orphaned polies unless the engine is crashing on lighting or when you collide with some part of the interior. 99% of the time this won't happened and those warnings can be ignored.