Controlling faction reputation? #2254
Replies: 3 comments 10 replies
-
EDDI should be able to provide that. You'd probably want to write something like:
Reputation ranges from -100 (fully hostile) to +100 (fully allied). I'm not sure about the precise percentages that correspond to cordial, friendly, etc. but I'm sure those thresholds can be worked out easily enough. Please also note that reputation is sourced exclusively from the journal - player-specific data like a commander's reputation with various factions is not shared over EDDN or available from EDSM. Consequently, you'll only be able to retrieve reputation data for systems that you've recently visited (for example, after If you could post your final script once you find something that you're happy with, I'm sure other commanders will be thankful. :-) |
Beta Was this translation helpful? Give feedback.
-
Oh wow, thank you Tkael, This isn't the first time you've been a legend from one of my questions.... there's been a few varied ones over the years and your speedy insightful help is always appreciated! You really are a coding master and I wish I had even a small amount of your genius skills! That's a massive help. It may take a while to get all the exact boundary values but when I know for sure, I'll be sure to drop an update here with the results. Thanks again :) |
Beta Was this translation helpful? Give feedback.
-
Ah, so no, it's not working properly. For some unknown reason, it still says the reputation part for neutral controlling factions although the 2nd IF statement (for speech) should exclude that? Considering the reputation range is - 100 to 100, further testing found that the second IF statement could be set even be greater than 400 and yet, it still triggers the command. As you can see in the code, they're running from the same event so should work the same way AFAIK. I'm so confused. I have no idea and can't see any mistakes (from my lack of any dev experience), sorry. Any help would be massively appreciated and thank you if you can shed any light |
Beta Was this translation helpful? Give feedback.
-
Hello EDDI,
I absolutely love your program. It's totally essential for the full Elite experience and your work is astounding. I'm not very good at coding but over the years, I've made loads of adaptions to commands for more info, variance etc.
I'm currently overhauling my personalised EDDI profile to make sure it's got everything covered by updates and noticed there's a blank command for reputation. (Sorry, I don't know the exact name as I'm using my phone to type this).
What I'm wondering, is if there's a way to hear my reputation when I'm travelling to systems please? If so, I'll then create an IF condition to limit it to anything not neutral.
As I've played Elite for around 6,400 hours, I'd get a lot of enjoyment from hearing all the places I've had an impact over the years!
Thank you so much (even if this can't be done!)
Beta Was this translation helpful? Give feedback.
All reactions