How to replicate strife keys display?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

How to replicate strife keys display?

Post by ramon.dexter »

Well, the title says it. How do I replicate the strife keys screen? I know I can use 'drawkeybar' in 'statusbar popupkeys' in sbarinfo, but it allows me to make only one page. And strife has three pages with nice slide animation between pages. How do I relicate this behaviour? Sbarinfo prefered, but if it's doable in zscript only, I'll stick with zscript. Also, is it doable with sbarinfo?
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: How to replicate strife keys display?

Post by Mikk- »

[wiki]CreatePopup[/wiki], however I don't really know how this functions as the wiki is incredibly vague
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: How to replicate strife keys display?

Post by ramon.dexter »

Well, I was able to replicate the status popup. That works. Also, I'm able to replicate one page of the keys popup. But the strife has three pages. I just dont know how to make pages.

Return to “Scripting”