The ultimate source for Fable mods, Fable: The Lost Chapters chat and Fable 2 news
Project Ego | Fable: The Lost Chapters and Fable 2 Forums
Fable 2 Fable 2 Forums Fable 2 Gallery Fable Fable: The Lost Chapters Fable 2 Xbox 360 Register
Become a registered member and watch these ads vanish!
Fable 2 Forums   Fable 2 Forums > Fable Forum > Fable Modding > Fable Mods

Interested in winning a FREE copy of Fable 2 for the Xbox 360? Read more »

Network: Assassin's Creed | Devil May Cry | Gears of War | Halo | Mass Effect | Resident Evil

Reply
 
Thread Tools

Customizable Scripted Shopkeeper
Old 01-03-2008, 07:11 PM   #1
morerunes
Captain Obvious

 
Posts: 265
morerunes - Fable 2morerunes - Fable 2morerunes - Fable 2morerunes - Fable 2morerunes - Fable 2
Send a message via AIM to morerunes Send a message via Yahoo to morerunes
Customizable Scripted Shopkeeper

I just thought that the Customizable Shopkeeper fmp was too hard to find and was kind of buried, so I put it all in one fmp and posted it here.

This is all you need except for a script, which should look like this:

Script Example
Quote:
Version 2;
XXXSectionStart NULL;
NewThing AICreature;
Player 0;
UID 18446799474689931713;
DefinitionType "CREATURE_HERO_RIVAL_GOOD _01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 0.0;
PositionY 0.0;
PositionZ 0.0;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0;
RHSetUpX 0;
RHSetUpY 0;
RHSetUpZ 1;
EndCTCPhysicsNavigator;
StartCTCHeroAttachableApp earanceModifiers;
HairModifierNames[0] "OBJECT_HERO_TASHKHG_ 01";
HairModifierNames[1] "OBJECT_HERO_BEARD_LONG_0 1";
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHE RARMOUR_EVIL";
HairModifierNames[3] "OBJECT_HERO_TROUSERS_LEA THERARMOUR_EVIL";
HairModifierNames[4] "OBJECT_HERO_SHIRT_LEATHE RARMOUR_EVIL";
HairModifierNames[5] "OBJECT_HERO_GLOVES_LEATH ERARMOUR_EVIL";
EndCTCHeroAttachableAppea ranceModifiers;
StartCTCHeroMorph;
Strength 1.0;
Will 0.5;
Skill 1.0;
Age 0.5;
Morality 0.0;
Fatness 0.0;
Tan 0.0;
EndCTCHeroMorph;
StartCTCShop;
StockItemDefsKeys[0] "OBJECT_KESHIRE_SICKL E";
StockItemDefsQuantity[0] 1.0;
StockItemDefsMaxStock[0] 1.0;
EndCTCShop;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCTalk;
EndCTCTalk;
StartCTCEditor;
EndCTCEditor;
Health 1.0;
OverridingBrainName NULL;
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
ContinueAIWithInformation FALSE;
EnableCreatureAutoPlacing FALSE;
AllowedToFollowHero FALSE;
RegionFollowingOverridden FromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 3538.429688;
InitialPosY 836.368103;
InitialPosZ 8.719321;
EndThing;
XXXSectionEnd;
Pretty gigantic script, but let me break it down for you:

Customize Looks
Quote:
{{
HairModifierNames[0] "OBJECT_HERO_TASHKHG_ 01"; ----------------}v
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHE RARMOUR_EVIL";---}Hair-do's and objects for your shopkeeper go here.
{{

{{
Strength 1.0; --}v
Will 0.5; ------}v
Skill 1.0; -----}v
Age 0.5; -------}v
Morality 0.0; --}v
Fatness 0.0; ---}v
Tan 0.0; -------}These obviously change what they state, more strength means more buffness. 0.5 = neutral; 1.0 = Max; 0.0 = Min;
{{
Customize Inventory
Quote:
StockItemDefsKeys[0] "OBJECT_KESHIRE_SICKLE";} v
StockItemDefsQuantity[0] 1.0;}v
StockItemDefsMaxStock[0] 1.0;} [0] is the item number, StockItemDefsKeys is the item, StockItemDefsQuantity is the amount the shop has, and StockItemDefsMaxStock is the max the shop can have I believe.
Well there you have it, a customizable shopkeeper.





All credit to Bluetooth/Keshire, all I made was the script and tutorial.
morerunes is offline  

Re: Customizable Scripted Shopkeeper
Old 01-03-2008, 08:16 PM   #2
projectego
Webmaster and Co-Founder
 
Location: United Kingdom
Posts: 2,427
projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2projectego - Fable 2
Re: Customizable Scripted Shopkeeper

Well, all that code went right over my head but it doesn't mean I don't appreciate what you, Keshire, and every Fable modder on the planet does. +rep
projectego is offline  

Re: Customizable Scripted Shopkeeper
Old 01-03-2008, 08:56 PM   #3
Triz
FF7+GTA4= Lazy summer
 
Location: Where summer is a *****
Posts: 1,318
Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2Triz - Fable 2
Re: Customizable Scripted Shopkeeper

Nice. +REP
Triz is online now  

Re: Customizable Scripted Shopkeeper
Old 01-03-2008, 10:42 PM   #4
morerunes
Captain Obvious

 
Posts: 265
morerunes - Fable 2morerunes - Fable 2morerunes - Fable 2morerunes - Fable 2morerunes - Fable 2
Send a message via AIM to morerunes Send a message via Yahoo to morerunes
Re: Customizable Scripted Shopkeeper

Thanks guys

It wasn't that hard, but the original I really had to dig for.
morerunes is offline  
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Teyr's Little Shopkeeper Modification Primer For Dummies Teyr Fable Modding 6 05-06-2008 09:18 PM
Bowerstone South shopkeeper glitch Angel Fable Discussion 25 02-03-2007 09:36 PM
Where to get Shopkeeper Trainer? tlc_God Fable Discussion 5 01-23-2007 04:12 PM



All times are GMT +1. The time now is 12:45 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Fable 2 Forums Sitemap Mobile
Fable 2 | Devil May Cry Forum (1) | Dino Crisis | Assassin's Creed Forum (1) | Mass Effect Forum | Resident Evil Forum (1) | Wordpress Themes | Christian blog | Halo Wars | Gears of War 2 | Computer Help | Miscarriage Advice
Project Ego, Fable, Fable: The Lost Chapters and Fable 2 ©2007 Lionhead Studios Ltd.
In loving memory of Kathleen Ann Powell and Terry Powell
©2007 ProjectEgo.net