Very lost with worldcraft
by David Bordeleau · in Torque Game Engine · 11/17/2001 (12:14 am) · 2 replies
ok here is what I did ->
built map2dif
started worldcraft
entered the parameters as described in the docs
made a map
tried to compile the map
now thats where I ran into my first problem...there error was: The file must have a .map extension.
I looked at the map2dif code and added a dprintf to see the file path/name. It was fine but had a square at the end...so I truncated the string by 1 (square) chars and it went in ok.
next problem I ran into was "Cannot find image xxxx.jpg or .png" which was the texture I used in my map. Now the .wad file containing the texture is in the parent directory of the map as the documents said. I made a search through the map2diff code and there is no reference to wad files....only jpg and png... Is it only me or do I have an old version that doesn't support wad files or something? I have v1.1 of the engine.
now I'm stuck there...might find a solution before I get an answer...but ya never know.
built map2dif
started worldcraft
entered the parameters as described in the docs
made a map
tried to compile the map
now thats where I ran into my first problem...there error was: The file must have a .map extension.
I looked at the map2dif code and added a dprintf to see the file path/name. It was fine but had a square at the end...so I truncated the string by 1 (square) chars and it went in ok.
next problem I ran into was "Cannot find image xxxx.jpg or .png" which was the texture I used in my map. Now the .wad file containing the texture is in the parent directory of the map as the documents said. I made a search through the map2diff code and there is no reference to wad files....only jpg and png... Is it only me or do I have an old version that doesn't support wad files or something? I have v1.1 of the engine.
now I'm stuck there...might find a solution before I get an answer...but ya never know.
#2
11/17/2001 (6:23 am)
Ok...it was my guess that map2diff didn't understand .wad ... thats ok. as for the .map mysteriously getting an extra character, well...I dunno... but thats ok my solution works so I can live with that.
Torque Owner Aggrippa
As to the .map problem. If I'm guessing right from your description you may have to save your object as .map first in order to use the map2diff utility.
I'll muck around a bit and see if I'm right..
Aggrippa
Nope.. Disregard my guess about the .map stuff map2diff ran just fine without it. :( I would go back one more time and make sure you have map2dif set up correctly.