Tipsexample code for Text SkyUI widget

Post » Sat May 17, 2014 6:23 am

I want to develop a mod that displays text using (I think) SkyUI api. I would like to be able to:

- Display arbitrary long text.

- Set font, font size, and foreground color.

- Control when text gets shown, how long, etc.

- Be able to scroll text, fade in, out.

I've been reading over https://github.com/schlangster/skyui and https://github.com/Mardoxx/skyrimui but need some help.

Bascially I want my own papyrus "Debug.Notification" area, under my mod's control, that will not be clobbered by text from other Papyrus scripts that might be running...

I would like to host the text in the top right, or bottom right corner of the interface, and move all the regular SkyUI widgets (spell effects, etc), by a fixed amount/pixels, or otherwise have the other hud elements adjust to make some additional real estate for the widget.

Is this possible? How do I do it? What widget name, api?

Been looking here: https://github.com/schlangster/skyui/blob/master/src/HUDWidgets/skyui/widgets

And here:

https://github.com/schlangster/skyui-lib/blob/master/src-flash/UILIB_1/uilib/NotificationArea.as

But I feel like I'm just poking in the dark here. schlangster was kind enough to send me an old post with some high-level ideas about how widgets work, how to call from Papyrus, etc, but I still need help on finding the best widget, how big it is, limits, specs, etc.

Please help. Thanks!

p.s. I'm not an AS developer nor am I familiar with Flash programming. That is why I'm trying to find something I can reuse.

User avatar
Greg Swan
 
Posts: 3413
Joined: Tue Jun 05, 2007 12:49 am

Post » Sat May 17, 2014 8:21 am

Damn, this might be what I'm looking for: http://www.gamesas.com/topic/1500002-skyui-widget-framework-question-showing-text-labelmessage/

User avatar
CYCO JO-NATE
 
Posts: 3431
Joined: Fri Sep 21, 2007 12:41 pm


Return to V - Skyrim