Hi,
I would like to ask for your help. I want to modify the Entered normal space event. I want to disable the report during Interdicted event. Is there a tricky way in the script to do that?
Thanks in advance!
{if state.eddi_context_interdicted != "yes":
{Pause(5000)}
{Occasionally(2,"{ShipName()} has")}
{OneOf("left supercruise", "{OneOf('entered','returned to','dropped to')} normal space")}
{if event.bodytype != null:
{OneOf("near", "near to", "close to", "in the vicinity of")}
{if event.bodytype = "Planet":
planet {P(event.body)}
|elif event.bodytype = "Star":
star {P(event.body)}
|elif event.bodytype = "Station":
{P(event.body)}
|elif event.bodytype = "PlanetaryRing":
Planetary Ring {P(token(event.body," Ring",0))}
}
}.
}
{SetState('eddi_context_interdicted', 'no')}
{Pause(1000)}
{if event.submitted:
You have submitted to the interdiction
|elif event.succeeded:
Evasion failed, systems have been damaged.
You have been interdicted
{SetState('eddi_context_interdicted', 'yes')}
}
{set shiptype to event.interdictor}
{F("TargetType")}
{if !event.succeeded:
Interdiction {OneOf("evasion successful","successfully evaded")}
|else:
by {shiptype}
{if event.iscommander:
This is a human player, of {event.rating} rating!
|else:
, a {event.rating} {OneOf("pilot", "ship", "vessel")}
}
{if event.faction = null:
who {OneOf("is unaligned","has no allegiance")}
|else:
{Occasionally(2,"who is")} aligned with {P(event.faction)},
}
{if event.power = "Indpendent":
{Occasionally(2,"and is a member of the Alliance")}
|elif event.power = "Pirate":
and is a free-booter of the Pirate Clans
|elif event.power = "Empire":
{Occasionally(2,"and is a servitor of the Empire")}
|elif event.power = "Federation":
{Occasionally(2,"and is a recruit of the Federation")}
}
}
.
Hi, Darkcyde!
you can prepare a bottle a champagne cautiously. Tried your suggestion, had 2 interdicted events till now, it worked in booth cases! If this is simple like this, you've opened up doors for lots of possibilities [smile]! Like if I was rewarded with a bounty, it can remind me on the station to check in to authority contact, for example. And lots of other stuff!
By the way, I use a few of your scripts, thanks for sharing them!
I had an idea, when I saw, that at a station the presence of the black market can be checked. Is it possible for the Interstellar Factors Contact too?
Best regards!
{_ ContactsCheck}
{_ Function to report Bonds/Bounties or Fines/Bounties to collect or pay}
{set bounty to state.eddi_context_bountyawarded}
{set bond to state.eddi_context_bondawarded}
{set fine to state.eddi_context_fineincurred}
{set bountyincurred to state.eddi_context_bountyincurred}
{if bounty = 1 || bond = 1:
Reminder: You have uncollected
{if bounty = 1: bounties}
{if bond = 1:
{if bounty = 1: and}
bonds
}
to claim.
}
{if fine = 1 || bountyincurred = 1:
{if bounty = 1 || bond = 1:
You also
|else:
Reminder: You
}
have unpaid
{if fine = 1: fines}
{if bountyincurred = 1:
{if fine = 1: and}
bounties
}
to pay.
}
{SetState('eddi_context_bountyawarded', 0)}
{SetState('eddi_context_bondawarded', 0)}
{SetState('eddi_context_bountyincurred', 0)}
{SetState('eddi_context_bountyawarded', 0)}
{SetState('eddi_context_bondawarded', 0)}
{SetState('eddi_context_fineincurred', 0)}
{SetState('eddi_context_bountyincurred', 0)}
{SetState('eddi_context_bondawarded', 1)}
{SetState('eddi_context_bountyawarded', 1)}
{SetState('eddi_context_bountyincurred', 1)}
{SetState('eddi_context_fineincurred', 1)}
{SetState('eddi_context_fineincurred', 0)}
{set limpetcheck to F("Limpet check")}
{set contactscheck to F("ContactsCheck")}
{if limpetcheck || contactscheck:
{Pause(5000)}
{limpetcheck}
{contactscheck}
}
{Pause(1000)}
{F("ContactsCheck")}
If people could realize ideas with only 10% of your speed... spaceflight would be an everyday thing, and I could teleport to you to open the champagne! Cheers!
I just love programming problems like this. I really enjoy coming up with an efficient and comprehensive solution. Cottle isn't particularly difficult, so programming in it is easy, but at the same time it's simplicity can make certain things a bit harder to accomplish. I've probably spent more time in EDDI recently, than actually playing Elite!
My only problem is that real life gets in the way. So if I'm not working or sleeping (or actually playing!) I'm probably tinkering with my scripts in EDDI.
If you have any other ideas, I'd be happy to attempt a solution.![]()
No longer playing as there's NO off ship storage ( so waiting for that) , plus the work involved in getting VA up and running with EDDI and the new Astra, fills me with dread
so @Darkcyde can you add the above , too here http://snafets.de/elite/eddi_scripts/index.php
so one day I can find it and use it ... cheers , and you never know by then, a better system for importing VA profiles with the sub commands will appear., while I'm unloading my cargo to my storage container on my BASE !!!..........yep I'm dreaming
Edit...I eventually found the instructions, I'll try it tomorrow
Greetings all, I'm very new to EDDI, I " discovered " it whilst using VA , I love it for the immersion and really useful information it provides. I stumbled across a personality called Jess,
http://snafets.de/elite/eddi_scripts/index.php?download=14
apparently very sassy and forthright, just my kinda galI did try to install it, but got script errors , that's probably more down to me than the script.
I haven't been able to find an easy instruction for installing these personalities.
If someone could point me in the right direction in as simple terms as possible it would be greatly appreciated, or links to the instructions. I can follow instructions , I am however 30 years behind in scripting . [yesnod]
Hi, Welcome to EDDI!
I've downloaded and tested the Jess personality, and from a pure EDDI point of view I can't find anything functionally wrong with it. I've only run the EDDI internal tests and all the scripts execute without errors. Unfortunately I don't use VA so it may be something to do with that. Looking at the actual scripts, this personality mainly consists of additional speech to the defaults, with a couple of changes elsewhere.
To use this, just copy the Jess_0.7.0.json file into your EDDI personalities folder, usually found in %AppData%\Roaming\EDDI\personalities. Then start EDDI and select Jess from the dropdown menu in the Speech Responder tab. It's that simple.
One thing I have noticed, is that for some reason Jess will not stay as the chosen personality. If I quit EDDI and reload, then the EDDI default is selected. I can swap back to Jess ok, but it's not being saved as the default to use on loading EDDI. I can swap to any other personality, and that stays selected when reloading, just not Jess. It's entirely possible that this is a symptom of something to do with the errors you are getting, I just don't know.
What exactly are the errors you are getting? Are they to do with VA? Let us know, and we may be able to help further.
-=] Darkcyde [=-
EDIT: Just realised you've found the instructions already.![]()
Well done! I had been wondering why there wasn't some online repository for people to share large numbers of scripts, or their whole personality. I just uploaded mine (Jess). Hopefully more people will do the same. You should post a link to your website under the "Tools" section of the Forum, as well as at the ED Codex. Asking jgm to add a link in the first post of his EDDI forum thread would probably get the word out as well.
Hey hi Jack,
I'm new to EDDI, but love this Jess script. I have an issue that EDDI reverts to the default personality. I use VA and EDDI, would this be the issue? VA uses a EDDI vap file to integrate it into VA
Any help would be greatly appreciated