Traders reacting to piracy
Moderators: winston, another_commander
-
- Quite Grand Sub-Admiral
- Posts: 364
- Joined: Tue Aug 17, 2004 7:05 am
- Location: Orange, NSW, Australia
Traders reacting to piracy
Two more ideas, one based on another recent thread:
1. If a trader is under fire and in danger of blowing up, they should send a message along the lines of "OK, here is my cargo!" and start dumping cargo so the pirate will let them survive. I think most of the code required for this would already be present - this would happen a little before the escape capsule would be used, and dumping cargo is already available.
2. When a ship blows up, you might pick up a stray piece of equipment as well as cargo. There could be a very small chance some chunk of the wreckage contains a complete or salvagable piece of gear. Condition could be added as an attribute to equipment, and stuff collected from an exploding ship would obviously be pretty beaten up and not very reliable.
1. If a trader is under fire and in danger of blowing up, they should send a message along the lines of "OK, here is my cargo!" and start dumping cargo so the pirate will let them survive. I think most of the code required for this would already be present - this would happen a little before the escape capsule would be used, and dumping cargo is already available.
2. When a ship blows up, you might pick up a stray piece of equipment as well as cargo. There could be a very small chance some chunk of the wreckage contains a complete or salvagable piece of gear. Condition could be added as an attribute to equipment, and stuff collected from an exploding ship would obviously be pretty beaten up and not very reliable.
Regards,
David Taylor.
David Taylor.
- Mirad Grameron
- Competent
- Posts: 53
- Joined: Sat May 28, 2005 3:13 am
- Location: Diso
Re: Traders reacting to piracy
They already do that, whimpering for mercy while ejecting strings of cargo... Most noticeable the bigger ships. Or do you want them to be more explicitly saying "here's the loot, lemme go, be a sport"?dajt wrote:1. If a trader is under fire and in danger of blowing up, they should send a message along the lines of "OK, here is my cargo!" and start dumping cargo so the pirate will let them survive..
Or do you mean: in exchange for letting their pod go? In that case it won't happen, 'cause Giles is working on stuff that rewards picking up said capsules..
Yup they certainly do eject cargo in the hope that they can flee while you are scooping. Winston mentioned a great trick in a thread sometime ago whereby you fly right up their backside into their exhaust plumes hit them big time with the laser and they release cargo in a long stream. If you are lined up right you can scoop the lot.
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"
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
As for the equipment (2.), you could make an oxp similar to what I tried to do with wrex.oxp.
That uses a likeShip shiplist, which eject a scriptedCargo container as death_action.
This container should then be scripted similar to the cloacking_device (see Oolite shipdata.plist)
If you script this as a normal cannister, they would also show up as ejected loot (as in 1.), which is not what you are after.
To make things even more realistic, you could model equipment-oid debris to use in stead of a standard cannister.
(ps. In wrex, ship-debris would be spawned, incidentally also occasionally containing suprises)
That uses a likeShip shiplist, which eject a scriptedCargo container as death_action.
This container should then be scripted similar to the cloacking_device (see Oolite shipdata.plist)
If you script this as a normal cannister, they would also show up as ejected loot (as in 1.), which is not what you are after.
To make things even more realistic, you could model equipment-oid debris to use in stead of a standard cannister.
(ps. In wrex, ship-debris would be spawned, incidentally also occasionally containing suprises)
Riding the Rocket!
- Commander Gralen
- Competent
- Posts: 50
- Joined: Sun Mar 12, 2006 11:22 am
- Location: Somewhere in space