-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
I'm no reverse engineer but I was able to figure out what these do by evaluating lua scripts. (Steam 50.07)
markup_text_boxst.unk1
Is a vector of words. Line breaks are also words of its own, but not spaces. Each word can have a hyperlink. (See markup_text_boxst.unk_v50_2)
unk_00: The word, string.unk_24: Index ofmarkup_text_boxst.unk_v50_2vector. This is for hyperlinking.-1for none, i.e. plain text.unk_28: Position of the word along the X axis.-1for line breaks.unk_2c: Position of the word along the Y axis.-1for line breaks.unk_30
So for a sentence "Serid Skincrafts was a anaconda.", markup_text_boxst.unk1[1] would be
unk_00: "Skincrafts"
unk_24: -1
unk_28: 6
unk_2c: 0
markup_text_boxst.unk_v50_2
Is a vector of hyperlinks.
unk_0: Type of target. See markup_text_boxst.unk_v50_2 vector contains entries similar to general_ref #569.unk_4: ID of target.unk_8: Always -1?
For historical figures, I can:
local id = markup_text_boxst.unk_v50_2[index].unk_4
return df.historical_figure.find(id)to retrieve the figure this hyperlink points.
markup_text_boxst.unk_v50_3
markup_text_boxst's width.
markup_text_boxst.unk_v50_4
markup_text_boxst's height.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels