<!--quoteo(post=153392:date=Jul 2 2006, 01:57 AM:name=Hook)--><div class='quotetop'>QUOTE(Hook @ Jul 2 2006, 01:57 AM) [snapback]153392[/snapback]</div><div class='quotemain'><!--quotec-->
<!--quoteo(post=153381:date=Jul 1 2006, 04:44 PM:name=giuliootto)--><div class='quotetop'>QUOTE(giuliootto @ Jul 1 2006, 04:44 PM) [snapback]153381[/snapback]</div><div class='quotemain'><!--quotec-->
I notice some problem to start boarding.
Sometime when I'm next to a ship the boarding icon doesn't appear and I can't board that.
This problem occurs sometime at high rank level (I have level 28), never had this problem with low level.
Anybody else have this problem?
<!--QuoteEnd--></div><!--QuoteEEnd-->
I've had the problem. Sometimes the boarding icon never comes up no matter where I am in relation to the ship, and I end up having to sink it. I don't think it depends on character level. I've never had a character at level 28. <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="
" border="0" alt="smile.gif" />
The French ships guarding Oxbay originally were unable to be boarded. There's a line in buildsettings.h that turns this back on:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->#define ENABLE_CAPTURE_FRENCH_SQUADRON 1 // type=bool, desc="set to 1 to enable boarding ships of French squadron blocking Oxbay."<!--c2--></div><!--ec2-->
... but it's been set to 1 for as long as I can remember.
There may be some leftover code somewhere that affects other ships.
Hook
<!--QuoteEnd--></div><!--QuoteEEnd-->
Well, I found where is the problem: in AIShip.c there are the following instruction;
float fOurMaxAbordageDistance, fOurMaxAbordageAngle, fOurMaxAbordageSpeed; // KNB -->
if(USE_REAL_SAILING)
{
fOurMaxAbordageDistance = fGrapplingPerk * Bring2Range(8.0, 25.0, 0.0, 1.0, fOurGrappling); // was 15.0, 40.0
fOurMaxAbordageAngle = Bring2Range(0.80-makefloat(bGrapplingProfessional)*0.1, 0.60-makefloat(bGrapplingProfessional)*0.1, 0.0, 1.0, fOurGrappling);// was 0.70, 0.45. NK add Grapp Prof, because it's not used lower.
fOurMaxAbordageSpeed = Bring2Range(2.0, 4.0, 0.0, 1.0, fOurGrappling); // was 3.0, 5.0
}
// KNB <--
else
{
fOurMaxAbordageDistance = fGrapplingPerk * Bring2Range(15.0, 40.0, 0.0, 1.0, fOurGrappling);
fOurMaxAbordageAngle = Bring2Range(0.70, 0.45, 0.0, 1.0, fOurGrappling);
fOurMaxAbordageSpeed = Bring2Range(3.0, 5.0, 0.0, 1.0, fOurGrappling);
}
That are involving the bAngleTest bool variable that enable or not the boarding icon.
I think that this new code works well with little ship class (I never had problem with little ship) but have some problem with huge ship.
I replace that code with the original in the Build12 and everything working fine;
float fOurMaxAbordageDistance = fGrapplingPerk * Bring2Range(15.0, 40.0, 0.0, 1.0, fOurGrappling);
float fOurMaxAbordageAngle = Bring2Range(0.70, 0.45, 0.0, 1.0, fOurGrappling);
float fOurMaxAbordageSpeed = Bring2Range(3.0, 5.0, 0.0, 1.0, fOurGrappling);
<img src="style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid="
" border="0" alt="keith.gif" /> bye,bye,
giuliootto