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: Developers

Map Markers which connect to make a line between them

Postby RockstarRaccoon » Mon May 14, 2018 11:31 am

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
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016

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

Postby Rachael » Mon May 14, 2018 12:51 pm

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
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

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

Postby Xaser » Mon May 14, 2018 3:27 pm

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
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

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

Postby Graf Zahl » Mon May 14, 2018 3:34 pm

The automap is still being drawn and handled by native code.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Rachael » Mon May 14, 2018 3:39 pm

Oh, I missed the automap part. Yeah that's definitely not DIY. :)
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

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

Postby RockstarRaccoon » Tue May 15, 2018 8:57 am

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.
User avatar
RockstarRaccoon
Totally Babies
 
Joined: 31 Jul 2016


Return to Feature Suggestions

Who is online

Users browsing this forum: Jimmy, YukesVonFaust and 1 guest