![]() |
|
|
#1
|
||||
|
||||
|
I'm currently trying to create a new world level map for use in the game. The format information that I was able to decipher is that it is a 1024x768 DDS file, ARGB8888 format, compressed using DXT3 with a single MIP-Level.
So, I created a 1024x768 TGA file, added the alpha layer, and saved as 32-bit color. Then converted to DDS using DXT3, and now have a DDS file version of the world-level map image that is the exact same format as best as I can tell as the originals included in the game. File size is the same, and have tried both a 1024x768 and a 1024x1024 (in case it was a "powers of 2" problem with the DirectDraw texturing...) version of the DDS file, yet both versions crash the editor every time I try to load them. Any suggestions here? Has anyone successfully been able to load a new world level map? |
|
#2
|
||||
|
||||
|
Never mind, it wasn't a file FORMAT problem, it was a file NAME problem. Looking through the dat files in notepad, I noticed that while the maps were not referenced specifically, it did reference "wl_map". So, I changed the map name from "Greater_Egypt" to "wl_map_Greater_1_1.dds" and presto, it loads fine, and none of the existing in-game maps are changed at all. Unfortunately, it does not attach the map file to the scenario directly, so in order for the map to be used in a custom scenario, the user will have to download not only the scenario file, but also the world level map file as well, at an additional 768k of space for the download and a bit more installation hassle. But now we can have custom world level maps as well!
|
|
#3
|
||||
|
||||
|
Racoon, this is an awesome development. So long as the installation problems aren't too much of an obstacle, this will really provide a ton of creative options to modders, and that's got to be good!
|
|
#4
|
||||
|
||||
|
Installation is merely a matter of placing the new map into your data\Graphics\world level\map directory. The game automatically reads it in when it loads up, as long as the format and name are in the correct forms as mentioned above.
|
|
#5
|
||||
|
||||
|
I'd really like to do this but it looks to be way way beyond me. DtX3? ARG888b format? Single mip-level? Krikeys m8!
How about I send you a jpg and you work it up for me? :PThese are to show you what I'm currently working on, scenario-wise. ![]() I sure wish there was a building set expansion pack. (..and an easier way to make a world map. Heh) Last edited by NumakNatut III; 02-19-2005 at 03:07 PM. |
|
#6
|
||||
|
||||
|
Quote:
Actually, I'm quite impressed Racccoon. BTW, what does the TOF stand for? ![]() |
|
#7
|
||||
|
||||
|
Quote:
Is this a video game that your playing ??? What one ??? OMG, OMG, OMG. I want to get it if it is. Err, or are you moddleing a scenerio for a custom COTN map? |
|
#8
|
||||
|
||||
|
...I think maybe he just scanned some pictures from a book in order to show what he wants to do in the COTN editor...
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
||||
|
||||
|
Raccoon_TOF I have CorelDRAW9. That's what I'm most familiar with. It doesn't have the DDS format save option. I may be able to find a plug in for DDS. I will check.
I may be able to find photoshop cheap somewhere. Say, is that Adobe Photoshop? I may already have that. It comes free with Acrobat reader? I DL'ed a plugin for it, but the free version doesn't seem to be cooperative. I'm certainly not very familiar with it, at any rate. MAX-1 it's for a scenario I'm making for the CotN game. Definately a military scenario. I hope it's the best military scenario ever. I certainly have a few interesting ideas I'd like to try to make it so. The local map is nearly finished and tested and looks good, albeit a bit 'nude' at the moment. Next will come the WL map and finally the dreaded triggering. It will likely be a month, but more likely two, till I get it to the point of release. This next month will be a real bear for me. 26 days straight of 10+ hour days. But then 1wk vacation in NYC followed by 1wk in Puerto Rico. ![]() Last edited by NumakNatut III; 02-21-2005 at 01:14 AM. |
|
#11
|
||||
|
||||
|
For those without Photoshop, there is a utility provided by ATI called "TheCompressonator" that also allows conversion to DDS format. It is available at http://www.ati.com/developer/compressonator.html for download. I have not played around with it yet, but from the description it sounds like it will handle everything that needs to be done. Just create an original image in a 32-bit color format with a single alpha channel using whatever graphics program you are familiar with, save it in a format that keeps the alpha channel information (like TGA) and then use TheCompressonator to do the conversion. You'll have to check the docs with TC to find out exactly how to get it to save in the format that you want, but just remember to preserve the Alpha layer, compress with DXT-3 format, and only have a single Mip level, and you should be fine.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|