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

restart after cum; with new/other dialoge-lines or dialoges

Discussion in 'Help' started by recreation, Dec 3, 2011.

  1. recreation

    recreation Potential Patron

    Joined:
    Nov 2, 2011
    Messages:
    33
    Likes Received:
    0
    maybe it was just a request or questioned before -> i can remember reading something about that but i cant find it anymore :(

    i was thinking about a dialoge where the girl changes her mind after cumming. that means i need different text on the "general", "pull_off", "held", etc, lines or the use of a second dialog file.
    is there any way to make it happen?
    if not, maybe thats a good idea for a mod?
     
  2. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    22
    Technically already possible.
    Can't be bothered implementing it.
    Method would be as follows:

    Create the dialogueScript.txt file containing the lines for finishes.
    Have them point at a function to load up a seperate dialogue file.
     
  3. recreation

    recreation Potential Patron

    Joined:
    Nov 2, 2011
    Messages:
    33
    Likes Received:
    0
    actionscript right?
    well i have no idea of as but im gonna try my best lol...
     
  4. recreation

    recreation Potential Patron

    Joined:
    Nov 2, 2011
    Messages:
    33
    Likes Received:
    0
    arent the dialoges cached anyway? and doesnt that mean loading a new dialoge inside a dialoge wouldnt change anything?
    if not, is it possible to "include" files like in php and does it work for what i'm trying?
    i googled and was playing around with the load() function but nothing seems to work... i have no clue :(

    oh and thx for help!
     
  5. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    22
    Dialogues are NOT scripts, they are simply interpreted.

    I have no idea what you mean by this but it will not work due to the above.

    As I said, dialogueScript.txt is the way to go.
    An example of code execution is included with the loader.
    As for loading up alternative dialogue, the following would suffice:

    Code:
    var dialogueLoader:URLLoader = new URLLoader;
    dialogueLoader.addEventListener(Event.COMPLETE,onDialogue);
    function onDialogue(e:Event)
    {
    	main.g.dialogueControl.loadCustomDialogue(e.target.data);
    }
    dialogueLoader.load(new URLRequest("PATH"));