Custom minimap for in game
Custom minimap for in game
Hello. Is there a way to edit the generated ingame map to remove empty borders? I'm working on a map that has some region not textured from surface map assignments however it still has this missing area present in the minimap. Having played and dug around other people's custom maps in bc42, I've noticed their minimaps do not have this problem and end promptly where the texturing ends, despite having the non textured or surface-mapped areas as well. Any advice and/or step by step is appreciated!
-
- Posts: 617
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: Custom minimap for in game
To do this, you would have to do two things:
1) Set a restricted combat area in your map's Init.con
2) Use a photo editing program to resize your minimap accordingly
There is a thread about this on the forums, if you search for ''combat area'' in the Search box you should find it on the 2nd page of the results.
EDIT: Found it: https://www.bfmods.com/viewtopic.php?f= ... area#p9179
1) Set a restricted combat area in your map's Init.con
2) Use a photo editing program to resize your minimap accordingly
There is a thread about this on the forums, if you search for ''combat area'' in the Search box you should find it on the 2nd page of the results.
EDIT: Found it: https://www.bfmods.com/viewtopic.php?f= ... area#p9179
See my Strasbourg map project here.
Re: Custom minimap for in game
Hi, so every time I try to edit the in game map image and then repack it won't load the level in the game or the bc42 test level option. Any thoughts? Do I have to change the dds file format then change it back or am I missing another dds plugin for photoshop?
-
- Posts: 617
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: Custom minimap for in game
Hello,
You will need a DDS plug-in to open DDS files with your favorite photo editing software.
You will need a DDS plug-in to open DDS files with your favorite photo editing software.
See my Strasbourg map project here.
Re: Custom minimap for in game
Hello, yes I have a dds plugin for my photpshop application, but how is it I am supposed to edit the map in there, cropping, taking elements out? I have tried though but if I then try to return it to the map's texture folder, It either doesn't load the level or it ctd every time.
-
- Posts: 9
- Joined: Wed Apr 28, 2021 10:42 pm
Re: Custom minimap for in game
What photoshop software are you using?
There's a certain way you need to "save" it. Mipmaps and all this crap.
I use Paint.net and have made over 15 custom mini maps and what not for my custom DC maps. Same with loading screens.
There's a certain way you need to "save" it. Mipmaps and all this crap.
I use Paint.net and have made over 15 custom mini maps and what not for my custom DC maps. Same with loading screens.
Re: Custom minimap for in game
I'm using the most recent verison of photoshop I guess, got a couple dds plugins but those don't seem to want to work. I'll try out that paint.net one you mentioned, any dds plug I need for that to work?
Re: Custom minimap for in game
Save your graphics in TGA (Targa) format, use the old classic nvidia command line tool to convert the image.
I think the following arguments might do the trick:
nvdxt.exe -file ingamemap.tga -dxt1c -gamma -timestamp -nomipmap
There are links around here to find the tool if you dont have it, and some other DDS tools over at:
https://developer.nvidia.com/legacy-texture-tools
I think the following arguments might do the trick:
nvdxt.exe -file ingamemap.tga -dxt1c -gamma -timestamp -nomipmap
There are links around here to find the tool if you dont have it, and some other DDS tools over at:
https://developer.nvidia.com/legacy-texture-tools