Fable3mod
Discussions for modifying Fable 3

Home » Modding Forums » Modding Discussion » MessageBox Extended (to show LUA tables)
MessageBox Extended Sun, 01 June 2014 22:05 Go to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
this will show all table values (up to 4 entries)
Toggle Spoiler

where
text is source entry
sub sets the number of output data. If it equals 1 only shows the hash table, if it is 2 shows the data from the table, if it is equal to 3 shows the data which in the table which are located in the first table, if it is equal 4...you got it? %)
trash if true show functions hash (default false)
looks quite messy but it works

as example:
MsgTab(Gameflow,1,false)

same as
MsgTab(Gameflow)


it also can show simple value
MsgTab(Stats.GetFat(GetLocalHero()))


local nOfLines the number of rows that will be displayed at one time, it's tuned for 1280x720 resolution

[Updated on: Sun, 01 June 2014 23:54]

Report message to a moderator

Re: MessageBox Extended Tue, 03 June 2014 15:08 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 137
Registered: August 2013
Senior Member
There has to be a way to dump all this information to an external file or something.
Re: MessageBox Extended Wed, 04 June 2014 11:41 Go to previous messageGo to next message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
I have tried but without success io.write
there is such function:
Debug.LogUsedResources()
that writes the file: UsedResources.txt in game folder, but seems this is internal function so no way to see how it works...
Re: MessageBox Extended Thu, 05 June 2014 04:41 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 137
Registered: August 2013
Senior Member
Artofeel wrote on Wed, 04 June 2014 11:41
I have tried but without success io.write
there is such function:
Debug.LogUsedResources(Wink
that writes the file: UsedResources.txt in game folder, but seems this is internal function so no way to see how it works...


Ya, io is entirely locked out. I did a few minutes of research to see if pluto had anything usable, but I couldn't find anything substantial.

The gameface/anark gui scripting might have something though. When I was looking through them it looked like they may have some of the higher functions exposed to them. But I'm not sure.
Re: MessageBox Extended Tue, 18 November 2014 09:47 Go to previous message
Artofeel is currently offline  Artofeel
Messages: 195
Registered: August 2013
Location: Russia
Senior Member
just tried to connect an external library for additional functions
package.loadlib

and seems is not worked at all
game just crash
damn...
Previous Topic: Rebel's Weapon & Tattoo Pack
Next Topic: Where the heck are the fable 3 voice files stored??
Goto Forum:
  


Current Time: Sat Nov 30 01:53:49 PST 2024

Total time taken to generate the page: 0.00995 seconds