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

Home » Fable TLC » Discussion » Level Scripting » Noob question
icon9.gif  Noob question [message #53080] Tue, 28 July 2009 09:35 Go to next message
Fablenoobster is currently offline  Fablenoobster
Messages: 8
Registered: July 2009
I cannot find the problem Razz
(noob question)
Hope some one finds the prob Smile

NewThing Object;
Player 4;
UID 18446741874686296144;
DefinitionType "OBJECT_GUILD_BOOKCASE_SELECT_LARGE_DD";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 42.605957;
PositionY 30.016357;
PositionZ 4.850001;
RHSetForwardX 0.0;
RHSetForwardY -0.999994;
RHSetForwardZ 0.0;
RHSetUpX 0.0;
RHSetUpY 0.0;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCSearchableContainer;
ContainerContents[0] "OBJECT_BOOK_GUILD_SPELLS";
ContainerContents[1] "OBJECT_HERO_GLOVES_WILLROBE_EVIL";
ContainerContents[2] "OBJECT_HERO_SHIRT_WILLROBE_EVIL";
ContainerContents[3] "OBJECT_HERO_HAT_WIZARD_EVIL";
ContaienrContents[4] "OBJECT_HERO_BOOTS_WILLROBE_EVIL";
ContainerContents[5] "OBJECT_HERO_GLOVES_WILLROBE_GOOD";
ContainerContents[6] "OBJECT_HERO_HAT_WIZARD_GOOD";
ContainerContents[7] "OBJECT_HERO_SHIRT_WILLROBE_GOOD";
ContainerContents[8] "OBJECT_HERO_TROUSERS_WILLROBE_EVIL";
ContainerContents[9] "OBJECT_HERO_TROUSERS_WILLROBE_GOOD";
ContainerContents[10] "OBJECT_HERO_BOOTS_WILLROBE_EVIL";
ContainerContents[11] "OBJECT_HERO_BOOTS_WILLROBE_GOOD";
NumberOfTimesToSearch 0;
EndCTCSearchableContainer;
Health 1.0;
EndThing;


And sorry if i posted wrong Smile
Re: Noob question [message #53081 is a reply to message #53080] Tue, 28 July 2009 10:05 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

I can not find it, but there is something wrong with your container contents. I redid it, using your objects, but reformatting the punctuation and it works, I also changed the UID in case you have already been there and saved since then. As far as I can tell this is exactly the same as yours, except this one worked and yours didn't. Wierd.

NewThing Object;
Player 4;
UID 18446741874686296188;
DefinitionType "OBJECT_GUILD_BOOKCASE_SELECT_LARGE_DD";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
Health 1.00000;
ObjectScale 1.00000;
StartCTCPhysicsStandard;
PositionX 42.60596;
PositionY 30.01636;
PositionZ 4.85000;
RHSetForwardX 0.00000;
RHSetForwardY -0.99999;
RHSetForwardZ 0.00000;
RHSetUpX 0.00000;
RHSetUpY 0.00000;
RHSetUpZ 0.99999;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCSearchableContainer;
ContainerContents[0] "OBJECT_BOOK_GUILD_SPELLS";
ContainerContents[1] "OBJECT_HERO_GLOVES_WILLROBE_EVIL";
ContainerContents[2] "OBJECT_HERO_SHIRT_WILLROBE_EVIL";
ContainerContents[3] "OBJECT_HERO_HAT_WIZARD_EVIL";
ContainerContents[4] "OBJECT_HERO_BOOTS_WILLROBE_EVIL";
ContainerContents[5] "OBJECT_HERO_GLOVES_WILLROBE_GOOD";
ContainerContents[6] "OBJECT_HERO_HAT_WIZARD_GOOD";
ContainerContents[7] "OBJECT_HERO_SHIRT_WILLROBE_GOOD";
ContainerContents[8] "OBJECT_HERO_TROUSERS_WILLROBE_EVIL";
ContainerContents[9] "OBJECT_HERO_TROUSERS_WILLROBE_GOOD";
ContainerContents[10] "OBJECT_HERO_BOOTS_WILLROBE_EVIL";
ContainerContents[11] "OBJECT_HERO_BOOTS_WILLROBE_GOOD";
NumberOfTimesToSearch 0;
EndCTCSearchableContainer;
EndThing;


[Updated on: Tue, 28 July 2009 10:54]

Report message to a moderator

Re: Noob question [message #53083 is a reply to message #53081] Tue, 28 July 2009 11:16 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
jwc2200 wrote on Tue, 28 July 2009 12:05

I can not find it
I can. Wink
Take a very, very close look at this line:
Fablenoobster wrote on Tue, 28 July 2009 11:35

ContaienrContents[4] "OBJECT_HERO_BOOTS_WILLROBE_EVIL";
That's the culprit.
Using either of the tools provided in this thread will take care of the problem when making chests from scratch.
Answer me this though, that's a CBox script, how did you manage to screw up the script using CBox? Or did you copy someone else's CBox script and go from there?
Re: Noob question [message #53084 is a reply to message #53081] Tue, 28 July 2009 11:17 Go to previous messageGo to next message
Fablenoobster is currently offline  Fablenoobster
Messages: 8
Registered: July 2009
Thanks alot Smile
Didnt see that xD

[Updated on: Tue, 28 July 2009 11:20]

Report message to a moderator

Re: Noob question [message #53086 is a reply to message #53084] Tue, 28 July 2009 12:32 Go to previous message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

The one I posted is an original script I took out of the DmDrGuild tng using AE. All I changed was the last two digits of the UID and the container contents section.
Thanks for pointing that out John. I spent 30 mins on that script and missed it.


Previous Topic: Fable: New Arena
Next Topic: Ground editing
Goto Forum:
  


Current Time: Wed Nov 27 23:42:25 PST 2024

Total time taken to generate the page: 0.13872 seconds