Release EDDI Scripts and EDDI enabled VA Commands Thread

Thank y’all for help T'kael VA Dismiss/Recall works perfect.
How to use VA variables from EDDI in VA?
If i put for example
Code:
{BOOL:EDDI embark onplanet}
then its drop an error
1682858602437.png

I do not find any explanation for this. Can someone please show me the right direction on this?
 
Last edited:
Thank y’all for help T'kael VA Dismiss/Recall works perfect.
How to use VA variables from EDDI in VA?
If i put for example
Code:
{BOOL:EDDI embark onplanet}
then its drop an error
View attachment 354335
I do not find any explanation for this. Can someone please show me the right direction on this?
For the Variable Name, just use EDDI embark onplanet. You don't need the brackets { } or the 'EDDI:' part. 😊

The 'Embark' event is triggered when you go onboard your SRV or ship from being on foot. Is that when you want this command to trigger?

(Ignore my earlier edit, I was thinking of something else)
 
Last edited:
Thank y’all for help T'kael VA Dismiss/Recall works perfect.
How to use VA variables from EDDI in VA?
When you look at this page you'll notice all the variables have a prefix, that's an indication of the type of check you need to use to test it's value.

TXT = Text Compare
BOOL = Boolean Compare
INT = Integer Compare
DEC = Decimal Compare
etc

So from your example you have {BOOL:EDDI embark onplanet} and correctly you have used the Boolean compare option, however you don't need the full string {BOOL:EDDI embark onplanet} just EDDI embark onplanet is enough, the only time you'd want or need to use the full string is if you wish to output the value to the VA log. To do that you'd use something like this;
Code:
Write [Blue] 'Embarked =  {BOOL:EDDI embark onplanet}' to log
If the variable in question was a text one then you used something like this;
Code:
Write [Blue] 'UA Target = {TXT:EDDI under attack target}' to log
When testing the value you should remove the prefix, the colon and the brackets.
 
Last edited:
Thanks y'all i am just starting to realize the area of possibilities which this brilliant program gives.
The thing is i have so many new idea that beyond my coding knowledge which is 0 maybe 0,5..

BTW are there a way to filter available voices that read NPC messages by not use my personality voice configured in EDDI?
 
Last edited:
... sure, via the voice() function ;)
 
BTW are there a way to filter available voices that read NPC messages by not use my personality voice configured in EDDI?
The default script in EDDI for the 'Message received' event already does this. It has code to specifically exclude the voice you use as the main one, and it will randomly choose one from all other voices you have installed in Windows. There are some caveats though, as not all voices can be used by EDDI.
 
Unfortunately sometimes my EDDI crew member starts talking to me through radio. To change this i need to restart VA.
 
Last edited:
I assume the exlusion is here:
1682938040420.png

Maybe this is Windows related thing and according to WIKI there could be a way to extra exclude certain voices in this array.
Unfortunately it seams to be complicated as hell, how to obtain those voices, its seed etc. in the way that EDDI see it.
 
I also tried this once. It didn't work for me, but I also use a different character (and not an MS voice but one from HARPO Nuance). I didn't bother with it any further.
The voice you use as default voice should be entered there (at least that's how I understood it). How your selection of the default voice is or how it is written,
you can see in the selection menu for the voices.
If you use MS-Zira, the entry should be like this according to my understanding: VoiceDetails("Microsoft Zira Desktop").name
But wait until CMDR @Darkcyde gets back to you. He can certainly help you and give a few tips to your problem.
 
Last edited:
Looks like:
Code:
{_ Exclude the active voice and any other voices you include below from voice selections }
{set spokenVoiceExemptions to
[
    VoiceDetails("Microsoft Stefan").name,
    VoiceDetails("Microsoft David").name,
    VoiceDetails("Microsoft Katja").name,
    VoiceDetails("Microsoft Hazel").name,
    VoiceDetails("Microsoft Hedda").name,
    VoiceDetails("Microsoft Paulina").name,
    VoiceDetails("Microsoft Adam").name,
    VoiceDetails("IVONA 2 Brian").name
   
]}
does the trick. Thank you
 
Last edited:
Looks like:
Code:
{_ Exclude the active voice and any other voices you include below from voice selections }
{set spokenVoiceExemptions to
[
    VoiceDetails("Microsoft Stefan").name,
    VoiceDetails("Microsoft David").name,
    VoiceDetails("Microsoft Katja").name,
    VoiceDetails("Microsoft Hazel").name,
    VoiceDetails("Microsoft Hedda").name,
    VoiceDetails("Microsoft Paulina").name,
    VoiceDetails("Microsoft Adam").name,
    VoiceDetails("IVONA 2 Brian").name
 
]}
does the trick. Thank you
This should work too. :)
Code:
{_ Exclude the active voice and any other voices you include below from voice selections }
{set spokenVoiceExemptions to
[
    "Microsoft Stefan",
    "Microsoft David",
    "Microsoft Katja",
    "Microsoft Hazel",
    "Microsoft Hedda",
    "Microsoft Paulina",
    "Microsoft Adam",
    "IVONA 2 Brian"
]}

VoiceDetails() allows you to obtain information (including gender for example) for a named voice, or the default voice if no name is specified. VoiceDetails().name then just becomes an elegant way to exclude your default voice without knowing it in advance. ;-)
 
Last edited:
Thanks i will try it too. My EDDI voice is IVONA 2 Brian. The thing is with orginal code :
Code:
 VoiceDetails().name
Brian, from time to time plays as NPC on radio like it gets not prevented at all.
BTW. Is there any repository of usefull additional scripts created by community?
 
Last edited:
Hi everyone. I'm back with another noob question. I see in the 'Jumped' script, I can see in line 46 that one can make a comment about a system.

Jumped script system comment.png


I can't for the life of me find where to save said comment. I've looked in the wiki and I've looked in EDDI as deep as I can for the reportsystem.comment script(?:confused:), but I just can't see where I make a comment about a system. Thanks in advance.
 
Back
Top Bottom