• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Remove perks?

Yarrr

Landlubber
Well, although Build 12 is nice, there's still too much money flowing around. So after increasing the price of all ships by a factor of 100, I can't just go out and buy a man-o-war anymore. I also reduced the sale price by a factor of 100, so they aren't worth much when I try to sell 'em---if you lose your only ship, you're done for!

And now...boarding. I think long range and instant boarding is too easy. I don't use them, but my officers have them, so I want to disable both perks globally. Can someone point out in the code where this things are activated or where they change the boarding range? I've looked everywhere but come up empty.

Thanks!
 
You know, I'd like to disable that instant boarding stuff too... I never enable it for me, nor for my officers...

Maybe there should be a way to edit the officer's perks the way you want them right from the start... Give you the ability to put their perks where you feel you need the perks... Of course that kind of thing can be abused, but it will be helpful for those who want a more <i>tailored</i> officer contingent...
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" /> What did you do? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
ALL of them? But some of them <i>are</i> nice to have. It's just the instant boarding ability that should either be removed from the game or modded into something that makes a tad bit more sense.
 
I like instant board. It is useful, and makes things more fun boardingwise, but I do agree it should be modded into something that makes more sence.
 
<!--QuoteBegin-Pieter Boelen+May 21 2005, 05:08 PM--><div class='quotetop'>QUOTE(Pieter Boelen @ May 21 2005, 05:08 PM)</div><div class='quotemain'><!--QuoteEBegin-->ALL of them? But some of them <i>are</i> nice to have. It's just the instant boarding ability that should either be removed from the game or modded into something that makes a tad bit more sense.
<div align="right">[snapback]106127[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->

Well, I didn't disable them *all*, just *all* the ones I didn't like...

To answer a different question, it turns out I didn't disable any of them, just made it look that way.

I made a silly assumption. I assumed that if CheckCharacterPerk() in perks.c came
back false for a perk, the perk wouldn't exist, so to speak.

Unfortunately, it seems that function is only called with respect to choosing perks, and not activating them. So you can *have* the perk, it just never shows up on the interface as activated. Sigh.

Back to the drawing board. I think the answer might lie in ActivateCharacterPerk() in perks.c, but I still have to untangle what's going on in there. Long range boarding is probably somewhere in the boarding code itself, and I'm not that far along yet.

Of course, any help would be *greatly* appreciated.
 
I would have thought that would have fixed it... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
Back
Top