Custom Tokens

_images/custom-tokens.png

Usage

To use a custom token, place <CUSTOMxxx> in the text, where xxx is an unpadded integer.

Custom tokens 0-9 are used by BioWare and should not be used. Other reserved codes are also used. The restricted codes are 777, 2001-4, 9323-4, 9611-4, 9711-4, 13220-5, 14220-5, 14320-5, 14420-5 and 77101-9.

Custom tokens do not work for creatures or map notes.

Refer to page ff_i_token for token functions.

The tokenaliases.2da from the ff_core.hak will add named aliases to custom tokens.

Tokens

Tokens

Token

Value

Alias

Description

CUSTOM10

\</c>

\<reset>

close

CUSTOM30

\<c   >

\<cBlack>

black / blackish

CUSTOM31

\<cþ  >

\<cRed>

red

CUSTOM32

\<c þ >

\<cGreen>

green

CUSTOM33

\<cþþ >

\<cYellow>

yellow

CUSTOM34

\<c  þ>

\<cBlue>

blue

CUSTOM35

\<cþ þ>

\<cMagenta>

magenta

CUSTOM35

\<c þþ>

\<cCyan>

cyan

CUSTOM40

\<c¥¥¥>

\<cGrey>

grey

CUSTOM41

\<c¥  >

\<cDarkRed>

dark red

CUSTOM42

\<c ¥ >

\<cDarkGreen>

dark green

CUSTOM43

\<c¥¥ >

\<cDarkYellow>

dark yellow

CUSTOM44

\<c  ¥>

\<cDarkBlue>

dark blue

CUSTOM45

\<c¥ ¥>

\<cDarkMagenta>

dark magenta

CUSTOM46

\<c ¥¥>

\<cDarkCyan>

dark cyan

CUSTOM50

\<cÿüü>

\<cDefault>

Default color

CUSTOM51

\<cBug>

Color to indicate a bug

CUSTOM52

\<cAttention>

Color to indicate a point of attention

CUSTOM53

\<cSuccess>

Color to indicate success

CUSTOM54

\<cFailure>

Color to indicate failure

CUSTOM55

\<cInfo>

Color to indicate simple information

CUSTOM56

\<cDebug>

Color to indicate debug message

CUSTOM60

\<cCombat>

Color of combat messages

CUSTOM61

\<cFeedback>

Color of feedback messages

CUSTOM62

\<cMagic>

Color of magic related messages

CUSTOM63

\<cSaveGame>

When saving the game

CUSTOM64

\<cSavingThrow>

Color of saving throw messages

CUSTOM65

\<cSkill>

Color of skill check messages

CUSTOM66

\<cPause>

When pausing or unpausing

CUSTOM67

\<cPlayer>

Color of player’s name

CUSTOM68

\<OtherName>

Color of another’s player name

CUSTOM70

\<cAcid>

Color of acid damage

CUSTOM71

\<cCold>

Color of cold damage

CUSTOM72

\<cDivine>

Color of divine damage

CUSTOM73

\<cElectrical>

Color of electrical damage

CUSTOM74

\<cFire>

Color of fire damage

CUSTOM75

\<cMagical>

Color of magical damage

CUSTOM76

\<cNegative>

Color of negative damage

CUSTOM77

\<cPositive>

Color of positive damage

CUSTOM78

\<cMagical>

Color of magical damage

CUSTOM1xy

\<cxy>

CUSTOM1xy with x, and y being integers from 0 to 9 included are mapped to the correspond ordering token. For example: CUSTOM115 mapped to <c115>.

CUSTOM1xyz

CUSTOM1xyz with x, y and z being integers from 0 to 7 included are mapped to the corresponding result from NWN Text Color Token Generator.

Automatic Values

Tokens with automatic values such as <Him/Her> are documented on the NWN Wiki.

References