Would that alter pirate behaviour when attacking a player? The player's group size is always going to be 1, isn't it? Not that I know anything about the mechanics of this, of course! But maybe each cargo canister ejected could increase the chance that a pirate group would break off the attack. It would make sense for pirates to let ships escape, even with some cargo left, instead of destroying everything they meet. They'd want to encourage traders to co-operate.Eric Walch wrote:Currently we have a command to check the odds for an attack. Pirates use it to compare its own group size against the victim group size. For cargo I would use the same check again and go for the cargo when the odds are bad.
Cycle Cargo?
Moderators: winston, another_commander
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
No, currently the code already adds a random number on both group sizes before comparing them. So it is still possible a lonely pirate is attacking a well escorted trader. It is just less likely than a pirate group attacking. Same will be with a trader attack. This part stays as it is. I was just thinking how dealing with ejected cargo as the pirate should go after it on a random way. This existing command will already add a random effect in deciding in going for cargo in a logic way.Disembodied wrote:Would that alter pirate behaviour when attacking a player? The player's group size is always going to be 1, isn't it?
Killing escape pods? When delivering them at a station you can get up to 500 credits insurance for a trader. And when delivering a pirate pilot for its bounty, make sure to deliver at a stable government. Corporate states give a much higher bounty for captured criminals.phonebook wrote:not so sure- after all i still kill a ship even if it does eject its cargo- and then kill the escape pod too!!!
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
OK ... individual psychopaths aside, it's in the long-term interests of professional pirates – the kind who hang around in gangs, and presumably have bases of operation and more-or-less local cruising grounds – to encourage traders to co-operate. If they try to slaughter everyone who comes by, then a) trade will drop off, and b) the traders they do catch will fight to the death because they've got nothing to lose. If, however, they extract a toll from passing shipping, then everybody's happy. Well, not happy, but happier than they would be if they were dead, anyway.phonebook wrote:not so sure- after all i still kill a ship even if it does eject its cargo- and then kill the escape pod too!!!
Which is not to say that there won't be fights to the death. Not all merchant captains will be prepared to drop their cargo. And sometimes, too, pirates might not be thrown off the scent by, say, ten tons of food, when they think that the ship they're attacking could be carrying 80 tons of luxuries as well. Or if pickings have been thin of late, then pirate captains would be under pressure to make a big score.
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Ah, I see! You know, this programming stuff really is quite clever ...Eric Walch wrote:No, currently the code already adds a random number on both group sizes before comparing them. So it is still possible a lonely pirate is attacking a well escorted trader. It is just less likely than a pirate group attacking. Same will be with a trader attack. This part stays as it is. I was just thinking how dealing with ejected cargo as the pirate should go after it on a random way. This existing command will already add a random effect in deciding in going for cargo in a logic way.
This would be a welcome and sensible addition to Oolite, particularly if accompanied with a few communications from the pirates along the lines of "drop your cargo commander and you'll get out of here alive" or some such. Basically as you say, the sensible behaviour of a pirate who is trying to make a living from piracy.Disembodied wrote:OK ... individual psychopaths aside, it's in the long-term interests of professional pirates – the kind who hang around in gangs, and presumably have bases of operation and more-or-less local cruising grounds – to encourage traders to co-operate. If they try to slaughter everyone who comes by, then a) trade will drop off, and b) the traders they do catch will fight to the death because they've got nothing to lose. If, however, they extract a toll from passing shipping, then everybody's happy. Well, not happy, but happier than they would be if they were dead, anyway.
[slight derailment] One of my biggest gripes with Eve-online was that you had a game tailor made for this sort of piracy, but those kind of player pirates got overshadowed by the gibbering hordes of idiots engaging in psychopathic behaviour because they were in the consequence free environ of a computer game. Piracy consisted of - ambush player ship, stop player from escaping, get player to jettison cargo or pay ransom, then destroy player ship anyway.
Piracy in any meaningful sense was hard to find and eventually most pirates gave up as few player actually believed their ships would be safe post ransoming so fought to the death regardless.[/slight derailment]
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Selective ejection of cargo has many uses...and yes, it has been used as a weapon of last resort. In the original it did occasionly distract pirates, just long enough to cut and run.
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!
And any survivors, their debts I will certainly pay. There's always a way!
-
- ---- E L I T E ----
- Posts: 332
- Joined: Mon Jul 06, 2009 11:12 pm
- Location: Uncharted backwaters of the unfashionable end of the western spiral arm
Additionally, you might be in a larger group, for instance when fighting Thargoids in the GN OXP, or part of an Oo-Haul mission... but does the game engine currently know that Eric?Eric Walch wrote:No, currently the code already adds a random number on both group sizes before comparing them.Disembodied wrote:Would that alter pirate behaviour when attacking a player? The player's group size is always going to be 1, isn't it?
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
No the game does not know, so a player is always considered as the most easy target for pirates. They always forget the excellent fighting skills of a player compared to NPC opponents.zevans wrote:Additionally, you might be in a larger group, for instance when fighting Thargoids in the GN OXP, or part of an Oo-Haul mission... but does the game engine currently know that Eric?Eric Walch wrote:No, currently the code already adds a random number on both group sizes before comparing them.Disembodied wrote:Would that alter pirate behaviour when attacking a player? The player's group size is always going to be 1, isn't it?
On the other hand, when you would increase the "player-group" with one number for every increase in rank it would consider an elite player as 9 opponents and always flee away. (Probably a good choice for the pirate, but bad for game play)
What also is not considered is the size of ships, only numbers.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
They run under their own custom AI, and will attack anything that attack them or their boss (the player). They don't go for cargo though, that's the player's job.wackyman465 wrote:What about with the hired guns oxp?
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- wackyman465
- ---- E L I T E ----
- Posts: 831
- Joined: Thu Nov 06, 2008 10:15 pm
- Location: Currently hunting you down in an Imperial Courier
No, they are independent craft. It is explicitly not possible for players to have escorts in the same way that NPC ships can (I believe it's deliberately coded that way).
The Hired Guns are wholely independent ships, it's only their AIs and scripting that make them act like escorts.
The Hired Guns are wholely independent ships, it's only their AIs and scripting that make them act like escorts.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
I just added it for 1.74: player sends: "CARGO_DUMPED" to all nearby ships. It is up to the individual AI to react on it, but pirates with free cargo room can now react on it. Pirates without cargo bay will for obvious reasons ignore this message.Eric Walch wrote:......It can easy be changed and if a majority likes it, I'll come up with a changed AI for 1.74. (Or an test oxp that only will working with 1.73)Thargoid wrote:From a quick look at pirateAI.plist under 1.72.2, it only scans for loot when a target is lost or destroyed. But as you say, it wouldn't be too difficult to implement such a change.
The purpose of pirates is to plunder cargo and when they can get it without fight, it would only be logic they go for it. By change as some will still go for the kill to get all the cargo.
On second thought: it is not that easy with AI alone. When you do every 10 seconds a scan for cargo during fight, the scan will also find previous floating cargo. Pirates will start breaking of attacks, even when not ejecting cargo. To do it proper we need a code change in the dump cargo routine that sends a "CARGO_DUMPED" message to all nearby vessels.
UPS-Courier & DeepSpacePirates & others at the box and some older versions