EDIT: oh and this is off topic, but I've been trying to find the code related to the cursed dutchman in the previous release.
I assume you're referring to PotC: New Horizons there?
As far as PotC film stuff is concerned, the unmodded game only had a "Black Pearl" (not THE Black Pearl) that showed skeletons on deck at night.
That is literally everything there was. All other PotC film stuff that you see in the game now has been added by us.
Most of the "special effects" were my work, so if you have any questions on any of that, I can probably tell you quite easily.
I found the cannon modifiers and managed to set it so I can start with the navarones and it works when I begin a new game, but when using the console to give the ship, the cannons revert to the standard 32 long guns. I tried re enabling the define for ships init at the beginning of console but that didnt change it.
You changed the Dutchman's default cannons in ships_init.c? If so, you should press F11 to reinitialize that and make it take effect on an existing game.
Then
GiveShip2Character should give you the newly defined cannons instead of the previous default.
But you shouldn't even need to do that, because GiveShip2Character has a "cannont type" input:
Code:
GiveShip2Character(pchar,"CursedDutchman","Flying Dutchman",CANNON_NAVARONE,PIRATE,true,true);
Normally that third argument is "-1", which means "use whatever cannons ae defined by default".
But you can specify a different type of cannon like that instead.
You should double-check PROGRAM\Cannons\cannons.h for the correct code name of those crazy guns.
I am writing this from memory at the moment, so it may be slightly different.
Also, is the code for the "cursed" effect IE: bad rep, strong sailors for free, cant fast travel correctly - part of the exe or is it located in the files somewhere? right now im just trying to familiarise myself with the layout of everything.
That was pretty much all added by me and can be found in the PROGRAM folder. Most of it is in PROGRAM\NK.c .
The tricks here might help you tracking down all sorts of things:
Tutorial - Modding Tips & Tricks | PiratesAhoy!
Your reputation shouldn't be affected by being cursed though, though your crew morale certainly would be.
Cursed crew cannot be killed in 3D sailing mode and have extra HP during boardings, but
only at night.
Fast travel should work as normal, but since everyone is hostile while you're a skeleton, that might be affecting you.
If you have any ideas for changing that behaviour to be better, I'd be very interested.
But if you don't like it, I'd recommend lifting the curse instead of editing the code.
In any case, feel free to start a new thread on
POTC Build Mod | PiratesAhoy! for all your PotC-related questions.