Reply
 
Thread Tools Display Modes
Unread 02-16-12, 06:33 PM   #1
sidsixseven
Bomani Harbinger
Join Date: Feb 2012
Posts: 6
Question: Extracting RIFT UI

I'm new to RIFT but not new to writing addons for games. Is there any way to extract the developer's lua files for the official RIFT UI. I would like to make a number of modifications to the auction house and the chat system.

Obviously, it would help to be able to extract the existing files so I could hook into the existing UI properly without having to try and reverse engineer everything.

I've written addons for both WAR & WOW and this was readily available by extracting the files from the data file. I see that RIFT uses a .pak file and was wondering if this was extractable.

-sidsixseven

PS: new to these forums, is there any easy way to change your user name. lol, i was registering a bit too fast and have a typo in my name.
sidsixseven is offline   Reply With Quote
Unread 02-16-12, 06:46 PM   #2
TimeBomb
Claw of Regulos
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 21
We do not have access to the default UI. We DO have access to hooks that allow us to work with or imitate the [functionality of the] default UI, though. We do not have access to everything yet, as the API is still very much so incomplete and in beta.
TimeBomb is offline   Reply With Quote
Unread 02-17-12, 12:27 AM   #3
sidsixseven
Bomani Harbinger
Join Date: Feb 2012
Posts: 6
Quote:
Originally Posted by TimeBomb View Post
We do not have access to the default UI. We DO have access to hooks that allow us to work with or imitate the [functionality of the] default UI, though. We do not have access to everything yet, as the API is still very much so incomplete and in beta.
Hmm. Is there any quick and dirty way to figure out the name of a Frame, text label or other objects? Something like the WoW equivalent of: GetMouseFocus():GetName()

Or alternately, a way to dump all the objects? My preference would be to make modifications (or replace) the existing UI objects.

EDIT: OK -- at least the dumping is no problem. It appears everything is under UI.Native .. A mousefocus would make things easier but I can work with this..
Code:
for k,v in pairs(UI.Native) do
	print(k)
end

Last edited by sidsixseven : 02-17-12 at 12:48 AM.
sidsixseven is offline   Reply With Quote
Unread 02-17-12, 01:42 AM   #4
Naifu
Claw of Regulos
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 22
In difference to other games the standard UI of Rift is not written in LUA itself. The UI.Native elements are used as placeholders to interface with the standard UI. The whole UI element approach is quite different to other games offering a LUA API.

Cheers
N.
Naifu is offline   Reply With Quote
Unread 02-17-12, 01:50 AM   #5
sidsixseven
Bomani Harbinger
Join Date: Feb 2012
Posts: 6
Thx. That explains some things I'm noticing. It's looking like it might be easier to have a pop-up window. I'm starting to see why there are less addons, lol.
sidsixseven is offline   Reply With Quote
Unread 02-17-12, 11:26 AM   #6
Naifu
Claw of Regulos
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 22
Quote:
Originally Posted by sidsixseven View Post
Thx. That explains some things I'm noticing. It's looking like it might be easier to have a pop-up window. I'm starting to see why there are less addons, lol.
If you wanna save yourself a loot of work you might want to look into some of the widget libs around. You could even use my nkGenie lib which has grown quite a lot. However it's not documented and I don't guarantuee backwards compatability. Well the later is not much of an issue as with 5 of my addons using the lib I have to do it anyway :P

Cheers
N.
Naifu is offline   Reply With Quote
Unread 02-16-12, 11:19 PM   #7
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
Riftui Admin
Join Date: Jun 2011
Posts: 154
Quote:
Originally Posted by sidsixseveb View Post
PS: new to these forums, is there any easy way to change your user name. lol, i was registering a bit too fast and have a typo in my name.
Yup, just send me a PM with what you'd like it to actually be and I will take care of it for you.
__________________
Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Twitter
Avatar Image by RafM
Cairenn is offline   Reply With Quote
Reply

Go BackRiftui » Developer Discussions » General Authoring Discussion » Question: Extracting RIFT UI


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off