Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Mods » Scripts » Scripted Shopkeeper
Scripted Shopkeeper [message #24168] Wed, 15 August 2007 23:55 Go to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Along the lines of my experience pedestool, and Customizable NPC. Here is a stand alone shopkeeper where you can define his stock through scripts.

Random Empty traders fixed by Sean_s.

http://fable.pe-ell.net/gallery/albums/album02/8_16_2007_1_47_12_AM.jpg

Relevant tng code:
DefinitionType "CREATURE_TRADER_STOCKED_SCRIPTED"; or "SCRIPTED_SHOP"

ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;

StartCTCShop;
StockItemDefsKeys[0] "OBJECT_KESHIRE_SICKLE";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;	
EndCTCShop;


by leaving the Persistent to FALSE, the shopkeeper will not be stored within the save game. Meaning you can continually edit his stock even after saving. (This probably works with chests too. Not sure.)

Also, obviously the [#] works the same as all ctc's that use that syntax.
StockItemDefsKeys[0] "OBJECT_KESHIRE_SICKLE";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;	
StockItemDefsKeys[1] "OBJECT_";
StockItemDefsQuantity[1] 1.0;
StockItemDefsMaxStock[1] 1.0;	
StockItemDefsKeys[2] "OBJECT_";
StockItemDefsQuantity[2] 1.0;
StockItemDefsMaxStock[2] 1.0;	
StockItemDefsKeys[3] "OBJECT_";
StockItemDefsQuantity[3] 1.0;
StockItemDefsMaxStock[3] 1.0;	



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.

[Updated on: Thu, 16 August 2007 01:02]

Report message to a moderator

Re: Scripted Shopkeeper [message #24170 is a reply to message #24168] Wed, 15 August 2007 23:59 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
Nice Blue, downloading now Wink

http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Scripted Shopkeeper [message #24178 is a reply to message #24168] Thu, 16 August 2007 00:31 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
Hey Blue, do you mind if I make a version of this that adds a unique trader and shop (yours, only made into new entry's) so that you don't sometimes run into a trader with nothing in his shop?

New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan

[Updated on: Thu, 16 August 2007 00:32]

Report message to a moderator

Re: Scripted Shopkeeper [message #24179 is a reply to message #24178] Thu, 16 August 2007 00:38 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Sean_s wrote on Thu, 16 August 2007 02:31

Hey Blue, do you mind if I make a version of this that adds a unique trader and shop (yours, only made into new entry's) so that you don't sometimes run into a trader with nothing in his shop?


Good point. Ya. Go ahead.

There's also the Customizable NPC I just updated that'll prevent that as well.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Scripted Shopkeeper [message #24180 is a reply to message #24168] Thu, 16 August 2007 00:39 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
Here it is.

Creature name

CREATURE_TRADER_STOCKED_SCRIPTED

Shops name

SCRIPTED_SHOP

Fmp moved to first post - BlueTooth


New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan

[Updated on: Thu, 16 August 2007 01:02] by Moderator

Report message to a moderator

Re: Scripted Shopkeeper [message #24230 is a reply to message #24168] Thu, 16 August 2007 16:17 Go to previous messageGo to next message
Big Rob is currently offline  Big Rob
Messages: 39
Registered: July 2007
Location: NJ
would it be possible to make one trader sell everything hair cuts, tattoos, weapons, armor, & items? whats the whole script so i can add other items and put in other areas.

EDIT: add words. Very Happy


[Updated on: Thu, 16 August 2007 16:18]

Report message to a moderator

Re: Scripted Shopkeeper [message #24231 is a reply to message #24230] Thu, 16 August 2007 16:22 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Big Rob wrote on Thu, 16 August 2007 18:17

would it be possible to make one trader sell everything hair cuts, tattoos, weapons, armor, & items? whats the whole script so i can add other items and put in other areas.

EDIT: add words. Very Happy


StockItemDefsKeys[#] "object name";
StockItemDefsQuantity[#] number in stock;
StockItemDefsMaxStock[#] number maximum;

for every item. Place the creature like you would any creature.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Scripted Shopkeeper [message #25537 is a reply to message #24168] Thu, 30 August 2007 08:57 Go to previous messageGo to next message
Kain is currently offline  Kain
Messages: 142
Registered: January 2007

where is the shopkeeper?

and does he sells the keshire sickle?




one suggestion:
create a shopkeeper at oakvale who sells all your finished keshire weapons. would be nice Very Happy
but you have to update him everytime once a weapn is finished?


my life is hard:

Im German.
Re: Scripted Shopkeeper [message #25567 is a reply to message #24168] Thu, 30 August 2007 14:57 Go to previous messageGo to next message
PieMAn is currently offline  PieMAn
Messages: 40
Registered: July 2007
I agree with Kain Smile

There's fightin' on the left
And marching on the right
Don't look up in the sky
You're gonna die of fright
Here comes the razor's edge
Re: Scripted Shopkeeper [message #25570 is a reply to message #24168] Thu, 30 August 2007 15:05 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
You need to create a creature spawn for the trader, and add the sickle to the shop.

New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan
Re: Scripted Shopkeeper [message #25622 is a reply to message #25537] Fri, 31 August 2007 09:03 Go to previous messageGo to next message
Kain is currently offline  Kain
Messages: 142
Registered: January 2007

in this case...:

Kain wrote on Thu, 30 August 2007 08:57

where is the shopkeeper?
one suggestion:
create a shopkeeper at oakvale who sells all your finished keshire weapons. would be nice Very Happy
but you have to update him everytime once a weapon is finished


and to do the same with the GWP


my life is hard:

Im German.
Re: Scripted Shopkeeper [message #25623 is a reply to message #24168] Fri, 31 August 2007 10:13 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
If you can spawn chests you can do this, and if you can't it's a good way to get into tng editing.

http://img259.imageshack.us/img259/1398/satansigv5gu3.gif

There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.

[Updated on: Fri, 31 August 2007 10:13]

Report message to a moderator

Re: Scripted Shopkeeper [message #25646 is a reply to message #25623] Sat, 01 September 2007 07:11 Go to previous messageGo to next message
Kain is currently offline  Kain
Messages: 142
Registered: January 2007

Satan wrote on Fri, 31 August 2007 10:13

If you can spawn chests you can do this, and if you can't it's a good way to get into tng editing.



would be nice if somebody could add me to msn and answer me some questions about spawning a shopkeeper, to spawn a chest is nothing against this Very Happy


and by the way, when i load the fmp, what will it effect?


my life is hard:

Im German.
Re: Scripted Shopkeeper [message #25650 is a reply to message #24168] Sat, 01 September 2007 09:21 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
It adds the shop keeper so you can spawn him to buy things from him Very Happy. In order to have a scripted shopkeeper who can script anything you need to have the CShopDef that comes with this shop keeper.

New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan
Re: Scripted Shopkeeper [message #25652 is a reply to message #24168] Sat, 01 September 2007 10:08 Go to previous messageGo to next message
groo is currently offline  groo
Messages: 448
Registered: May 2006
oh god, now im gonna have to have a secret shopkeeper in the Bowerstone Graveyard in Darkened Souls Very Happy

http://i18.photobucket.com/albums/b120/Doddle576/Flag.jpg
---current projects---
Fable:Darkened Souls
Re: Scripted Shopkeeper [message #25703 is a reply to message #24168] Sun, 02 September 2007 13:27 Go to previous messageGo to next message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

BLACK MARKET! Laughing

"All of the work, and none of the play, will surely provide for a speedy decay"
Re: Scripted Shopkeeper [message #25704 is a reply to message #25703] Sun, 02 September 2007 13:32 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
"You want gills?"
"Sure."
"Okay, you get gills, you no longer need lungs, right?"
"Umm...yea, I guess"
"Good. You lay down on table"

Laughing


http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Scripted Shopkeeper [message #25705 is a reply to message #24168] Sun, 02 September 2007 13:33 Go to previous messageGo to next message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

Laughing

edit: futurama right?


"All of the work, and none of the play, will surely provide for a speedy decay"

[Updated on: Sun, 02 September 2007 13:33]

Report message to a moderator

Re: Scripted Shopkeeper [message #27420 is a reply to message #24168] Mon, 17 September 2007 03:06 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
Hey Blue, mind if I fix an other bug? I know you used a clone of the CShopDef of the donation place in Snowspire, and you forgot to make it so that when you sell something you don't give it to them for free Razz. I know how to fix it and if you don't mind I will...in the morning, it's like 6 am here. *yawns*

New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan

[Updated on: Mon, 17 September 2007 03:07]

Report message to a moderator

Re: Scripted Shopkeeper [message #27421 is a reply to message #27420] Mon, 17 September 2007 03:13 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Sean_s wrote on Mon, 17 September 2007 05:06

Hey Blue, mind if I fix an other bug? I know you used a clone of the CShopDef of the donation place in Snowspire, and you forgot to make it so that when you sell something you don't give it to them for free Razz. I know how to fix it and if you don't mind I will...in the morning, it's like 6 am here. *yawns*


Sure. Have at it. Smile



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Scripted Shopkeeper [message #27422 is a reply to message #24168] Mon, 17 September 2007 03:15 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
Ok thanks, but like I said in the morning, I wasn't kidding about it being 6 here (6:15 am now).

Edit

Never mind, here it is, I couldn't stand needing to sleep to fix it (the FMP only has two entry's and I only needed to change one thing, so yeah, easy fix).


New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan

[Updated on: Mon, 17 September 2007 03:22]

Report message to a moderator

Re: Scripted Shopkeeper [message #27423 is a reply to message #24168] Mon, 17 September 2007 03:29 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
If you need anything else fixed that you don't feel like doing, just remember, I basically have no life (it was my choice of life style, nice and relaxing...yeah....)

New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan
Re: Scripted Shopkeeper [message #27451 is a reply to message #24168] Mon, 17 September 2007 08:57 Go to previous messageGo to next message
Kain is currently offline  Kain
Messages: 142
Registered: January 2007

i still did not really understand how to spawn a scripted shopkeeper.
in AE spawn a bodyguard and then change the following parts of his script into this:


DefinitionType "CREATURE_TRADER_STOCKED_SCRIPTED"

ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;

StartCTCShop;
StockItemDefsKeys[0] "OBJECT_KESHIRE_SICKLE";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;
EndCTCShop;

[bla bla]

but there is no shopkeeper?


my life is hard:

Im German.
Re: Scripted Shopkeeper [message #27465 is a reply to message #24168] Mon, 17 September 2007 12:48 Go to previous messageGo to next message
Sean_s is currently offline  Sean_s
Messages: 576
Registered: June 2007
Location: Ohio
Here's my script, it works fine.

NewThing AICreature;
Player 2;
UID 18446712344187468629;
DefinitionType "CREATURE_TRADER_STOCKED_SCRIPTED";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 56.411380;
PositionY 37.951900;
PositionZ 37.013830;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsNavigator;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
StartCTCShop;
StockItemDefsKeys[0] "";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;
EndCTCShop;
Health 200.0;
EnableCreatureAutoPlacing FALSE;
EndThing;


New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!

Assistant for Conquest
By the way, call me Searyan
Re: Scripted Shopkeeper [message #27999 is a reply to message #27465] Thu, 20 September 2007 10:05 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Ok, I've been trying to use the scripted shopkeeper in combination with a couple of new weapons and new clothing objects.

So far weapons work just fine, but the clothing sometimes does and sometimes doesn't work.

Example:

I load these mods:



I use this script:

SCRIPT USED


Now in-game, when I look at the traders merchandise only the Assassin Mask and Jack's Trousers are there.

I've been searching through the CDefs for an answer... but no luck so far.

Who's more lucky or knows the answer???


-Also: as stated before, weapons work fine so far-

-If you spawn Thunder's helmet (from Buetooth suits) in the traders inventory, it crashes the game-
Re: Scripted Shopkeeper [message #28014 is a reply to message #24168] Thu, 20 September 2007 12:26 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
Don't know if this'll help but this guy sells the JOB outfit fine in my game. His coords are for GuildExterior.tng.

Shopkeeper script


http://img259.imageshack.us/img259/1398/satansigv5gu3.gif

There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.

[Updated on: Thu, 20 September 2007 12:30]

Report message to a moderator

Re: Scripted Shopkeeper [message #28015 is a reply to message #28014] Thu, 20 September 2007 12:30 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

I'll check it out...

http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: Scripted Shopkeeper [message #28026 is a reply to message #24168] Thu, 20 September 2007 13:35 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
StockItemDefsKeys[1] "OBJECT_HERO_HAT_NIHILUS_MASK";
StockItemDefsQuantity[0] 5.0;
StockItemDefsMaxStock[0] 10.0;


Should be:
StockItemDefsKeys[1] "OBJECT_HERO_HAT_NIHILUS_MASK";
StockItemDefsQuantity[1] 5.0;
StockItemDefsMaxStock[1] 10.0;


same for the others. Or so I assume. The syntax for this command was completely unknown when I started playing with it.



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
Re: Scripted Shopkeeper [message #28027 is a reply to message #28026] Thu, 20 September 2007 13:40 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

BlueTooth wrote on Thu, 20 September 2007 22:35

StockItemDefsKeys[1] "OBJECT_HERO_HAT_NIHILUS_MASK";
StockItemDefsQuantity[0] 5.0;
StockItemDefsMaxStock[0] 10.0;


Should be:
StockItemDefsKeys[1] "OBJECT_HERO_HAT_NIHILUS_MASK";
StockItemDefsQuantity[1] 5.0;
StockItemDefsMaxStock[1] 10.0;


same for the others. Or so I assume. The syntax for this command was completely unknown when I started playing with it.


Ah. I see, thanks!


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: Scripted Shopkeeper [message #46413 is a reply to message #24168] Sat, 18 October 2008 13:13 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
Bluetooth, I noticed that anything you sell to the scripted trader is worth zero. Any way to fix that or maybe just disable the ability to sell anything to the scripted shopkeeper?

http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: Scripted Shopkeeper [message #46777 is a reply to message #24168] Thu, 30 October 2008 13:55 Go to previous messageGo to next message
cdgfx84 is currently offline  cdgfx84
Messages: 10
Registered: October 2008
is there a way to fix it so the trader does not move
Re: Scripted Shopkeeper [message #47018 is a reply to message #24168] Fri, 07 November 2008 10:31 Go to previous messageGo to next message
Noctus is currently offline  Noctus
Messages: 969
Registered: May 2008
Location: England

Administrator

For some reasons this crashed my game Sad

Can you help?

I put it in Lookout Point where the silver key is.

Script:

Toggle Spoiler


The tantos, staffs, and odachis are ailia releases. The ice staff i can't quite remember Razz and the chicken longbow is by morerunes.


http://img696.imageshack.us/img696/9540/helpmeaaa.jpg

[Updated on: Sat, 08 November 2008 11:08] by Moderator

Report message to a moderator

Re: Scripted Shopkeeper [message #47019 is a reply to message #47018] Fri, 07 November 2008 11:05 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
You didn't just throw the code in there like that, did you? You're missing stuff.
Try this, all you need to do is edit UID and coordinates.
Toggle Spoiler
Re: Scripted Shopkeeper [message #47031 is a reply to message #24168] Sat, 08 November 2008 07:11 Go to previous messageGo to next message
Noctus is currently offline  Noctus
Messages: 969
Registered: May 2008
Location: England

Administrator

How do i know what to make the coordinates? Or do they edit themselves as they are moved?

Edit: They edit themselves. I know now Smile

Edit 2: It still crashes Sad

I don't know whats wrong. And lucky me i didn't think to back up that tng file. I backed up a bunch of the other ones i mod all the time, but not that one.

I don't see whats wrong.

Toggle Spoiler


** Edited to code & spoiler tags, couldn't see it right in quotes. - JohnDoe **


http://img696.imageshack.us/img696/9540/helpmeaaa.jpg

[Updated on: Sat, 08 November 2008 11:09] by Moderator

Report message to a moderator

Re: Scripted Shopkeeper [message #47037 is a reply to message #47031] Sat, 08 November 2008 11:11 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
The only other thing I can think of is the existence of the OBJECT entries. With a chest, it doesn't matter, since if it doesn't exist, it is skipped. With this, though, it might matter.

But that's only with the assumption that you either didn't install the mods or that you screwed up the mods.

Other than that, I've got no clue. Can't spot a problem with the script.
Re: Scripted Shopkeeper [message #47058 is a reply to message #47037] Sun, 09 November 2008 07:05 Go to previous messageGo to next message
Noctus is currently offline  Noctus
Messages: 969
Registered: May 2008
Location: England

Administrator

JohnDoe wrote on Sat, 08 November 2008 11:11

The only other thing I can think of is the existence of the OBJECT entries. With a chest, it doesn't matter, since if it doesn't exist, it is skipped. With this, though, it might matter.

But that's only with the assumption that you either didn't install the mods or that you screwed up the mods.

Other than that, I've got no clue. Can't spot a problem with the script.


I don't understand the first thing you said O.O

All i did what replace the silver key there with the script.

It's hard to screw up a copy and paste job really.

Ugh i hate it when things go wrong and mo mistake seems to be there Razz

EDIT: I do understand the first thing you said, lol

So i changed NewThing Object; to NewThing AICreature;

And no luck. Still crashes. I still don't understand.


http://img696.imageshack.us/img696/9540/helpmeaaa.jpg

[Updated on: Sun, 09 November 2008 07:14]

Report message to a moderator

Re: Scripted Shopkeeper [message #47060 is a reply to message #47058] Sun, 09 November 2008 08:41 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
I missed the NewThing Object; thing because, well, that one's my fault. That's what I put there. That aside, that wasn't what I was talking about, good eyes though.

When you spawn a chest and put in items that don't exist, such as "OBJECT_NOMNOMNOM", it will be skipped. What I was saying earlier is that this could be a different problem with the trader, and instead of him skipping the item, the game crashes. This can happen if you misspelled an item or if you screwed up while installing the mods (or did any combination of any number of user errors that could cause this). That said, go in FE and see if the mods are installed correctly.
Another thing, you could see if it is even the trader causing the crash. Take out the trader script and run the game. If it works, the script is screwed up somewhere (somewhere else I mean) and we just haven't spotted it yet. If it doesn't work, it's not the script, and you screwed up somewhere else.
Also, try changing the UID, something that doesn't start with a string of zeroes.

[Updated on: Sun, 09 November 2008 08:41]

Report message to a moderator

Re: Scripted Shopkeeper [message #56886 is a reply to message #24168] Sat, 17 April 2010 12:37 Go to previous messageGo to next message
naast is currently offline  naast
Messages: 1
Registered: April 2010
Hi guys. Can someone explain how to spawn a shopkeeper?
I'm new to modding so I don't understand everything about scripting.
As far as I understood, I have to load the .fmp file on FE, and make a script to spawn a shopkeeper, and that's all? Or do I need to add an entry for that shop on FE?
Re: Scripted Shopkeeper [message #56887 is a reply to message #56886] Sun, 18 April 2010 00:17 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Yep that's all.
In one of the above posts is an example script.


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: Scripted Shopkeeper [message #65411 is a reply to message #25652] Thu, 08 December 2011 09:21 Go to previous messageGo to previous message
madmerlin420 is currently offline  madmerlin420
Messages: 7
Registered: December 2011
groo wrote on Sat, 01 September 2007 12:08

oh god, now im gonna have to have a secret shopkeeper in the Bowerstone Graveyard in Darkened Souls Very Happy

lolz imma have one in The Secret Haven in rose cottage ^^
Previous Topic: The Library Arcanum - Chests
Next Topic: Balverine cave
Goto Forum:
  


Current Time: Tue Dec 17 18:12:28 PST 2024

Total time taken to generate the page: 0.08146 seconds