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

Home » Fable TLC » Discussion » Level Scripting » A little peer review?
A little peer review? [message #39776] Tue, 01 April 2008 12:55 Go to next message
AKILLITH is currently offline  AKILLITH
Messages: 4
Registered: April 2008
Location: washington
Now I made this little script here, I've changed things a bucha times found a few mistakes and tested it roughly about 12 times. I put a chest in dark wood using some cordinates that I thought put the chest at the entrance, I haven't been able to see if I'm right or not because when I enter darkwood it crashes. I run on windows, I've aleady spawned a few chests and that went fine. My question is if there's anyone who could read over his script and maybe help me catch a few mistakes or tell me what I'm doing wrong.
--------------------------->here it is!


NewThing Object;
Player 4;
UID 37860276095134904608;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 22.000000;
PositionY 50.000000;
PositionZ 71.479317;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_STRENGTH_POTION";
ContainerContents[1] "OBJECT_WILL_POTION";
ContainerContents[2] "OBJECT_WILL_POTION";
ContainerContents[3] "OBJECT_WILL_POTION";
ContainerContents[4] "OBJECT_STRENGTH_POTION";
ContainerContents[5] "OBJECT_SKILL_POTION";
ContainerContents[6] "OBJECT_WILL_POTION";
ContainerContents[7] "OBJECT_STRENGTH_POTION";
ContainerContents[8] "OBJECT_STRENGTH_POTION";
ContainerContents[9] "OBJECT_WILL_POTION";
ContainerContents[10] "OBJECT_STRENGTH_POTION";
ContainerContents[11] "OBJECT_SKILL_POTION";
ContainerContents[12] "OBJECT_STRENGTH_POTION";
ContainerContents[13] "OBJECT_SKILL_POTION";
ContainerContents[14] "OBJECT_SKILL_POTION";
ContainerContents[15] "OBJECT_SKILL_POTION";
ContainerContents[16] "OBJECT_WILL_POTION";
ContainerContents[17] "OBJECT_STRENGTH_POTION";
ContainerContents[18] "OBJECT_SKILL_POTION";
ContainerContents[19] "OBJECT_WILL_POTION";
ContainerContents[20] "OBJECT_WILL_POTION";
ContainerContents[21] "OBJECT_WILL_POTION";
ContainerContents[22] "OBJECT_WILL_POTION";
ContainerContents[23] "OBJECT_STRENGTH_POTION";
ContainerContents[24] "OBJECT_SKILL_POTION";
ContainerContents[25] "OBJECT_STRENGTH_POTION";
ContainerContents[26] "OBJECT_STRENGTH_POTION";
ContainerContents[27] "OBJECT_STRENGTH_POTION";
ContainerContents[28] "OBJECT_WILL_POTION";
ContainerContents[29] "OBJECT_STRENGTH_POTION";
ContainerContents[30] "OBJECT_SKILL_POTION";
ContainerContents[31] "OBJECT_SKILL_POTION";
ContainerContents[32] "OBJECT_SKILL_POTION";
ContainerContents[33] "OBJECT_SKILL_POTION";
ContainerContents[34] "OBJECT_WILL_POTION";
ContainerContents[35] "OBJECT_STRENGTH_POTION";
ContainerContents[36] "OBJECT_SKILL_POTION";
ContainerContents[37] "OBJECT_SKILL_POTION";
ContainerContents[38] "OBJECT_WILL_POTION";
ContainerContents[39] "OBJECT_WILL_POTION";
ContainerContents[40] "OBJECT_WILL_POTION";
ContainerContents[41] "OBJECT_STRENGTH_POTION";
ContainerContents[42] "OBJECT_SKILL_POTION";
ContainerContents[43] "OBJECT_ADRENALINE_POTION";
ContainerContents[44] "OBJECT_STRENGTH_POTION";
ContainerContents[45] "OBJECT_STRENGTH_POTION";
ContainerContents[46] "OBJECT_WILL_POTION";
ContainerContents[47] "OBJECT_STRENGTH_POTION";
ContainerContents[48] "OBJECT_SKILL_POTION";
ContainerContents[49] "OBJECT_WILL_POTION";
ContainerContents[50] "OBJECT_SKILL_POTION";
ContainerContents[51] "OBJECT_STRENGTH_POTION";
ContainerContents[52] "OBJECT_WILL_POTION";
ContainerContents[53] "OBJECT_STRENGTH_POTION";
ContainerContents[54] "OBJECT_SKILL_POTION";
ContainerContents[55] "OBJECT_SKILL_POTION";
ContainerContents[56] "OBJECT_DOLL_BRIAR_ROSE_01":
ContainerContents[57] "OBJECT_DOLL_HERO_01":
ContainerContents[58] "OBJECT_DOLL_JACK_OF_BLADES_01":
ContainerContents[59] "OBJECT_DOLL_MAZE_01":
ContainerContents[60] "OBJECT_DOLL_SCARLET_ROBE_01":
ContainerContents[61] "OBJECT_DOLL_SCYTHE_01":
ContainerContents[62] "OBJECT_DOLL_THUNDER_01":
ContainerContents[63] "OBJECT_DOLL_TWINBLADE_01":
ContainerContents[64] "OBJECT_DOLL_WHISPER_01":
ContainerContents[65] "OBJECT_TREASURE_CLUE_1":
ContainerContents[66] "OBJECT_TREASURE_CLUE_2":
ContainerContents[67] "OBJECT_TREASURE_CLUE_3":
ContainerContents[68] "OBJECT_TREASURE_CLUE_4":
ContainerContents[69] "OBJECT_TREASURE_CLUE_5":
ContainerContents[70] "OBJECT_TREASURE_CLUE_6":
ContainerContents[71] "OBJECT_CRYSTAL_LONGSWORD":
ContainerContents[72] "OBJECT_CRYSTAL_KATANA":
ContainerContents[73] "OBJECT_CRYSTAL_CUTLASS":
ContainerContents[74] "OBJECT_CRYSTAL_AXE":
ContainerContents[75] "OBJECT_CRYSTAL_MACE":
ContainerContents[76] "OBJECT_CRYSTAL_HAMMER":
ContainerContents[77] "OBJECT_CRYSTAL_WARHAMMER":
ContainerContents[78] "OBJECT_STRENGTH_POTION";
ContainerContents[79] "OBJECT_CRYSTAL_BATTLEAXE":
ContainerContents[80] "OBJECT_CRYSTAL_BROADSWORD":
ContainerContents[81] "OBJECT_CRYSTAL_BATTLEMACE":
ContainerContents[82] "OBJECT_SWORD_OF_AEONS":
ContainerContents[83] "OBJECT_WILL_POTION";
ContainerContents[84] "OBJECT_STRENGTH_POTION";
ContainerContents[85] "OBJECT_SKILL_POTION";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;


http://i169.photobucket.com/albums/u209/jakeisone/m_ae9e3313fe4d21834862b46262fd59f4.jpg

[Updated on: Tue, 01 April 2008 12:56]

Report message to a moderator

Re: A little peer review? [message #39777 is a reply to message #39776] Tue, 01 April 2008 13:10 Go to previous messageGo to next message
James Butts is currently offline  James Butts
Messages: 148
Registered: February 2008
Try taking some items out of it and spawn them in seperate chest of 10 items each

Dammit
Re: A little peer review? [message #39778 is a reply to message #39777] Tue, 01 April 2008 13:21 Go to previous messageGo to next message
AKILLITH is currently offline  AKILLITH
Messages: 4
Registered: April 2008
Location: washington
Ok thanks I'll try that, makes sense could just be overloading it...thanks again.

http://i169.photobucket.com/albums/u209/jakeisone/m_ae9e3313fe4d21834862b46262fd59f4.jpg
Re: A little peer review? [message #39782 is a reply to message #39778] Tue, 01 April 2008 16:56 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
James Butts wrote on Tue, 01 April 2008 15:10

Try taking some items out of it and spawn them in seperate chest of 10 items each
AKILLITH wrote on Tue, 01 April 2008 15:21

Ok thanks I'll try that, makes sense could just be overloading it...thanks again.
I've said it numerous times, there's no cap to how many items you can put in a chest. If you make that mulitple chests, all you'll get is multiple, non-working chests. The problem is that you were still holding shift as you were ending your lines, so you ended many lines with a : instead of a ; which is causing the crash.

[Updated on: Wed, 02 April 2008 00:32]

Report message to a moderator

Re: A little peer review? [message #39785 is a reply to message #39776] Tue, 01 April 2008 17:57 Go to previous messageGo to next message
AKILLITH is currently offline  AKILLITH
Messages: 4
Registered: April 2008
Location: washington
Actually in the note pad there (Wink which is why I'm wondering how they became : ....and yeah it still wasn't working ill go check it out some more

http://i169.photobucket.com/albums/u209/jakeisone/m_ae9e3313fe4d21834862b46262fd59f4.jpg
Re: A little peer review? [message #39800 is a reply to message #39785] Wed, 02 April 2008 00:12 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

check this.

http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: A little peer review? [message #39801 is a reply to message #39800] Wed, 02 April 2008 00:20 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
OldBoy wrote on Wed, 02 April 2008 02:12

check this.
JohnDoe recommends it!
I'll add this to my guide.
Re: A little peer review? [message #39809 is a reply to message #39776] Wed, 02 April 2008 09:09 Go to previous message
AKILLITH is currently offline  AKILLITH
Messages: 4
Registered: April 2008
Location: washington
You all rock. I'm gonna go build a monument to your awesomeness! Very Happy

http://i169.photobucket.com/albums/u209/jakeisone/m_ae9e3313fe4d21834862b46262fd59f4.jpg
Previous Topic: The .BWD
Next Topic: Where do I find the names to spawn everything?
Goto Forum:
  


Current Time: Thu Apr 25 17:01:44 PDT 2024

Total time taken to generate the page: 0.01420 seconds