Minimap Graphic?

Moderator: GZDoom Developers

User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Minimap Graphic?

Post by Amuscaria »

Is it possible to add an ACS script that allows a custom graphic to be placed on a X-Y coordinate over the mini map to show where the player should go?
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Re: Minimap Graphic?

Post by Zippy »

Code: Select all

SpawnSpot("SomeMarkerActor",1,2);

...

ACTOR SomeMarkerActor : MapMarker
{
   States
   {
      Spawn:
         GRAP A -1  // GRAPA0 is your custom graphic
         Stop
   }
}
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: Minimap Graphic?

Post by Cutmanmike »

Can anyone name a mod that's actually used that feature yet?
User avatar
Siggi
Posts: 3288
Joined: Sun Oct 03, 2004 8:57 am
Preferred Pronouns: They/Them
Location: South Africa

Re: Minimap Graphic?

Post by Siggi »

Well, it's nice to know something I've been thinking would be cool can actually be done.
That is; have keys show up on the automap.
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: Minimap Graphic?

Post by Ghastly »

Can MapMarkers be placed on the map like any other actor? You implied it has to be put in through ACS.
User avatar
Skippy
Posts: 695
Joined: Sun Nov 20, 2005 9:57 am
Location: Belfast, NI

Re: Minimap Graphic?

Post by Skippy »

Cutman wrote:Can anyone name a mod that's actually used that feature yet?
The City Of The Damned: Apocalypse makes good use of both MapMarkers (to keep track of discovered Moon Shelters) and the practically-unknown AUTOPAGE lump. :)
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: Minimap Graphic?

Post by Cutmanmike »

AUTOPAGE? It's not even in the wiki. What is it? :o
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Minimap Graphic?

Post by Gez »

Automap background. It's used by Heretic and Hexen to make the automap look like a scroll. (Hence, AUTOmap PAGE.)
User avatar
Enjay
 
 
Posts: 27194
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Minimap Graphic?

Post by Enjay »

I've used both features quite a bit for my own amusement, but nothing that has been in a released project.
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: Minimap Graphic?

Post by Apothem »

I'm planning on an implementation of such, it'll be much later tho after I get the rest of my base code in for it.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Re: Minimap Graphic?

Post by Zippy »

Ghastly_dragon wrote:Can MapMarkers be placed on the map like any other actor? You implied it has to be put in through ACS.
Yes, they can. They can also be turned on and off via [wiki]Thing_Activate[/wiki] and [wiki]Thing_Deactivate[/wiki]. They can also be set to follow actors with specific TIDs (for example, if you want to mark a boss monster on the automap) or be set to automatically be hidden until the player sees the marker's sector.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Minimap Graphic?

Post by Xaser »

Cutmanmike wrote:Can anyone name a mod that's actually used that feature yet?
Blackrock in ZPack.

I'm planning on using it but said mod has a release date of infinity. :O
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Minimap Graphic?

Post by randi »

You can also animate markers just like any other actor.

Anyway, I assume the automap is what was meant by "mini map", since there isn't an actual mini map, so I'm moving this to closed.
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: Minimap Graphic?

Post by Amuscaria »

I did not know this. :D
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: Minimap Graphic?

Post by Macil »

I think I once made a monster than inherited from MapMarker. I can't remember if I could make it solid and shootable, but it was completely invisible - I had to bring up the automap to see where it was, which was pretty screwy.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”