|
|
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?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 14, 2009 04:14 PM |
|
|
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
|
|
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..
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted March 14, 2009 07:10 PM |
|
|
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
|
|
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
|
|
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.
____________
|
|
|