Release EDDI Scripts and EDDI enabled VA Commands Thread

I'll try it again here.

Question to the specialists:
Is it possible to read out the current number of chaff and/or heat sinks ?
The variable hardpoint.module.ammoinhopper (ship.hardpoints) returns a value, but it is not current.
 
I'll try it again here.

Question to the specialists:
Is it possible to read out the current number of chaff and/or heat sinks ?
The variable hardpoint.module.ammoinhopper (ship.hardpoints) returns a value, but it is not current.
I don't believe there is a way, although I'm sure someone will correct me if I'm wrong.

I was under the impression that certain data, such as you are asking for, is only updated during certain events, like landing/take off, or loading your game, for example. From what I remember, this is a limitation of the player Journal that Elite writes, and is not something EDDI can easily overcome.

The only way to get up-to-date info, that I can think of right now anyway, is to add code to the EDDI events which will set the amount to a state variable, and decrement the number when you use one. I did something similar to this a long time ago, when I wanted to have an accurate number for limpets I had onboard.
 
I don't believe there is a way, although I'm sure someone will correct me if I'm wrong.

I was under the impression that certain data, such as you are asking for, is only updated during certain events, like landing/take off, or loading your game, for example. From what I remember, this is a limitation of the player Journal that Elite writes, and is not something EDDI can easily overcome.

The only way to get up-to-date info, that I can think of right now anyway, is to add code to the EDDI events which will set the amount to a state variable, and decrement the number when you use one. I did something similar to this a long time ago, when I wanted to have an accurate number for limpets I had onboard.
I was afraid of this.
With Voice Attack you might be able to implement your idea without any additional EDDI extension (basic value of EDDI > passed to VA and then calculate there).
Thanks for the info and the confirmation.

Greetings nepomuk
 
The game does not provide an event to let us know when ammunition (whether for a heat sink, chaff launcher, or otherwise) is used. You're best option is to track it in VoiceAttack by reacting to the key presses / commands that you use to activate the heat sink / chaff launcher / etc. and by manually subtracting from the count updated during the ((EDDI ship loadout)) event.
 
The game does not provide an event to let us know when ammunition (whether for a heat sink, chaff launcher, or otherwise) is used. You're best option is to track it in VoiceAttack by reacting to the key presses / commands that you use to activate the heat sink / chaff launcher / etc. and by manually subtracting from the count updated during the ((EDDI ship loadout)) event.
Thanks T'kael, So I'm gonna try this.
 
Hi All

Is there an event/variable to indicate that you're the first to discover a star system?

I know there is the alreadydiscovered variable on the Body Scanned event, does that also apply to Stars?
 
Is there an event/variable to indicate that you're the first to discover a star system?

I know there is the alreadydiscovered variable on the Body Scanned event, does that also apply to Stars?
For stars it is the Star Scanned event
I've just reviewed the source code and yup WasDiscovered in the journal is being not forwarded to that event and neither are some others.
We will fix that: thank you for the report!

Thanks, but unless I'm mis-reading something, what goes into the journal isn't the same as what's available in EDDI.
The journal is indeed only source of real-time events for EDDI, so nepomuk is correct there. We can get additional data from Frontiers' API when, for example, you dock and go to the market screen, but that is not real-time and we have been asked to restrict ourselves to such usage. We also get data from third-party APIs such as EDSM to say, for example, how many times you've visited the system you are entering.

It is however fair to say that the journal is the main gateway on what EDDI does or does not know from moment to moment.

Edit: issue #1696 opened for this.
 
Last edited:
For stars it is the Star Scanned event
I've just reviewed the source code and yup WasDiscovered in the journal is being not forwarded to that event and neither are some others.
We will fix that: thank you for the report!


The journal is indeed only source of real-time events for EDDI, so nepomuk is correct there. We can get additional data from Frontiers' API when, for example, you dock and go to the market screen, but that is not real-time and we have been asked to restrict ourselves to such usage. We also get data from third-party APIs such as EDSM to say, for example, how many times you've visited the system you are entering.

It is however fair to say that the journal is the main gateway on what EDDI does or does not know from moment to moment.

Edit: issue #1696 opened for this.
Thanks for this.
 
Top Bottom