• Please note that we've updated the Mount & Blade II: Bannerlord save file system which requires you to take certain steps in order for your save files to be compatible with e1.7.1 and any later updates. You can find the instructions here.

map_icons in TME

Users who are viewing this thread

Jolie Rouge

Recruit
M&B
How can I make sure TME loads the module-specific Icons for the world-map? (not Native!!)
I can see castles/forts, but no towns or villages, only their names. And spawn-points.
And map_icons.txt is the correct file?

Be easy on me, I just got started with this.

greetings

Jolie
 

dragos

I hope I understand correctly.

-First, you should create your new map icon as models (obj).
-Import it and its texures via OpenBrf and save as brf.
-Then copy paste the brf file to Resource in your mod file. And copy paste the texures to Texures in the same directory.
-Open module.ini and type "load_mod_resource = the brf's name".
-Go to module system and open module_map_icons.py.
-Add your icon's code like this one:
Code:
("city_icon",mcn_no_shadow,"City", 0.45, 0),
-Run build_module.
-Open module_parties.py and find your city's code. You will see something like this:
Code:
("town_1","Sargoth",  icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-17.6, 79.7),[], 170),
-Change icon_town with your icon's name. Don't forget to put icon_ before the name.
-Run build_module.
 

Jolie Rouge

Recruit
M&B
OK, got it so far, but then TME gives me a crash, when I set the editorData/resources.txt to load them.
This is strange, they work in-game, but not with the editor.

greetings

Jolie
 
Top Bottom