1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SomeNotes

Discussion in 'Dialogue' started by Daxter343, Dec 6, 2013.

  1. Daxter343

    Daxter343 Potential Patron

    Joined:
    Feb 26, 2012
    Messages:
    1
    Likes Received:
    0
    Just some small things that would be helpful for writers to keep in mind when before they release their dialogues to the masses. They are for the benefit of the people who will be downloading and using them.

    -When you write a note for how a dialogue should be played, such as "Have her arms on her legs or his legs, but not behind her back" or "Use a happy mood", LEAVE IT AS A NOTE INSIDE YOUR DIALOGUE TEXT FILE. Use this format:
    //Use happy mode

    -It also might be helpful to include your own username as a note in the dialogue.txt
    //Written by Daxter343

    -It's a good idea to have a .txt document dedicated to an ideal character you have already made for your dialogue. However, you should also include a copy of the character code within the dialogue document. You also want to mention the separate .txt document in your dialogue
    //characterCode:boobsandstuffnumbers
    //Refer to DaxterCharacterCode.txt for my ideal character specs
     
  2. f93

    f93 Casual Client

    Joined:
    Jul 8, 2013
    Messages:
    340
    Likes Received:
    5
    Okay. Although SDT also ignores any lines beginning with -, so my header comments are usually like:
    Code:
    -----DIALOGUE NAME----
    -'This is a description of the dialogue.'
    -charcode for this is charName:Example
    -Blah blah boring comments from me that nobody reads
    
    all:"CLEAR"
    dialogue_name:"Example dialogue"
    

    I keep forgetting to do this, unless I'm posting an edited version of someone else's dialogue, in which case I credit them. But yeah, could be helpful, as people have reported bugs in my dialogues in entirely different threads before.

    This is something I now have in all dialogues I've posted that had a specific character in mind. I also post the charcodes alongside the description of them in my thread.

    It's decent enough advice, really.
     
  3. Pim_gd

    Pim_gd Swell Supporter

    Joined:
    Jan 25, 2013
    Messages:
    718
    Likes Received:
    46
    SDT does not ignore any lines starting with -
    You can see that easily by putting it in front of your lines.
    However, since it became standardized comment style, I have adopted it for the checker to ignore any lines starting with -.

    Why is this important?
    Well, add this line to your dialogue, then load it in SDT. Now go and view it in the dialogue editor.
    -intro:"Hello!" {"mood":"normal"}

    You'll probably notice that the dialogue editor is largely empty. No lines, no dialogue, nothing.
     
  4. The Hermit

    The Hermit Potential Patron

    Joined:
    Jun 2, 2013
    Messages:
    75
    Likes Received:
    0
    Really? I use - in mine and never seen the problem Pim-gd.
     
  5. WeeWillie

    WeeWillie Casual Client Content Creator

    Joined:
    Nov 8, 2013
    Messages:
    339
    Likes Received:
    13
    So Pim_gd, what is the preferred method for adding a comment line?
     
  6. Pim_gd

    Pim_gd Swell Supporter

    Joined:
    Jan 25, 2013
    Messages:
    718
    Likes Received:
    46
    -

    There's no real alternative possible...

    As for the issue with the line I posted...
    intro:"Hello!" {"mood":"normal"}
    will kill a dialogue

    adding a hypen in front of it won't stop that.
    -intro:"Hello!" {"mood":"normal"}
    will still kill a dialogue.
    I suggest you try it just so you can see what it looks like.

    In general, however, try not to use {, }, : or " in a comment line. That should make it easy for SDT to ignore the lines.
     
  7. The Hermit

    The Hermit Potential Patron

    Joined:
    Jun 2, 2013
    Messages:
    75
    Likes Received:
    0
    That'll be why I've never noticed a problem then. I haven't used those characters in a comment.
     
  8. Pim_gd

    Pim_gd Swell Supporter

    Joined:
    Jan 25, 2013
    Messages:
    718
    Likes Received:
    46
    No...
    *sigh*

    The problem is in the mood attribute.
    Setting a non-existing mood attribute requirement will cause SDT to throw an error upon loading the dialogue.
    The idea that turning a line into a commentary line by adding a hypen is used to remove dialogue lines from play.
    That is, you can have multiple intro lines and disable those that you don't need.
    However, this is but an illusion. The lines aren't actually commented - they just have their names changed.
    That means you still have to be careful with what you write - a bad mood requirement will still crash the dialogue.
     
  9. The Hermit

    The Hermit Potential Patron

    Joined:
    Jun 2, 2013
    Messages:
    75
    Likes Received:
    0
    Well if you had said that in the first place... ;) lol