1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

Tokens and scripts

Discussion in 'Neverwinter Nights (Classic)' started by Ignatiuz, Sep 14, 2002.

  1. Ignatiuz Gems: 1/31
    Latest gem: Turquoise


    Joined:
    Jul 30, 2002
    Messages:
    21
    Likes Received:
    0
    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.
     
  2. Wildfire Gems: 23/31
    Latest gem: Black Opal


    Veteran

    Joined:
    Jul 29, 2000
    Messages:
    1,557
    Likes Received:
    1
    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.
     
  3. Erran Gems: 19/31
    Latest gem: Aquamarine


    Joined:
    Aug 7, 2000
    Messages:
    1,181
    Likes Received:
    0
    [​IMG] 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.
     
  4. Errol Gems: 23/31
    Latest gem: Black Opal


    Joined:
    Oct 23, 2001
    Messages:
    1,547
    Likes Received:
    0
    Gender:
    Male
    [​IMG] 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 ]
     
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.