Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002109Zandronum[All Projects] Suggestionpublic2015-02-20 14:262015-02-23 17:43
Reporterninja2000 
Assigned To 
PrioritylowSeverityminorReproducibilityunable to reproduce
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002109: A key to change automap render style.
DescriptionIs it possible to implement a feature that will change the render of the automap from standard solid color like in DooM to the overlay mode and vice versa (something like in prboom-plus). Just press a key and get automap rendering changed from solid to overlay.
Steps To Reproduce1. Implement
2. Define key
3. ?????
4. Massive downloads from repos
Additional InformationIts annoying for me to to tap tab 2 times to get the overlay.
Attached Files

- Relationships

-  Notes
User avatar (0011725)
Dusk (developer)
2015-02-20 14:31

You can do this with the console.


alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; rebind _overlay_on"
bind <key> _overlay_on


Replace <key> with whatever key you want to bind this to.
User avatar (0011727)
Leonard (developer)
2015-02-20 17:59
edited on: 2015-02-20 17:59

This should probably be closed.
Options -> Display options -> Automap Options -> Overlay automap: Choose "Overlay + Normal".

User avatar (0011728)
Dusk (developer)
2015-02-20 18:09

Quote

Its annoying for me to to tap tab 2 times to get the overlay.


Nevertheless my console script should do it. I'm just waiting for him to reply whether it suits his needs or not.
User avatar (0011735)
ninja2000 (reporter)
2015-02-22 15:45


alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; rebind _overlay_on"
bind <key> _overlay_on

This works partially. I need to turn the automap off to see changes. Is there any way to refresh the map render via an additional line in the command?
User avatar (0011737)
Leonard (developer)
2015-02-22 18:49

How about
alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; togglemap; wait; togglemap; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; togglemap; wait; togglemap; rebind _overlay_on"
User avatar (0011745)
ninja2000 (reporter)
2015-02-23 07:07


alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; togglemap; wait; togglemap; rebind _overlay_off"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; togglemap; wait; togglemap; rebind _overlay_on"


This trick turns overlay on but the console says "Rebind cannot be used from the console"
User avatar (0011746)
Dusk (developer)
2015-02-23 10:30


alias _overlay_on "am_overlay 2; echo \"Overlay enabled\"; rebind _overlay_off; togglemap; wait; togglemap"
alias _overlay_off "am_overlay 0; echo \"Overlay disabled\"; rebind _overlay_on; togglemap; wait; togglemap"


The rebind needs to come before waiting, not after.
User avatar (0011747)
ninja2000 (reporter)
2015-02-23 15:01

The script work. Case closed.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-02-20 14:26 ninja2000 New Issue
2015-02-20 14:31 Dusk Note Added: 0011725
2015-02-20 14:32 Dusk Status new => feedback
2015-02-20 14:32 Dusk Assigned To => Dusk
2015-02-20 17:59 Leonard Note Added: 0011727
2015-02-20 17:59 Leonard Note Edited: 0011727 View Revisions
2015-02-20 18:09 Dusk Note Added: 0011728
2015-02-22 15:45 ninja2000 Note Added: 0011735
2015-02-22 15:45 ninja2000 Status feedback => assigned
2015-02-22 18:49 Leonard Note Added: 0011737
2015-02-23 07:07 ninja2000 Note Added: 0011745
2015-02-23 10:30 Dusk Note Added: 0011746
2015-02-23 10:30 Dusk Assigned To Dusk =>
2015-02-23 10:30 Dusk Status assigned => feedback
2015-02-23 15:01 ninja2000 Note Added: 0011747
2015-02-23 15:01 ninja2000 Status feedback => new
2015-02-23 17:43 Dusk Status new => closed
2015-02-23 17:43 Dusk Resolution open => no change required






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker