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

need help with editing character.init file

raven28690

Landlubber
having trouble editing the character.init file to change ships and change starting cash and skill lvls.
noticed there are a couple of places in that file that have the same name so im not sure if im changing the right ones or not.

was wanting to add the black pearl as a starter ship

have build 13 but installing build 14 at the moment.
 
I think I can help with Build 14;

If you want to change the start ship model (or character model), you need to go to PROGRAM > Storyline, then choose one of the .c files to edit. You'll find the lines in there.
(just don't choose Jack Sparrow- any changes won't work)
The Nathaniel Hawk storyline is marked as 'standard' , but any of the others besides Jack's can also be edited. :onya

Not sure about the start gold/ skills though.
 
Build 13 for starting characters and ships:
Edit the top of PROGRAM\InternalSettings.h

Build 13 for starting money and skills:
There's the START_MONEY and START_LEVEL #defined in PROGRAM\BuildSettings.h that you can use.

Build 14 for starting characters and ships:
Do as Experienced Captain says.

There's also the cheatmode that you can use:
================================
Cheats:
================================
These only work if ENABLE_CHEATMODE is on
at the bottom of PROGRAM\InternalSettings.h

Numpad 0 = Godmode
Numpad 1 = Officer 1 Fake Level-Up
Numpad 2 = Officer 2 Fake Level-Up
Numpad 3 = Officer 3 Fake Level-Up
Numpad 4 = Player Level-Up
Numpad 5 = Player Fake Level Up
Numpad 6 = + 100000 Gold and + 10000 Wealth
Numpad 7 = Cycle through reputations (increase/decrease reputation)
Numpad 9 = Trigger enemy attack (cheatmode not required)

In Build 14, you can buy ships like the Black Pearl ingame from Hendrick Vanderdecken.
He runs a cursed shipyard in a shipwreck on Isla de Muerte.
Find the island by getting a well-known item from a well-known character in a well-known location from the PotC movies.

There is also PROGRAM\console.c, which you can use to do whatever you want, including giving yourself whatever you want.
Any code put below this:
Code:
void ExecuteConsole()
{
ref pchar = GetMainCharacter();
if (!bSeaActive) ref lcn = &Locations[FindLocation(pchar.location)];
ref ch;
int i;
int limit;
Will be executed in the game when you press F12.

Especially in Build 14 Beta 1, there's a bunch of lines already in there (commented out and thus disfunctional with // or /* and */) that you can use.

If the above doesn't fully help you, please post again and we'll help some more. :cheeky
 
thanks for the help all.

wasnt aware of the cheatmode so will give that a try first and then go from there.

what do i type in to turn cheatmode on?
 
Read the first quote in my previous post. Especially this part:
These only work if ENABLE_CHEATMODE is on
at the bottom of PROGRAM\InternalSettings.h
 
Back
Top