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

Home » Fable TLC » Discussion » Level Scripting » Help with Scripted Shopkeeper
Help with Scripted Shopkeeper [message #46835] Fri, 31 October 2008 22:31 Go to next message
cdgfx84 is currently offline  cdgfx84
Messages: 10
Registered: October 2008
I can get it working fine but it there a way to set so he stands in one place instead of walking around I tried putting WanderWithInformation FALSE; in the code but it did not work also how do you set how many days before there next delivery below is the code I am using (minus the inventory list

NewThing AICreature;
Player 2;
UID 18446712344187468629;
DefinitionType "CREATURE_TRADER_STOCKED_SCRIPTED";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 100.0;
PositionY 63.0;
PositionZ 36.5;
RHSetForwardX -0.999286;
RHSetForwardY -0.037624;
RHSetForwardZ 0.0;
RHSetUpX 0.000037;
RHSetUpY -0.000976;
RHSetUpZ 0.999994;
EndCTCPhysicsNavigator;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
StartCTCShop;
StockItemDefsKeys[0] "";
StockItemDefsQuantity[0] 200.0;
StockItemDefsMaxStock[0] 200.0;
EndCTCShop;
WanderWithInformation FALSE;
Health 200.0;
EnableCreatureAutoPlacing FALSE;
EndThing;
Re: Help with Scripted Shopkeeper [message #46838 is a reply to message #46835] Fri, 31 October 2008 23:09 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
Try using a different brain. There's a stand around like a moron brain, then there's a good villager shopkeeper brain, I don't know the exact names and can't be bothered to find them, but they'll be easy enough to spot if you look for them.

They'll wander about a little bit, there's no stopping that, unless you make a new shop like the darkwood camp shops, but then it's not a scripted shopkeeper.
Re: Help with Scripted Shopkeeper [message #46878 is a reply to message #46835] Sat, 01 November 2008 16:55 Go to previous message
Satan
Messages: 1033
Registered: September 2005
Location: Hades

Administrator
You could also try setting work and home uids to a certain object, say a stall. That way the npc will stay there day and night without wandering.

I believe the syntax is in the wiki,


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: Requestiong "Demondoor Removal"
Next Topic: how to edited the chest of any township?
Goto Forum:
  


Current Time: Fri Apr 26 12:31:05 PDT 2024

Total time taken to generate the page: 0.01635 seconds