Page 48 of 48 FirstFirst ... 384445464748
Results 706 to 717 of 717

Thread: EDDI Scripts and EDDI enabled VA Commands Thread

  1. #706

    Voice Attack Integration Not Triggering

    Originally Posted by J. Calvert (Joshua) View Post (Source)
    To use Darkcycle's idea in VA you can add this to the Docking Granted script (instead of Darkcycle's lines):
    Code:
    {SetState("power", StationDetails(event.station, system.name).allegiance)}
    and in VA add this to the ((EDDI docking granted)) command:
    Code:
    Begin Text Compare : [EDDI state power] Equals 'Empire'
        Play sound, '\\DISKSTATION\music\Itunes\Music\Bob Dylan\Highway 61 Revisited\01 Like a Rolling Stone.mp3'
    Else If Text Compare : [EDDI state power] Equals 'Federation'
        Play sound, '\\DISKSTATION\music\Itunes\Music\Bob Dylan\Highway 61 Revisited\05 Ballad of a Thin Man.mp3'
    End Condition
    Using your own music instead of Dylan of course
    Hello,
    I'm having a n00b moment and hoping someone with more experience can help me out on this. I've updated the "Docking granted" script in EDDI (checked the "enabled" box) to match exactly the EDDI script that @JRohrer used in Post #115 (from page 8 of https://forums.frontier.co.uk/showth...=1#post5140734) so that EDDI reads out landing pad directions, and per the above post (#218, from page 15 of https://forums.frontier.co.uk/showth...=1#post5570583 ) I also added the line:
    Code:
    {SetState("power", StationDetails(event.station, system.name).allegiance)}
    EDDI reads that script fine.

    But I also wanted to implement the part directly above (from post #218) RE: playing specific sound files in the background based on the type of station being docked at, but I wanted that part to be handled by Voice Attack (since it allows for setting the volume level of the audio file that plays and would (theoretically) let the sound play in the background while EDDI's Docking granted script reads out the pad info).

    However, I'm stuck on the Voice Attack part. I have the Voice Attack command (in a custom VA profile) labeled as "((EDDI docking granted))" configured exactly as quoted above (literally, that's all that's in the command):
    Code:
    Begin Text Compare : [EDDI state power] Equals 'Empire'
        Play sound, '\\DISKSTATION\music\Itunes\Music\Bob Dylan\Highway 61 Revisited\01 Like a Rolling Stone.mp3'
    Else If Text Compare : [EDDI state power] Equals 'Federation'
        Play sound, '\\DISKSTATION\music\Itunes\Music\Bob Dylan\Highway 61 Revisited\05 Ballad of a Thin Man.mp3'
    End Condition
    but the music files never play in-game. It's like Voice Attack isn't recognizing the docking granted event. I've verified the sound files are the right format (.wav) and they preview fine, but they never play after I've requested docking. What am I doing wrong? Are there other commands I'm supposed to include in Voice Attack in order for the EDDI integration to work?

    I also have HCS Voice Packs / ASTRA with EDDI 3.0.0 running as a VA plugin. When I say "Request Docking", HCS / ASTRA makes the request, docking is granted, after a short pause EDDI starts reading the landing pad directions. But the sound files never play. Can someone please help?

    (I'd post screenshots, but I'm writing this on my other computer at the moment.)

  2. #707
    Originally Posted by CMDR Galyock View Post (Source)

    ...I have the Voice Attack command (in a custom VA profile) labeled as "((EDDI docking granted))" ...

    ...I also have HCS Voice Packs / ASTRA with EDDI 3.0.0 running as a VA plugin. When I say "Request Docking", HCS / ASTRA makes the request, docking is granted, after a short pause EDDI starts reading the landing pad directions. But the sound files never play...
    Hi,

    Is the Astra profile the active profile ? If so have you tried adding the ((EDDI docking granted)) command in the Astra profile ?

  3. #708
    Originally Posted by CMDR Galyock View Post (Source)
    but the music files never play in-game. It's like Voice Attack isn't recognizing the docking granted event. I've verified the sound files are the right format (.wav) and they preview fine, but they never play after I've requested docking. What am I doing wrong?

    While I've never used audio files, you say that they are in the right format of .WAV, but the code is looking for .MP3. Could it be that simple? Or am I missing something here?

  4. #709
    Originally Posted by Darkcyde View Post (Source)
    While I've never used audio files, you say that they are in the right format of .WAV, but the code is looking for .MP3. Could it be that simple? Or am I missing something here?
    The .mp3 files were only in the example of the command I gave some time ago. I think Cmdr Galyock picked his own .wav files when he made the command in VA.

  5. #710
    Originally Posted by J. Calvert (Joshua) View Post (Source)
    Hi,

    Is the Astra profile the active profile ? If so have you tried adding the ((EDDI docking granted)) command in the Astra profile ?
    If you use the beta version of VoiceAttack, EDDI commands can be in a child profile. If you are not using the beta version of VoiceAttack, EDDI commands must be in your primary profile.

  6. #711
    Thank you for responding & helping, @J. Calvert (Joshua), @Darkcyde, and @ Tkael -- much appreciated!
    Originally Posted by J. Calvert (Joshua) View Post (Source)
    Hi,
    Is the Astra profile the active profile ? If so have you tried adding the ((EDDI docking granted)) command in the Astra profile ?
    HCS' "Elite: Singularity" is the active profile (it's one profile that drives all their voices), and per HCS VoicePacks' forums (http://forum.hcsvoicepacks.com/forum...ow-to-add-them) I have EDDI and my custom commands included / linked via the Profile Options screen (and other commands seem to execute just fine with this setup):
    Code:
    14) On the "Profile Options tab", you will see the line "Include commands from another profile".
    15) Click the triple dots at the end and this window pops up:
    16) Click the plus symbol, and add the voice pack profile that you want to include commands from.
    Then just click "OK" all the way back to the base Voice Attack window.
    17) Now, to use the profile, you just need to set the Custom profile as the active profile, and you will find that all of your existing commands will still work, whilst also retaining your new commands/triggers.
    Originally Posted by Darkcyde View Post (Source)
    While I've never used audio files, you say that they are in the right format of .WAV, but the code is looking for .MP3. Could it be that simple? Or am I missing something here?
    Originally Posted by J. Calvert (Joshua) View Post (Source)
    The .mp3 files were only in the example of the command I gave some time ago. I think Cmdr Galyock picked his own .wav files when he made the command in VA.
    When I was reviewing the EDDI Wiki page (or a forum about setting it up), I came across a reference that said audio files used for EDDI must be in .WAV format and I guess I just assumed Voice Attack could handle .WAV too. I have .MP3 versions so I guess maybe I should try those in Voice Attack?
    Originally Posted by Tkael View Post (Source)
    If you use the beta version of VoiceAttack, EDDI commands can be in a child profile. If you are not using the beta version of VoiceAttack, EDDI commands must be in your primary profile.
    I use the version of Voice Attack that's sold via Steam, version 1.7. I don't think I can install a beta version of VA that way but I'll look into it. Are you sure about this requirement though? Other EDDI commands and scripts seem to trigger while being in a "child" profile, including custom ones I created (for additional ways to tell EDDI to shut up for a bit). E.g., when I load the game it starts reading any new Galnet articles. When I dock at a station, it automatically reports on the best commodities in that market. If I get interdicted by a pirate, it says the warning about it. Etc.

    But now that I type that, I remember that the "((EDDI Undocked))" Voice Attack command (to automatically retract landing gear) doesn't seem to trigger either. Basically everything seems to work as expected except for the bits where I want Voice Attack to drive some of the EDDI code -- anything that needs to be configured using: ((EDDI command))

    Does the Voice Attack command I posted above at least look correct? Do I need to include lines for "Call an external plugin function" (or whatever that exact term is) and pass a script or variable in first? A screenshot of a properly configured Voice Attack-triggering-EDDI command would be a great help / reference. (I've looked for examples but all the ones I've seen haven't really answered that question.)

    If you think the VA command looks correct as-is, I guess my next steps would be to test:
    • .MP3 audio format for Voice Attack audio files instead of .WAV
    • Moving custom EDDI commands from child profile to main profile
    • Looking into VA beta version via Steam


    Any other suggestions I should consider / look into (so I can try a night of testing various options and then report back)?

  7. #712
    Originally Posted by CMDR Galyock View Post (Source)
    If you think the VA command looks correct as-is, I guess my next steps would be to test:
    • .MP3 audio format for Voice Attack audio files instead of .WAV
    • Moving custom EDDI commands from child profile to main profile
    • Looking into VA beta version via Steam


    Any other suggestions I should consider / look into (so I can try a night of testing various options and then report back)?
    IIRC the "play" command in an EDDI script only can play .wav files but you want to play soundfiles from VA so that can be .mp3 files also. You said they previewed fine so that shouldn't be the problem.

    I'm also using HCS' "Elite: Singularity". When that first came out a couple of months ago I tried using EDDI as a child profile too but that didn't work for me. I had the same problem with the events not triggering the commands in my (child) EDDI profile. So I now have all my EDDI commands in my main Singularity profile. But this was before VA 1.7. I might try again with the latest VA-beta (which I'm already using but I didn't know that the problem might have been solved so I didn't try the child Eddi solution again yet)

    You might try just putting the ((EDDI docking granted)) command into the Singularity profile to see if that works.

    I'm not using Steam so I don't know if the VA-betas are available through Steam.

  8. #713
    My apologies if this has been asked before, but I can't find it here:

    Does EDDI expose any variables that tell you which tab on a panel you are looking at? I see it can tell you which panel you are looking at, but I don't see anything to tell you if you are looking at Contacts for example.
    I have a VA profile which I can ask to look at different panel tabs, but it easily gets out of sync (tracking the variables is a PITA).
    If EDDI could do that for me, it would make like much easier.

    TIA

  9. #714

    Problem Solved!

    Thank you to those who helped me troubleshoot. It's working now "as is"; credit to:
    @Tkael:

    Originally Posted by Tkael View Post (Source)
    If you use the beta version of VoiceAttack, EDDI commands can be in a child profile. If you are not using the beta version of VoiceAttack, EDDI commands must be in your primary profile.
    and

    @J. Calvert (Joshua):
    Originally Posted by J. Calvert (Joshua) View Post (Source)
    { snip } I'm also using HCS' "Elite: Singularity". When that first came out a couple of months ago I tried using EDDI as a child profile too but that didn't work for me. I had the same problem with the events not triggering the commands in my (child) EDDI profile. So I now have all my EDDI commands in my main Singularity profile. But this was before VA 1.7. I might try again with the latest VA-beta (which I'm already using but I didn't know that the problem might have been solved so I didn't try the child Eddi solution again yet)

    You might try just putting the ((EDDI docking granted)) command into the Singularity profile to see if that works. {snip}
    I moved the two commands in question to live directly in the "Elite: Singularity" profile (which has to be the primary for HCS' stuff to work), and everything is working now. VA even reports to the log "EDDI Plugin Command Executed" (or something like that) when in-game events trigger actions.

    Until the Voice Attack 1.7.x beta is released as non-beta (or until I can figure out if you can get betas via Steam), and until it's confirmed it fixes the child profile issue discussed above, I'll just limit the EDDI triggers to those two -- fyi HCS also apparently is close to releasing a sizable update to their voice packs, plugin, and Singularity profile, so I don't want to have to re-customize everything twice in a short period of time.

  10. #715

  11. #716
    Originally Posted by J. Calvert (Joshua) View Post (Source)
    @CMDR Galyock

    There is a Steam version of the beta: http://voiceattack.com/SMF/index.php?topic=1973.0
    Thank you @J. Calvert (Joshua); I saw this (though a separate but related link) when I searched while on a break at work and am figuring out the details. Downloading / installing and will test out on Saturday. fingers crossed!

  12. #717
    I was having the same issue at times, so I recently refined my call in the 'Body report' script to read as follows:
    Code: [View]
    {_Atmosphere }
    {if len(reportbody.atmosphere) > 0:
    {F('Body atmosphere')}
    }


    I refined your solution as if u have Atmoshere report script it will skip the part when talking about gas giant so my code is
    {If reportbody.landable:
    {__DO NOTHING}
    |else:
    {F('Body atmosphere')}
    }

Page 48 of 48 FirstFirst ... 384445464748