Results 1 to 2 of 2

Thread: Yet another dialogue tree

  1. #1
    Lowly new user First time out of the vault
    Reinar's Avatar
    Join Date
    Oct 2011
    Posts
    8
    Total Downloaded
    0

    Yet another dialogue tree

    Hi guys, I came up with a pretty simple dialogue tree. It's quite easy to set up, but you can have at most 3 choices. Good thing is it's reusable (you can talk to the NPC again and again) and isn't depending on NPC position. Also, you need just the vanilla FT. It's easy to put in some stat/skill checks if you're playing with a single character. So, you can basically make dialogues on the F4 level (or above it, if you're not mentally challenged).

    Here it is in work: https://youtu.be/o3LLDbMHAIg

    And here are the triggers behind it:

    [Trigger 0] - map initialization
    C: Always
    A: Set variable x to 0.

    [Trigger 1]
    C: Speech event occurred (the speech that is set from the start)
    A: Set variable x to 1

    [Trigger 2]
    C: Variable x is 1
    C: Human has more than 0 Crouching
    A: Set click speech for entity A to response1

    [Trigger 3]
    C: Variable x is 1
    C: Human has more than 0 Prone
    A: Set click speech for entity A to response2

    [Trigger 4]
    C: Speech event occurred (responses 1 or 2, they have the same tag)
    A: Set variable x to 0
    A: Set click speech for entity A to whatever-is-default

  2. RobertHouse, Vree gave this post some rads
  3. #2
    Modder&Mapper Still Mildly Glowing
    AbullSinCara's Avatar
    Join Date
    Jul 2012
    Posts
    250
    Total Downloaded
    0
    Quote Originally Posted by Reinar View Post
    Hi guys, I came up with a pretty simple dialogue tree. It's quite easy to set up, but you can have at most 3 choices. Good thing is it's reusable (you can talk to the NPC again and again) and isn't depending on NPC position. Also, you need just the vanilla FT. It's easy to put in some stat/skill checks if you're playing with a single character. So, you can basically make dialogues on the F4 level (or above it, if you're not mentally challenged).

    Here it is in work: https://youtu.be/o3LLDbMHAIg

    And here are the triggers behind it:

    [Trigger 0] - map initialization
    C: Always
    A: Set variable x to 0.

    [Trigger 1]
    C: Speech event occurred (the speech that is set from the start)
    A: Set variable x to 1

    [Trigger 2]
    C: Variable x is 1
    C: Human has more than 0 Crouching
    A: Set click speech for entity A to response1

    [Trigger 3]
    C: Variable x is 1
    C: Human has more than 0 Prone
    A: Set click speech for entity A to response2

    [Trigger 4]
    C: Speech event occurred (responses 1 or 2, they have the same tag)
    A: Set variable x to 0
    A: Set click speech for entity A to whatever-is-default

    Not bad at all,new user.GL in your project.

Bookmarks

Posting Permissions