W
Wd123
Guest
Need some help with spawning an object.
Ok, I just started doing modding so after modifying some items and such I wanted to put some stuff in a chest so that I could get the items (Because I'm learning to spawn chests right now). I am trying to place the chest in lookout point, but it does not show up even when I save and reload, and then Fable crashes when I attempt to go the area, so I know there is an error in my code somewhere. And yes, I am placing the code for the Chest in the Null tab. Here is my code for the chest:
Ok, I just started doing modding so after modifying some items and such I wanted to put some stuff in a chest so that I could get the items (Because I'm learning to spawn chests right now). I am trying to place the chest in lookout point, but it does not show up even when I save and reload, and then Fable crashes when I attempt to go the area, so I know there is an error in my code somewhere. And yes, I am placing the code for the Chest in the Null tab. Here is my code for the chest:
Thanks for your help in advance.NewThing Object;
Player 4;
UID 18446741166144651364;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 71.583984;
PositionY 71.308594;
PositionZ 5.0;
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;
StartCTCChest;
ContainerContents[0] "OBJECT_FRYING_PAN";
ContainerContents[1] "OBJECT_EBONY_KATANA";
ContainerContents[2] "OBJECT_EBONY_LONGBOW";
ContainerContents[3] "OBJECT_HERO_HAT_PIMP";
ContainerContents[4] "OBJECT_MANA_AUGMENTATION";
ContainerContents[5] "OBJECT_EXPERIENCE_AUGMENTATION";
ContainerContents[6] "OBJECT_HEALTH_AUGMENTATION";
ContainerContents[7] "OBJECT_SHARPENING_AUGMENTATION";
ContainerContents[8] "OBJECT_PIERCING_AUGMENTATION";
ContainerContents[9] "OBJECT_SILVER_AUGMENTATION";
ContainerContents[10] "OBJECT_FLAME_AUGMENTATION";
ContainerContents[11] "OBJECT_LIGHTNING_AUGMENTATION";
ContainerContents[12] "OBJECT_MANA_AUGMENTATION";
ContainerContents[13] "OBJECT_EXPERIENCE_AUGMENTATION";
ContainerContents[14] "OBJECT_HEALTH_AUGMENTATION";
ContainerContents[15] "OBJECT_SHARPENING_AUGMENTATION";
ContainerContents[16] "OBJECT_PIERCING_AUGMENTATION";
ContainerContents[17] "OBJECT_SILVER_AUGMENTATION";
ContainerContents[18] "OBJECT_FLAME_AUGMENTATION";
ContainerContents[19] "OBJECT_LIGHTNING_AUGMENTATION";
ContainerContents[20] "OBJECT_HERO_TITLE_JACK";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;