|
|
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.
|
|
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.
|
|
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.
|
|
iliveinabox05
Honorable
Famous Hero
|
posted March 23, 2023 09:16 PM |
|
|
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.
|
|
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.
|
|
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
|
|
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
____________
|
|
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.
|
|
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?
____________
|
|
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.
|
|
iliveinabox05
Honorable
Famous Hero
|
posted October 22, 2023 10:32 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
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.
|
|
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?
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
iliveinabox05
Honorable
Famous Hero
|
posted January 01, 2024 04:22 PM |
|
|
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.
|
|
|