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

money

Dr_peper82

Landlubber
How do i edit money..

I use to do this at the start of every game..but now its changed and it looks differnt then it use to on the line that says start money..ch.money = START_MONEY; // NK use to be a 1000 there so now what?? What do i Delete to so i can put as much as i want??

please help <img src="style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid=":wp" border="0" alt="whistling.gif" />
 
All you have to do is type <img src="style_emoticons/<#EMO_DIR#>/type_1.gif" style="vertical-align:middle" emoid=":nk" border="0" alt="type_1.gif" /> in the amount of money (where current amount is) you want to start with then save. Make sure you use NOTEPAD. When you start the game use the I button to reinitialize the game.
 
<!--quoteo(post=144698:date=Apr 5 2006, 07:20 PM:name=Meigger)--><div class='quotetop'>QUOTE(Meigger @ Apr 5 2006, 07:20 PM) [snapback]144698[/snapback]</div><div class='quotemain'><!--quotec-->
All you have to do is type <img src="style_emoticons/<#EMO_DIR#>/type_1.gif" style="vertical-align:middle" emoid=":nk" border="0" alt="type_1.gif" /> in the amount of money (where current amount is) you want to start with then save. Make sure you use NOTEPAD. When you start the game use the I button to reinitialize the game.
<!--QuoteEnd--></div><!--QuoteEEnd-->


Ok,

Here is the problem..Im not following you, before the mod add on it looked differnt..im asking again becouse i dont wanna have to reinstall it again if i screw up..this is what it looks like Right? money..ch.money = START_MONEY; // NK <--Now then..IS there somethign there that i should get rid of and replace with the money value i want..OR DO i add the money Before or after someething in that little text.. and something Ealse I dose what?? what dose reinitalize mean? lol i guess im use to the old way of editing this game.. Thanks for the help!

Cheers <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
When you go to the BS.h file you should fine the following: These lines are directly below the name of Nathanial Hawk.

#define START_LEVEL 1
#define START_MONEY 1000 Your *Party* money
#Define START_WEALTH 500 Your *Personal* money

To change the amount of money simply change 1000 and/or 500 to whatever you want that amount of money to be.

If you do not find this in the BS.H file as typed out above, then something is wrong with the installation. Even when you add updates, these lines (to my knowledge) have never changed.

After you make any changes in the BS.H file. after saving and starting a game you must reinitialize in order for the changes you have made to the game (by modifying the BS.h file) to take effect.

Hope this helps. <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
<!--quoteo(post=144718:date=Apr 5 2006, 11:23 PM:name=Meigger)--><div class='quotetop'>QUOTE(Meigger @ Apr 5 2006, 11:23 PM) [snapback]144718[/snapback]</div><div class='quotemain'><!--quotec-->
When you go to the BS.h file you should fine the following: These lines are directly below the name of Nathanial Hawk.

#define START_LEVEL 1
#define START_MONEY 1000 Your *Party* money
#Define START_WEALTH 500 Your *Personal* money

To change the amount of money simply change 1000 and/or 500 to whatever you want that amount of money to be.

If you do not find this in the BS.H file as typed out above, then something is wrong with the installation. Even when you add updates, these lines (to my knowledge) have never changed.

After you make any changes in the BS.H file. after saving and starting a game you must reinitialize in order for the changes you have made to the game (by modifying the BS.h file) to take effect.

Hope this helps. <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
<!--QuoteEnd--></div><!--QuoteEEnd-->

Well...

Its changed..who ever modded this has changed the looks of the text in that file to the point where i no longer reconize them and its diffcult to know what to edit..i havent see anything with 1000 or 500 in money value any where in there I will post what i can see in mine..


for(n=0; n<TOTAL_CHARACTERS; n++)
{
makeref(ch,Characters[n]);
//DeleteAttribute(ch,"act");
DeleteAttribute(ch,"");
//Logic data
ch.id = "0";
ch.index = n;
ch.sex = "man";
//Model data
ch.model = "none";
ch.model.entity = "NPCharacter";
ch.model.animation = "";
//Address
ch.location = "none";
ch.location.group = "";
ch.location.locator = "";
ch.location.from_sea = "";
//Ship data
ch.Ship.Type = SHIP_NOTUSED_TYPE_NAME;//SHIP_LUGGER; // PS
//Quest data
ch.Dialog.CurrentNode = "First time";
ch.Dialog.TempNode = ch.Dialog.CurrentNode;
ch.quest.meeting = "0";
ch.quest = "True";
//Misc data
ch.nation = ENGLAND;
ch.skill.freeskill = 0;
ch.rank = 1;
ch.reputation = REPUTATION_NEUTRAL;
// battle hp
ch.headModel = "capitan";
LAi_SetLoginTime(ch, 6.0, 21.98333);
LAi_SetHP(ch, LAI_DEFAULT_HP, LAI_DEFAULT_HP_MAX);
// boal 05.09.03 offecer need to go to abordage -->
ch.AbordageMode = makeint(1);
// boal 05.09.03 offecer need to go to abordage <--
}

ReloadProgressUpdate();

makeref(ch,Characters[0]); //Blaze Devlin
LAi_SetImmortal(ch, true);
//ch.perks.list.InstantBoarding = true;
ch.name = "Nathaniel";
ch.lastname = "Hawk";
ch.id = "Blaze";
ch.nation = START_NATION; // NK 04-09-06
ch.model = "Animists1"; // NK
ch.activity_begin = "0";
ch.activity_end = "24";
ch.sex = "man";
ch.luck = 4;
// ch.spyglass.itemID = COMMON_SPYGLASS;
// ch.gun.itemID = GUN_COMMON;
// ch.gun = "gun";
// ch.blade = "dagger";
// ch.blade.itemID = BLADE_DAGGER;
// ch.blade.time = 0.1;
// ch.blade.colorstart = argb(64, 64, 64, 64);
// ch.blade.colorend = argb(0, 32, 32, 32);
ch.location = "";
ch.location.group = "";
ch.location.locator = "";
ch.Dialog.Filename = "blaze_dialog.c";
ch.rank = START_LEVEL; // NK
ch.reputation = "50";
ch.experience = intRet(sti(ch.rank) > 100, CalculateExperienceFromRank(sti(ch.rank)), 0); // NK
ch.skill.Leadership = "10";
ch.skill.Fencing = "10";
ch.skill.Sailing = "10";
ch.skill.Accuracy = "10";
ch.skill.Cannons = "10";
ch.skill.Grappling = "10";
ch.skill.Repair = "10";
ch.skill.Defence = "10";
ch.skill.Commerce = "10";
ch.skill.Sneak = "10";
ch.skill.freeskill = sti(ch.rank) * 100; // NK
ch.perks.freepoints = sti(ch.rank); // NK
ch.money = START_MONEY;99999999999 // NK
ch.Ship.Name = "Victory";
ch.Ship.Type = START_SHIP(); // PS
// PRS3 -->
GetCharacterShipType(&ch);
aref arship; makearef(arship, ch.ship);
SetRandomStatsToShip(arship, sti(ch.ship.idx), START_SHIP_NATION); // NK 04-09-06
// PRS3 <--
ch.Ship.Stopped = true;
//ch.Ship.Cannons.Type = CANNON_TYPE_TEST;
ch.FaceId = 31;
ch.ShipSlot1.Type=SHIP_NOTUSED;
ch.ShipSlot1.Name="NoName";
ch.ShipSlot2.Type=SHIP_NOTUSED;
ch.ShipSlot2.Name="NoName";
ch.ShipSlot3.Type=SHIP_NOTUSED;
ch.ShipSlot3.Name="NoName";

ch.quest.Contraband.relation = 50;
ch.quest.RelationAgentMet = "0";
ch.quest.gambling = "0";
ch.quest.friend_in_tavern = "";
ch.quest.main_line = "0";
ch.quest.killed.pirates = "0";
Ch.quest.Story_LeavingOxbay.win_condition.l1 = "location";
Ch.quest.Story_LeavingOxbay.win_condition.l1.character = "Blaze";
Ch.quest.Story_LeavingOxbay.win_condition.l1.location = "Oxbay";
Ch.quest.Story_LeavingOxbay.win_condition = "Story_leavingOxbay";
Ch.quest.Story_LeavingOxbay.fail_condition = "Story_leavingOxbay";

/* string stmp;
stmp = GUN_COMMON; Ch.items.(stmp) = 1;
stmp = POTION; Ch.items.(stmp) = 2;
stmp = BLADE_SABER; Ch.items.(stmp) = 1;
stmp = CHEAP_SPYGLASS; Ch.items.(stmp) = 1;*/

// RM -->
ch.land = 0;
ch.wealth = START_WEALTH;9999999999
string sNat;
for(int nat; nat < MAX_NATIONS; nat++)
{
sNat = nat;
ch.nations.(sNat).Rank = 0;
ch.nations.(sNat).OldRank = 0;
}


Ive did some trail and errer editing but its hard..beings that thay have changed..So what ever it is your speaking of please point it out..becouse this game is abit to hard to play to my likeing with out the money cheat. Some of the numbers are changed becouse im currently trying things..but ive not found that thay work or crash me one of the two. I see Ch.wealth _ is this one that your talking about?? thats the only one ive seen anywhere comeing close to the same wording...keep in mind not everyone useing this game is up on computer lingo lol so if u use something other then what we can see we get conffused..Ive seen no file named BS.h file.. So i think you and i are talking about anouther version of the game..this is the most up to date... <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
 
You should forget about the file characters_init.c; open up the file PROGRAM\BuildSettings.h and change the value for START_MONEY in there. There are a lot of settings in that file that you can change to your liking. And you don't have to search through all files for these settings, because they're all in BuildSettings.h. <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Back
Top