Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: campaign map editing?
Thread: campaign map editing?
spy46
spy46


Hired Hero
posted May 04, 2010 08:21 PM

campaign map editing?

i know that there are a few games out there that thru some means, your able to edit the maps of the campaign.

i was wondering if this is some thing that can be done with MM5
(no ex pack)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
spy46
spy46


Hired Hero
posted May 05, 2010 02:23 AM

im just looking to add some things to some of the maps in the way of extra goodies, like mines or buildings that let you recruit more troops, is there any way to do that?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
BBird28
BBird28

Tavern Dweller
posted May 13, 2010 05:31 PM
Edited by BBird28 at 17:36, 13 May 2010.

Yes it is possible. I wrote a post two years ago on editing campaigns and you are the first person who is interested.  

1. download the files for the campaign scenarios(no dialogue scenes) from here  http://www.heroesofmightandmagic.com/heroes5/original_maps.shtml .  Don't worry the dialogue will still show up.

2. extract the individual .h5m files to your maps folder. do not extract the maps themselves

3. use the editor to edit the maps as you see fit.  do NOT change the name of the map.

4.use winrar to unpack the campaigns folder from the data file and extract to the usermods folder.  go to usermods and change the read only status of the folder.  

5.  open up the campaign file for whatever campaign the map was in that you edited. for example C1.xdb for isabell's campaign. the first few lines should look like this

<?xml version="1.0" encoding="UTF-8"?>
<Campaign ObjectRecordID="1000011">
<InternalName>C1</InternalName>
<NameFileRef href="C1/Name.txt"/>
<FullNameFileRef href="C1/FullName.txt"/>
<NameCommentFileRef href="C1/NameComment.txt"/>
<DependentCampaigns/>
<DependentCampaigns>
<DependentCampaigns/>
<Missions>
<Item>
<NameFileRef href="C1/C1M1/Name.txt"/>
<NameCommentFileRef href="C1/C1M1/NameComment.txt"/>

leave this stuff alone.  the next line is very important

<MissionTag href="/Maps/Scenario/C1M1/map-tag.xdb#xpointer(/AdvMapDescTag)"/>

this is where the campaign file will look for your usermap.

change the word Scenario to SingleMissions.  


<MissionTag href="/Maps/SingleMissions/C1M1/map-tag.xdb#xpointer(/AdvMapDescTag)"/>

6.  Repack the campaign folder using winrar as storage under zip format with a .pak ending

The campaign will now look for your edited map instead of the old one.


hope this helps. let me know if you have questions.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
spy46
spy46


Hired Hero
posted May 26, 2010 07:45 PM

so im using this as a test for what i have done, i did put the maps in the maps folder just to edit them, i can move them later.

but, in the Campaigns folders for the mission in question, there are 2 files, using C1, the very first mission as an example, i have a file called "Name" and one called "NameComment" what one do i want and what does the other one do?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
spy46
spy46


Hired Hero
posted May 27, 2010 10:02 PM

ok i see what i did wrong, i looked in the folder, the file was right there.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
vulcancolak
vulcancolak


Famous Hero
posted November 11, 2018 12:27 PM

When i try to do that, it says map is corrupt

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0190 seconds