From Battlepedia
Revision as of 03:06, 11 January 2019 by Igorseabra4 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Type Binary
Object ID -
Games used Night of 100 Frights
Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

TEXT assets contain text that is used ingame in message boxes and other places.


Offset Type Description
0x00 int Character count
0x04 char[charCount] Text (zero-terminated; the terminator is not included in charCount)
charCount + 0x04 byte[] Padding (0x00 until the data is aligned to 0x04)

Text Formatting

The text can be formatted by introducing tags. The tags are usually in the format:


They usually either affect the text coming immediately after it, or insert something in the text (such as an image or variable).

Tag List (incomplete)

The tags and variables placed in [brackets] are optional. Vectors are represented by comma-separated values.

Tag Format Value Description
Tag name Resets a previously changed tag to default. Possible tags:
  • auto-wait
  • color, c
  • tex
Hex Color (4 bytes, AARRGGBB) Customizes the text color.
Float (range: 0 to 1) Customizes the red component of the text color.
Float (range: 0 to 1) Customizes the green component of the text color.
Float (range: 0 to 1) Customizes the blue component of the text color.
Float (range: 0 to 1) Customizes the alpha component of the text color.
None ?
Integer ?
Float ?
TEXT Asset Name Inserts text in the specified asset. {i:keyword}, for example, inserts the keyword text (which is an asset in boot.HIP).
RWTX Asset Name; Unknown; Vector4 (Unknown); Vector2 (Unknown) Places a texture in the text (such as an image of a button).
None Inserts new line character
None Inserts page break character
None ?
Vector2, Vector3, Vector3 ?
Integer Sends one of the Signal events to the textbox using this text
SNDS Asset Name; VIL Asset Name Defines sound (usually a voice line) to play when this line is reached.
None Teleports the player at this point in the text.
{turn on <value>}
? ?
TIMR Asset Name Inserts the timer's current time.
Variable Inserts one of the following possible variables:
  • ActivePad
  • BadCard
  • BadCardAvailable
  • BadCardNeeded
  • CorruptFileName
  • CurrentArea
  • CurrentDate
  • CurrentLevelCollectable
  • CurrentLevelPatsSocks
  • CurrentScene
  • CurrentTime
  • GameSlot0
  • GameSlot1
  • GameSlot2
  • GameSlot3
  • GameSlot4
  • GameSlot5
  • GameSlot6
  • GameSlot7
  • MCAccessType
  • MCAutoSaveCard
  • MCName
  • MCPS2MaxSpace
  • MCPS2MinSpace
  • MCSelectedCard
  • MCSelectedGame
  • PlayerHeShe
  • PlayerName
  • PlayerPosition
  • SelectedArea
  • ShinyCount
  • ShinyCountText
  • SoundFXVolume
  • SoundMusicVolume
  • SpaceAvailable
  • SpaceAvailableString
  • SpaceNeeded
  • TotalPatsSocks
Float ?
Float Tells game to wait <value> seconds before continuing the dialog; sets the prompt after the wait
None Probably text alignment