Text alignment is determined by the style, so selecting a centered style such as "ModStyleCenter16" would do the trick.
<h/> Makes the previous (or next?) character styled to look like a hotkey. I think this is actually relative to the text style. It does not actually make it into a hotkey.
<img width="x" height="y" path="image.dds"/> inserts an image.
<d ref="path" precision="2"/> formats game data. You can do cool stuff, for example:
Increases damage by <d ref="Behavior,MyDamageBuff,Modification.DamageDealtFraction[Ranged] * 100" precision="2"/>%.
I noticed you can format text in the editor with an html-like format (I guess it's just their own XML, which I've seen alot here).
An example is, you apply a preset style and if you view raw data you can see: <s val="StandardButton">Test</s>
Or you can change the color <c val="00FF00">Test</c>
Does anyone know where to find more of these tags? I am especially interested in a tag to center text.
@Radgh: Go
I am also looking for a list of these tags.
Trying to find the answer to this.
Text alignment is determined by the style, so selecting a centered style such as "ModStyleCenter16" would do the trick.
<h/> Makes the previous (or next?) character styled to look like a hotkey. I think this is actually relative to the text style. It does not actually make it into a hotkey.
<img width="x" height="y" path="image.dds"/> inserts an image.
<d ref="path" precision="2"/> formats game data. You can do cool stuff, for example:
Increases damage by <d ref="Behavior,MyDamageBuff,Modification.DamageDealtFraction[Ranged] * 100" precision="2"/>%.
what does precision do?
Any idea on how to return real numbers instead of ints?
Precision typically controls the number of decimal places.