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: resource and maps
Thread: resource and maps
spy46
spy46


Hired Hero
posted December 07, 2012 05:51 PM

resource and maps

i dont have any expansions or any thing, so i dont know if that limits me or not.

i want to edit the resorces generated from mines, towns and even peasents.

do the conscripts also generate gold? if so i would like to increase that amount too.

i would also like to know if its possible to have the game use edited maps in the campaign.


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


Honorable
Legendary Hero
Once upon a time
posted December 08, 2012 05:25 PM
Edited by markkur at 17:26, 08 Dec 2012.

Well, I'm no modder but I'll try and help a little.

Quote:
i dont have any expansions or any thing, so i dont know if that limits me or not.


I've only used TotE 3.1 and iirc, there were more problems with the editor in the earlier releases.

Quote:
i want to edit the resorces generated from mines, towns and even peasents.


You'll have to learn the modding steps (and precautions) required to editing objects. I remember a mod that changed resource requirements for towns in building structures but not specific mods to mines etc.

Fyi, towns within factions specialize in gold or a resource for a little boost.

Quote:
do the conscripts also generate gold?


Yes all three types are "taxpayer". An easy short cut would be to place another peasant dwelling(or more)out side the town for faster gold accumulation or just place a gold mine.

Quote:
i would also like to know if its possible to have the game use edited maps in the campaign.


I hope a modder will answer this but as far as I know I would say it's not possible because the original campaign maps are not in the editor's map folder. You can download and edit the campaign's maps but where to put them? I don't know.

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


Hired Hero
posted December 08, 2012 07:51 PM

i have edited the game b4, once apon a time.

but that was just changing the numbers of units spawned in what ever buildings. (easy stuff)

i do have the maps and have messed with them too, but still dont know where to put them ether.

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


Famous Hero
posted December 08, 2012 08:52 PM
Edited by Hayven at 11:36, 09 Dec 2012.

The campaign maps' data is in the game files. You have to extract them and simply use "Find" option (you have to find the map's number - C1M1, C4M3, C6M6, A1C1M1, A1C3M2, A2C2M4 etc.). Then copy all files you have found into the folder named with this number. Then put it into

Maps\SingleMission\NUMBER_OF_MAP\

Then you must use eg. 7-zip to pack this files (mark Maps folder, then right-click, then choose 7-zip option then choose "Add to archive" option) choose .zip option and exchange .zip with .h5m in the file name. Also this file should have the map's number as a name. Put it in "maps" folder in the game folder. Un-packed version put in

Editor\H5MMods\NUMBER_OF_MAP\ in the game directory.

Now You can open it in the Heroes 5 Map Editor.

C1M1 (the 1st mission of the first campaign)


C1M4 (the 4th mission of the first campaign)



...but I don't know what to do with edited files Maybe replace the old with the new ones... and then add texts to the folder with texts of this map... (you should extract ALL files from data folder).

I hope it helps

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


Honorable
Legendary Hero
Once upon a time
posted December 08, 2012 11:25 PM

Thank you Hayven, you are certainly very good at navigating the game files. very Thank you for sharing the info here and also that great music mod.

Know H5 scripting by chance?

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


Hired Hero
posted December 09, 2012 01:03 AM

where can i download the programs i need to do the extracting for the maps?

whats the program called?

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


Famous Hero
posted December 09, 2012 08:39 AM
Edited by Hayven at 11:40, 09 Dec 2012.

Quote:
Thank you Hayven, you are certainly very good at navigating the game files. very Thank you for sharing the info here and also that great music mod.


No, I'm not very good. There are much better than me, I only think about it and that's how I made it - by thinking about it. Example?
1. I played LOTA and then I realised that the files in music folder are very important.
2. I tried to find music files in extracted game data. It wasn't hard because there was Sound folder in this files. Then it was easy
3. I knew that heroes are in MapObjects folder and I looked the campaing hero, and they had a directory in their AdventureMusic line.
4. I made files with hero script names (it was easier) and copied data of the other hero music file. Then I only changed it for each hero.
5. I changed hero .xdb files at AdventureMusic line (that's why it doesn't work with mods changing hero models and that's why I should make a fix) giving them directory to their sounds data.
6. I made folder and put it in music folder then I copied this files (it was the hardest and the longest part of the work) as heroes' files changing their .wav and .mp3 to .ogg with 7-zip
7. I found RaceTableMusic in sounds folder and there was data of musics of races. Then I added lines with new combat musics and I added these combat musics to MusicMOD folder. Also I gave forgotten musics of combats (which were but weren't used by game), but didn't put them in MusicMOD folder.
8. I divided big music, packed and uploaded ... for 2 weeks ...

So it was quite easy The similar was with map files. I think you only haven't tried yet

1. I realised that maps are the same mods as .pak and .h5u mods.
2. I had a problem with my map and I packed and unpacked it many times so I knew the directory.
3. I changed hero max levels in missions as in-game mod.
4. I thought that campaign maps could be packed like standard maps
5. I tried to find all maps' files in the game data.
6. I found them.
7. I packed them as I said (I knew what does map include).
8. It worked

Deduction. Only

Quote:
Know H5 scripting by chance?


No, sooorry, I can't make scripts, I'm still learning

Quote:
where can i download the programs i need to do the extracting for the maps?

whats the program called?


Man, you only need 7-zip, WinRAR or TotalCommander!
I think you have got 7-zip if you haven't got each other.


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


Hired Hero
posted December 09, 2012 09:37 PM

ok so then i just have to find out where to place the maps and every thing then.

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


Famous Hero
posted December 10, 2012 06:52 AM

Campaign maps are:

GAME_DIREDTORY/HoMM5/data/data.pak -> Maps/Campaign/NUMBER_OF_MAP/map.xdb or NUMBER_OF_MAP.xdb

but you should also use Find function to be sure

 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.0463 seconds