Jump to content

Learning UI Modding - need a few pointers


KillerHappyFace

Recommended Posts

After seeing SkyUI's recent changes to the favorites menu, I decided to try my hand at adding even more functionality to the Favorites Menu.

 

My final goal is to create an interface that can command your followers, like FONV. Right now, I just want to add a button that makes Lydia jump.

 

@BotOwned led me to SkyUI's github repository, and I've spent a few days fiddling with Flash with very slow results. I added a new button to SkyUI's menu (because the script in the default menu is really strange) and I set it to play a sound. Unfortunately, the swf won't compile because I haven't set up an appropriate package directory for all the import statments.

 

And so, my questions:

 

- How are you supposed to set up packages for import statements? I know that I can just copy over the imported .as files to where the .fla resides, but wouldn't that cause a lot of bloating in the swf?

 

- What exactly can the game delegate do? What can it tell the game, and what can the game tell it? Has anyone put together a list of all possible settings/use cases? Can it be called from papyrus to pass info to the UI?

 

- The addEventListener function wrt Skyrim uses a different parameter signature than normal: type:string, listener:object, weakReference:string. What does the type "change" mean? I see it an awful lot - is it just a catch all? Also, is the listener ever not a "this" reference?

 

Any help is appreciated, not just with what I'm asking about. If you think something you've learned about UI modding can be useful down the line, don't hesitate to blurt it out! :smile:

 

Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...