View Full Version : Tokens and scripts


Ignatiuz
Sat, 14th Sep '02, 3:51pm
Has or can anyone compile a list of tokens that can be use for conversation? So far I got:
<FirstName> : give first name
<StartAction></Start> : green text
<StartCheck></Start> : red text
<StartHighlight></Start> : blue text

very limited indeed.

And does anyone noe anyplace to download prewritten scripts? I'm plain lazy.

regards.

Wildfire
Sat, 14th Sep '02, 3:58pm
There's a list of all the tokens in the conversation editor itself. Right click the text entry field and select insert token.

Not sure about any custom ones.

Erran
Sat, 14th Sep '02, 5:18pm
Feeling lazy? You can take them from the NWN SP game itself and adapt them. Load the chapter as a .mod then export the bit you want.

Errol
Sun, 15th Sep '02, 1:23pm
As Wildfire said above, right-click in the conversation Editor, and click Insert Token. But for your convenience, here they are:

Player-Determined ones:
<FirstName> The player characacter's first name.
<LastName> The PC's Last name.
<FullName> The PC's First and Last Name
<Subrace> gives the PC's subrace (if he/she entered one)
<Diety> names the PC's chosen Diety (if he/she entered one)
<Alignment> Names the PC's Alignment.
<Lawful/Chaotic> Gives whether the PC is Neutral, lawful or chaotic.
<Law/Chaos> gives if the PC is to Law, Neutrality, or Chaos.
<Good/Evil) gives the PC's Good/Neutral/Evil.
<Class> Names the PC's class (Wizard, Fighter, Monk etc)
<Race> Names the PC's Race (Elven, Gnome, Human, Half-Elven)

The Below depend on Gender, and have small first letter counterparts.
<Man/Woman> (<man/woman>)
<Male/Female>
<Boy/Girl>
<Mister/Missus>
<Master/Mistress>
<Lord/Lady>
<Lad/Lass>
<Sir/Madam>
<Him/Her>
<His/Her>
<His/Hers>
<He/She>
<Brother/Sister>

And the others:
<GameTime> gives the time in-game.
<GameYear> gives the year in the game.
<GameMonth> gives the month in the game.
<QuarterDay> gives Morning, Evening, Afternoon, Night.
<Level> gives player's level.

The Checks:, all followed by text,then </Start>
<StartAction> writes green action text
<StartCheck> writes red skill-check text
<StartHighlight> starts blue highlight text

-------------

I hope this is ok, and it didn't take me too long (I knew most of them by heart). The only way to change them would be to hack into the Dialog files in the NWN directory, and I woudln't fiddle with them.
Hope it helps.
Goph.

[Edit] I'd just like to add that all the tokens above, have small-first-letter counterparts. SO <man/woman> is the same as <Man/Woman>. Thanks.

[ September 15, 2002, 14:27: Message edited by: Gopher ]