If anyone want to set reputation to neutral with any nation add this code to /interface/ship.c in
"void confirmShipChangeName()" section.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->
if(GameInterface.edit_box.str == "rFrance")
{
pchar.reputation.france = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rEngland")
{
pchar.reputation.england = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(ENGLAND, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rSpain")
{
pchar.reputation.spain = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(SPAIN, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rHolland")
{
pchar.reputation.holland = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(HOLLAND, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rPirate")
{
pchar.reputation.pirate = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(PIRATE, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rSmuggler")
{
pchar.reputation.smuggler = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(SMUGGLER, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rTrader")
{
pchar.reputation.trader = REPUTATION_NEUTRAL;
isCheatCode = true;
}
<!--c2--></div><!--ec2-->
After that when you change shipname to "rengland" your reputation with england will be neutral.
U can also change name to "rfrance", "rspain", "rholland", "rpirate", "rsmuggler", and "rtrader".
"void confirmShipChangeName()" section.
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->
if(GameInterface.edit_box.str == "rFrance")
{
pchar.reputation.france = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(FRANCE, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rEngland")
{
pchar.reputation.england = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(ENGLAND, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rSpain")
{
pchar.reputation.spain = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(SPAIN, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rHolland")
{
pchar.reputation.holland = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(HOLLAND, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rPirate")
{
pchar.reputation.pirate = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(PIRATE, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rSmuggler")
{
pchar.reputation.smuggler = REPUTATION_NEUTRAL;
SetNationRelation2MainCharacter(SMUGGLER, RELATION_NEUTRAL);
isCheatCode = true;
}
if(GameInterface.edit_box.str == "rTrader")
{
pchar.reputation.trader = REPUTATION_NEUTRAL;
isCheatCode = true;
}
<!--c2--></div><!--ec2-->
After that when you change shipname to "rengland" your reputation with england will be neutral.
U can also change name to "rfrance", "rspain", "rholland", "rpirate", "rsmuggler", and "rtrader".