Jamie550 said:Do you have a complete objects.txt file?
ProvinceNameColumn=1
object =
{
name="Capital"
xColumn=29
yColumn=30
image=
{
path="gfx\map\city.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Airfield/Rocketsite/Reactor"
xColumn=20
yColumn=21
image=
{
path="gfx\map\airfield.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
image=
{
path="gfx\map\rocket.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
image=
{
path="gfx\map\nuke.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Army/Counter"
xColumn=22
yColumn=23
image=
{
path="gfx\map\units\bmp\T-INFANTRY A-STAND C-MIN L-1.bmp"
bounds={x=0 y=0 width=96 height=96}
transparency=
{
color={R=0 G=255 B=255}
color={R=255 G=0 B=255}
}
}
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Port"
xColumn=24
yColumn=25
image=
{
path="gfx\map\harbour.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Beach"
xColumn=26
yColumn=27
IndexColumn=28
image=
{
path="gfx\map\beach.bmp"
bounds={x=0 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=34 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=68 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=102 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=136 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=170 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=204 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=238 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=272 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=306 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=340 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=374 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=408 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=442 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=476 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=510 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
}
object =
{
name="Land/Coastal Fort"
xColumn=29
yColumn=30
image=
{
path="gfx\map\fortification.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
}
object =
{
name="Antiair/Radar"
xColumn=31
yColumn=32
image=
{
path="gfx\map\antiair.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
image=
{
path="gfx\map\radar.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
}
object =
{
name="Counter"
xColumn=33
yColumn=34
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
}
Just normally, so that you can see the AA and radar icon (or airfield, reactor and rocket) at the same time.Jamie550 said:How exactly would all image clauses be displayed? As a popup with the possible images, then select one?
Yes. But there should be a problem if a province with enabled port has 0 as "Port Seazone". Either disallow to enable ports for provinces without valid sea zones or make it possible to determine the sea zone.Jamie550 said:Enable/disable beaches and ports would be doable. Is enabled=1 and disabled=0?
Did you download adj-mod.txt and place it in MapMaker's folder? If you did not, then do so (it is on the downloads page) and do steps 3 and 5.Vladimir II said:I have edited one province name (added i in Novi Pazar) to test the editor. When it created all files, and I replaced them in appropriate folder, I tried to start the game. It reported that I need the newest Milestone, and game did not start. Do you know what is the problem? Thank you.
ProvinceNameColumn=1
object =
{
name="Capital/Forts"
xColumn=29
yColumn=30
image=
{
path="gfx\map\city.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
image=
{
path="gfx\map\fortification.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
image=
{
path="gfx\map\coastal_fortification.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
}
object =
{
name="Airfield/Rocketsite/Reactor"
xColumn=20
yColumn=21
image=
{
path="gfx\map\airfield.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
image=
{
path="gfx\map\rocket.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
image=
{
path="gfx\map\nuke.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Army/Counter"
xColumn=22
yColumn=23
image=
{
path="gfx\map\units\bmp\T-INFANTRY A-STAND C-MIN L-1.bmp"
bounds={x=0 y=0 width=96 height=96}
transparency=
{
color={R=0 G=255 B=255}
color={R=255 G=0 B=255}
}
}
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Port"
xColumn=24
yColumn=25
image=
{
path="gfx\map\harbour.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Beach"
xColumn=26
yColumn=27
IndexColumn=28
image=
{
path="gfx\map\beach.bmp"
bounds={x=0 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=34 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=68 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=102 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=136 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=170 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=204 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=238 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=272 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=306 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=340 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=374 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=408 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=442 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=476 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
image=
{
path="gfx\map\beach.bmp"
bounds={x=510 y=0 width=34 height=37}
transparency=
{
color={R=0 G=255 B=0}
}
}
}
object =
{
name="Antiair/Radar"
xColumn=31
yColumn=32
image=
{
path="gfx\map\antiair.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
image=
{
path="gfx\map\radar.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
}
object =
{
name="Counter"
xColumn=33
yColumn=34
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
}
Thanks.ADukes said:Latest objects.txt, forgot that capital and the forts share the columns.
/*New stuff: Now can have multiline comments like this
Also, can "DEFINE" stuff by
@DEFINE
Name
stuff
@
So
@DEFINE
Path
path="gfx\sde.bmp"
@
and if you had *Path
the *Path would be replaced by path="gfx\sde.bmp"
*/
ProvinceNameColumn=1
object =
{
name="Capital/Forts"
xColumn=29
yColumn=30
image=
{
path="gfx\map\city.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
image=
{
path="gfx\map\fortification.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
image=
{
path="gfx\map\coastal_fortification.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
}
object =
{
@DEFINE
AirfieldCommon
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
@
name="Airfield/Rocketsite/Reactor"
xColumn=20
yColumn=21
image=
{
path="gfx\map\airfield.bmp"
*AirfieldCommon
}
image=
{
path="gfx\map\rocket.bmp"
*AirfieldCommon
}
image=
{
path="gfx\map\nuke.bmp"
*AirfieldCommon
}
}
object =
{
name="Army/Counter"
xColumn=22
yColumn=23
/* Unfortuantly, I deleted the sprites, so this doesn't work
image=
{
path="gfx\map\units\bmp\T-INFANTRY A-STAND C-MIN L-1.bmp"
bounds={x=0 y=0 width=96 height=96}
transparency=
{
color={R=0 G=255 B=255}
color={R=255 G=0 B=255}
}
}*/
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Port"
xColumn=24
yColumn=25
image=
{
path="gfx\map\harbour.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
color={R=0 G=255 B=255}
}
}
}
object =
{
name="Beach"
xColumn=26
yColumn=27
IndexColumn=28
@DEFINE
BeachCommon
path="gfx\map\beach.bmp"
transparency=
{
color={R=0 G=255 B=0}
}
@
image=
{
bounds={x=0 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=34 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=68 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=102 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=136 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=170 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=204 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=238 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=272 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=306 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=340 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=374 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=408 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=442 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=476 y=0 width=34 height=37}
*BeachCommon
}
image=
{
bounds={x=510 y=0 width=34 height=37}
*BeachCommon
}
}
object =
{
name="Antiair/Radar"
xColumn=31
yColumn=32
image=
{
path="gfx\map\antiair.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
image=
{
path="gfx\map\radar.bmp"
bounds={x=0 y=0 width=32 height=32}
transparency=
{
color={R=245 G=3 B=250}
}
}
}
object =
{
name="Counter"
xColumn=33
yColumn=34
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
}
Yes they are.Jamie550 said:As for showing everything, probably, though are all those really stacked on top of the other?
Jamie said:Kertoxian: No. What happens when you zoom in? What did you change? Can you view in MapViewer correctly? Please upload the map files.
If you used photoshop, upload the photoshop files that you used. If not, upload the images that you edited.Vladimir II said:Which files to upload? I will upload them tomorrow morning (GMT+1).
object =
{
name="Army/Counter"
xColumn=22
yColumn=23
image=
{
path="gfx\palette\counter.bmp"
bounds={x=0 y=0 width=32 height=34}
transparency=
{
color={R=0 G=255 B=255}
}
}
#Note: Comment out if you deleted sprites
/* image=
{
path="gfx\map\units\bmp\T-INFANTRY A-STAND C-MIN L-1.bmp"
bounds={x=0 y=0 width=96 height=96}
transparency=
{
color={R=0 G=255 B=255}
color={R=255 G=0 B=255}
}
}*/
}
But isn't the counter in the center of the province boundbox by default, unless specifically set, so that it won't be the same as the army sprite?ADukes said:ViewAllAtOnce=yes should be available for the AA/radar clause only (at least for the vanilla icons).
And that's how the army clause should look like:
Code:object = { name="Army/Counter" xColumn=22 yColumn=23 image= { path="gfx\palette\counter.bmp" bounds={x=0 y=0 width=32 height=34} transparency= { color={R=0 G=255 B=255} } } #Note: Comment out if you deleted sprites /* image= { path="gfx\map\units\bmp\T-INFANTRY A-STAND C-MIN L-1.bmp" bounds={x=0 y=0 width=96 height=96} transparency= { color={R=0 G=255 B=255} color={R=255 G=0 B=255} } }*/ }
Did you change something on the icon positioning, because it looks a bit different than on my first shot posted earlier (post #432)? The icons are closer together.
It's probably caused by the ViewAllAtOnce=yes.
![]()
OK, it was probably a lott more obvious for you than it was for me, that it is like that. Since i was guessing and from the look of it in this tread you actually knew what you where talking about.ADukes said:And that it is what I mean with the center of the province.
Yes you must set GamePath manuallymib said:Can someone post an actual installation guide? I've been trying to install this for the past half hour with no success.
Where is images.txt? Where should the files go? Main folder or \map folder? Is it necessary to set the gamepath in the setting.txt file manually?
Jamie550 said:
Those are steps in MapMaker.mib said:Sorry, but it's still really confusing. Which is step 4? For that matter, which are steps 1 to step 6?
Argh, of course.Jamie550 said:But isn't the counter in the center of the province boundbox by default, unless specifically set, so that it won't be the same as the army sprite?
Here are both screens again.Jamie550 said:ADukes: Couldn't replicate the incorrect movement. Could post a screenshot with them together and ViewAllAtOnce=yes, and another with them in separate object={} clauses?