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

Some suggestions

What I mean is, how can I make lots of completely random items appear, but it many random item locators along, say, a beach.

I turned locators on and went to a location, but the item didn't seem to appear in a regular locator
 
Random items appear on random item locators. If you want lots of them to appear, try adding more locators. This can be done with Ines Dias' TOOL.
Of course they're SO random, that sometimes there will be no item on the locator. Also most items are invisible, though you can pick them up.
What exactly do you want to do with this? Litter the beach with debris or something like that? <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
So you want the same item to appear at random locations in the sea? Interesting.
Putting a certain item at a certain spot is not so hard. Neither is putting a random item at a spot that is sometimes empty.
But your idea would require some further thinking, for which I don't have time at the moment. <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
It's ok, not a very important idea at the mo, but is all I need to do, add more random item locators on the "tool"?
 
You can add them, it was also done in the dungeons in the stock games with swords. You have to put a line of certain code under the location where you want to have the items.
 
And you'd need some code to have them sometimes be there and sometimes not.
 
right, this character business is really annoying, I have made an exact copy of another character, then moved the location to "hold1", changed the locators, made him walk around, given him a unique id, changed the model and changed the name. Where have I gone wrong!!??!!??
 
What exactly is the problem...? <img src="style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":?" border="0" alt="unsure.gif" />
 
Sure:

//Stowaway1
ch.old.name = "Stowaway";
ch.old.lastname = "";
ch.name = XI_ConvertString("Crewmember");
ch.lastname = "";
ch.id = "abcdefg"; // KK
ch.model = "rabwhite";
ch.sound_type = "seaman";
ch.sex = "man";
ch.location = "hold1";
ch.location.group = "rid";
ch.location.locator = "prison4";
ch.Dialog.Filename = "Stowaway_dialog.c";
ch.greeting = "Gr_Seaman";
ch.nation = sti(chRef.nation);
ch.rank = 1;
ch.reputation = "None";
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 = "10";
LAi_SetCitizenType(ch);
LAi_group_MoveCharacter(ch, LAI_GROUP_PLAYER);
AddGameCharacter(n, ch);
 
It's just a small typo.<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ch.location.group = "rid";<!--c2--></div><!--ec2-->Should be:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ch.location.group = "rld";<!--c2--></div><!--ec2--><img src="style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />
 
No need to apologize; we all make mistakes. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" />
 
<!--quoteo(post=324808:date=Jun 4 2009, 01:50 AM:name=Pieter Boelen)--><div class='quotetop'>QUOTE (Pieter Boelen @ Jun 4 2009, 01:50 AM) <a href="index.php?act=findpost&pid=324808"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->No need to apologize; we all make mistakes. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid=":shrug" border="0" alt="dunno.gif" /><!--QuoteEnd--></div><!--QuoteEEnd-->
And most of the time it will be tiny things like that <img src="style_emoticons/<#EMO_DIR#>/mybad.gif" style="vertical-align:middle" emoid=":facepalm" border="0" alt="mybad.gif" />
 
Back
Top