I've made a simple modification which grants the starting player the Rat God artifact, thereby ensuring you never have to deal with rats on your ship again! No cheats, trainers, or debuggers necessary, just a simple mod.
Edit the file <i>RPGUtilite.c</i> which is found in <b>C:\Program Files\Playlogic\Age of Pirates 2\Program\characters</b>
search for <b>void initMainCharacterItem()</b> within the open file.
add the line <b>GiveItem2Character(Pchar,"indian11");</b> under each class.
The completed modification should appear as follows:
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space
re;overflow:auto'>void initMainCharacterItem()
{
ref ch = GetMainCharacter();
//trace("initMainCharacterItem " + ch.HeroParam.HeroType);
switch (ch.HeroParam.HeroType)
{
case "Master":
GiveItem2Character(Pchar, "topor3");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "topor3");
TakenItems(Pchar, "potion2", 1);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
case "Merchant":
GiveItem2Character(Pchar, "blade1");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "blade1");
GiveItem2Character(Pchar, "pistol2");
EquipCharacterbyItem(Pchar, "Pistol2");
TakenItems(Pchar, "potion1", 3);
TakeNItems(Pchar, "bullet", 5);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
pchar.money = 2000;
break;
case "Corsair":
GiveItem2Character(Pchar, "blade2");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "blade2");
GiveItem2Character(Pchar, "pistol1");
EquipCharacterbyItem(Pchar, "Pistol1");
TakenItems(Pchar, "potion1", 5);
TakeNItems(Pchar, "bullet", 10);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
case "Adventurer":
GiveItem2Character(Pchar, "Blade10");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "Blade10");
TakenItems(Pchar, "potion1", 2);
if(CheckCharacterItem(Pchar, "Spyglass2") == 0) GiveItem2Character(Pchar, "Spyglass2");
EquipCharacterbyItem(Pchar, "Spyglass2");
pchar.money = 500;
break;
case "Inquisitor":
GiveItem2Character(Pchar, "blade5");
EquipCharacterbyItem(Pchar, "blade5");
TakenItems(Pchar, "potion1", 3);
TakenItems(Pchar, "jewelry9", 1);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
case "SecretAgent":
GiveItem2Character(Pchar, "blade5");
EquipCharacterbyItem(Pchar, "blade5");
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
}
}</div>
***Back up any files before you edit them!***
Edit the file <i>RPGUtilite.c</i> which is found in <b>C:\Program Files\Playlogic\Age of Pirates 2\Program\characters</b>
search for <b>void initMainCharacterItem()</b> within the open file.
add the line <b>GiveItem2Character(Pchar,"indian11");</b> under each class.
The completed modification should appear as follows:
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space

{
ref ch = GetMainCharacter();
//trace("initMainCharacterItem " + ch.HeroParam.HeroType);
switch (ch.HeroParam.HeroType)
{
case "Master":
GiveItem2Character(Pchar, "topor3");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "topor3");
TakenItems(Pchar, "potion2", 1);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
case "Merchant":
GiveItem2Character(Pchar, "blade1");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "blade1");
GiveItem2Character(Pchar, "pistol2");
EquipCharacterbyItem(Pchar, "Pistol2");
TakenItems(Pchar, "potion1", 3);
TakeNItems(Pchar, "bullet", 5);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
pchar.money = 2000;
break;
case "Corsair":
GiveItem2Character(Pchar, "blade2");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "blade2");
GiveItem2Character(Pchar, "pistol1");
EquipCharacterbyItem(Pchar, "Pistol1");
TakenItems(Pchar, "potion1", 5);
TakeNItems(Pchar, "bullet", 10);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
case "Adventurer":
GiveItem2Character(Pchar, "Blade10");
GiveItem2Character(Pchar,"indian11");
EquipCharacterbyItem(Pchar, "Blade10");
TakenItems(Pchar, "potion1", 2);
if(CheckCharacterItem(Pchar, "Spyglass2") == 0) GiveItem2Character(Pchar, "Spyglass2");
EquipCharacterbyItem(Pchar, "Spyglass2");
pchar.money = 500;
break;
case "Inquisitor":
GiveItem2Character(Pchar, "blade5");
EquipCharacterbyItem(Pchar, "blade5");
TakenItems(Pchar, "potion1", 3);
TakenItems(Pchar, "jewelry9", 1);
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
case "SecretAgent":
GiveItem2Character(Pchar, "blade5");
EquipCharacterbyItem(Pchar, "blade5");
if(CheckCharacterItem(Pchar, "Spyglass1") == 0) GiveItem2Character(Pchar, "Spyglass1");
EquipCharacterbyItem(Pchar, "Spyglass1");
break;
}
}</div>
***Back up any files before you edit them!***