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

Modding tool's?

Dumbiic

Landlubber
As the title say's ..i'm looking for some modding tools and an little tutorial about how to use'em (i'll just ask the questions) cuz i just wanna try my modding skills and if something good get's out of this it'll be for the build mod(if ye'r interested)

Thanks,Malk <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
<!--quoteo(post=335338:date=Jul 6 2009, 08:50 AM:name=Malk)--><div class='quotetop'>QUOTE (Malk @ Jul 6 2009, 08:50 AM) <a href="index.php?act=findpost&pid=335338"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->As the title say's ..i'm looking for some modding tools and an little tutorial about how to use'em (i'll just ask the questions) cuz i just wanna try my modding skills and if something good get's out of this it'll be for the build mod(if ye'r interested)

Thanks,Malk <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
Look <a href="http://forum.piratesahoy.net//index.php?showtopic=11380" target="_blank">here</a> for the tutorials and tools

Read the tutorial and at the top it tells you what tools are required <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
Download those tools and install them and then follow the tutorial <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
 
Just wondering what type of modding you are interested in?

If it is quest writing I suggest you write up a plan of what you want to happen and then look at <i>similar</i> times when stuff happens like you want it to.

If you have any problems with this post a thread saying what your planning and a code writer (like me) will try and help you through it <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />

If you are interested in character modeling or location modeling I would suggest trying re-texturing before moving onto making new/slightly different models.

If you want our opinion on something don't be afraid of submiting your work <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
 
I think i will try to follow the quest tutorial.

Malk <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
Good to hear <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />

We need more people who are <i>able</i> to write quest to help with bug testing as well (so they can see what is wrong) it shouldn't be long before you are able to do this <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

Also writing sidequests add to peoples playing experience so that is also great <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />

NOTE: quest_reaction.c is now located in PROGRAM/Storyline/[storyline*]/quests/quest_reaction.c
NOTE2: Program\Characters\characters_init.c is not the place you add that code anymore either, now located in: PROGRAM/Storyline/[storyline*]/StartStoryline.c

*The desired storyline that you want to put your quest
The reason for the move is because we have multiple storylines now <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
Yea i noticed there are multiple storylines.
Well in the first place i would like to write some side quest's for the Jack Sparrow's storyline(since that's the storyline i like most)
In the future if i get these things handled well enough i'd like to make a new storyline where the main character to be the unknown jack sparrow's brother (if i'm allowed to use that Rogue jack model..that jack with blonde hair)
I already have the most of the story quests in my mind but it's a long way till i get there,i just wanna try my (poor) skills on some side quests(not too complicated)
 
<!--quoteo(post=335349:date=Jul 6 2009, 10:40 AM:name=Malk)--><div class='quotetop'>QUOTE (Malk @ Jul 6 2009, 10:40 AM) <a href="index.php?act=findpost&pid=335349"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yea i noticed there are multiple storylines.
Well in the first places i would like to write some side quest's for the Jack Sparrow's storyline(since that's the storyline i like most)<!--QuoteEnd--></div><!--QuoteEEnd-->
Ok then... well I am the main quest writer for Jack Sparrow <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> and just added 6 new sidequests.
Feel free to make more though <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> Just one thing, if you are going to make new sidequests try and make them explain something from Jack Sparrow's past.
My sidequests explain how he "owes all the pirate lord's money".
<!--quoteo(post=335349:date=Jul 6 2009, 10:40 AM:name=Malk)--><div class='quotetop'>QUOTE (Malk @ Jul 6 2009, 10:40 AM) <a href="index.php?act=findpost&pid=335349"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->In the future if i get these things handled well enough i'd like to make a new storyline where the main character to be the unknown jack sparrow's brother (if i'm allowed to use that Rogue jack model..that jack with blonde hair)<!--QuoteEnd--></div><!--QuoteEEnd-->
I am <i>not</i> using that model for anything and it is a unique model so feel free to <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
What I would suggest is try some "easy" sidequests that you don't want in the Build and then try a longer sidequest that features Jack's brother as the main person you team up with <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
This is my suggestion cause writing a new quest requires a lot of work, time and patients.
Also having two Sparrow related quests isn't really that good for players as they would be fairly similar (I would imagine)
<!--quoteo(post=335349:date=Jul 6 2009, 10:40 AM:name=Malk)--><div class='quotetop'>QUOTE (Malk @ Jul 6 2009, 10:40 AM) <a href="index.php?act=findpost&pid=335349"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I already have the most of the story quests in my mind but it's a long way till i get there,i just wanna try my (poor) skills on some side quests(not too complicated)<!--QuoteEnd--></div><!--QuoteEEnd-->
I suggest you write the ideas down. I had heaps of ideas for another sidequest (that I'm suppose to be doing now) but have forgetten them all <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />
 
Jack Sparrow's storyline sidequest regarding his brother :
1. At the begining of the story,after jack talk with his father,in the port his Brother (Malko Sparrow <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />) will try to convince Jack to help him with one problem in the jungle-to help him find the smuggler's leader(those who speak with you in town and steal ur money) on that island and take back his money.
So before you leave the island you'll have to help your brother.
There should be a little camp in the jungle(2 houses and a few smugglers around).You will talk with the gate guard and tell'him you want to speak with his leader.
He will ask you his leader's name ..and jack will answer something like..euhmmm and then you will need to kill the gate guard <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />(the other smugglers will not atack you..supposed they dont see you)\
Now you will just enter the small camp and in one of the houses you'll find the leader.
You will ask'im to give you the money or die :p
He'll call the other smugglers to atack you(ported out of the house) and slaugheer .
Then go inside again and take your money back(by force or with some nice words -- the nice words will reward you some more money <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
Your brother will thank you and ask if he can be an free offiter <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> (but he will just stick with you..just like will turned he will always come to you on land & stuff)
Now you will now meet any smugglers in that city anymore and if you ever sail back to that island 1 guy in the port will thank you and give you two bandages <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />

After this he will always have some advices for jack sparrow when taking quests or in the middle of'em (just like the thing mister gibbs does before leaving tortuga "captn,its bad luck to take womans aboard"
And depending on your level(i readed on that quest tutorial) he will have a few more landish quests <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />

Like at lvl 12 :
Jack,some of your crew was talking about a guy in port royale who would even reward 20 000 gold's if you get rid of the pirate ship that always hunt's his traveling route ..he's an merchant and he cant do his busnisess cuz of those pirates ..maybe we should help him out) but in the same time to have the option of joining the pirates(the pirate captnwill be staying in the tavern) and help them to sink down the ships and then share the money (30 000 each) ..but in this quest honest pirates please <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />

And then at lvl 19 an quest about that island (where is the devils bay or how 'tis called.
That his father told him about some spirits on that island ..who knows what riches they may hide?(girls spirits ,virgins ..it is said that they dieid on a slaves ship...the slaves ship jack was about to take for beckett ,and thats theonly place where they found peace ..but jack as always cames to f**k up everything <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> and if you do the quests right it'll reward 2 skills points)

after beckett tryies to capture you(for the slaves) and he gets your crew..in the city from thta shipwreck or whatever it was you will find ur brother <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />(cant get rid of him..can we?) who tells you that "we" should go and free the crew! (they were moved in that city with a prison from Oxbay <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />) and when you try to enter the prison ..guess who's here? beckett telling the prison master about how you look and to arest you in sight if you enter the prison . Obviously a fight will start ..a fight when you atack beckett ,take out half of his HP and then he starts an dialog with you telling that he is bad injured and that ur an son of a bitch who's gonna pay for the lifetime sign you left on him(explains the dialog in the second movie between turner and beckett"we both left our sign on eachother" --dead mans chest--)
after this you free ur crew,and one of the members will tell you he heard the guardians talking about an ship atack (i dunno at what port) ..new quest entry for jack and the crew quest completed

"i should let the -island's name- governor know about their plan"

The governor will reward you (1000 golds..what an ass) and ask you if you want to help him further?
he decides to atack the enemy port :p (what an idiot..anyone could tell him that certain port wants to atack his city and he'll just atack it..lolz)
and he asks you to be the captain of one of his ships(not an too good one..a middle quality one:p) and if they win the ship will be yours..the repairing money will come out from your purse tho
and if they win the city will become an spanish/french ..between whoever starts the war <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
and i wil try to make some small go and talk quest <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
sorry for the bad spelling,its 5 am here!


Malk <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
i waked up..
if i think some moar i i think that the questline i writed down here its kind of complicated to achieve QQ
 
It gets more complicated as it progresses, which is good. The first part certainly sounds very doable. <img src="style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
You can start out with adding a new character in Cayman port and writing a simple dialog for him.
Then you can continue with the quest cases.
 
Hmm,guys now i need some help with creating a new character <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />


Thanks,malk <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" />
 
<!--quoteo(post=335874:date=Jul 8 2009, 07:37 AM:name=Malk)--><div class='quotetop'>QUOTE (Malk @ Jul 8 2009, 07:37 AM) <a href="index.php?act=findpost&pid=335874"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Hmm,guys now i need some help with creating a new character <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />


Thanks,malk <img src="style_emoticons/<#EMO_DIR#>/buds.gif" style="vertical-align:middle" emoid=":drunk" border="0" alt="buds.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
Ok to make a new character go to: PROGRAM/Storyline/[Storyline]/Characters/init/TempQuest.c*

Just copy another character and MAKE sure he has a unique ID (ie. if you copy Ragetti change the ID from Ragetti to something like Malk <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />)

Change the name and stats to make him like you want him to (NOTE: New game required for character model to be set)
To put him in game add a line like
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ChangeCharacterAddressGroup(characterFromID("Malk"), "[location]", "[locator type]", "[locator]");<!--c2--></div><!--ec2-->

*The character can go into any of the files in that folder (try and pick the most applicable) <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
The ChangeCharacterAddressGroup is what you need to move a character somewhere while in the game.
You can just set the following in the character init file if you want the character to be there from start new game:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    ch.location    = "Oranjestad_townhall";
    ch.location.group = "goto";
    ch.location.locator = "goto1";<!--c2--></div><!--ec2-->
If you don't know which locators you can use, set VISIBLE_LOCATORS to 1 at the bottom of PROGRAM\InternalSettings.h.
Then when you load up your game, you'll have spheres indicating all locators you can use.
 
i have added the following script in PROGRAM/Storyline/LegendJackSparrow/Characters/init/TempQuest.c

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    ch.old.name = "Malk";
    ch.old.lastname = "Sparrow";
    ch.name = TranslateString("","Jack");
    ch.lastname = TranslateString("","Sparrow");
    ch.id        = "Jack Sparrow";
    ch.model = "9ja";
    ch.sex = "man";
    ch.location    = "Cayman_port";
    ch.location.group = "goto";
    ch.location.locator = "goto3";
    ch.Dialog.Filename = "Matthew Shaw_dialog.c";
    ch.nation = ENGLAND;
    ch.rank     = 1;
    ch.reputation = "60";
    ch.experience = "0";
    ch.skill.Leadership = "6";
    ch.skill.Fencing = "6";
    ch.skill.Sailing = "7";
    ch.skill.Accuracy = "7";
    ch.skill.Cannons = "2";
    ch.skill.Grappling = "1";
    ch.skill.Repair = "1";
    ch.skill.Defence = "1";
    ch.skill.Commerce = "5";
    ch.skill.Sneak = "1";
    ch.money = "10";
    ch.quest.meeting = "0";
//    LAi_RemoveLoginTime(ch);
    LAi_SetActorType(ch);
    LAi_group_MoveCharacter(ch, "ENGLAND_CITIZENS");
//    ch.greeting = "Gr_Matthew Shaw";
    AddGameCharacter(n, ch);<!--c2--></div><!--ec2-->
But the character just doesnt appear in game where he should be.
Did i done anything wrong ?sorry if im gonna be a bit annoying with the so-many question but 'till i learn my way in this i'll just ask stupid questions:p

Thanks,Malk
 
Try:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    ch.old.name = "Malk";
    ch.old.lastname = "Sparrow";
    ch.name = TranslateString("","Malk");
    ch.lastname = TranslateString("","Sparrow");
    ch.id        = "Malk Sparrow";
    ch.model = "9ja";
    ch.sex = "man";
    ch.location    = "Cayman_port";
    ch.location.group = "goto";
    ch.location.locator = "goto3";
    ch.Dialog.Filename = "Matthew Shaw_dialog.c";
    ch.nation = ENGLAND;
    ch.rank     = 1;
    ch.reputation = "60";
    ch.experience = "0";
    ch.skill.Leadership = "6";
    ch.skill.Fencing = "6";
    ch.skill.Sailing = "7";
    ch.skill.Accuracy = "7";
    ch.skill.Cannons = "2";
    ch.skill.Grappling = "1";
    ch.skill.Repair = "1";
    ch.skill.Defence = "1";
    ch.skill.Commerce = "5";
    ch.skill.Sneak = "1";
    ch.money = "10";
    ch.quest.meeting = "0";
//    LAi_RemoveLoginTime(ch);
    LAi_SetActorType(ch);
    LAi_group_MoveCharacter(ch, "ENGLAND_CITIZENS");
//    ch.greeting = "Gr_Matthew Shaw";
    AddGameCharacter(n, ch);<!--c2--></div><!--ec2-->
And make sure you start a new game <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
dude,i know i need to start a new game but even with your script(yes thanks for correcting my "jack sparrow"names where i should've typed "malk sparrow " <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />)
should i put any other script in other file so the character will spawn there?
 
In case "Sparrow_load": in PROGRAM/Storyline/LegendJackSparrow/quests/quest_reaction.c try adding the line <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ChangeCharacterAddressGroup(characterfromID("Malk Sparrow"), "Cayman_Port", "goto", "goto3");<!--c2--></div><!--ec2-->
 
If you already set the <i>ch.location</i> lines, you shouldn't need to <i>ChangeCharacterAddressGroup</i>. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
Didnt worked and i tryied it like this :
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->    ch.experience = "0";
    ch.skill.Leadership = "1";
    ch.skill.Fencing = "1";
    ch.skill.Sailing = "1";
    ch.skill.Accuracy = "1";
    ch.skill.Cannons = "1";
    ch.skill.Grappling = "1";
    ch.skill.Repair = "1";
    ch.skill.Defence = "1";
    ch.skill.Commerce = "1";
    ch.skill.Sneak = "1";
    ch.money = "0";
    LAi_SetCivilianGuardianType(ch); // PB
    LAi_SetLoginTime(ch, 0.0, 24.0);
    LAi_SetHP(ch, 80.0, 80.0);
    ch.questchar = true;//MAXIMUS: identifier for captives
    AddGameCharacter(n, ch);
// Chevalleolomeu quest <--
}

    ch.old.name = "Malk";
    ch.old.lastname = "Sparrow";
    ch.name = TranslateString("","Malk");
    ch.lastname = TranslateString("","Sparrow");
    ch.id        = "Malk Sparrow";
    ch.model = "9ja";
    ch.sex = "man";
    ch.location    = "Cayman_port";
    ch.location.group = "officers";
    ch.location.locator = "sea_1";
    ch.Dialog.Filename = "Matthew Shaw_dialog.c";
    ch.nation = ENGLAND;
    ch.rank     = 1;
    ch.reputation = "60";
    ch.experience = "0";
    ch.skill.Leadership = "6";
    ch.skill.Fencing = "6";
    ch.skill.Sailing = "7";
    ch.skill.Accuracy = "7";
    ch.skill.Cannons = "2";
    ch.skill.Grappling = "1";
    ch.skill.Repair = "1";
    ch.skill.Defence = "1";
    ch.skill.Commerce = "5";
    ch.skill.Sneak = "1";
    ch.money = "10";
    ch.quest.meeting = "0";
//    LAi_RemoveLoginTime(ch);
    LAi_SetActorType(ch);
    LAi_group_MoveCharacter(ch, "ENGLAND_CITIZENS");
//    ch.greeting = "Gr_Matthew Shaw";
    AddGameCharacter(n, ch);<!--c2--></div><!--ec2--> Quests_reaction.c<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->            bSuppressResurrection = false;
            AddQuestRecord("IslaDeMuerteI", "3");
            CloseQuestHeader("IslaDeMuerteI");
            ChangeCharacterAddress(characterFromID("Barbossa"), "none", "");
            ChangeCharacterAddress(characterFromID("Elizabeth Swann"), "none", "");
            SetOfficersIndex(Pchar, 3, GetCharacterIndex("Mr. Gibbs"));
            LAi_SetOfficerType(CharacterFromID("Mr. Gibbs"));
        break;
// Bartolomeu o Portugues COTBP Finishes Here
    }
}
ChangeCharacterAddressGroup(characterfromID("Malk Sparrow"), "Cayman_Port", "officers", "sea_1");<!--c2--></div><!--ec2--> <u>im going to paste you here some scripts that are before mine so you can tell me if i done something wrong about the possition <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /></u>
 
Back
Top