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 4 - Lands of Axeoth > Thread: H4ResourceEditor
Thread: H4ResourceEditor This thread is 19 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 · «PREV / NEXT»
SeiferThrax
SeiferThrax

Tavern Dweller
posted March 23, 2023 01:49 PM

Hello.
I just discover the tool and would like to know if there is a tuto or something like that. Im looking for a way to extract the models as stl or a thing i could use to have a 3d model.

Thanks for your attention.

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


Honorable
Famous Hero
posted March 23, 2023 03:27 PM

SeiferThrax said:
Hello.
I just discover the tool and would like to know if there is a tuto or something like that. Im looking for a way to extract the models as stl or a thing i could use to have a 3d model.

Thanks for your attention.


Hey there!

I don't have any tutorials with images that I recall (unless it is buried somewhere in this thread or the one on CelestialHeavens), but there is certainly written instructions for how to do things. Though those instructions are probably also buried somewhere in this thread.

If you let me know specifically what you want to do, I can give you instructions.

Extracting resources and animations is easy, but you can only import / export animations as .ora files or a folder of pngs. It is just image data contained within the game resources, no full 3D models, so images are all you can extract or import.

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

Tavern Dweller
posted March 23, 2023 08:31 PM

Hey

I always believed that this game used 3d models. Well, then i guess there's nothing to do.

Thanks anyway.

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


Honorable
Famous Hero
posted March 23, 2023 09:16 PM
Edited by iliveinabox05 at 06:26, 16 Jul 2023.

SeiferThrax said:
Hey

I always believed that this game used 3d models. Well, then i guess there's nothing to do.

Thanks anyway.



It's now how they are stored in game. They took still captures of the models in isometric views and those images are what get used in game.

If you do 3D modeling you could still create your own models to import into the game resources.

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

Tavern Dweller
posted March 23, 2023 09:34 PM

Well, im not an expert at 3d modeling (barely a beginner). I just know 2-3 things on blender and if i try do it, it won't be before some time.

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


Honorable
Famous Hero
posted July 16, 2023 06:28 AM

Updated the resource editor.

Fixed a bug with importing and exporting mp3's. Importing mp3's was actually broken unless you just got lucky

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

Tavern Dweller
posted October 22, 2023 01:15 PM

Heroes4

Hello
I have a problem with editing units because when I tried to finish using resedit2, an error appears. When I used modmanager in rescure edition and checked both boxes, these changes are not in the game. and I have heroes4 with enchatedmod mod

____________

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


Known Hero
posted October 22, 2023 02:00 PM

pol11234 said:
Hello
I have a problem with editing units because when I tried to finish using resedit2, an error appears. When I used modmanager in rescure edition and checked both boxes, these changes are not in the game. and I have heroes4 with enchatedmod mod



Hello, you mean Mod Manager in Resource Editor Advanced tab? I'm not sure if it does something useful, it's likely GUI made for future without code behind it.

To make plugin that changes creature stats and works with Enhancement mod you need to:
1. Create h4r file with your creature stat changes.
2. Create new folder for your mod inside "*Heroes 4 folder*/Plugins".
3. Create "config.json" file in your mod folder, simple notepad is enough. In your case this file must contain the following text:
Quote:

{
 "assets": true,
 "game": true,
 "editor": false
}



4. Create "assets" folder in your mod folder and put all your h4r files inside.
5. Optionally you can add "description.txt" file to your mod that will be displayed in mod manager.
6. Run mod manager that comes with EM or modify "h4ms_config.json" in Heroes 4 folder manually to include your mod. To make it overwrite changes from other mods put it on top of the plugin list.

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

Tavern Dweller
posted October 22, 2023 08:02 PM

Heroes4

and how to create this file? just take out the unit tables with mh4?

____________

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


Known Hero
posted October 22, 2023 09:15 PM

pol11234 said:
and how to create this file? just take out the unit tables with mh4?



You can use resource editor or other utilities. I use resource editor and everything works just fine, haven't used other tools but I suppose they'll work too.

What you need is to find creature stat table inside "x2.h4r", which is from WoW expantion, modify it and save as H4D. Then you create new H4R and add modified H4D into it.

Tip if you are going to use resource editor: make sure to save files into clear folder or at least where there are no original resources, as resource editor can't save into already existing files.

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


Honorable
Famous Hero
posted October 22, 2023 10:32 PM
Edited by iliveinabox05 at 22:32, 22 Oct 2023.

pol11234 said:
Hello
I have a problem with editing units because when I tried to finish using resedit2, an error appears. When I used modmanager in rescure edition and checked both boxes, these changes are not in the game. and I have heroes4 with enchatedmod mod


pol11234 said:
and how to create this file? just take out the unit tables with mh4?



Seems like you are talking about the old programs and not the resource editor from this thread. We can't help you if those are the ones you are using, as they are unsupported and are very limited in what they can do.

The mod manager feature in the resource editor was intended to be something similar to what Albyx has put together, but it only supports unit h4r files and packages them all up into a new.h4r mod file.

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


Promising
Legendary Hero
From earth
posted November 19, 2023 03:36 AM

Sorry for off topic but it's just pretty ironic
I just made a thread about living in boxes and I've never seen your name on the roster here until just now.

But you've been active on the other discussion side for awhile.

Did you just change your name somehow?

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


Honorable
Famous Hero
posted November 19, 2023 06:00 AM

Celfious said:
Sorry for off topic but it's just pretty ironic
I just made a thread about living in boxes and I've never seen your name on the roster here until just now.

But you've been active on the other discussion side for awhile.

Did you just change your name somehow?


Hah! Nope, I've always used this name Always used it here, CelestialHeavens, and even longer before that in pretty much any game I've played, all the way back to Starcraft 1.

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


Honorable
Famous Hero
posted November 21, 2023 11:00 PM

Hello!

The resource editor has been updated.

- The resource editor has been updated to no longer require users to install Java. The necessary JRE is now included with the resource editor, and the main jar file is now wrapped by an exe. This means that everything is ready to go once you download and unpack the advanced editor.

- Updated to use the system look and feel. No more default Java (metal) look and feel.

- Added text coloring indicators. Blue text indicates the file is a redirection to another file. Red text indicates a missing file or bad format.

- Many other minor fixes and updates.

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


Adventuring Hero
Nothing is impossible
posted January 01, 2024 12:13 PM

It seems that the minor type code cannot be saved.
For dwellings, minor type represents Creatures ID, but when saved, it will become 0.

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


Honorable
Famous Hero
posted January 01, 2024 02:54 PM

kkfkkkfk said:
It seems that the minor type code cannot be saved.
For dwellings, minor type represents Creatures ID, but when saved, it will become 0.


If the minor type (and code) don't exist, then you'll need to hex edit them to what you want them to be.

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


Adventuring Hero
Nothing is impossible
posted January 01, 2024 03:17 PM

iliveinabox05 said:
kkfkkkfk said:
It seems that the minor type code cannot be saved.
For dwellings, minor type represents Creatures ID, but when saved, it will become 0.


If the minor type (and code) don't exist, then you'll need to hex edit them to what you want them to be.


I have tried it before, but it seems to have no effect.
I made some adv dwellings for the new creatures.
I can use it in the map editor, but I cannot enter the map with new dwellings in the game.

There are no new creatures in minor type list.
If you edit it using HEX.
This h4d file will not be able to be opened.

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


Honorable
Famous Hero
posted January 01, 2024 03:24 PM

kkfkkkfk said:
I have tried it before, but it seems to have no effect.
I made some adv dwellings for the new creatures.
I can use it in the map editor, but I cannot enter the map with new dwellings in the game.

There are no new creatures in minor type list.
If you edit it using HEX.
This h4d file will not be able to be opened.


Like I said, the resource editor doesn't know anything about any new creature types or dwellings. You'll need to hex edit the resource files to fix the minor type names and codes after you do any work on the dwellings with the resource editor.

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


Adventuring Hero
Nothing is impossible
posted January 01, 2024 03:54 PM

The major type code seems to refer to the size of the object name.(hex)
Creating a new dwelling requires modifying it with the h4d file with the same number.

Sadly, the map editor cannot recognize new things, perhaps I need to rewrite a new map editor.

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


Honorable
Famous Hero
posted January 01, 2024 04:22 PM
Edited by iliveinabox05 at 16:28, 01 Jan 2024.

kkfkkkfk said:
The major type code seems to refer to the size of the object name.(hex)
Creating a new dwelling requires modifying it with the h4d file with the same number.

Sadly, the map editor cannot recognize new things, perhaps I need to rewrite a new map editor.


The major type code is the 2 bytes before the text size, same with the minor type code. All you need to do for the h4d file is to fix the minor type code and name.

If you're using the game editor to try viewing the dwellings, of course it will not open because the editor would need to be reversed and have the new creature and dwelling code added.

Edit. You can modify the object_codes_mapped.txt file in the config directory and add the codes and names.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 19 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0880 seconds