Sprites, textures, sounds, code, and other resources belong here. Share and share-alike!
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
Is the resource ENTIRELY my own work?
If no to the previous one, do I have permission from the original author?
If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
If you answered no to all three, maybe you should consider taking your stuff somewhere other than the Resources forum.
This is a small bit of ACS that allows you to print a minimap to the player's hud. It requires you to supply the image file yourself (doom2 map01 is included as an example though) and to find out a couple of values, all of which is hopefully explained clear enough in the comments. Note: Needs a (G)Zdoom version with the recent SetHudClipRect fix to work in widescreen.
Following is a guide on how to get a clean textured image of your map. If you don't need textures you can also use the "save map image" function in Slade3.
Spoiler:
Kappes Buur wrote:
kodi wrote:It can't hide vertices and linedefs AFAIK, ....
Ordinarily you would select to show floor textures, turn on brightness and select the particular mode,
center the map and take the screenshot, like so:
But, since you do not want the linedefs or vertices to show, you could move the map to either the left or right edge,
select the Sectors Mode, highlight the whole map and drag all sectors to the open side, leaving behind the textured floors.
Then take the screenshot before releasing the mouse, like so:
Then bring the screenshot into an image viewer app, like XnView or Irfanview, and crop and resize as required.
For example:
Edit: and heres a smoothly rotating compass. It uses a cameratexture and an off-map downward facing camera that spins with the player. Could be used used instead of the midpoint marker of the minimap. Download compass pk3
You're absolutely right. I had the minimap on while making the compass, resulting in a player direction arrow rather than a compass. Must have momentarily forgotten how to brain..
Will add an actual compass function to the compass pk3 and reupload when I get the time.