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.
Map Markers which connect to make a line between them
Moderator: GZDoom Developers
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: Map Markers which connect to make a line between them
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.
Re: Map Markers which connect to make a line between them
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?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49071
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Map Markers which connect to make a line between them
The automap is still being drawn and handled by native code.
Re: Map Markers which connect to make a line between them
Oh, I missed the automap part. Yeah that's definitely not DIY.
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: Map Markers which connect to make a line between them
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.
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.