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

Home » Fable TLC » Discussion » Level Scripting » Help with the bodyguard example on the wiki...
Help with the bodyguard example on the wiki... [message #14472] Wed, 15 November 2006 18:46 Go to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Hi guys, I've been trying to get this to work for the past couple hours now, but I still can't get it to work. I took the bodyguard example from the wiki entry and tryed inserting it into various tng's. I tried Lookout Point and Bowerstone South but I couldn't get it.

Maybe I'm inserting it into the wrong area? I'm not sure, but if someone can tell me how to spawn the bodyguard, it be appreciated. Thanks.


Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14473 is a reply to message #14472] Wed, 15 November 2006 18:47 Go to previous messageGo to next message
SLRGrant is currently offline  SLRGrant
Messages: 30
Registered: November 2006
Location: England
You must be inserting it into the wrong area because that piece of script alone works by itself. Smile

What I'm doing in Fable TLC:

1. Get that fuggin Krakan to appear in B.Stone. (only the beginning)
2. Make Nostro's Sword into the coolest thing ever and release it as a packaged mod. (Done and released but still working on it)
Re: Help with the bodyguard example on the wiki... [message #14474 is a reply to message #14472] Wed, 15 November 2006 19:01 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Thanks for the reply, can you tell me where to insert the script then? Thanks. Smile

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14475 is a reply to message #14474] Wed, 15 November 2006 19:06 Go to previous messageGo to next message
SLRGrant is currently offline  SLRGrant
Messages: 30
Registered: November 2006
Location: England
I can't atm Sad

However if no one has told you later on, I will be able to Very Happy

(Its 3AM over here lol, going to sleep)


What I'm doing in Fable TLC:

1. Get that fuggin Krakan to appear in B.Stone. (only the beginning)
2. Make Nostro's Sword into the coolest thing ever and release it as a packaged mod. (Done and released but still working on it)
Re: Help with the bodyguard example on the wiki... [message #14633 is a reply to message #14472] Fri, 17 November 2006 22:38 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
So can you tell me where to put the script?

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14661 is a reply to message #14633] Sat, 18 November 2006 14:06 Go to previous messageGo to next message
SLRGrant is currently offline  SLRGrant
Messages: 30
Registered: November 2006
Location: England
Oh, well first off, are you using Albion Explorer?

What I'm doing in Fable TLC:

1. Get that fuggin Krakan to appear in B.Stone. (only the beginning)
2. Make Nostro's Sword into the coolest thing ever and release it as a packaged mod. (Done and released but still working on it)
Re: Help with the bodyguard example on the wiki... [message #14699 is a reply to message #14661] Sun, 19 November 2006 08:54 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Nope.

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14700 is a reply to message #14699] Sun, 19 November 2006 09:10 Go to previous messageGo to next message
SLRGrant is currently offline  SLRGrant
Messages: 30
Registered: November 2006
Location: England
Crap, welp there goes my help, you must be using TNG Editor (or whatever its called) I dont use it Laughing

What I'm doing in Fable TLC:

1. Get that fuggin Krakan to appear in B.Stone. (only the beginning)
2. Make Nostro's Sword into the coolest thing ever and release it as a packaged mod. (Done and released but still working on it)
Re: Help with the bodyguard example on the wiki... [message #14701 is a reply to message #14472] Sun, 19 November 2006 10:08 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Well, actually can you tell me how to do this by your method. Because I'm completely lost.

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14710 is a reply to message #14701] Sun, 19 November 2006 14:10 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

This should work for guildexterior.tng (or something like that, can't check it, cause I don't have fable on my pc at this time...)

NewThing AICreature;
Player 2;
UID 19446741874686313888;
DefinitionType "CREATURE_MINION_WARDOG";
ScriptName BodyGuard;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsNavigator;
PositionX 16.0;
PositionY 130.0;
PositionZ 26.5;
RHSetForwardX -0.999384;
RHSetForwardY 0.034923;
RHSetForwardZ 0.0;
RHSetUpX -0.000027;
RHSetUpY -0.000772;
RHSetUpZ 0.999994;
EndCTCPhysicsNavigator;
StartCTCRandomAppearanceMorph;
Seed -1334292695;
EndCTCRandomAppearanceMorph;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCTalk;
EndCTCTalk;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 0;
EndCTCVillageMember;
StartCTCHero;
LastWeaponEquippedID 0;
hero_title_object_def_name "OBJECT_HERO_TITLE_DEATHBRINGER";
EndCTCHero;
StartCTCContainerRewardHero;
EndCTCContainerRewardHero;
StartCTCEnemy;
FriendsWithEverythingFlag FALSE;
EnableFollowersEnemyProxy TRUE;
FactionName "";
EndCTCEnemy;
Health 9999.0;
OverridingBrainName BRAIN_BODY_GUARD;
HasInformation FALSE;
WanderWithInformation FALSE;
WaveWithInformation FALSE;
ContinueAIWithInformation FALSE;
EnableCreatureAutoPlacing FALSE;
AllowedToFollowHero FALSE;
RegionFollowingOverriddenFromScript FALSE;
RespondingToFollowAndWait TRUE;
CanBeCourted FALSE;
CanBeMarried FALSE;
InitialPosX 3281.412109;
InitialPosY 4118.064453;
InitialPosZ 24.63022;
EndThing;


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: Help with the bodyguard example on the wiki... [message #14720 is a reply to message #14710] Sun, 19 November 2006 15:24 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Thanks, I'll try that later on tonight.

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14736 is a reply to message #14720] Mon, 20 November 2006 11:51 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Ok, so I placed that script at the bottom of guildexterior.tng, but it still doesn't work. I'm clueless.

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14744 is a reply to message #14736] Mon, 20 November 2006 16:57 Go to previous messageGo to next message
misohony is currently offline  misohony
Messages: 60
Registered: September 2005
Hmm....

For lookoutpoint.tng, try changing the coordinates to

PositionX 83.594482;
PositionY 80.098145;
PositionZ 40.0;


Also, as a habit i always add new entries to tng after

XXXSectionStart NULL;




[Updated on: Mon, 20 November 2006 16:59]

Report message to a moderator

Re: Help with the bodyguard example on the wiki... [message #14747 is a reply to message #14472] Mon, 20 November 2006 17:34 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Thanks, that one definitely worked. I think my problem was I was putting the script all the way at the end of the TNG. Thanks for the help.

Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14748 is a reply to message #14472] Mon, 20 November 2006 19:07 Go to previous messageGo to next message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
Well, I got the minion to spawn, as well as thunder. But I really wanted to make a balverine my bodyguard. So I looked up the creature name and replaced the original creature name. But it crashes every time.

Could you explain why?


Hi, this spot is reserved for a witty comment, please leave.
Re: Help with the bodyguard example on the wiki... [message #14752 is a reply to message #14748] Tue, 21 November 2006 06:26 Go to previous messageGo to next message
misohony is currently offline  misohony
Messages: 60
Registered: September 2005
Well, that shouldn't happen. Its best to post your code for these types of problems (crashes).

Also, try spawning this creature as a bodyguard:
CREATURE_MONSTER_GUARD

It may be what you're looking for.


Re: Help with the bodyguard example on the wiki... [message #14761 is a reply to message #14472] Tue, 21 November 2006 13:42 Go to previous message
MXGear is currently offline  MXGear
Messages: 21
Registered: November 2006
Location: NY
I tried that one to. It also crashed the game.

Hi, this spot is reserved for a witty comment, please leave.
Previous Topic: adding items crash?
Next Topic: Manipulating the Dragon
Goto Forum:
  


Current Time: Fri Dec 27 10:13:55 PST 2024

Total time taken to generate the page: 0.08527 seconds