1. 4seti submitted a new resource:

    Minstrel - Binds 1-8 to notes :)

    Read more about this resource...
     
  2. imperial march ^^

    would be awesome if you could make it that we can record it ^^
    or maybe manually write in a file what we want to be played

    then we do: /play imperialmarch
    and it does on it's own :)
     
  3. already thinked about that, the thing is: there is no way to set "length" between notes, except timers, which isn't the best solution :/ It will be like recursive function wich calls itself after N delay untill all "noteQuerry" is played.
     
    Last edited by a moderator: Apr 22, 2015
  4. 4seti updated Minstrel with a new update entry:

    Reworked, tune-demo added

     
  5. not sure i'll be able to hook in my NPC plugin into this one, but i'm defenitly going to make Minstrel NPCs ^^
    (unless you want to code this part of the NPC :p help is always welcomed ^^)
     
  6. Can't you just attach my KeyboardGuitar component to your NPC?
     
  7. 4seti updated Minstrel with a new update entry:

    Recording, playback

     
  8. i cant call a nested class from another plugin nop
    [DOUBLEPOST=1429746168][/DOUBLEPOST]i guess i'll just do something simple ^^
     
  9. 4seti updated Minstrel with a new update entry:

    Saving tune, playing it back


    [DOUBLEPOST=1429784370][/DOUBLEPOST]Example of pre-saved tune :) (awfull quality, just example)
    /ms_tune memory

    Actually there there should be a way to convert midi to this file-struct :) if anyone can help with it, i'll be glad to
     

    Attached Files:

  10. CHR

    CHR

    I want more Songs :D would be so great if we could add a midi xD hahaha
     
  11. there is no way to add "midi" as it is, they should be converted to "noteScale and delay between notes" format, as that "pre-saved" tune is:)
     
  12. could you make it that it uses a name as table key? so we can easily save and call them ^^ ?
    and also maybe add a call to this for my humanNPC?
    like a hook that returns the list?
    i guess it would need to be in this format:
    List<Dictionary<string,object>>

    i love where you are going with this ^^
     
  13. May be Dictionary<string, List<TuneNote>>?
    And it require to store all TuneNames in config or smth, or you want me to load them up in dictionary on startup?
    And you mean adding API like
    Code:
    public List<TuneNote> getTune(string tuneName)
    {
             if(tuneDict.ContainsKey(tuneName)
                return tuneDict[tuneName];
             else
                return null;}
    this?
     
  14. CHR

    CHR

    Well can u maybe add Auto Songs? I would give u some song names that are playable with that guitar. I cant Play them in game but i know the names of the Songs. I Play Piano :p
     
  15. no sadely that wouldnt work, again i can't get a nested type from your plugin, and i can't just paste the nested type in mine.
    Would need to be as:
    Code:
    public List<object> getTune(string tuneName)
    {
      if(!tuneDict.ContainsKey(tuneName)) return null;
      var tunes = new List<object>();
      foreach(TuneNote note in tuneDict[tuneName])
      {
         var tunenote = new Dictionary<string,object>();
         tunenote.Add("note", thenote);
         tunenote.Add("delay", thedelay);
         etc
        tunes.Add(tunenote);  }
    return tunes;
    }
    [DOUBLEPOST=1429787662][/DOUBLEPOST]not sure if this exactly would work, but it's the format it would need to have ^^
     
  16. CHR

    CHR

    Well it is just the intro of Beethoven elise but i love it 87878 4-6-5-3 and repeat :D
     
  17. /ms_tune soiaf
    Try it guys :)
     

    Attached Files:

  18. CHR

    CHR

    What does it Change?

    Both says loading but not Play :/ i have to deactivate /MS before i do that?
     
  19. Code:
    public List<object> getTune(string tuneName)
    {
      if(!tuneDict.ContainsKey(tuneName)) return null;
    return tuneDict[tuneName].Cast<object>().ToList(); 
    }
    [DOUBLEPOST=1429789931][/DOUBLEPOST]
    ? ehm, did you place it correctly? in data folder
     
  20. CHR

    CHR

    >.< i used config Folder ^^ ty i try again

    okay did work but i had to reload the plugin sometime... GG :D Well done my friend...

    u should check some Songs like Beethoven für Elise it is playable i guess cuz the first part of the song is a single handed one.
     
    Last edited by a moderator: Apr 23, 2015