Knuckle Cracker

Creeper World 3 => Custom Map Discussion => Topic started by: Xindaris on April 11, 2015, 05:24:42 PM

Title: What kind of file does the custom image importer expect?
Post by: Xindaris on April 11, 2015, 05:24:42 PM
Just a simple question; I want to add a custom image to my map (specifically to represent "myself" in introductory conversation), but no matter what image format I use the "import image" function in the map editor doesn't seem to be able to recognize it. What am I doing wrong?
Title: Re: What file type does the custom image importer expect?
Post by: planetfall on April 11, 2015, 05:27:14 PM
PNG only, I'm afraid.
Title: Re: What file type does the custom image importer expect?
Post by: Xindaris on April 11, 2015, 05:31:05 PM
So, here's the problem: I tried PNG first. It's not showing up as even being in the folder; am I missing something?
Title: Re: What kind of file does the custom image importer expect?
Post by: Telanir on April 11, 2015, 06:21:38 PM
It needs to be the same dimensions as the section you are adding it in. If it is 64x64, the .PNG must be that size. Same goes for the 128x128 and 256x256.

Edit: Also, it won't show up in the map folder, it goes directly into the map file. Once you "select" a file in the import window you should be able to see your image.
Title: Re: What kind of file does the custom image importer expect?
Post by: Xindaris on April 11, 2015, 06:29:26 PM
What I mean by it won't show up is that when I push "select" and it opens the "Open File" dialogue, I go to the folder the file is in and it doesn't show the file being there.

I've now added one file each of 64x64, 128x128 and 256x256 size to the folder and it still isn't showing any of them.

EDIT: Okay, apparently it can find the file fine if I rename its extension to ".cw3" instead of ".PNG". And it loads it in just fine, too. This is weird, but I'm fine with it. Sorry to be such a bother about this.
Title: Re: What kind of file does the custom image importer expect?
Post by: Telanir on April 11, 2015, 10:46:37 PM
That's fairly odd... it all shows up for me. I don't have to drag anything to the save folder though I just have it on another drive. o-o
Well, good that it works!
Title: Re: What kind of file does the custom image importer expect?
Post by: Xindaris on April 11, 2015, 10:52:59 PM
The problem seems to be specifically that for whatever reason the internal browser that's supposed to look for image files is set to only recognize files of the ".cw3" file type, but I have no idea why my copy of the game would do that and not anybody else's.
Title: Re: What kind of file does the custom image importer expect?
Post by: warren on April 12, 2015, 01:13:57 AM
What is your operating system? and cw3 version?
Title: Re: What kind of file does the custom image importer expect?
Post by: Xindaris on April 12, 2015, 10:18:09 AM
It's on a windows 8, and I'm running the steam version (so presumably the newest update?)
Title: Re: What kind of file does the custom image importer expect?
Post by: Telanir on April 12, 2015, 02:12:43 PM
I am also running Windows 8 on the steam version, I've just tried moving the png files all over the place and the program does not seem to mind.

I seem to have found your issue though, it's all in the matter of capitalizing. If your filename is "filename.PNG" rename it to "filename.png", the program will see it that way. Hope this helps!