Map Markers which connect to make a line between them

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
RockstarRaccoon
Posts: 598
Joined: Sun Jul 31, 2016 2:43 pm

Map Markers which connect to make a line between them

Post by RockstarRaccoon »

This is pretty low priority, but I'd eventually like the ability to draw some sort of line, preferably dotted, between two map markers. The use of this would be for things like teleporters, portals, and silent-teleporting-elevators, where mappers could put in a line which showed on the AutoMap where the portal / teleporter / elevator leads to.

I'm thinking this could take arguments which use the first three fields to describe a color, and the fourth field can specify a "group", which would be independent of TID, and the engine would link all the markers together.
User avatar
Rachael
Posts: 13557
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Map Markers which connect to make a line between them

Post by Rachael »

This kind of seems to me to be a "DIY" with ZScript. There's no legitimate reason that I can think of that the engine should be doing this internally.
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Map Markers which connect to make a line between them

Post by Xaser »

Is it even possible to DIY? I'm vaguely aware that there's a line drawer now, but to implement this in ZScript you'd need to get the automap zoom & panning values. Are these accessible in UI scope somewhere?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Map Markers which connect to make a line between them

Post by Graf Zahl »

The automap is still being drawn and handled by native code.
User avatar
Rachael
Posts: 13557
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Map Markers which connect to make a line between them

Post by Rachael »

Oh, I missed the automap part. Yeah that's definitely not DIY. :)
User avatar
RockstarRaccoon
Posts: 598
Joined: Sun Jul 31, 2016 2:43 pm

Re: Map Markers which connect to make a line between them

Post by RockstarRaccoon »

Yeah, I'm asking because I'm screwing with the Auto map code to add a basic feature, because one has to alter the C code and compile the engine to get basic features.

Like I said, don't make it a high priority. I might even realize that I can add it myself once I get this stupid compiler working.
Post Reply

Return to “Feature Suggestions [GZDoom]”