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

Home » Fable TLC » Discussion » Level Scripting » can someone check this out for me...
can someone check this out for me... [message #52459] Fri, 03 July 2009 09:57 Go to next message
boykumag52 is currently offline  boykumag52
Messages: 9
Registered: June 2009
so i decided to spawn every tattoo in a chest...
but when i enter lookoutpoint, fable closes to my desktop...

here's my script:



XXXSectionStart NULL;

NewThing Object;
Player 4;
UID 88866647774686777444;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 16.5;
PositionY 128.0;
PositionZ 26.5;
RHSetForwardX 0.998439;
RHSetForwardY 0.055748;
RHSetForwardZ 0.0;
RHSetUpX -0.000054;
RHSetUpY 0.000975;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_TATTOO_CARD_CHEST_01";
ContainerContents[1] "OBJECT_TATTOO_CARD_CHEST_02";
ContainerContents[2] "OBJECT_TATTOO_CARD_CHEST_03";
ContainerContents[3] "OBJECT_TATTOO_CARD_CHEST_04";
ContainerContents[4] "OBJECT_TATTOO_CARD_BACK_01
ContainerContents[5] "OBJECT_TATTOO_CARD_BACK_02";
ContainerContents[6] "OBJECT_TATTOO_CARD_BACK_03";
ContainerContents[7] "OBJECT_TATTOO_CARD_ARMS_01";
ContainerContents[8] "OBJECT_TATTOO_CARD_ARMS_02";
ContainerContents[9] "OBJECT_TATTOO_CARD_ARMS_03";
ContainerContents[10] "OBJECT_TATTOO_CARD_LEGS_01";
ContainerContents[11] "OBJECT_TATTOO_CARD_LEGS_02";
ContainerContents[12] "OBJECT_TATTOO_CARD_FACE_01";
ContainerContents[13] "OBJECT_TATTOO_CARD_FACE_02";
ContainerContents[14] "OBJECT_TATTOO_CARD_FACE_03";
ContainerContents[15] "OBJECT_TATTOO_CARD_BS_BACK_01";
ContainerContents[16] "OBJECT_TATTOO_CARD_BS_BACK_02";
ContainerContents[17] "OBJECT_TATTOO_CARD_BS_BACK_03";
ContainerContents[18] "OBJECT_TATTOO_CARD_HC_ARMS_01";
ContainerContents[19] "OBJECT_TATTOO_CARD_HC_BACK_01";
ContainerContents[20] "OBJECT_TATTOO_CARD_HC_BACK_02";
ContainerContents[21] "OBJECT_TATTOO_CARD_HC_BACK_03";
ContainerContents[22] "OBJECT_TATTOO_CARD_HC_BACK_04";
ContainerContents[23] "OBJECT_TATTOO_CARD_HC_BACK_05";
ContainerContents[24] "OBJECT_TATTOO_CARD_HC_BACK_06";
ContainerContents[25] "OBJECT_TATTOO_CARD_HC_FACE_01";
ContainerContents[26] "OBJECT_TATTOO_CARD_HC_FACE_02";
ContainerContents[27] "OBJECT_TATTOO_CARD_HC_FACE_03";
ContainerContents[28] "OBJECT_TATTOO_CARD_HC_FACE_04";
ContainerContents[29] "OBJECT_TATTOO_CARD_HC_FACE_05";
ContainerContents[30] "OBJECT_TATTOO_CARD_HC_FACE_06";
ContainerContents[31] "OBJECT_TATTOO_CARD_HC_TORSO_01";
ContainerContents[32] "OBJECT_TATTOO_CARD_HC_TORSO_02";
ContainerContents[33] "OBJECT_TATTOO_CARD_HC_TORSO_03";
ContainerContents[34] "OBJECT_TATTOO_CARD_HC_TORSO_04";
ContainerContents[35] "OBJECT_TATTOO_CARD_HC_TORSO_05";
ContainerContents[36] "OBJECT_TATTOO_CARD_HC_TORSO_06";
ContainerContents[37] "OBJECT_TATTOO_CARD_HC_TORSO_07";
ContainerContents[38] "OBJECT_TATTOO_CARD_KHG_CHEST_01";
ContainerContents[39] "OBJECT_TATTOO_CARD_KHGWAR_CHEST_01";
ContainerContents[40] "OBJECT_TATTOO_CARD_KHGWAR_CHEST_02";
ContainerContents[41] "OBJECT_TATTOO_CARD_KHGWAR_CHEST_03";
ContainerContents[42] "OBJECT_TATTOO_CARD_KHG_BACK_01";
ContainerContents[43] "OBJECT_TATTOO_CARD_KHGWAR_BACK_01";
ContainerContents[44] "OBJECT_TATTOO_CARD_KHGWAR_BACK_02";
ContainerContents[45] "OBJECT_TATTOO_CARD_KHGWAR_BACK_03";
ContainerContents[46] "OBJECT_TATTOO_CARD_KHG_ARMS_01";
ContainerContents[47] "OBJECT_TATTOO_CARD_KHGWAR_ARMS_01";
ContainerContents[48] "OBJECT_TATTOO_CARD_KHG_LEGS_01";
ContainerContents[49] "OBJECT_TATTOO_CARD_KHGWAR_LEGS_01";
ContainerContents[50] "OBJECT_TATTOO_CARD_KHG_FACE_01";
ContainerContents[51] "OBJECT_TATTOO_CARD_KHGWAR_FACE_01";
ContainerContents[52] "OBJECT_TATTOO_CARD_KHGWAR_FACE_02";
ContainerContents[53] "OBJECT_TATTOO_CARD_KHGWAR_FACE_03";
ContainerContents[54] "OBJECT_TATTOO_CARD_CHEST_BBB";
ContainerContents[55] "OBJECT_TATTOO_CARD_BACK_BBB";
ContainerContents[56] "OBJECT_TATTOO_CARD_CHEST_LH";
ContainerContents[57] "OBJECT_TATTOO_CARD_BACK_LH";
ContainerContents[58] "OBJECT_TATTOO_CARD_BACK_BALVERINE";
ContainerContents[59] "OBJECT_TATTOO_CARD_BACK_DRAGON";
ContainerContents[60] "OBJECT_TATTOO_CARD_SS_FACE_01";
ContainerContents[61] "OBJECT_TATTOO_CARD_SS_FACE_02";
ContainerContents[62] "OBJECT_TATTOO_CARD_SS_FACE_03";
ContainerContents[63] "OBJECT_TATTOO_CARD_SS_FACE_04;
ContainerContents[64] "OBJECT_TATTOO_CARD_SS_FACE_05";
ContainerContents[65] "OBJECT_TATTOO_CARD_SS_FACE_06";
ContainerContents[66] "OBJECT_TATTOO_CARD_SS_FACE_07";
ContainerContents[67] "OBJECT_TATTOO_CARD_SS_FACE_08";
ContainerContents[68] "OBJECT_TATTOO_CARD_SS_FACE_BLACKSMITH";
ContainerContents[69] "OBJECT_TATTOO_CARD_SS_FACE_GUARD";
ContainerContents[70] "OBJECT_TATTOO_CARD_SS_FACE_INNKEEPER";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;


idk whats wrong with it... -_-
any help would be appreciated Very Happy
Re: can someone check this out for me... [message #52460 is a reply to message #52459] Fri, 03 July 2009 10:26 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

ContainerContents[3] "OBJECT_TATTOO_CARD_CHEST_04";
ContainerContents[4] "OBJECT_TATTOO_CARD_BACK_01
ContainerContents[5] "OBJECT_TATTOO_CARD_BACK_02";

You are missing punctuation on ContainerContents[4].


Re: can someone check this out for me... [message #52461 is a reply to message #52459] Fri, 03 July 2009 10:33 Go to previous messageGo to next message
boykumag52 is currently offline  boykumag52
Messages: 9
Registered: June 2009
thx... i added punctuation marks..
but it still crashes...
anymore suggestions ?
Re: can someone check this out for me... [message #52462 is a reply to message #52461] Fri, 03 July 2009 10:57 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

ContainerContents[63] "OBJECT_TATTOO_CARD_SS_FACE_04;
Missing quotation marks after 04. If it still doesn't work, go over everything again looking for small mistakes, they matter.

And
ScriptName NULL;
ScriptData "NULL";
You missed script name.

And
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;


[Updated on: Fri, 03 July 2009 11:01]

Report message to a moderator

Re: can someone check this out for me... [message #52463 is a reply to message #52459] Fri, 03 July 2009 11:10 Go to previous messageGo to next message
boykumag52 is currently offline  boykumag52
Messages: 9
Registered: June 2009
..finally got it working, YAY
thx for the help
kinda crappy how little things like that can crash ur game. -_-

thanks again ^^
Re: can someone check this out for me... [message #52464 is a reply to message #52459] Fri, 03 July 2009 12:17 Go to previous messageGo to next message
boykumag52 is currently offline  boykumag52
Messages: 9
Registered: June 2009
... i only added the quotation marks for it to work..
didnt do that scriptname stuff.. meh..

since were here.. is there any way to get rid of already opened chests? lookout point is getting kinda crowded with chests.
Re: can someone check this out for me... [message #52468 is a reply to message #52464] Fri, 03 July 2009 16:12 Go to previous messageGo to next message
Noctus is currently offline  Noctus
Messages: 969
Registered: May 2008
Location: England

Administrator

boykumag52 wrote on Fri, 03 July 2009 12:17

since were here.. is there any way to get rid of already opened chests? lookout point is getting kinda crowded with chests.

No, because the chests you've opened are saves in your gamesave, not your level file.


http://img696.imageshack.us/img696/9540/helpmeaaa.jpg
Re: can someone check this out for me... [message #52929 is a reply to message #52459] Tue, 21 July 2009 10:51 Go to previous messageGo to next message
Jecker19 is currently offline  Jecker19
Messages: 2
Registered: June 2009
Location: Detroit
i was using this as a template for a chest i was making, which had all hairstyles and tattoos and stuff, i did what you said to fix it and it still wont work.



NewThing Object;
Player 4;
UID 18446741874686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 48.604740;
PositionY 44.883790;
PositionZ -12.870530;
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_TATTOO_CARD_CHEST_01";
ContainerContents[1] "OBJECT_TATTOO_CARD_CHEST_02";
ContainerContents[2] "OBJECT_TATTOO_CARD_CHEST_03";
ContainerContents[3] "OBJECT_TATTOO_CARD_CHEST_04";
ContainerContents[4] "OBJECT_TATTOO_CARD_BACK_01";
ContainerContents[5] "OBJECT_TATTOO_CARD_BACK_02";
ContainerContents[6] "OBJECT_TATTOO_CARD_BACK_03";
ContainerContents[7] "OBJECT_TATTOO_CARD_ARMS_01";
ContainerContents[8] "OBJECT_TATTOO_CARD_ARMS_02";
ContainerContents[9] "OBJECT_TATTOO_CARD_ARMS_03";
ContainerContents[10] "OBJECT_TATTOO_CARD_LEGS_01";
ContainerContents[11] "OBJECT_TATTOO_CARD_LEGS_02";
ContainerContents[12] "OBJECT_TATTOO_CARD_FACE_01";
ContainerContents[13] "OBJECT_TATTOO_CARD_FACE_02";
ContainerContents[14] "OBJECT_TATTOO_CARD_FACE_03";
ContainerContents[15] "OBJECT_TATTOO_CARD_BS_BACK_01";
ContainerContents[16] "OBJECT_TATTOO_CARD_BS_BACK_02";
ContainerContents[17] "OBJECT_TATTOO_CARD_BS_BACK_03";
ContainerContents[18] "OBJECT_TATTOO_CARD_HC_ARMS_01";
ContainerContents[19] "OBJECT_TATTOO_CARD_HC_BACK_01";
ContainerContents[20] "OBJECT_TATTOO_CARD_HC_BACK_02";
ContainerContents[21] "OBJECT_TATTOO_CARD_HC_BACK_03";
ContainerContents[22] "OBJECT_TATTOO_CARD_HC_BACK_04";
ContainerContents[23] "OBJECT_TATTOO_CARD_HC_BACK_05";
ContainerContents[24] "OBJECT_TATTOO_CARD_HC_BACK_06";
ContainerContents[25] "OBJECT_TATTOO_CARD_HC_FACE_01";
ContainerContents[26] "OBJECT_TATTOO_CARD_HC_FACE_02";
ContainerContents[27] "OBJECT_TATTOO_CARD_HC_FACE_03";
ContainerContents[28] "OBJECT_TATTOO_CARD_HC_FACE_04";
ContainerContents[29] "OBJECT_TATTOO_CARD_HC_FACE_05";
ContainerContents[30] "OBJECT_TATTOO_CARD_HC_FACE_06";
ContainerContents[31] "OBJECT_TATTOO_CARD_HC_TORSO_01";
ContainerContents[32] "OBJECT_TATTOO_CARD_HC_TORSO_02";
ContainerContents[33] "OBJECT_TATTOO_CARD_HC_TORSO_03";
ContainerContents[34] "OBJECT_TATTOO_CARD_HC_TORSO_04";
ContainerContents[35] "OBJECT_TATTOO_CARD_HC_TORSO_05";
ContainerContents[36] "OBJECT_TATTOO_CARD_HC_TORSO_06";
ContainerContents[37] "OBJECT_TATTOO_CARD_HC_TORSO_07";
ContainerContents[38] "OBJECT_TATTOO_CARD_KHG_CHEST_01";
ContainerContents[39] "OBJECT_TATTOO_CARD_KHGWAR_CHEST_01";
ContainerContents[40] "OBJECT_TATTOO_CARD_KHGWAR_CHEST_02";
ContainerContents[41] "OBJECT_TATTOO_CARD_KHGWAR_CHEST_03";
ContainerContents[42] "OBJECT_TATTOO_CARD_KHG_BACK_01";
ContainerContents[43] "OBJECT_TATTOO_CARD_KHGWAR_BACK_01";
ContainerContents[44] "OBJECT_TATTOO_CARD_KHGWAR_BACK_02";
ContainerContents[45] "OBJECT_TATTOO_CARD_KHGWAR_BACK_03";
ContainerContents[46] "OBJECT_TATTOO_CARD_KHG_ARMS_01";
ContainerContents[47] "OBJECT_TATTOO_CARD_KHGWAR_ARMS_01";
ContainerContents[48] "OBJECT_TATTOO_CARD_KHG_LEGS_01";
ContainerContents[49] "OBJECT_TATTOO_CARD_KHGWAR_LEGS_01";
ContainerContents[50] "OBJECT_TATTOO_CARD_KHG_FACE_01";
ContainerContents[51] "OBJECT_TATTOO_CARD_KHGWAR_FACE_01";
ContainerContents[52] "OBJECT_TATTOO_CARD_KHGWAR_FACE_02";
ContainerContents[53] "OBJECT_TATTOO_CARD_KHGWAR_FACE_03";
ContainerContents[54] "OBJECT_TATTOO_CARD_CHEST_BBB";
ContainerContents[55] "OBJECT_TATTOO_CARD_BACK_BBB";
ContainerContents[56] "OBJECT_TATTOO_CARD_CHEST_LH";
ContainerContents[57] "OBJECT_TATTOO_CARD_BACK_LH";
ContainerContents[58] "OBJECT_TATTOO_CARD_BACK_BALVERINE";
ContainerContents[59] "OBJECT_TATTOO_CARD_BACK_DRAGON";
ContainerContents[60] "OBJECT_TATTOO_CARD_SS_FACE_01";
ContainerContents[61] "OBJECT_TATTOO_CARD_SS_FACE_02";
ContainerContents[62] "OBJECT_TATTOO_CARD_SS_FACE_03";
ContainerContents[63] "OBJECT_TATTOO_CARD_SS_FACE_04";
ContainerContents[64] "OBJECT_TATTOO_CARD_SS_FACE_05";
ContainerContents[65] "OBJECT_TATTOO_CARD_SS_FACE_06";
ContainerContents[66] "OBJECT_TATTOO_CARD_SS_FACE_07";
ContainerContents[67] "OBJECT_TATTOO_CARD_SS_FACE_08";
ContainerContents[68] "OBJECT_TATTOO_CARD_SS_FACE_BLACKSMITH";
ContainerContents[69] "OBJECT_TATTOO_CARD_SS_FACE_GUARD";
ContainerContents[70] "OBJECT_TATTOO_CARD_SS_FACE_INNKEEPER";
ContainerContents[71] "OBJECT_HAIRCUT_CARD_01";
ContainerContents[72] "OBJECT_HAIRCUT_CARD_BALD";
ContainerContents[73] "OBJECT_HAIRCUT_CARD_SHAVED";
ContainerContents[74] "OBJECT_HAIRCUT_CARD_SHORT";
ContainerContents[75] "OBJECT_HAIRCUT_CARD_MOP";
ContainerContents[76] "OBJECT_HAIRCUT_CARD_PONYTAIL";
ContainerContents[77] "OBJECT_HAIRCUT_CARD_06";
ContainerContents[78] "OBJECT_HAIRCUT_CARD_07";
ContainerContents[79] "OBJECT_HAIRCUT_CARD_08";
ContainerContents[80] "OBJECT_BEARD_CARD_01";
ContainerContents[81] "OBJECT_BEARD_CARD_02";
ContainerContents[82] "OBJECT_BEARD_CARD_03";
ContainerContents[83] "OBJECT_BEARD_CARD_04";
ContainerContents[84] "OBJECT_BEARD_CARD_05";
ContainerContents[85] "OBJECT_BEARD_CARD_06";
ContainerContents[86] "OBJECT_BEARD_CARD_07";
ContainerContents[87] "OBJECT_BEARD_CARD_08";
ContainerContents[88] "OBJECT_BEARD_CARD_09";
ContainerContents[89] "OBJECT_TASH_CARD_01";
ContainerContents[90] "OBJECT_TASH_CARD_02";
ContainerContents[91] "OBJECT_TASH_CARD_03";
ContainerContents[91] "OBJECT_TASH_CARD_04";
ContainerContents[92] "OBJECT_TASH_CARD_05";
ContainerContents[93] "OBJECT_TASH_CARD_06";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;




I have come here to chew bubblegum and kick ass...and I'm all out of bubblegum.
Re: can someone check this out for me... [message #52930 is a reply to message #52459] Tue, 21 July 2009 10:52 Go to previous messageGo to next message
Noctus is currently offline  Noctus
Messages: 969
Registered: May 2008
Location: England

Administrator

Does it still crash your game?

I can't see a problem with it.

Try giving it a new UID.


http://img696.imageshack.us/img696/9540/helpmeaaa.jpg

[Updated on: Tue, 21 July 2009 10:53]

Report message to a moderator

Re: can someone check this out for me... [message #52934 is a reply to message #52459] Tue, 21 July 2009 11:06 Go to previous messageGo to next message
Jecker19 is currently offline  Jecker19
Messages: 2
Registered: June 2009
Location: Detroit
ok, i have it a new UID and it works now tyvm.

I have come here to chew bubblegum and kick ass...and I'm all out of bubblegum.
Re: can someone check this out for me... [message #52935 is a reply to message #52459] Tue, 21 July 2009 11:26 Go to previous message
Noctus is currently offline  Noctus
Messages: 969
Registered: May 2008
Location: England

Administrator

Ah, that was the problem.

Remember, every chest you spawn, every everything you spawn, MUST have an unique UID.


http://img696.imageshack.us/img696/9540/helpmeaaa.jpg
Previous Topic: Guild Woods Screwed up
Next Topic: Albion Explorer won't spawn any stuff (Objects and creatures)
Goto Forum:
  


Current Time: Sat Nov 30 08:35:49 PST 2024

Total time taken to generate the page: 0.14221 seconds