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

Home » Fable TLC » Discussion » Level Scripting » Help with shop spawning
icon5.gif  Help with shop spawning [message #23494] Tue, 07 August 2007 20:38 Go to next message
Fable freak is currently offline  Fable freak
Messages: 36
Registered: May 2007
Location: USA
I spawned a shop inside the picnic area, but the shop owner isn't there...it's only a building with weapon graphics on the wall but no shelf or shop keeper...help please?
Re: Help with shop spawning [message #23495 is a reply to message #23494] Tue, 07 August 2007 20:40 Go to previous messageGo to next message
HodgePodge is currently offline  HodgePodge
Messages: 440
Registered: April 2007
Location: Making Bagel Bites
So you just spawned a building? Because it needs the proper CDefs...

http://i186.photobucket.com/albums/x50/HawjPawj/PONG.gif
Re: Help with shop spawning [message #23496 is a reply to message #23494] Tue, 07 August 2007 20:43 Go to previous messageGo to next message
Fable freak is currently offline  Fable freak
Messages: 36
Registered: May 2007
Location: USA
How do I add the Cdefs...? Embarassed
Re: Help with shop spawning [message #23504 is a reply to message #23494] Wed, 08 August 2007 02:02 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
A Shop needs to be tied to a village UID. The shop then spawns the appropriate shopkeeper. I wouldn't bother trying the Picnic area's uid as the area won't have a shopkeeper.

Copy and paste the village information from another area (with a new UID) and use that village's UID for the shop. This should result in a fully working store.


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.
Re: Help with shop spawning [message #23505 is a reply to message #23494] Wed, 08 August 2007 02:25 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
You can manually spawn a shopkeeper with no village.

1)Building has to be a shop.
2)Set the HomeBuildingUID & WorkBuildingUID of the Creature you want to run the shop.

The reason you'd tie a village to a shop is for the purpose of having the village spawn the actual shopkeeper. The keeper used is stored in the CVillagePeopleDef of the VILLAGE.

But the building itself NEEDS the CShopDef otherwise it won't have an inventory.

Unless you figure out how to use the CTCShop in the TNG.
http://fabletlcmod.com/wiki/doku.php?id=scripting:commands:c tc:ctcshop



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: Help with shop spawning [message #23507 is a reply to message #23494] Wed, 08 August 2007 03:11 Go to previous messageGo to next message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
Ah yes, I'd forgotten that method. Too long away from TNGs. Laughing

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.
Re: Help with shop spawning [message #23508 is a reply to message #23507] Wed, 08 August 2007 03:25 Go to previous messageGo to next message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
Satan wrote on Wed, 08 August 2007 05:11

Ah yes, I'd forgotten that method. Too long away from TNGs. Laughing


Sure. But I'm all theory. I hardly use half the stuff I spout out myself.



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: Help with shop spawning [message #23510 is a reply to message #23494] Wed, 08 August 2007 03:47 Go to previous message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
I remember using it in Bowerstone. Set a villager to use one of the empty market stalls as work UID and a house as home. Worked fine.

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.
Previous Topic: Summoned Army, would it work?
Next Topic: Fisticuffs Script
Goto Forum:
  


Current Time: Thu Mar 28 09:08:04 PDT 2024

Total time taken to generate the page: 0.00990 seconds