[ACS] In-game minimap and rotating compass

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.

Consult the Resource/Request Posting Guidelines for more information.

Please don't put requests here! They have their own forum --> here. Thank you!

[ACS] In-game minimap and rotating compass

Postby kodi » Tue Jan 19, 2016 12:49 pm

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:

Image

Download minimap pk3

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
User avatar
kodi
Proscrastinator
 
 
 
Joined: 06 May 2013

Re: [ACS] In-game minimap and rotating compass

Postby juizzysquirt » Thu Jan 28, 2016 11:42 am

I think compass should always point to north, instead of rotating along with player. Reversing the values should fix this? Nice work otherwise. :)
User avatar
juizzysquirt
 
Joined: 04 Jan 2009
Location: Knee-Deep in L.A. Meltdown

Re: [ACS] In-game minimap and rotating compass

Postby kodi » Thu Jan 28, 2016 1:19 pm

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.
User avatar
kodi
Proscrastinator
 
 
 
Joined: 06 May 2013

Re: [ACS] In-game minimap and rotating compass

Postby camper » Fri Aug 10, 2018 4:09 pm

File was deleted from server.
sorrow...
User avatar
camper
 
Joined: 25 Feb 2018
Location: Tatarstan

Re: [ACS] In-game minimap and rotating compass

Postby wildweasel » Sat Aug 11, 2018 12:50 am

camper wrote:File was deleted from server.
sorrow...

Thread is from 2016.
Try this thread instead: viewtopic.php?t=28589
User avatar
wildweasel
May or may not have a pumpernickel addiction
Moderator Team Lead
 
Joined: 15 Jul 2003
Location: avatar by kurashiki

Re: [ACS] In-game minimap and rotating compass

Postby camper » Thu Sep 06, 2018 5:06 am

wildweasel wrote:
camper wrote:File was deleted from server.
sorrow...

Thread is from 2016.
Try this thread instead:


Thanks, I'll take a look.
There is also a compass in Hellscape Navigator (v0.2.1). It works well with other addons.
User avatar
camper
 
Joined: 25 Feb 2018
Location: Tatarstan


Return to Resources

Who is online

Users browsing this forum: No registered users and 2 guests