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

Home » Fable TLC » Discussion » Level Scripting » Scripting Shopkeepers
Scripting Shopkeepers [message #24053] Wed, 15 August 2007 05:21 Go to previous message
Keshire is currently offline  Keshire
Messages: 1266
Registered: July 2005

Administrator
While I'm waiting for Silver to reply to a pm about this. Here's a challenge.

Get this too work:
StartCTCShop;
StockItemDefsKeys[0] "OBJECT_CRYSTAL_BATTLEAXE";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;
DayLastChecked 5; 	
EndCTCShop;


It will currently override the base shop items, but for some reason won't list the new ones. So any suggestions on what I'm doing wrong with the syntax here?

NewThing AICreature;
Player 2;
UID 18446741275358321754;
DefinitionType "CREATURE_TRADER_STOCKED_01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
StartCTCPhysicsNavigator;
PositionX 43.756840;
PositionY 43.957280;
PositionZ 29.904350;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsNavigator;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCTalk;
EndCTCTalk;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 0;
EndCTCVillageMember;
StartCTCShop;
StockItemDefsKeys[0] "OBJECT_CRYSTAL_BATTLEAXE";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;
DayLastChecked 5; 	
EndCTCShop;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
Health 60.0;
OverridingBrainName NULL;
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
EnableCreatureAutoPlacing FALSE;
AllowedToFollowHero FALSE;
RegionFollowingOverriddenFromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 0.0;
InitialPosY 0.0;
InitialPosZ 0.0;
EndThing;



Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
 
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fisticuffs Script
Next Topic: Clone level?
Goto Forum:
  


Current Time: Thu Apr 18 16:44:34 PDT 2024

Total time taken to generate the page: 0.01225 seconds