scripting...

Discussion in 'Modding and Scripting Support' started by Shota Shernokavich, Apr 5, 2008.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Shota Shernokavich

    Shota Shernokavich New Member

    Messages:
    122
    Likes Received:
    0
    Joined:
    Feb 23, 2008
    every time i think i have my head wrapped around it, i prove myself wrong.
    can someone help please? just show me how to do a basic conversation, and from there, i can figure out how to do everything else.

    ok lets say i wanna make a hello->how are you->bye conversation

    {1}{Greetings Male!}{Greetings Female!}{}{}{}{}
    {2}{Yep I'm Male.}{1}{5}{}{}{}
    {3}{Yep I'm Female.}{0}{5}{}{}{}
    {4}{harlo! yes i are male!}{1}{-4}{}{}{}
    {5}{harlo! yes i are female!}{0}{-4}{}{}{}
    {6}{Well, goodbye male!}{Well, goodbye female!}{}{}{}{}
    {7}{E:}{}{1}{}{0}{}

    i don't understand what to write for the goto field. All i know is to end convo, a zero has to be there.

    ok now i save this as 00001generic.

    now what do i do with sockmonkey?
     
  2. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
    Here's how it needs to be:

    {1}{Greetings Male!}{Greetings Female!}{}{}{}{}
    {2}{Yep I'm Male.}{1}{5}{}{6}{}
    {3}{Yep I'm Female.}{0}{5}{}{6}{}
    {4}{harlo! yes i are male!}{1}{-4}{}{6}{}
    {5}{harlo! yes i are female!}{0}{-4}{}{6}{}
    {6}{Well, goodbye male!}{Well, goodbye female!}{}{}{}{}
    {7}{E:}{}{1}{}{0}{}

    The next-to-last set of brackets is the goto field.

    For sockmonkey create a new scr that reads:

    0 dialog 1

    1 Return and SKIP default.

    Then save as 00001generic in the scr folder.

    Try it in your mod, and enjoy the result.
     
  3. Shota Shernokavich

    Shota Shernokavich New Member

    Messages:
    122
    Likes Received:
    0
    Joined:
    Feb 23, 2008
Our Host!