I have discovered that I can change one line of code and make it where after you fight the crew in the boarding cabin you can go back to the cabin to talk to the enemy captain.
Many times during my tests of the boarding code, I'd notice the enemy captain would surrender *after* the fight in the boarding cabin. But since we'd already fought in the boarding cabin, we couldn't go back to talk to the captain. I only knew this because I was logging a lot of information during boardings, including whether the ship had surrendered, and was keeping track of everything.
If people are interested, we can probably make it where if the ship surrenders after the boarding cabin fight we go back to the cabin to talk to the captain. This gives the ship one additional chance to surrender. Right now, the only problem is that you can loot the boarding cabin twice.
It would be easy enough to fix it where we always talk to the enemy captain. That's just one additional line of code. Adding a toggle to this would take 2 more lines. No big deal. I'm not sure if we can keep the boarding cabin from being looted twice, but it may be possible.
I know Pieter's talked about having to fight the enemy captain, just you and him in the boarding cabin, if the ship doesn't surrender. This looks like it's possible. There is already an option in the boarding cabin dialog where you can fight the enemy captain if you wish.
If anyone is interested in this, or has any ideas, let me know.
Hook
Many times during my tests of the boarding code, I'd notice the enemy captain would surrender *after* the fight in the boarding cabin. But since we'd already fought in the boarding cabin, we couldn't go back to talk to the captain. I only knew this because I was logging a lot of information during boardings, including whether the ship had surrendered, and was keeping track of everything.
If people are interested, we can probably make it where if the ship surrenders after the boarding cabin fight we go back to the cabin to talk to the captain. This gives the ship one additional chance to surrender. Right now, the only problem is that you can loot the boarding cabin twice.
It would be easy enough to fix it where we always talk to the enemy captain. That's just one additional line of code. Adding a toggle to this would take 2 more lines. No big deal. I'm not sure if we can keep the boarding cabin from being looted twice, but it may be possible.
I know Pieter's talked about having to fight the enemy captain, just you and him in the boarding cabin, if the ship doesn't surrender. This looks like it's possible. There is already an option in the boarding cabin dialog where you can fight the enemy captain if you wish.
If anyone is interested in this, or has any ideas, let me know.
Hook