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

Starting Characters

Estharos

Landlubber
Storm Modder
In the RPGUtilite.c you can set the starting hero like this:

Code:
	//Tutorial - ÍÀ×ÀËÎ ÈÃÐÛ
if (startHeroType == 1) //21/07/07 homo äëÿ Áëàäà äàåì äðóãîå íà÷àëî
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Estate";
pchar.quest.Tut_start.function                  = "Blood_StartGame";
}
else
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Ship_deck_Low";
pchar.quest.Tut_start.function                  = "Tut_StartGame";
Pchar.questTemp.CapBloodLine = false;
}

The

Code:
if (startHeroType == 1)

the #1 indicate Peter Blood since he is the 1st charater on the list, how should I set the code so the 27th character on the list start the same storyline as Peter Blood. Let say I want Peter and Estharos to start the same storyline, Peter is the #1 and Estharos #27. How I should right the code so both character start the same storyline? The way the code is set above only Peter start the the storyline but I want Estharos to start it to.

Cheers, :cheers
 
Well, in the game you can only play as one character so why can't you just change the #1 to 27 and start a new game? In doing so, you are in no way affecting the Blood character as an NPC so it's not like he will just disappear from the game or something.

The only thing you will encounter is that in the dialogs, some NPC's will refer to you as Dr. Blood or Peter Blood but once you get out of the colony the game will resume as normal and everyone should address you by your characters name.
 
Ok! but found how to do it anyway. Always like that everytime I post a question I found the answer right away. :shrug The reason I want to do it that way is to start # 27 elsewhere then the ship at the start or Peter Blood storyline. Just trying to see if I can make another storyline.

The answer is this;

Code:
//Tutorial - ÍÀ×ÀËÎ ÈÃÐÛ
if (startHeroType == 1) //21/07/07 homo äëÿ Áëàäà äàåì äðóãîå íà÷àëî
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Estate";
pchar.quest.Tut_start.function                  = "Blood_StartGame";
}
else
{
if (startHeroType == 27) //21/07/07 homo äëÿ Áëàäà äàåì äðóãîå íà÷àëî
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Nevis_tavern";
pchar.quest.Tut_start.function                  = "Estharos_StartGame";
}
else
{  	
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Ship_deck_Low";
pchar.quest.Tut_start.function                  = "Tut_StartGame";
pchar.questTemp.CapBloodLine = false;
}
}

Cheers, :cheers
 
Code:
//Tutorial - ÍÀ×ÀËÎ ÈÃÐÛ
if (startHeroType == 1 || startHeroType == 27) //21/07/07 homo äëÿ Áëàäà äàåì äðóãîå íà÷àëî
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Estate";
pchar.quest.Tut_start.function                  = "Blood_StartGame";
}
else
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Ship_deck_Low";
pchar.quest.Tut_start.function                  = "Tut_StartGame";
pchar.questTemp.CapBloodLine = false;
}
That is a lot cleaner to do it like that ;)
 
Code:
//Tutorial - ÍÀ×ÀËÎ ÈÃÐÛ
if (startHeroType == 1 || startHeroType == 27) //21/07/07 homo äëÿ Áëàäà äàåì äðóãîå íà÷àëî
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Estate";
pchar.quest.Tut_start.function                  = "Blood_StartGame";
}
else
{
pchar.quest.Tut_start.win_condition.l1          = "location";
pchar.quest.Tut_start.win_condition.l1.location = "Ship_deck_Low";
pchar.quest.Tut_start.function                  = "Tut_StartGame";
pchar.questTemp.CapBloodLine = false;
}
That is a lot cleaner to do it like that ;)

Ok! :onya

Cheers, :cheers
 
Hang on! That's good but if I want #27 to start else where, should I stick with the one I made(I edit my post with the code for better understanding of what I want to do), in other word I want #1 to start the Peter Blood storyline as it should be then the #27 to start elsewhere, then the boat, or the Estate, then the rest they start on the boat. So how should I do this?

Cheers, :cheers
 
If you want it to start else where what you did is indeed the way to do it :yes

The "||" in the bit of code I posted means "or" just like "&&" means "and"
 
Back
Top