Looked in every file, can't make head nor tail from 90% of it, coders have to be around and spare 5mins to look into it, please, so here it goes :b: :
How to keep the enemy from surrendering, them chickens, everytime you shoot their ship up a bit too much they chicken and give up. Gone so far I hesitate to use buckshot and only use knippelz or ballz. So; where in Sea_Ai or some other script-folder is the part that sez "if (Men) < X (surrender)"? Is it "If (Ratio < 1.6) or something like that I found; seems to control the Abordage or something rather...
Thx, hope some1 who knows coding alot is not too busy with GoF or whatnot
*Err-Dit*
I ask because I love them Sea-Battles, but Boarding 's really changing a battle thats been lost/won almost, AND: When you clear the Ship, you can loot the dead and in the Cap's Quarter you mostly get decent weapons and Money, and somethimes even A LOT of money! When they give up, that's that, you can't peek into the Cap's Quarter, at leas 3000 Gold lost (I mostly get between 1500-3000 Gold, sometimes even 6-9000 and 15000 Gold from the Chest!)
if you have 1,6 times more men thaen they have, they surrender.
that can not be detected in the whiite bar above the ships, becvause different ships have diferent men counts.
so, put the ratio to 2,0... you need double as much men for them to surrender.
or 3,0... you need triple as much men for them to surrender
??
Hmm, the way the script's reading, it is indeed like this, I'll try; change it to something like Ratio 999 (lol) and then shoot their ship empty and board it. The way it reads, that 'd make me need 999x more men than them, but if they got 0, well... I' gotta look.
THX!
*EDIT2*
Checked and I can say: Surrender is NOT bound to AiShips, this one only controls the behaviour of an enemy Ship: Change the EnemyGrappling and other Parameters to something high, and even an enemy ship with only 2 People left on it will try to board YOU... and surrender.
So surrender is effectifely bound to another script; changed the fRatio to something enourmosly high/low, and it only made Enemy ships run/not run away.
Right now I'm looking into what controls the message "Surrender" to come up, since we can disable the menu to show up unless the Ship was boarded and captured, that's what I wanted.
*EDIT3*
hm, "LAi_boarding.c" has in it:
and some more, coming closer there: it also has
Code:
Surrendered = (Surrendered) || (TestRansackCaptain);
and more like these; this it, I hope!
They even pointed something out there:
Code:
if (mcrew > ecrew)
{
return false; // Yay! Surrender!
}
return false; // ÃÃ¥ ñäà ëñÿ
If my crew is over the enemy crew, surrender? LOL, were it so easy?! Testing now!
*EDIT4*
YES, there ya have it!
Change it to say:
Code:
if (mcrew > ecrew)
{
return false; // Yay! Surrender!
}
return false; // ÃÃ¥ ñäà ëñÿ
Tested 3x in a row, settings and results:
My Ship: 244 men
Enemy: 2 men
1.
Code:
return false; // Yay! Surrender!
-> result: Ship don't give up, BUT ATTACKS ME AND TRIES BOARDING ME, I have to fight
2.
Code:
return true; // Yay! Surrender!
-> result: Ship gives up, Dialogue opens: "Crew discretely surrenders"
3.
Changed back to
Code:
return false; // Yay! Surrender!
-> result: Crew don't give up, but attacks me and I need to clear the Deck.