Mod for identifying XML elements?

Post » Thu Jul 22, 2010 12:13 am

Basically, has anyone made a mod that does something simple like this: Runs in menumode all the time, when you press the X key it prints to the console (and Conscribe) the identifying information for the menu element under the mouse? A button, some text, a variable number....whatever is useful.

This seems like it would be a useful resource for people who want to build a mod to hit specific buttons or alter specific UI elements.
User avatar
Kate Norris
 
Posts: 3373
Joined: Mon Nov 27, 2006 6:12 pm

Post » Thu Jul 22, 2010 3:54 am

Wrong forum, you think ?

IIRC, Wyzard256 was planning to add that feature in a future update to RefScope. But to answer your question, no, I don't think there is presently a mod that does that.
User avatar
Jessie Butterfield
 
Posts: 3453
Joined: Wed Jun 21, 2006 5:59 pm

Post » Thu Jul 22, 2010 1:42 am

Basically, has anyone made a mod that does something simple like this: Runs in menumode all the time, when you press the X key it prints to the console (and Conscribe) the identifying information for the menu element under the mouse? A button, some text, a variable number....whatever is useful.

This seems like it would be a useful resource for people who want to build a mod to hit specific buttons or alter specific UI elements.

I have made things like that, I can see if I can dig up something.

Edit: Something as simple as this gives you what you need (though you will want to make it run more than every 5 seconds):
SCN XMLlookupstring_var str1Begin MenuMode	if OnKeyDown 45 ;X		let str1 := GetActiveUIComponentFullName		PrintTileInfo $str1 GetActiveMenuMode	endifEnd

User avatar
Cameron Wood
 
Posts: 3384
Joined: Wed Oct 31, 2007 3:01 pm

Post » Wed Jul 21, 2010 3:00 pm

Thanks TheNiceOne. I thought this might be the kind of thing someone would have cobbled together for their own use and just never thought to make public.

For those of us who are trying to learn to use XML, though, it's a godsend.
User avatar
Ridhwan Hemsome
 
Posts: 3501
Joined: Sun May 06, 2007 2:13 pm

Post » Wed Jul 21, 2010 6:12 pm

IIRC, Wyzard256 was planning to add that feature in a future update to RefScope.

RefScope is for working with things that have RefIDs and FormIDs, so adding features for menu info would be a step in a very different direction. If there's useful information to be had, I wouldn't mind adding it, but I know very little about the game's menu XML at this point so I wouldn't say I'm planning on it. However, I've been wondering in the back of my mind whether it might be possible to use custom menu XML to build a better UI for RefScope than the game's messageboxes, so I'll probably look into it at some point.

For now, I believe Kuertee's "Actor Details" mod does what you want, showler. Its main purpose is providing info about an actor (as the name implies) but it also tells you the path of the UI element that it's activated on.
User avatar
John N
 
Posts: 3458
Joined: Sun Aug 26, 2007 5:11 pm


Return to IV - Oblivion