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

Home » Fable TLC » Discussion » Level Scripting » Error Albion Explorer
Re: Error Albion Explorer [message #55144 is a reply to message #55142] Tue, 01 December 2009 17:01 Go to previous messageGo to previous message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
Twindeath wrote on Tue, 01 December 2009 17:30

NewThing Object;
Player 4;
UID 18446741874686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 182.500000;
PositionY 106.250000;
PositionZ -0.240633;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0]"OBJECT_BANDITKING_SWORD_FOR_HERO";
ContainerContents[1]"OBJECT_MARCOPOLO_NERVESHATTER_ICE"
ContainerContents[2]"OBJECT_SUMMONER_GREATSWORD";
ContainerContents[3]"OBJECT_RENJI_BLADE";
ContainerContents[4]"OBJECT_HERO_TROUSERS_JACK";
ContainerContents[5]"OBJECT_HERO_SHIRT_JACK";
ContainerContents[6]"OBJECT_HERO_BOOTS_JACK";
ContainerContents[7]"OBJECT_MADNESS_LONGSWORD";
ContainerContents[8]"OBJECT_XENOME_SWORD"
ContainerContents[9]"OBJECT_HYORINMARU";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
That is your script? Well there's your problem.
There's supposed to be a space between [#] and "OBJECT_WHATEVER"; and every line ends with a ; so...
Fixed Script

NewThing Object;
Player 4;
UID 18446741874686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 182.500000;
PositionY 106.250000;
PositionZ -0.240633;
RHSetForwardX 1.000000;
RHSetForwardY 0.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_BANDITKING_SWORD_FOR_HERO";
ContainerContents[1] "OBJECT_MARCOPOLO_NERVESHATTER_ICE";
ContainerContents[2] "OBJECT_SUMMONER_GREATSWORD";
ContainerContents[3] "OBJECT_RENJI_BLADE";
ContainerContents[4] "OBJECT_HERO_TROUSERS_JACK";
ContainerContents[5] "OBJECT_HERO_SHIRT_JACK";
ContainerContents[6] "OBJECT_HERO_BOOTS_JACK";
ContainerContents[7] "OBJECT_MADNESS_LONGSWORD";
ContainerContents[8] "OBJECT_XENOME_SWORD";
ContainerContents[9] "OBJECT_HYORINMARU";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;

And make sure you spell everything right, letter by letter, verbatim. You said you've already fixed the problem, sure, but I want other people to know what the problem was and how to fix it.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Spawning NPCs
Next Topic: Cant get rid of the locked demon door wall in lookout point
Goto Forum:
  


Current Time: Sat Nov 30 12:13:08 PST 2024

Total time taken to generate the page: 0.14824 seconds