Coming Clean!

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Coming Clean!

Post by Cody »

The irony is that I now find myself having Sky as my ISP (don't ask).
Good to 'see' you, el cuervo.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Coming Clean!

Post by Eric Walch »

Disembodied wrote:
Commander McLane wrote:
Apart from the semantics:

Eric, would it make sense to include Free Trade Zones in the places where the offer would be made?

Any other places?
I think FTZs could be one place where the offer is made. If you're going to make the OXP usable for everyone (i.e. not dependent on other OXPs) the offer could be made in main stations in Anarchy systems, and maybe Feudal and Multi-Government ones, too.

Actually, is there any need to limit where the amnesty notice is posted? Surely GalCop would want it to be disseminated as widely as possible?
I also think this. The only thing you probably should look at is the hasNPCTraffic property. That are stations that explicit have defined to have no normal traffic.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Coming Clean!

Post by Commander McLane »

El Viejo wrote:
Disembodied wrote:
Perhaps there could be different newsflashes about it in different systems. Corporate States could deplore GalCop's craven offer to these brigands who prey on honest merchantmen (think Daily Telegraph); Democracies and Confederacies could have pious hopes for greater stability (The Guardian); Communist worlds would be suspicious, viewing it as a bourgeois trick to legitimise gangster capitalism (The Socialist Worker); Dictatorships would blame everything on foreigners (The Daily Mail) ...
Love it... the world of the press in a nutshell.
Here's the world of the press in a nutshell:

http://www.youtube.com/watch?v=DGscoaUWW2M

It's priceless! :D
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Coming Clean!

Post by Cody »

Yes, that's an absolute classic.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Coming Clean!

Post by Commander McLane »

I was thinking about making the announcement only on stations which offenders/fugitives usually would be expected to visit. The much-talked-about 'safe havens' for pirates and the like.

But of course they can be broadcast at the main stations as well. The player could even become fugitive after receiving the broadcast, and try to go for the amnesty.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Coming Clean!

Post by Eric Walch »

Commander McLane wrote:
The player could even become fugitive after receiving the broadcast, and try to go for the amnesty.
And that is the general problem of amnesty: You can kill cops after the broadcast as long as you make sure you reach the Loki in time to get amnesty :D
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Coming Clean!

Post by Disembodied »

Commander McLane wrote:
I was thinking about making the announcement only on stations which offenders/fugitives usually would be expected to visit. The much-talked-about 'safe havens' for pirates and the like.

But of course they can be broadcast at the main stations as well. The player could even become fugitive after receiving the broadcast, and try to go for the amnesty.
There could be a separate newsflash for broadcast in the safe havens (and Anarchy system stations), taking a more balanced tone ... and a bulletin for Seedy Space Bars deploring the whole idea but stressing the financial opportunities for bounty hunters: "Get 'em while they're hot!"
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Coming Clean!

Post by Commander McLane »

@ Eric: I took the normal behemothPatrolAI and only allowed into state STAY_INTERSTELLAR, in order to make the Behemoth stationary in a system. I want to change as little as possible from the normal AI, I just want the ship to keep orbit and not patrol.

However, it constantly performs scanForHostiles. The Wiki says that this scans for all ships targeting the ship. Does it perform any other checks? If I have NPC fugitives trying to dock, they would have to target the Behemoth and request docking. Would the Behemoth therefore attack them before granting docking requests? Do I have to change behemothReceiveDockingAI in order to enable fugitives to be accepted in the first place? (I think yes, because it scans for offenders, which also finds ships with bounties, doesn't it?)
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Coming Clean!

Post by Eric Walch »

Commander McLane wrote:
@ Eric: I took the normal behemothPatrolAI and only allowed into state STAY_INTERSTELLAR, in order to make the Behemoth stationary in a system. I want to change as little as possible from the normal AI, I just want the ship to keep orbit and not patrol.

However, it constantly performs scanForHostiles. The Wiki says that this scans for all ships targeting the ship. Does it perform any other checks? If I have NPC fugitives trying to dock, they would have to target the Behemoth and request docking. Would the Behemoth therefore attack them before granting docking requests? Do I have to change behemothReceiveDockingAI in order to enable fugitives to be accepted in the first place? (I think yes, because it scans for offenders, which also finds ships with bounties, doesn't it?)
The Behemoth uses two different scan methods.
- in normal space: scanForOffenders. This finds any ships with a bounty, but with a success rate depending on government type.
- in interstellar space: scanForHostiles. This scans all ships that are targeting the ship AND are in attack mode. (added that info to the wiki now) Just targeting should do nothing. As extra, this command also finds thargoids, no mater what they are targeting. I assume the thargoid scan is the reason Giles used this scan method in interstellar space.

NB scanForHostiles is also used by trader ships, so they can react on a pirate before the pirate has fired a shot. Here the escorts target the mother also without problems. :P

Fugitive npc ships are allowed to dock with their docking computer. Not consistent with the player who only can dock manually when fugitive. But maybe fugitive npc ships do dock manually, who knows?
Last edited by Eric Walch on Sat Mar 05, 2011 3:41 pm, edited 2 times in total.
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: Coming Clean!

Post by TGHC »

Commander McLane wrote:
However, it's not a government official, but the news bulletin of iNews, who may well be the 32nd century equivalent of the Sun, for all we know.
shivers at the thought of naked Thargoids on page 3
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Coming Clean!

Post by Commander McLane »

Eric Walch wrote:
- in normal space: scanForOffenders. This finds any ships with a bounty, but with a success rate depending on government type.
- in interstellar space: scanForHostiles. This scans all ships that are targeting the ship AND are in attack mode. Just targeting should do nothing.
That's good to know. The Wiki omits the part after the 'AND', that's why I was unsure if they also need to be attacking—and of course it makes much more sense that they need to. EDIT: you edited the Wiki and your post while I was typing this. :D

scanForOffenders is part of the receiveDockingAI. So this means that the Behemoth and its escorts could attack fugitive NPCs while they try to dock. Which means that I have to modify the AI.

Another question: is OFFENCE_COMMITTED only sent as a result of the scanForOffenders, or also if an offence is committed just now, without the scan?
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: Coming Clean!

Post by Switeck »

I was seeing traders shooting at a Pirate Cove asteroid probably because the traders used scanForHostiles. Seems a little strange that they consider the asteroid targeting them AND attacking!? :lol:
User avatar
Sarin
---- E L I T E ----
---- E L I T E ----
Posts: 264
Joined: Sat Sep 13, 2008 11:26 am
Location: Out there, searching for truth

Re: Coming Clean!

Post by Sarin »

Wasn't one of traders Rebecca, our resident hermit slayer? :D
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Coming Clean!

Post by Eric Walch »

Commander McLane wrote:
Another question: is OFFENCE_COMMITTED only sent as a result of the scanForOffenders, or also if an offence is committed just now, without the scan?
OFFENCE_COMMITTED is a bit tricky. It is fully automated transmitted without an AI trigger. But, it is only send to ships of police scanclass and the main station when in range. To no other ships, despite the use in other AI scripts.
Switeck wrote:
I was seeing traders shooting at a Pirate Cove asteroid probably because the traders used scanForHostiles. Seems a little strange that they consider the asteroid targeting them AND attacking!? :lol:
Yes, and in the original version of the AI it was always hostile to the player, with as result that the player had always a red alert when passing a pirate cove. That way it immediately gave away its identity of not being a plain rock hermit. I changed the AI script so it not immediately gave a red alert for the player. When I remember it right, a station must be both in RED_ALERT itself and targeting a ship to be seen hostile to that ship. And there is no 'un-target' command, so I used setTargetToSystemStation to make it loose the player as target, so it does not trigger a red_alert for the player. :twisted:
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Coming Clean!

Post by Commander McLane »

Eric Walch wrote:
Commander McLane wrote:
Another question: is OFFENCE_COMMITTED only sent as a result of the scanForOffenders, or also if an offence is committed just now, without the scan?
OFFENCE_COMMITTED is a bit tricky. It is fully automated transmitted without an AI trigger. But, it is only send to ships of police scanclass and the main station when in range. To no other ships, despite the use in other AI scripts.
Does this mean that even hunters don't receive it? What do they react upon? Only distress calls?
Post Reply