Extendable DaggerfallMessageBox

Discuss modding questions and implementation details.
Post Reply
User avatar
joshcamas
Posts: 48
Joined: Mon Sep 21, 2020 7:01 am

Extendable DaggerfallMessageBox

Post by joshcamas »

I've been looking at the DaggerfallMessageBox class, and it seems pretty sparse, with no options for more than 2 buttons, or even custom text on the buttons.

I think adding a mode where you can define an array of buttons would be super useful for mods! Or perhaps having a separate class would be better?

Jay_H
Posts: 3419
Joined: Tue Aug 25, 2015 1:54 am

Re: Extendable DaggerfallMessageBox

Post by Jay_H »

Is this something you intend to add, or just a suggestion for the devs? ;)
Farewell DFU community! My time here has been a joy.

User avatar
Interkarma
Posts: 5838
Joined: Sun Mar 22, 2015 1:51 am

Re: Extendable DaggerfallMessageBox

Post by Interkarma »

DaggerfallMessageBox in core is built to do the job it needs to - no more and no less. If you need something else for a mod, it's simple enough to build your own custom message box class. Many other mods extend the UI or create new custom classes for their needs.

I'll move this to one modder discussion, as it seem more related to mods than to core.

User avatar
Hazelnut
Posts: 2501
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Extendable DaggerfallMessageBox

Post by Hazelnut »

BadLuckBurt did a load of stuff on this, not sure where he got to though.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply