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

Console.c

T

the pirate

Guest
I want to get some items at the start of the game. I was told to do it in console.c:

Sea_ReloadStart();
LAi_SetCurHPMax(&captiveCharacter);
trace("sea active");
captiveCharacter.ship.type = "Tartane1";
Ship_CreateForCharacter(&captiveCharacter, 0, "Lifeboat") // ccc apr03
dumpattributes(captiveCharacter);
trace("ship created");
string sGName = "releasedprisoner";
ref rGroup = Group_GetGroupByIndex(Group_CreateGroup(sGName));
trace("group created");
float x,z,ay;
ref pch = GetMainCharacter()

Under this? I wrote GiveItem2Character(pchar,"blade25");

It isn't working. PLEASE HELP
 
<img src="style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" /> the pirate

No. Anything between "/* and */" in code is ignored.

That block of code is disabled.


Just go to the bottom of the file and just above this code<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->LogIt("Executed Console");

}<!--c2--></div><!--ec2-->

add your line or use the line:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->TakeNItems(&pchar, "blade25", 1);<!--c2--></div><!--ec2-->
which also works and will give you one average Cardinal's Guard.

Making it:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->TakeNItems(&pchar, "blade25+3", 4);<!--c2--></div><!--ec2-->
will give you four excellent Cardinal's Guards.

Of course that would make the game too easy and we pirates won't do that right? <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
To Petros, you listen. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
Thank you very much. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />

Of course, I just wanted to see how the four uber swords look <img src="style_emoticons/<#EMO_DIR#>/icon_wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="icon_wink.gif" />
 
Just checked them all. It's kinda stupid that all of the uber swords have the same (a bit modified) skins as the crappy low quality swords of their type. I think solingen rapier is the best (attributes AND looks) but It's stupid that it has the same skin as silver leaf. The skin is by far the best in the game but I think silver leaf should be erased from the game.

And one more thing. Can pistols be repaired?? I find average, good and worn pistols and sometimes with no adjective at all. I was just interested can they be repaired and can their quality go down if they are constantly worn (like swords). thx <img src="style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
 
i don't see any reason at all to remove the silver leaf. the bosun's choice actually IS different, if you look more closely.

you can repair pistols at conceciao, the portugese colony in the south-west.
 
How do you think most of the new blades were made? By modifying the existing ones, of course. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
correct me if I'm wrong, but there are two hemispheres on the Earth - the northern and the southern right?
 
Well then, tell me why is it written (in the solingen rapier's description) that "... one of these blades were brought to this hemisphere" when both Solingen, Germany and the Caribbean are on the same hemisphere (the northern) LOL.
 
Ask the person who added that blade. Only I don't know who that might be. <img src="style_emoticons/<#EMO_DIR#>/whistling.gif" style="vertical-align:middle" emoid=":wp" border="0" alt="whistling.gif" />
 
that's a hell of a point. <img src="style_emoticons/<#EMO_DIR#>/8q.gif" style="vertical-align:middle" emoid=":8q" border="0" alt="8q.gif" />
 
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->
Just checked them all. It's kinda stupid that all of the uber swords have the same (a bit modified) skins as the crappy low quality swords of their type. <!--QuoteEnd--></div><!--QuoteEEnd-->

There are almost no modelers in this community and even fewer who can convert 3-D models to *.gm models the game uses.

Therefore it would have been stupid for the community to ignore the possibility of adding new swords, or ships for that matter, just because no new models exist, since re-skinning is a viable alternative.

It would also be stupid, for someone use such a label to criticize the community for something he is not able or willing to do himself.
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->
I think solingen rapier is the best (attributes AND looks) but It's stupid that it has the same skin as silver leaf. The skin is by far the best in the game but I think silver leaf should be erased from the game.<!--QuoteEnd--></div><!--QuoteEEnd-->

Learn your terms. It has the same 3-D gm model. It has a different skin.

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->correct me if I'm wrong, but there are two hemispheres on the Earth - the northern and the southern right?<!--QuoteEnd--></div><!--QuoteEEnd-->

There are also the Eastern and Western Hemispheres.
Consider yourself corrected. <img src="style_emoticons/<#EMO_DIR#>/whippa.gif" style="vertical-align:middle" emoid=":whipa" border="0" alt="whippa.gif" />
 
and consider my previous point non-existant. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
<!--quoteo(post=179957:date=Jan 22 2007, 09:11 PM:name=Petros)--><div class='quotetop'>QUOTE(Petros @ Jan 22 2007, 09:11 PM) [snapback]179957[/snapback]</div><div class='quotemain'><!--quotec-->
There are also the Eastern and Western Hemispheres.
<!--QuoteEnd--></div><!--QuoteEEnd-->
Are these considered "Hemispheres" as well? I didn't know that. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
OK, first of all, I wasn't CRITICIZING anyone. Please, READ MY POST CAREFULLY and you will see that I said it was kinda stupid (for me personally) and I didn't use any hard words nor did I mention or insulted anyone. So PLEASE PETROS READ BEFORE YOU POST.
It's a just a fact that the new swords are very similar to other swords in the game and that IS stupid at some point, though I didn't say that they don't look nice. Now, I also haven't said that I can make it better, it was just a sort of a friendly notification. And maybe someone who does know something about modding can later on, in the new updates, improve it. I think that's why this forum is mostly about - improving the build, isn't it??

Now for the hemispheres <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
Eastern Hemisphere is a term that can be used in a geopolitical sense as a synonym for 'Old World', intended to avoid the perceived Eurocentrism of that phrase. In this sense it usually means Europe, Asia, Africa, and Oceania, in parallel to Western Hemisphere as a designation for the Americas.

Western Hemisphere (capitalised) is a geopolitical term for the Americas and associated islands and waters (or the New World). It is derived from the geographical term of western hemisphere, which is the half of the Earth that lies west of the Prime Meridian. Usage has shifted in modernity so that the term generally refers collectively to the Americas and their inhabitants, including associated islands like the West Indies and Greenland, while excluding other territories that lie geographically in the hemisphere like parts of Africa, Europe, Antarctica, and Asia.

I guess I was wrong here <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />

Well, thank you petros <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />
 
<!--quoteo(post=180059:date=Jan 23 2007, 02:36 PM:name=the pirate)--><div class='quotetop'>QUOTE(the pirate @ Jan 23 2007, 02:36 PM) [snapback]180059[/snapback]</div><div class='quotemain'><!--quotec-->
OK, first of all, I wasn't CRITICIZING anyone. Please, READ MY POST CAREFULLY and you will see that I said it was kinda stupid (for me personally) and I didn't use any hard words nor did I mention or insulted anyone. So PLEASE PETROS READ BEFORE YOU POST.
<!--QuoteEnd--></div><!--QuoteEEnd-->We are all very much aware that our modding work is far from being perfect. We try what we can to make the game better and more enjoyable, but some things we cannot do. Unfortunately those things we can't do tend to be the things that are "critisized". For example: People complain that you can sidestep through buildings. This is a valid complaint: You CAN sidestep through buildings and it really isn't realistic. But the original game didn't have sidestep at all. And we can't prevent the sidestep from passing through buildings because of limitations in the game engine. Another example: The BuildingSet mod has some really weird effects, such as being able to walk through the buildings. That is yet another thing we can't do anything about.

In the case of the blades: The modders who made the new blades have all left the PotC modding scene. Except for Petros who did some major improvement on the Solingen Rapier. The original Solingen Rapier was an exact copy of the normal Rapier with the difference that it was much stronger. Petros had the exact same idea as you about it: It's a bit dull to simply copy an existing blade and rename it. So Petros did some great work on reskinning the Solingen Rapier with the result that it is now obviously not a Rapier, nor is it the same as any of the other blades. He based his work on an existing blade, but he made enough adjustments to it to make the Solingen Rapier a worthy seperate blade. Perhaps this will help you understand why he wouldn't be very happy with your comments. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />

Sorry for this lecture. I hadn't really intended to write such a novel, but I thought it might be a good idea to explain. In general: As long as we all respect each other, each other's work and each other's opinions, there should be no problem, right? Feel free to disagree with me or anyone else, as long as you respectfully disagree. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
You said it all m8 <img src="style_emoticons/<#EMO_DIR#>/me.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="me.gif" />

P.S. My apologie to Petros if he feels insulted. <img src="style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />

By the way, Pieter, where did you learn English? You speak (I mean write lol) it perfectly and flawlessly.
 
TV and computer games are your friend. <img src="style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" /> believe me, i've learned a lot more from them than from school.
 
Back
Top