MantisBT - Zandronum
View Issue Details
0001118Zandronum[All Projects] Suggestionpublic2012-10-10 23:352014-06-27 18:36
Theshooter7 
 
normalfeatureN/A
acknowledgedopen 
1.0 
 
0001118: MAPINFO: Allow f1 property to default to infopage(s) when an empty string is specified
In the current implementation of the Mapinfo "f1" property/feature, it only allows the use of one graphic to show the help screen. However, for bigger mods, like WhoDunIt, multiple pages proves to be extremely useful, but f1 does not allow this if the property is used.

What I suggest is, if one sets "f1" to a blank string (ex. f1 = ""), then pressing f1 will use the infopage property (and all associated pages/graphics with it) instead. This will allow one to set an infopage in the gameinfo, and perhaps use defaultmap to override and allow f1 to show said infopages in any map. Or vice versa, and have the f1 property hide the infopages on specific maps.
N/A
N/A
No tags attached.
Issue History
2012-10-10 23:35Theshooter7New Issue
2014-06-12 20:34WatermelonNote Added: 0009169
2014-06-12 20:34WatermelonStatusnew => feedback
2014-06-12 20:34WatermelonNote Edited: 0009169bug_revision_view_page.php?bugnote_id=9169#r4917
2014-06-12 23:52Theshooter7Note Added: 0009179
2014-06-12 23:52Theshooter7Statusfeedback => new
2014-06-13 00:15WatermelonNote Added: 0009180
2014-06-13 00:15WatermelonStatusnew => acknowledged
2014-06-18 20:32Theshooter7Note Added: 0009582
2014-06-27 17:56Theshooter7Note Added: 0009761
2014-06-27 18:35DuskNote Added: 0009762
2014-06-27 18:36DuskNote Edited: 0009762bug_revision_view_page.php?bugnote_id=9762#r5209

Notes
(0009169)
Watermelon   
2014-06-12 20:34   
Does zdoom do this?
Not that I'm saying this will be 'no'd' if they don't.

(0009179)
Theshooter7   
2014-06-12 23:52   
ZDoom doesn't necessarily use the f1 feature SkullTag added. Support for this sort of thing was added in to ZDoom later via the gameinfo block. So it's kind of a gray area, but since the f1 is more SkullTag/Zan specific, and this issue only occurs during online play, I don't see why we can't extend it to fix this.
(0009180)
Watermelon   
2014-06-13 00:15   
Ill set to acknowledged and return to it in the future
(0009582)
Theshooter7   
2014-06-18 20:32   
Another thing I should mention is that, if you don't specify your own F1 image in the current release build, then the default shows up. So for instance, in WDI, even though we made a set of info pages of our own, pressing f1 while playing online will show SkullTag's "Survival" help page. I tried to override this in the mapinfo but the f1 property only allows 1 graphic specified, and not multiple pages ala 'infopage' property.

I haven't tested this with the beta but I have no reason to believe it's any different at the moment.
(0009761)
Theshooter7   
2014-06-27 17:56   
I'm going to post another comment because I've gotten around to testing the behavior with Zan 2.0 in an online server.

It seems it was fixed at some point or another, as now when I use F1 online in WDI, all the infopages show as intended and the 'Survival' instruction page does not show up/override.

As such, this ticket may be moot point now so close it if you see necessary as the problematic behavior is now gone.
(0009762)
Dusk   
2014-06-27 18:35   
(edited on: 2014-06-27 18:36)
Good to hear, but I'm left a little baffled. The f1 behavior seems identical in 1.2.2 and 2.0. Does the problem still happen in 1.2.2? EDIT: hrm, re-read the notes, it apparently does? Strange.