Release EDDI Scripts and EDDI enabled VA Commands Thread

I have set VA and EDDI up to use one voice for my VA profile and another for my EDDI responses
They both then use the VA volume, any ideas how to increase the volume of the EDDI one?

You can adjust the volume of speech in EDDI via the Text-to-Speech tab.
 
Hi,

does any of you have some experience with 'time' values in EDDI?

I am now collecting credits for my new ship, it is a lotta money, so I am going to do passenger missions for a couple of weeks. I would like to make these missions a bit more exciting (instead just jumping, jumping, jumping...), and measure the 'jump times' (in 'jumped' event, from the previous system to current system), like lap times, record the fastest one, something like this. Maybe I can even break the record of 12 parsecs at the end :) .

Do you know, what is the syntax to get the actual time and how to subtract one from the other?

Any help would be appreciated!

Best regards!

It's not really part of the documentation, but all events include an {event.timestamp} variable that contains the time when the event was received.

Include something like this in your 'Jumped' script:
{SetState('EDDI_jumped_timestamp', event.timestamp)}

Add something like the following in your 'FSD engaged' script:
{Humanise(SecondsSince(state.EDDI_jumped_timestamp))} seconds, {F('Honorific')}

In principle, this should give you what you want. Send me a PM if you'd like additional help refining this. :)
 
I have set VA and EDDI up to use one voice for my VA profile and another for my EDDI responses
They both then use the VA volume, any ideas how to increase the volume of the EDDI one?


This post reminded me of something I have been thinking about...

I have 3 voices installed on my Windows 10: Zira, Dave and Hazel (all english, of course). Is it possible to make Voice Attack (or perhaps EDDI itself) change the voice to be used by EDDI? I mean, let's say I create a command like "change to Hazel" and after that EDDI uses Hazel's voice.

In fact what I would like to implement is a "multi voice" Voice Attack profile. Then we could tell voice attack to use a different voice for each "set o commands" we have.

And yes, this idea came from one of the newest profile packs created by HCS, only they use recorded voice lines ;)
 
Last edited:
This post reminded me of something I have been thinking about...

I have 3 voices installed on my Windows 10: Zira, Dave and Hazel (all english, of course). Is it possible to make Voice Attack (or perhaps EDDI itself) change the voice to be used by EDDI? I mean, let's say I create a command like "change to Hazel" and after that EDDI uses Hazel's voice.

In fact what I would like to implement is a "multi voice" Voice Attack profile. Then we could tell voice attack to use a different voice for each "set o commands" we have.

And yes, this idea came from one of the newest profile packs created by HCS, only they use recorded voice lines ;)

Hi,

I was investigating about using 'multi-voice', but I personally could't find the Holy Grail.

Some possibilities:

-how to change profile (not really voice related, but interesting) :

https://forums.frontier.co.uk/showthread.php/133188-Switching-Profiles-In-Voice-Attack-Made-Easy

How to use a different-than-default voice in your profile:

speech

This function uses EDDI's voice to read a Speech Responder script. The name of the script should be a text variable with the name 'Script'.
If you want to use a different voice to the standard one then you can set the name of the voice you want to use in a text variable with the name 'Voice'. Note that when you set this variable it will continue to be used until you unset it, at which point EDDI will use the voice configured in its text-to-speech settings.
To use this function in your own commands use the 'Execute an external plugin function' command with the plugin context set to 'speech'.

It is not much, but I hope, helps a bit...

Best regards!
 
Hello! I'm using the track IR to play elite dangerous, but i find it VERY annoying to have it on wherever i browse the stations interface! Can't stand the tracking function on that part of the game.
So i adapted some of my docking and undocking commands to press "F7" so that track ir pause its tracking function!
But i wanted to make it more streamlined when such events (using the Elite dangerous Journal log) occur in game VA would automatically press the F7 key for me! Is this possible somehow?

Thank you for your time!
 
Hello! I'm using the track IR to play elite dangerous, but i find it VERY annoying to have it on wherever i browse the stations interface! Can't stand the tracking function on that part of the game.
So i adapted some of my docking and undocking commands to press "F7" so that track ir pause its tracking function!
But i wanted to make it more streamlined when such events (using the Elite dangerous Journal log) occur in game VA would automatically press the F7 key for me! Is this possible somehow?

Thank you for your time!

Yes. https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration#running-commands-on-eddi-events
 

thx for the link but yeah i cant comprehend how to "trigger" the ((EDDI docked)) script to the VA profile command... dang im dumb! oh well!

also is there a 'fix' for this "distance report' script to work? would be nice to see how many jumps i might have on a set plot!

{_ Fetch from context }
{set reportsystem to SystemDetails(state.eddi_context_system_system)}

{if !reportsystem.name || reportbody.name = "":
I'm not sure which system you are asking about.
|else:
Distance to {P(reportsystem.name)} is {Humanise(Distance(reportsystem.x, reportsystem.y, reportsystem.z, system.x, system.y, system.z))} light years.
}
 
thx for the link but yeah i cant comprehend how to "trigger" the ((EDDI docked)) script to the VA profile command... dang im dumb! oh well!

also is there a 'fix' for this "distance report' script to work? would be nice to see how many jumps i might have on a set plot!

You can setup the event in voiceattack to send the trackir pause keybind when the event triggers.
 
thx for the link but yeah i cant comprehend how to "trigger" the ((EDDI docked)) script to the VA profile command... dang im dumb! oh well!

In your VA profile make a new command with ((EDDI docked)) in the “when I say” box.
Then in that command add a Press a key line and pick F7 as the key to press.

Now when you run VA as soon as the EDDI plugin picks up the docked event from the journal it will activate the VA command ((EDDI docked)) and that will press F7 for you.

For the reverse action create a similar ((EDDI undocked)) command in VA
 
Last edited:
In your VA profile make a new command with ((EDDI docked)) in the “when I say” box.
Then in that command add a Press a key line and pick F7 as the key to press.

Now when you run VA as soon as the EDDI plugin picks up the docked event from the journal it will activate the VA command ((EDDI docked)) and that will press F7 for you.

For the reverse action create a similar ((EDDI undocked)) command in VA

hummm ... thx guys seems simple but it does not work for me! i even found this tutorial
https://www.youtube.com/watch?v=VQbR8SfCTRk

well seems like when the command is "nested" onto another profile (my custom profile) it dosent work! is there a way to evoke the plugin from another profile which is not the EDDI profile?
 
Last edited:
Hi, Tulextreme,

Is your trackIR command 'F7' set in trackIR software as global hotkey? If not, and you don't have the possibility to set within trackIR, AutoHotkey can help to adjust it.

here is my AHK script for a similar situation, based on this you should be able to do the trick.

SetTitleMatchMode, 2

^1::next() ;next pic
^2::prev() ;prev pic
^3::nfol() ;next folder
^4::pfol() ;prev folder
^5::fpic() ;first pic
^9::nxtrndpic() ;next rnd pic

next()
{ControlSend,,{Enter}, Honeyview
}
prev()
{ControlSend,,{Esc}, Honeyview
}
fpic()
{ControlSend,,{Tab}, Honeyview
}
nfol()
{ControlSend,,{Space}, Honeyview
}
pfol()
{ControlSend,,{}, Honeyview
}
nxtrndpic()
{ControlSend,,{Del}, Honeyview
}

If you have questions, I am happy to help (as much I can)!

Best regards!
 
Hey Brigetiol1! It worked i had to create the docked and undocked command into the Astra profile itself to work!

ugfcI7Z.png


Thing is i never mess with the astra profile in any way so it dont get messed up but in this situation that was the only way for it to work!

oawCaZm.png


btw u got me rly lost onto that auto hot key quote lol ... thx anyhow!

o7
 
Last edited:
Probably a stupid already covered question but.....how do you add a script to eddi? I am using VA Astra and have eddi commands included. The base eddi commands work fine. I wanted to play around with eddi and add some of the user created scripts. Is there a tutorial for this? Do I add the to the new eddi commands to the eddi profile? It would be great to see this done one time before I screw something up :)
 
Last edited:
Probably a stupid already covered question but.....how do you add a script to eddi? I am using VA Astra and have eddi commands included. The base eddi commands work fine. I wanted to play around with eddi and add some of the user created scripts. Is there a tutorial for this? Do I add the to the new eddi commands to the eddi profile? It would be great to see this done one time before I screw something up :)

Hi Elprez,

In EDDI, on the Speech Responder tab, click the 'Copy Personality' button and name it however you like. You can then edit all the scripts in this new copy, or add new ones of your own.

o7

-=] Darkcyde [=-
 
Hey cmdrs!

A short question: Is it posible that eddi gives you a warning if you go to orbital cruise or gliding and aproach a high-gravity planet? I could not find a solution for this.

e.g.
You fly to a planet, entering orbital-cruise and then eddi checks for the gravity of a planet. If it is above 1.5g it gives a warning: "Attention: Body has higher then average gravity". If it is a planet above 2.0g it gives the warning: "Danger: Body has very high gravity. Be aware of serious damage on landing, commander!".

Would be so cool :)
 
Hey cmdrs!

A short question: Is it posible that eddi gives you a warning if you go to orbital cruise or gliding and aproach a high-gravity planet? I could not find a solution for this.

e.g.
You fly to a planet, entering orbital-cruise and then eddi checks for the gravity of a planet. If it is above 1.5g it gives a warning: "Attention: Body has higher then average gravity". If it is a planet above 2.0g it gives the warning: "Danger: Body has very high gravity. Be aware of serious damage on landing, commander!".

Would be so cool :)

You can do this using the entered normal space script.
Here is an example of my entered normal space eddi script:
Code:
{_ Context }{SetState("eddi_context_last_subject", "fsd")}
{SetState("eddi_context_last_action", "disengage")}
{SetState('eddi_context_body_name', event.body)}
{SetState('eddi_context_body_system', event.system)}




{SetState("type", event.bodytype)}
{SetState("body", event.body)}




{if state.eddi_context_interdicted != "yes":
{Pause(2000)}


{ShipName()} has {OneOf("left supercruise", "{OneOf(\"entered\", \"returned to\", \"dropped to\")} normal space")}




{if event.bodytype = "Planet":
 {OneOf("near", "close to", "in the vicinity of")} planet {P(event.body)}.
    
 {set reportbody to BodyDetails(state.eddi_context_body_name, eddi_context_body_system)}
    
 {if !reportbody.name || reportbody.name = "":
     
 |else:
    This planet is a
    {if reportbody.gravity < 0.5:
        low-gravity
    |elif reportbody.gravity <2:
        medium-gravity
    |elif reportbody.gravity <4:
        high-gravity
    |else:
        extremely high-gravity
    }
    {round(reportbody.gravity, 2)} G {reportbody.planettype}.
 }
  
   
|elif event.bodytype = "Star":
    {OneOf("near", "close to", "in the vicinity of")} star {P(event.body)}


|elif event.bodytype = "Station":
    {OneOf("near", "close to", "in the vicinity of")} station {P(event.body)}
   
    
|elif event.bodytype = "PlanetaryRing":
         in Planetary Ring {P(token(event.body," Ring",0))}
}
}
{SetState("eddi_context_interdicted", "no")}

The script queries EDDN for planet info and will report the planet gravity if it is available. This only works on planets that have info in EDDN.
 
You can do this using the entered normal space script.

Nice one. This reminds me that even if you don't have a DSS, a basic (level 2) scan will give you the planet's mass and radius, which is enough for EDDI to calculate the surface gravity because the game uses real-world physics for that. I'll open a ticket for EDDI to do that.
 
Back
Top Bottom