• 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!

surendering ships

Sofus

Landlubber
i think this has been brought up before, but cant remember the outcome of it.
is it possible to have enemy ships surendering without boarding them??.... lets say if there hitpoints is bellow `15-20`% or there rig is gone and they dont have enough crew to withstand a boarding.
 
they dont surrender before you board them... i want them to surrender when they have just been shot to pieces.

do you think that a sloop which have lost its rigging and cant run away, would fight a frigate??
 
surrender

I think it is good idea. I played Age of sail 2 and there you dont need board ship to force surrender.But it must have something with reputation. (If you are horror of the sea no one will surrender becouse they know that it dont help them to survive, and if you are someone with highest morale they will surrender -"good guy" will not kill merchants etc...)like in real...
 
That is true. I got started by checking out the published tutorials, and `re-skinned` a couple of ships, then when I wanted to get them into the game I just dove into the code and when it started making sense... Well...

Maybe it hasn't ALL made sense (yet) but aside from some things I've picked up here in the forums, I haven't really needed the "big modders" to tell me how to do stuff...

I am NOT a coder, by any means, but I've been learning! :b:

However, let me remind you that the little smiley I have at the end of my sig that is bashing his head into the computer monitor isn't called "MODDING" for nothing! :b:. ;)
 
<!--`QuoteBegin-CatalinaThePirate`+--><div class='quotetop'>QUOTE(CatalinaThePirate)</div><div class='quotemain'><!--QuoteEBegin-->However, let me remind you that the little smiley I have at the end of my sig that is bashing his head into the computer monitor isn't called "MODDING" for nothing!  :b:.   ;)[/quote]

lol i agree completely... and `potc-code` is the most frustrating of them all! (especially since you have to keep running potc to check everything...)


well anyway i don't know if i count as a "big" modder, but your idea about ships surrendering is indeed possible. you'd need to work out a 'surrender threshold' based on the character's hull%, sails%, crew% and crew morale, and the main character's reputation, and then add a line into whichever function decreases hp and/or sp and/or crew qty, and add in a line which calls the surrender interface when the hp/sp/crew go below the threshold.

see, i dunno off the top of my head what i would actually write, but what i would definitely do is go into PROGRAMBATTLE_INTERFACEbattleinterface.c and start poking around until i found the bit that i needed.
 
well... i will try to take a look at the battle_interface files when i get a little time... but im only good enough for changing things already there... not adding new lines.
 
<!--`QuoteBegin-Rico`+--><div class='quotetop'>QUOTE(Rico)</div><div class='quotemain'><!--QuoteEBegin-->Catalina: where did you get these tutorials from?[/quote]Some of the tuts are here on this site (search or posted as a sticky), others are at other PotC modding sites - Do a search at the LIB, too.

http://www.thelib.com/
 
Yes, that's right, Sirus. We have that as a sticky post here - but not everyone will understand that there are tutorials there. Thanks for pointing that out! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" /> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Back
Top