Home » Fable TLC » Mods » Scripts » Customizable Scripted Shopkeeper
Customizable Scripted Shopkeeper [message #36383] |
Wed, 02 January 2008 20:50 |
|
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 | 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;
StartCTCHeroAttachableAppearanceModifiers;
HairModifierNames[0] "OBJECT_HERO_TASHKHG_01";
HairModifierNames[1] "OBJECT_HERO_BEARD_LONG_01";
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHERARMOUR_EVIL";
HairModifierNames[3] "OBJECT_HERO_TROUSERS_LEATHERARMOUR_EVIL";
HairModifierNames[4] "OBJECT_HERO_SHIRT_LEATHERARMOUR_EVIL";
HairModifierNames[5] "OBJECT_HERO_GLOVES_LEATHERARMOUR_EVIL";
EndCTCHeroAttachableAppearanceModifiers;
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_SICKLE";
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;
RegionFollowingOverriddenFromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 3538.429688;
InitialPosY 836.368103;
InitialPosZ 8.719321;
EndThing;
|
Pretty gigantic script, but let me break it down for you:
Customize Looks |
{{
HairModifierNames[0] "OBJECT_HERO_TASHKHG_01"; ----------------}v
HairModifierNames[2] "OBJECT_HERO_BOOTS_LEATHERARMOUR_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 |
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.
|
Spawning with CBox or AE:
- Spawn him with CBox/AE right where you want him.
- Save.
- Open the tng file with notepad.
- Cut the coordinates of where he is, and paste it into somewhere else for use later, then delete the rest of his script.
- Paste in the example script.
- Cut the coordinates from before and paste them over the Coordinates from the example script.
- Replace the UID with some random jumbled numbers (like this: 654564652126547864513)
- Edit the parameters to your liking
- Save
Well there you have it, a customizable shopkeeper.
All credit to Bluetooth, all I made was the script and tutorial.
"All of the work, and none of the play, will surely provide for a speedy decay"
[Updated on: Sat, 22 November 2008 14:09] Report message to a moderator
|
|
|
|
|
Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: JohnDoe on Sat, 30 August 2008 10:00
|
|
|
Re: Customizable Scripted Shopkeeper
By: Noctus on Sun, 16 November 2008 06:02
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: Noctus on Sun, 16 November 2008 14:31
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: JohnDoe on Sun, 16 November 2008 19:51
|
|
|
Re: Customizable Scripted Shopkeeper
By: Noctus on Fri, 21 November 2008 10:02
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: Noctus on Sat, 22 November 2008 01:57
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: Noctus on Sat, 22 November 2008 11:07
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: Noctus on Sat, 22 November 2008 14:40
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: Mady on Sat, 22 November 2008 20:45
|
|
|
Re: Customizable Scripted Shopkeeper
By: JohnDoe on Sat, 22 November 2008 20:51
|
|
|
Re: Customizable Scripted Shopkeeper
By: Mady on Sat, 22 November 2008 20:54
|
|
|
Re: Customizable Scripted Shopkeeper
By: exonic on Thu, 04 February 2010 11:57
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: exonic on Fri, 05 February 2010 03:04
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: exonic on Fri, 05 February 2010 11:44
|
|
|
Re: Customizable Scripted Shopkeeper
|
|
|
Re: Customizable Scripted Shopkeeper
By: exonic on Fri, 05 February 2010 14:06
|
|
|
Re: Customizable Scripted Shopkeeper
By: OldBoy on Fri, 05 February 2010 14:21
|
|
|
Re: Customizable Scripted Shopkeeper
By: exonic on Fri, 05 February 2010 14:38
|
|
|
Re: Customizable Scripted Shopkeeper
By: JohnDoe on Fri, 05 February 2010 15:08
|
Goto Forum:
Current Time: Thu Dec 26 11:51:29 PST 2024
Total time taken to generate the page: 0.07709 seconds
|