Looking for a good automap icon for a "magic wall"

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
MrChoke
Posts: 324
Joined: Sat Oct 25, 2014 7:20 pm

Looking for a good automap icon for a "magic wall"

Post by MrChoke »

So I noticed how many different autoMapIcon values are used when defining objects. None are listed in any documentation I have seen, nor do I find them in any file in the asset pack. I did a fair amount of trial and error of setting of them and find there are many to choose from that are not even used in the game. They seem to change every multiple of 4 as well.

What I wish I could find is something like a dashed line icon to represent one of my new objects, a magic wall. Its like a magic bridge but its upright and has a door component so its like a wall. I want it to be shown on the map differently than a door (automapIcon = 84) or a wall (icon -1??). I can't seem to find a good one. Anyone know a lot about these automap icons?
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Looking for a good automap icon for a "magic wall"

Post by minmay »

Draw your own and use MapGraphicsComponent. The automap's style is very easy to draw in, and MapGraphicsComponent has no size limit and offers lots of flexibility with rotation and offset.
MrChoke wrote:I did a fair amount of trial and error of setting of them and find there are many to choose from that are not even used in the game. They seem to change every multiple of 4 as well.
It's unclear whether you're thinking of automapIcon or automapTile. Either way, there are no significant unused ones. They "seem to change every multiple of 4" because each icon has 4 versions for the 4 different possible facings.
A value of -1 for automapTile is special; it's used by secret doors, and tries to blend in with the surrounding tiles.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Post Reply