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

Home » Fable TLC » Discussion » Level Scripting » What is wrong with this?
What is wrong with this? [message #55416] Mon, 28 December 2009 21:00 Go to next message
jp_b46 is currently offline  jp_b46
Messages: 70
Registered: January 2009
Hello, i tried to use customizable NPC to make a guard, but they just wanter around, they dont do anything, i used this script

NewThing AICreature;
Player 4;
UID 1844674198899549415592154;
DefinitionType "CREATURE_HERO_RIVAL_GOOD_01";
ScriptName GuardToHelpDefend;
ScriptData “GUARD_NERVOUS”;
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
Health 1.00000;
ObjectScale 1.00000;
OverridingBrainName "BRAIN_GUARD";
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
ContinueAIWithInformation FALSE;
RespondingToFollowAndWait FALSE;
CanBeMarried FALSE;
CanBeCourted FALSE;
AllowedToFollowHero FALSE;
InitialPosX 4670.33000;
InitialPosY 3631.56500;
InitialPosZ 20.02433;
EnableCreatureAutoPlacing FALSE;
RegionFollowingOverriddenFromScript FALSE;
HasRelationships FALSE;
HomeBuildingUID 0;
WorkBuildingUID 0;
FatherCreatureUID 0;
MotherCreatureUID 0;
SpouseCreatureUID 0;
StartCTCPhysicsNavigator;
PositionX 94.33057;
PositionY 79.56567;
PositionZ 20.02433;
RHSetForwardX 0.00000;
RHSetForwardY 1.00000;
RHSetForwardZ 0.00000;
RHSetUpX 0.00068;
RHSetUpY -0.00253;
RHSetUpZ 1.00000;
EndCTCPhysicsNavigator;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCRandomAppearanceMorph;
Seed -859535768;
EndCTCRandomAppearanceMorph;
StartCTCHeroMorph;
Strength 0.7;
Will 0.0;
Skill 1.0;
Age 0.3;
Morality 0.5;
Fatness 0.0;
Tan 0.0;
EndCTCHeroMorph;
StartCTCHeroAttachableAppearanceModifiers;
HairModifierNames[0] "OBJECT_HERO_NO_HAIR_01";
HairModifierNames[1] "OBJECT_HERO_MASK_STEALTH";
HairModifierNames[2] "OBJECT_HERO_BOOTS_CHAINMAIL";
HairModifierNames[3] "OBJECT_HERO_TROUSERS_CHAINMAIL";
HairModifierNames[4] "OBJECT_HERO_SHIRT_CHAINMAIL";
HairModifierNames[5] "OBJECT_HERO_GLOVES_CHAINMAIL";
EndCTCHeroAttachableAppearanceModifiers;
EndThing;


Could someone tell me whats wrong with this?
Re: What is wrong with this? [message #55418 is a reply to message #55416] Mon, 28 December 2009 23:42 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

What do you mean with 'they don't do anything'?
They don't fight? They don't walk around?
What is it you want them to do?


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: What is wrong with this? [message #55424 is a reply to message #55416] Tue, 29 December 2009 08:10 Go to previous messageGo to next message
jp_b46 is currently offline  jp_b46
Messages: 70
Registered: January 2009
I tried to make them be like guards, but they only run around and dont do anything else
Re: What is wrong with this? [message #55523 is a reply to message #55416] Sun, 03 January 2010 05:37 Go to previous messageGo to next message
Satoh is currently offline  Satoh
Messages: 19
Registered: December 2009
Location: NC USA
All I recognize (though I've yet to have a direct problem with it) is that the Player is set to 4, denoting inanimate objects... try setting it to 3, which is armed NPC.

I don't guarantee this will affect anything, as there are markers that use the -1 for marker as well as ones that use 4 for object...

It might help, might not, hope it does, good luck.

EDIT: you could also try changing the GUARD_NERVOUS to just GUARD or some other type of guard...

[Updated on: Sun, 03 January 2010 05:40]

Report message to a moderator

Re: What is wrong with this? [message #56115 is a reply to message #55523] Thu, 11 February 2010 02:50 Go to previous message
jp_b46 is currently offline  jp_b46
Messages: 70
Registered: January 2009
i changed it to 3 a lot ago, but i couldnt try it, thank you for your answer anyway
Previous Topic: Game crashes when i open a spawned chest
Next Topic: Help with "closing a chest"?
Goto Forum:
  


Current Time: Sat Apr 04 20:11:09 PDT 2020

Total time taken to generate the page: 0.01211 seconds