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: Resizing hero adventure graphics to be creatures [Quest for volunteer]
Thread: Resizing hero adventure graphics to be creatures [Quest for volunteer]
NimoStar
NimoStar


Responsible
Legendary Hero
Modding the Unmoddable
posted September 26, 2019 05:02 PM
Edited by NimoStar at 07:24, 08 Oct 2019.

Resizing hero adventure graphics to be creatures [Quest for volunteer]

So, this may not be readily apparent to everyone, but whereas
creatures have a coherent appearance in both the map (adventure) mode and combat mode:





On the other hand, heroes have a different appearance due to their steeds. Heroes always have steeds as their adventure mode, whereas creatures do not:





However, this poses a problem. If one were to use the sprites of a hero (and there are like twelve special hero sprites not used for normal heroes, only campaign or easter eggs),
It would not be possible with the default assets to stop these creatures from looking like "heroes" in the map mode. In the case of "Old man" easter egg hero, it is altogether impossible for him to have a (non-giant) map sprite.

Now, I would like to have a mod with many creatures quite different from the ones we are used to, and some heroes including campaign heroes would be good for that (imagine the Red Lich sprite for Varon Von Tarkin for example, which Equilibris used as a custom Lich creature in a showcase); but the "horse mode" in the map prevents this from being a aesthetically coherent option.

That's where the volunteers come in.
As I am not very good in the manipulation of these kind of graphics (shown by my utter lack of graphics other than hero portraits and UI manually imported), it would be a great favor if someone can manually resize the big, combat hero sprites into the small, map walking sprites with the correct heroes 4 format. I can write the .spr sequence myself, and would just need the graphic files.

The hex files I would edit would be the ones in
adv_actor

Whereas the graphic ones that need editing first are in actor_sequence



As you can appreciate from the screenshots, there are different files for each action, and there are "combat" files (large sprites, with larger files in Kb), and ones that don't say "combat" (these are the adventure sprites, smaller in both pixels and filesize)

Whereas there are many combat actions, only the following are strictly needed for adventure, which would reduce the number to resize:
- prewalk
- walk [tends to be larger file due to anim]
- postwalk
- stand
- attack
- postwalk

These six actions are replicated each in eight directions.
However, the process should be relatively easy at base if there is a fixed editor and good way to use it (just open, resize all frames action, and resave? File type doesn't change nor does any other indicator except frame bounds along with content size.)
If there is export and re-import, the images can be bulk-resized before re-importing into the new files. (there are even online services for that like https://bulkresizephotos.com/es and https://imageresizer.com/bulk-resize)

So, shortly put, the anim from
actor_sequence.hero.might_might_male.combat.melee.e
[Big Combat image, without horse]
should be resized and renamed into
actor_sequence.hero.might_might_male.attack.e
[Smaller Adventure image, currently with horse]
(note the difference between "melee" and "attack" since there is only one attack anim out of combat, whereas in combat there is also ranged attacks not to mention magic and normally-unused blocks)

So, is anyone down for this project?
All hero types would make a fascinating alternate creature rooster. Armies of spellcasting Druids, anyone?
____________
Never changing = never improving

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


Responsible
Legendary Hero
Modding the Unmoddable
posted September 26, 2019 05:39 PM

PS: If anyone would help me I will give them whatever they want that is within my grasp in H4 modding in return.

Some possibilities:

- A custom Music mod with their favourite music
- Make them a custom hero
- Make a mod with a custom town featuring their favourite creatures :V
____________
Never changing = never improving

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


Responsible
Supreme Hero
posted October 05, 2019 05:26 PM
Edited by Karmakeld at 17:41, 05 Oct 2019.

Your wish is noted. I will likely have time to do this as well as look at your other request (which you need to mail me btw) by week 43. Perhaps I can also try to finish the object package by then. Although I prob won't be spending my time one renaming all the files properly..
____________

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


Responsible
Legendary Hero
Modding the Unmoddable
posted October 08, 2019 07:28 AM
Edited by NimoStar at 07:28, 08 Oct 2019.

Thanks.

Is week 43 of the year, or 43 weeks from now? Counting years by weeks is probably a weird Nordic thing, since I hadn't heard the year being divided like that until now...

Actually I think it best that objects aren't renamed, because if they are, the ones I already included in maps would stop funcitioning. A unified package would be nice certainly, though.

As for the one that has to be sent to mail, they are the spells for the spellbooks, but I haven't yet finished all of the necessary files, since they are hundreds and each has to be separately saved (And designed!) from my side... in a week or two, they will probably be done.
____________
Never changing = never improving

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


Responsible
Supreme Hero
posted October 08, 2019 07:01 PM

NimoStar said:
Thanks.

Is week 43 of the year, or 43 weeks from now? Counting years by weeks is probably a weird Nordic thing, since I hadn't heard the year being divided like that until now...

Actually I think it best that objects aren't renamed, because if they are, the ones I already included in maps would stop funcitioning. A unified package would be nice certainly, though.

As for the one that has to be sent to mail, they are the spells for the spellbooks, but I haven't yet finished all of the necessary files, since they are hundreds and each has to be separately saved (And designed!) from my side... in a week or two, they will probably be done.


Haha it's the 43'rd week of the year (which consist of 52 weeks). We're in week 41 now, so in 2 weeks from now, which seems to fit fine with you.
____________

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