• Welcome to the Fable Community Forum!

    We're a group of fans who are passionate about the Fable series and video gaming.

    Register Log in

Need some help with spawning an object.

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:

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;
Thanks for your help in advance.
 

Sephiroxas

Local Succubus
Premium
Joined
Sep 18, 2006
Messages
3,908
Reaction score
505
Points
365
Age
36
Re: Need some help with spawning an object.

I can honestly see no problem with what you put in the chest. Try maybe..not putting so many container contents. Like try up to five. It may be the frying pan too.
 

Sephiroxas

Local Succubus
Premium
Joined
Sep 18, 2006
Messages
3,908
Reaction score
505
Points
365
Age
36
Re: Need some help with spawning an object.

Marcopolo;70793 said:
try that

you had some oddly placed spaces that most likely killed it

The oddly placed spaces come from the format of the forum
 
W

Wd123

Guest
Re: Need some help with spawning an object.

There's many spaces in that too....
 

Sephiroxas

Local Succubus
Premium
Joined
Sep 18, 2006
Messages
3,908
Reaction score
505
Points
365
Age
36
Re: Need some help with spawning an object.

I'm going to try this exact chest out right now in Lookout point

Wd123;70800 said:
There's many spaces in that too....

Marcopolo;70793 said:
try that

you had some oddly placed spaces that most likely killed it

EDIT: this site postes the tng script funny and decides to randomly plae new spaces in

i will upload a notepad file with the edited chest script


heehee :lol:
 
W

Wd123

Guest
Re: Need some help with spawning an object.

I removed the spaces and I took out the frying pan, didn't work.
 
M

Marcopolo

Guest
Re: Need some help with spawning an object.

upped, try that, i cant see any other errors, maybe it's something else in the tng thats killing it

make sure you haven't accidentally removed the end of a script or something


okay up the tng and i'll take a look at it
 
M

Marcopolo

Guest
Re: Need some help with spawning an object.

ah for the one i upped just click the link then look down the page a bit, it's a bad upload site so there is a counter for when your dl link will appear, just wait about 30 secs

i may be able to just upp it to your ftp if you have that option

umm does it crash or does it just not appear?

because it is under the statuemaster header no the null
 
W

Wd123

Guest
Re: Need some help with spawning an object.

It crashes. So did i put it in another statement then? Darnet lol...
 

Sephiroxas

Local Succubus
Premium
Joined
Sep 18, 2006
Messages
3,908
Reaction score
505
Points
365
Age
36
Re: Need some help with spawning an object.

Well when I first tried to spawn the chest I got a weird empty space with the new object in it.
But I tried again and it seemed to spawn just fine for me. I got everything inside of it.
 
W

Wd123

Guest
Re: Need some help with spawning an object.

Thanks a lot MarcoPolo I thought that I had put the chest in the NULL section, but just as you pointed out, it is in the statue section.
 
M

Marcopolo

Guest
Re: Need some help with spawning an object.

is it not crashing any more? also i think it was underground

it depends on what part of lookout point it was in

but i think where you had it should be z 40 not z 5
 
W

Wd123

Guest
Re: Need some help with spawning an object.

Ah, kk. That would make sense lol. I havent tried it with the new changes yet. Still going over the sections to make sure I put it in correctly. Question though, do I need to make a new section for the chest, do I put it in no section, or do I put it in a pre-existing section?
 

Sephiroxas

Local Succubus
Premium
Joined
Sep 18, 2006
Messages
3,908
Reaction score
505
Points
365
Age
36
Re: Need some help with spawning an object.

Marcopolo;70818 said:
is it not crashing any more? also i think it was underground

it depends on what part of lookout point it was in

but i think where you had it should be z 40 not z 5

To my knowledge it seemed to be outside the general lookout point area. Behind some of the fences and in bushes. I got mine to work.

 
M

Marcopolo

Guest
Re: Need some help with spawning an object.

lol well there's the proof you need :p

maybe you should send him your copy of lookout point and save him the time and effort.
 

Sephiroxas

Local Succubus
Premium
Joined
Sep 18, 2006
Messages
3,908
Reaction score
505
Points
365
Age
36
Re: Need some help with spawning an object.

Marcopolo;70825 said:
lol well there's the proof you need :p

maybe you should send him your copy of lookout point and save him the time and effort.

:lol: Maybe let him try a few times first. Then I might uploaded it somewhere. The only place I know of is that turbo upload place. and even then I wouldn't know what to send him. Just the regular .tng file? *newb*

Wd123;70821 said:
Ah, kk. That would make sense lol. I havent tried it with the new changes yet. Still going over the sections to make sure I put it in correctly. Question though, do I need to make a new section for the chest, do I put it in no section, or do I put it in a pre-existing section?

You shouldn't have to do anything but put the code at the bottom of Null

Steptwo.jpg
 
M

Marcopolo

Guest
Re: Need some help with spawning an object.

lol i never use ae for adding stuff, since i started before those new fangled tng editors :p

and yeah just up the tng
 
S

starkiller

Guest
Re: Need some help with spawning an object.

hi there is there anyway of changing my bright plate armor to thunders armor if there is can anyone pls explain on how to do it im new to modding so i dont realy no ?
 
Top