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

Re-implementing Master, Secret Agent and Inquisitor Classes...

Fantasia

Landlubber
Storm Modder
Here is how to add Master, Secret Agent and Inquisitor back into the game...
Always make backups of mentioned files!

==================================================
Step 1 - Adding the classes back into the Character Setup Screen.
==================================================

1) Open YourAOP2Directory/Program/INTERFACE/selectCharacter.c
2) Jump to line 681, you will see a switch statement that looks like this.

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> switch (type)
    {
        case "Merchant":
            if (direction > 0)
            {
                type = "Corsair";
            }
            else
            {
                type = "SecretAgent";
            }
        break;

        case "Corsair":
            if (direction > 0)
            {
                type = "Adventurer";
            }
            else
            {
                type = "Merchant";
            }
        break;

        case "Adventurer":
            if (direction > 0)
            {
                type = "Master";
            }
            else
            {
                type = "Corsair";
            }
        break;
}<!--c2--></div><!--ec2-->

Replace it with:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->switch (type)
    {
        case "Merchant":
            if (direction > 0)
            {
                type = "Corsair";
            }
            else
            {
                type = "SecretAgent";
            }
        break;

        case "Corsair":
            if (direction > 0)
            {
                type = "Adventurer";
            }
            else
            {
                type = "Merchant";
            }
        break;

        case "Adventurer":
            if (direction > 0)
            {
                type = "Master";
            }
            else
            {
                type = "Corsair";
            }
        break;
        
        case "Master":
            if (direction > 0)
            {
                type = "Inquisitor";
            }
            else
            {
                type = "Adventurer";
            }
        break;
        
        case "Inquisitor":
            if (direction > 0)
            {
                type = "SecretAgent";
            }
            else
            {
                type = "Master";
            }
        break;
        
        case "SecretAgent":
            if (direction > 0)
            {
                type = "Merchant";
            }
            else
            {
                type = "Inquisitor";
            }
        break;
    }<!--c2--></div><!--ec2-->

3) Save and close this file..

=============================================
Adding the description to the class for the class select screen.
=============================================

1) Open YourAOP2Directory/RESOURCE/INI/texts/russian/HeroDescribe.txt
2) Find:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Merchant { Finding the right goods to sell is ... blah }
Corsair { A corsair is able to drink all that ... blah }
Adventurer { Adventurers aren't born; they ... blah }<!--c2--></div><!--ec2-->

And add the following below it;

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->SecretAgent { Your description here. }
Master { Your description here. }
Inquisitor { Your description here. }<!--c2--></div><!--ec2-->

==============================================
What i shall do next...
==============================================

I'm going to continue to play around with this and see if it is possible to add completely new classes. Complete with their own Specs, items, starting locations and so on....

==============================================
Extra...
==============================================

Remember, you can change the classes PIRATES stats, starting money and items in RPGUtilize.c at around line;

2102 - For SPECIAL/PIRATE stats...
2192 - For Items and money..

<img src="http://i111.photobucket.com/albums/n139/Fantasia_011/ClassSelect.png" border="0" class="linked-image" />
 
Back
Top