EvilEngine/TEXT: Difference between revisions

m
Seil moved page TEXT to EvilEngine/TEXT
No edit summary
m (Seil moved page TEXT to EvilEngine/TEXT)
 
(15 intermediate revisions by 3 users not shown)
Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|TEXT}}<nowiki/>
|subtitle=Text
{{#vardefine:name|Text}}<nowiki/>
|type=[[Binary]]
{{#vardefine:type|[[Binary]]}}<nowiki/>
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
{{#vardefine:basetype|}}<nowiki/>
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xTextAsset.h xTextAsset.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
 
TEXT assets contain text that is used ingame in message boxes and other places.
Line 68 ⟶ 74:
|-
|
{alpha*=''<value>''}
{a=''<value''}
|| Float (range: 0 to 1)
|| Customizes the alpha component of the text color.
Line 79 ⟶ 86:
|
{font=''<value>''}
{f=''<value>''}
|| Integer
|| Changes the font used.
|| ?
|-
|
{hheight=''<value>''}
{h=''<value>''}
|| Float
|| ?
Line 99 ⟶ 108:
|-
|
{nbsp}
|| None
|| Inserts the non-breaking space character
|-
|
{newline}
{n}
|| None
Line 118 ⟶ 133:
|| [[Vector2]], [[Vector3]], [[Vector3]]
|| ?
|-
|
{racetimer:<value>}
|| [[DYNA]] Asset Name ([[DYNA/game_object:RaceTimer|game_object:RaceTimer]])
|| Specifies the countdown timer DYNA (e.g. Floating Block, Driving and Sliding Time Challenges)
|-
|
Line 126 ⟶ 146:
|
{sound:''<value1>''[;speaker=''<value2>'']}
|| [[SNDS]] Asset Name; [[VIL]]/[[DYNA]] Asset Name
|| Defines sound (usually a voice line) to play when this line is reached.
|-
|
{salpha:''<value>''}
{sa=''<value>''}
|| Float (range: 0 to 1)
|| Customizes the alpha component of the text's shadow.
|-
|
{sred:''<value>''}
{sr=''<value>''}
|| Float (range: 0 to 1)
|| Customizes the red component of the text's shadow color.
|-
|
{sgreen:''<value>''}
{sg=''<value>''}
|| Float (range: 0 to 1)
|| Customizes the green component of the text's shadow color.
|-
|
{sblue:''<value>''}
{sb=''<value>''}
|| Float (range: 0 to 1)
|| Customizes the blue component of the text's shadow color.
|-
|
Line 143 ⟶ 187:
|| [[TIMR]] Asset Name
|| Inserts the timer's current time.
|-
|
{counter:''<value>''}
|| [[CNTR]] Asset name
|| Inserts the counter's current count.
|-
|
Line 189 ⟶ 238:
|-
|
{wwidth=''<value>''}
{w=''<value>''}
|| Float
|| ?
|-
|
{wait[:''<value>''];prompt[=yesno]}
|| Float
|| Tells game to wait <value> seconds before continuing the dialog; sets the prompt after the wait
|-
|
{xjustify=''<value>''}
{xj=right}
{xj=''<value>''}
|| None
|| Probably textText alignment (left/center/right)?
|| X-axis text alignment?
|-
|
{xspace=''<value>''}
{xs=''<value>''}
|| Float
|| Adjusts the spacing (tracking) between characters.
|-
|
{yjustify=''<value>''}
{yj=''<value>''}
|| Text alignment (top/center/bottom)?
|| Y-axis text alignment?
|-
|
{yspace=''<value>''}
{ys=''<value>''}
|| ?
|| ?
|}
 
{{Assets}}
{{AutoGameNavs}}
 
[[Category:Asset]]