• 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

Spawning Chests

Re: Spawning Chests

Chest 1
NewThing Object;
Player 4;
UID 18446741874686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 59.097170;
PositionY 123.507100;
PositionZ 19.803900;
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_GOLD_1000000"; ContainerContents[1] "OBJECT_MINION_WEAPON_DREADWINGS";
ContainterContents[2] "OBJECT_LEGENDARY_KATANA";
ContainerContents[3] "OBJECT_SWORD_OF_AEONS";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;

Chest 2
NewThing Object;
Player 4;
UID 18446748754686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 72.315920;
PositionY 129.608400;
PositionZ 20.000000;
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_LEGENDARY_BROADSWORD_02";
ContainerContents[1] "OBJECT_LEGENDARY_BROADSWORD";
ContainerContents[2] "OBJECT_HERO_TITLE_PALADIN";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;

Chest 3
NewThing Object;
Player 4;
UID;
18446741783618588852;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 65.130860;
PositionY 124.629400;
PositionZ 20.000000;
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_HERO_GLOVES_PLATINUM";
ContainerContents[1] "OBJECT_HERO_BOOTS_PLATINUM";
ContainerContents[2] "OBJECT_HERO_TROUSERS_PLATINUM";
ContainerContents[3] "OBJECT_HERO_SHIRT_PLATINUM";
ContainterContents[4] "OBJECT_HERO_HELMET_PLATINUM";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
 
Re: Spawning Chests

Thank You! i got it to work i spawned a chest and i edited another one!
Your tips are greatly appreciated!
 
Re: Spawning Chests

Diskarded;104997 said:
I have run into a problem with chest spawning, I have created 2 chest in the Guild, and those work just grand. I made a third chest and whenever I get to the guild, the game crashes. Any suggestions on how to fix my problem?

Why do you need to spawn 3 chests though? After all, you can put as many items as you like in one chest...=]
 
Re: Spawning Chests

i think theres somthing wrong with the 3rd try this

NewThing Object;
Player 4;
UID 18446741783618588852;
DefinitionType "OBJECT_CHEST_OPENABL E";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 65.130860;
PositionY 124.629400;
PositionZ 20.000000;
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_HERO_GLOVES_PLATI NUM";
ContainerContents[1] "OBJECT_HERO_BOOTS_PLATIN UM";
ContainerContents[2] "OBJECT_HERO_TROUSERS_PLA TINUM";
ContainerContents[3] "OBJECT_HERO_SHIRT_PLATIN UM";
ContainerContents[4] "OBJECT_HERO_HELMET_PLATI NUM";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
 
Re: Spawning Chests

Well, I tried it, and it didn't work. Thanx for the effort though. Is there any way I can delete that third chest?
 
Re: Spawning Chests

Ok, so I figured out how to delete all of the treasure chests that I spawned and that seemed to work, I also created a new chest, and everything is going just great. Thanx for all the help from everyone!
 
Re: Spawning Chests

Well, I tried it, and it didn't work. Thanx for the effort though. Is there any way I can delete that third chest?

Sure, just delete the script pertaining to it. Or if using AE, then just highlight and press that handy little delete button ;)
 
Re: Spawning Chests

Hi I'm new to modding and I added my chest to the picnic area and it appears on the albion explorer but not in fable.
I noticed that it might be underground but I don't know how to fix that.
 
Re: Spawning Chests

dallicat;107562 said:
Hi I'm new to modding and I added my chest to the picnic area and it appears on the albion explorer but not in fable.
I noticed that it might be underground but I don't know how to fix that.

The height is controlled by the z coordinate. You can check if it's right by looking at the z value of other objects (like the sundial).
 
Re: Spawning Chests

dallicat;107564 said:
Where's the z value?

Code:
NewThing Object;
Player 4;
UID 18446766684187468629
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 47.659912;
PositionY 33.154297;
[color=red]PositionZ 55.0;[/color]
RHSetForwardX -0.743122;
RHSetForwardY 0.669122;
RHSetForwardZ 0.0;
RHSetUpX -0.000517;
RHSetUpY -0.000574;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_SWORD_OF_AEONS";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;

Now this isn't your z value, it's random. If you look at the sundial that's in the Picnicarea you can place it somewhere near it, and use the same z value.

Code:
Player 4;
UID 18446741874686296256;
DefinitionType "OBJECT_SUNDIAL_01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 43.539795;
PositionY 44.694092;
[color=red]PositionZ 29.862812;[/color]
RHSetForwardX 0.0;
RHSetForwardY 0.999994;
RHSetForwardZ 0.0;
RHSetUpX 0.0;
RHSetUpY 0.0;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCActionUseReadable;
GameTextDefName "TXT_SIGN_PICNIC_AREA_SUNDIAL";
EndCTCActionUseReadable;
StartCTCEditor;
EndCTCEditor;
Health 1.0;
EndThing;
 
Re: Spawning Chests

okay so I changed the z value but it still shows as under the orange in navigation and it doesn't appear in fable.
 
Re: Spawning Chests

OldBoy;107581 said:
Post the code of the chest.
NewThing Object;
Player 4;
UID 18446711194686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 50.427490;
PositionY 48.074710;
PositionZ 35.000000;
RHSetForwardX -0.453215;
RHSetForwardY 0.891401;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_SILVER_KEY";
ContainerContents[1] "OBJECT_SILVER_KEY";
ContainerContents[2] "OBJECT_SILVER_KEY";
ContainerContents[3] "OBJECT_SILVER_KEY";
ContainerContents[4] "OBJECT_SILVER_KEY";
ContainerContents[5] "OBJECT_SILVER_KEY";
ContainerContents[6] "OBJECT_SILVER_KEY";
ContainerContents[7] "OBJECT_SILVER_KEY";
ContainerContents[8] "OBJECT_SILVER_KEY";
ContainerContents[9] "OBJECT_SILVER_KEY";
ContainerContents[10] "OBJECT_SILVER_KEY";
ContainerContents[11] "OBJECT_GOLD_1000000";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
 
Re: Spawning Chests

Try this:

Code:
NewThing Object;
Player 4;
UID 18446711112345296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 47.00;
PositionY 44.00;
PositionZ 30.00;
RHSetForwardX -0.453215;
RHSetForwardY 0.891401;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_SILVER_KEY";
ContainerContents[1] "OBJECT_SILVER_KEY";
ContainerContents[2] "OBJECT_SILVER_KEY";
ContainerContents[3] "OBJECT_SILVER_KEY";
ContainerContents[4] "OBJECT_SILVER_KEY";
ContainerContents[5] "OBJECT_SILVER_KEY";
ContainerContents[6] "OBJECT_SILVER_KEY";
ContainerContents[7] "OBJECT_SILVER_KEY";
ContainerContents[8] "OBJECT_SILVER_KEY";
ContainerContents[9] "OBJECT_SILVER_KEY";
ContainerContents[10] "OBJECT_SILVER_KEY";
ContainerContents[11] "OBJECT_GOLD_1000000" ;
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
 
Re: Spawning Chests

OldBoy;107584 said:
Try this:

Code:
NewThing Object;
Player 4;
UID 18446711112345296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 47.00;
PositionY 44.00;
PositionZ 30.00;
RHSetForwardX -0.453215;
RHSetForwardY 0.891401;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_SILVER_KEY";
ContainerContents[1] "OBJECT_SILVER_KEY";
ContainerContents[2] "OBJECT_SILVER_KEY";
ContainerContents[3] "OBJECT_SILVER_KEY";
ContainerContents[4] "OBJECT_SILVER_KEY";
ContainerContents[5] "OBJECT_SILVER_KEY";
ContainerContents[6] "OBJECT_SILVER_KEY";
ContainerContents[7] "OBJECT_SILVER_KEY";
ContainerContents[8] "OBJECT_SILVER_KEY";
ContainerContents[9] "OBJECT_SILVER_KEY";
ContainerContents[10] "OBJECT_SILVER_KEY";
ContainerContents[11] "OBJECT_GOLD_1000000" ;
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
Still nothing but thx for trying
 
Re: Spawning Chests

I removed it.
I went and changed useWAD=TRUE --> useWAD=FALSE