Game Development Community

Importing and Saving Terrains via png

by Daniel Neilsen · in Torque Game Engine · 11/27/2001 (6:43 pm) · 6 replies

Ok,

I have read just about everything that is on these forums regarding heightfield png files but I am still having troubles.

I have created my png file and, in the terraformer, I have ipmorted the bitmap in and blended it with my random terrain in there.

It all looks fine.

I save the map.

I exit and reload......it hasnt saved......

What am I doing wrong??
This is driving me nuts :/ (more nuts??)

#1
11/27/2001 (8:54 pm)
I have also tried deleting the .ter file before I save and that dosnt work either.

Anyone have any ideas on this or possibly has encountered this?
#2
11/27/2001 (9:23 pm)
I am a bit new, but the only thing I can think of is that your .mis file is pointing to the wrong .ter file.


-Jeff
#3
11/27/2001 (10:15 pm)
Nah, its pointing to the correct file
Already checked that one :/

It looks to me like it is somehow saving the terrain that it loaded with, and not taking into account any of the changes that have occured sicne the mission load.
:(
#4
11/28/2001 (4:31 am)
Try deleting the .cs file in the \heightfield directory before you start. I'd had problems with this and that cleared it up for me.
#5
11/28/2001 (5:28 am)
and nothing will save if the files you are saveing to are read only (just thought i would trow that in):)
#6
11/28/2001 (5:50 am)
Dont know why but that fixed it rodney,
thanks mate :)