Improved resources for worldlife123's infomap generator tool. This includes vanilla looking combat area and flags. This tool is to generate vBF2 style info images for your customized levels.
Improved version of vBF2 style & BF2142 style info map generator V1.1 by worldlife(worldlife123)
ALERT: THIS TOOL MAY NOT WORK SINCE PYTHON 2 IS OUTDATED.
I HAVE RELEASED PYTHON 3 VERSION OF THIS ADDON.
YOU CAN GET IT HERE.
This is a simple tool to generate vBF2 style and BF2142 style info images for your customized levels. The source code is visible and you're free to use and modify it. I've also created a repository on github(Github.com), so feel free to report an issue/create a pull request if you find some bug/made some changes.
ALERT: YOU MUST HAVE INSTALLED ORIGINAL INFOMAP GENERATOR FOR THIS! THIS IS ONLY KIND OF PATCH FOR ORIGINAL INFOMAP GENERATOR! THIS IS ONLY UPDATED ON PYTHON 2.7.13 VERSION.
DEPENDENCIES
- Python 2.7.13 (https://www.python.org/downloads/release/python-2713/)
- Pillow (https://github.com/python-pillow/Pillow)
INSTALL
- Install [python 2.7.13] (https://www.python.org/downloads/release/python-2713/) first. After installing python, you can run install_pillow.bat to install pillow via pip. [This is outdated! you might see how to do from Dnamro's comment on original infomap addon page]
- Cut the "infomap" folder and paste it to where original infomap generator is located. (Should be in your mod's python folder)
NEW USAGE
- For your desert levels run generateInfomaps-Desert.py, for woodland or xpack themed maps use generateInfomaps-Woodland.py
- Use with python.exe, or use run.bat
It will list all maps in your mod. Type a map name to generate info map for it, or Type "all" to generate for all maps.
Requirement for levels:
- If you are lazy like me you can either unzip the level or extract: Heightdata.con, Init.con, GameModes folder and HUD folder from client.zip and server.zip
The info ,Hud and Gamemodes folder must be present, as well as Init.con and Heightdata.con.
IMPROVEMENTS
- You can now use xpack styled combat area (woodland) or rather original combat area (desert) for your map.
- All flags are now vanilla looking (along with special forces flags)
- After generating it will no longer turn to .dds then .png (because when the original images are converted to png again they are deforming, therefore can't be used while publishing the map)
- Have AIX2 support as well
Tried to keep it closer to vanilla as much as i can but it still differs from it slighty but won't be noticed :)
CREDITS
- NVIDIA - for nvdxt.exe
- worldlife123 - original author of infomap creator
- fire&bf2tech;.org - for conParser.py
- Dnamro - for testing this tool
Here are some examples:
BF2 - Dalian_Plant 64 Gamemode Original:
Generated:
BF2 Special Forces - Mass_Destruction 64 Gamemode Original:
Generated:
By_X_RaY, you make a wonderful Tool for everyone! By your patch, I made some more beautiful Menumaps than before.
But I have a question.
Map "AI Janna"(MEC-USMC) is should a desert map for bf2 vanilla, but when I use generateInfomaps-Desert.py, it crash after choosing "AI Janna". And then I try generateInfomaps-Woodland.py, it work very well, quickly and successfully . I don't know what happened.
And I think generator tool generated menumaps are too big.
I will adjust something and then share your tool.
Thanks By_X_RaY
i'll check it out. I have to tell i did not make this tool i just revised it :D
I just checked out and i can generate it.
Do you have discord? can you show me what kind of crash happening?
No big problem. Your patch work well and it can make beautiful menumap. Just i don't figure out how it works led to I clicked wrong one.
Thanks you.
cool that you guys still working on BF2 tools. thx
You're welcome! i always wanted a tool like this. It wasn't 100% like i wanted so i modified this tool.
Thanks for this
You're welcome!
Thanks for the improved tool! However, the bug still remains that sometimes the out-of-bounds shade will appear all over the map.
Verifying that this comment is mine but I couldn't log in at that time.
I have the same problem. I have had limited success tampering with the combatArea in gameplayobjects .
Edit: the fix is to have combatArea.vehicles set to 4 (all)in the extracted gameplayobjects. Remember to not change it in the .zip, since that can change the whole gameplay of the map..
So I've relooked at the problematic map, checked the gameplayobjects.con, and combatArea.vehicles was already set to 4, but the problem still appears. Would you happen to know why this is happening?
There are some maps where there are multiple combat areas. Like one for planes, one for helicopters and one for "all". All is 4. The program seems to get confused when there are more than one combat area. The trick is to remove the planes and helicopter combat areas and only have the "all" combat area. This will draw up the combat area which will be the most relevant most of the time.
I have successfully made new map images for all the vanilla map, I'm sure other maps work great, but the first community made map I wanted to convert was Steel Mill by Frosty98B. It gets a strange blue color:
I.imgur.com
Any idea what causes this?
You have to convert DDS format DXT1 No Alpha
I still don't understand. What does this mod do?
Sorry for a veery late reply, this is a improved resources of a tool that generates infomap for the levels. (the map image)
It is very useful for the bf2 mappers.
I've released Python 3 version of this addon! Moddb.com