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

Home » Fable TLC » Discussion » General Mod Discussion » Chest Spawn Help
Chest Spawn Help [message #56808] Sat, 10 April 2010 10:06 Go to next message
jetnerd is currently offline  jetnerd
Messages: 2
Registered: April 2010
Location: Tustin
Okay b4 I get yelled at to READ THE GUIDES, L2MOD, etc. lemme say that my chest is there and I'm sure that I've input the items right, but I need help because every time I try to open the chest the game exits. The code for the chest is as follows:

NewThing Object;
Player 4;
UID 18446741511312815187;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 191.764200;
PositionY 104.117700;
PositionZ 18.776470;
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_GRAVITY_HAMMER";
ContainerContents[1] "OBJECT_DISEASED_RIPSWORD";
ContainerContents[2] "OBJECT_DUSKFANG_01";
ContainerContents[3] "OBJECT_HERO_HAT_JOB_MASK_REMOVABLE";
ContainerContents[4] "OBJECT_FIREWORKS_LONGBOW";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;

I have tried changing the UID and re-running the game, but that doesnt work.

Is one of these items (which I got from this site) bad or did I miss a step?


I like P[h]i(e)!
Re: Chest Spawn Help [message #56811 is a reply to message #56808] Sat, 10 April 2010 10:48 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
jetnerd wrote on Sat, 10 April 2010 12:06

Is one of these items (which I got from this site) bad or did I miss a step?
Some tips:
If the game doesn't crash when you enter the region that contains the chest, the script is fine.
If the game hangs when you open the chest, and the Hero just stares inside, none of the items inside the chest exist in the game.bin.
If when receiving the items, one or more is/are skipped, whichever items were skipped don't exist in the game.bin.
If the game crashes when getting a specific item, it's the item that's due to be received that is causing the problems.

Only when the game crashes when entering the region with the chest in it is the script bad. Any other case, the script is just fine and it's something inside the chest that Fable doesn't like.
Re: Chest Spawn Help [message #56813 is a reply to message #56811] Sat, 10 April 2010 11:45 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

The thing to do is take the first object and move it to the bottom, then try again. If you can accept the next object down, then you know the first one is corrupt in some way. Trial and error will tell you if one or more objects has a problem.
If that doesn't work you can also just put a simple item in the contents to be sure the script works at all.
Be sure to change the numbers when you move the objects positions in the list.


Re: Chest Spawn Help [message #56814 is a reply to message #56808] Sat, 10 April 2010 13:00 Go to previous message
jetnerd is currently offline  jetnerd
Messages: 2
Registered: April 2010
Location: Tustin
Thanks guys, I think I narrowed it down to one or two items.

I appreciate the help.
Surprised


I like P[h]i(e)!
Previous Topic: How do I installed mods?
Next Topic: Camera changing tutorial
Goto Forum:
  


Current Time: Thu Apr 18 15:16:29 PDT 2024

Total time taken to generate the page: 0.01137 seconds