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 3.5 - WoG and Beyond > Thread: Mapping Question
Thread: Mapping Question
Ayreon
Ayreon


Famous Hero
posted March 14, 2009 03:59 PM

Mapping Question

Well, I want to make a map, but for the main hero, I find no suitable portrait.
Is it possible to create a new portrait that can be used inside that map only?
If yes, how?

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


Admirable
Omnipresent Hero
Wog refugee
posted March 14, 2009 04:14 PM
Edited by Salamandre at 16:17, 14 Mar 2009.

The custom portraits must have maximum 256 colors (8 bits)

The big must be 58x64 pixels and the small 48x32 pixels.

1) Open your custom portrait in paint or anything else.
2) Select the area desired to show and copy it
3) Paste the area as new image and diminish the colors to 256
4) Resize it to 58x64 pixels and save as pcx.
5) Place it in data and make a script for telling WoG to look for that file

For the small portrait, same paths but you must select a smaller area to fit in 48x32 pixels. A few attempts may be required until you get a nice portrait.

____________
Era II mods and utilities

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


Famous Hero
posted March 14, 2009 06:52 PM
Edited by Ayreon at 18:53, 14 Mar 2009.

Allright, thank you Salamandre.
The script that is needed, is it a hard one? I have no idea how to do it..

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


Admirable
Omnipresent Hero
Wog refugee
posted March 14, 2009 07:10 PM
Edited by Salamandre at 19:12, 14 Mar 2009.

You must use !?PI; command to enable it, then:

!!HE$ command where $=your hero ID

Then should be a good experience for you to learn the basics, as it is very easy:

From ERM help:

!!HE$:L#^file.pcx^; **type your choosed name for the pcx between ^^

Sets a hero's portrait to an external image file.
  # = 1 - Set small picture to file.pcx
  # = 2 - Set large picture to file.pcx
  # = 3 - Reset both pictures to default (no ^...^ allowed)

Comments:

file.pcx will be searched for in heroes DATA directory. But you can use subdirectory. Example ^c\name.pcx^ - in "c" subdirectory of the DATA dir. Or ^..\maps\1.1^ - in MAPS dir of Heroes.
Important! The full length of file name (with subdirectory path) cannot be more than 12 characters.
The screen will be redrawn automatically if you change the hero's portrait.


Try it alone and post here the result.
____________
Era II mods and utilities

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


Famous Hero
posted March 15, 2009 12:33 PM

Thank you Salamandre, it indeed is easier than it looks like.
I was succesfull in my attempt

The result:

ZVSE

!?PI;
!!HE6:L1^joost_s.pcx^;
!!HE6:L2^joost.pcx^;


Thanks again

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

Tavern Dweller
posted March 17, 2009 03:39 PM
Edited by Cepheus at 23:55, 23 Jul 2011.

Quote:
Vlaad, I know how to make a map two level, lol. I meant that it simply does not allow me to do so once I try to save it.  I can't alter the map in any way. Like it is copyright protected or something.


Maybe it could be plain stupid but i put it on anyway. Maybe your map files has set the read-only attribute? Try it with "Save as" instead of "Save".

Anyway Father, i like the typology of maps you like too. Could i see the maps you created? I'm an ERM user, if you need some simple scripting you could refer to me.. if it doesnt take much time

---

Moderator note: This thread has been inactive for two years or longer, and has been archived (closed) to prevent necro-posting. If you wish to revive the topic, send a message to Cepheus or create a new thread in its place. Thank 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.0276 seconds