Re: Game crashes when i open a spawned chest [message #56098 is a reply to message #56089] |
Tue, 09 February 2010 15:55 |
derkky
Messages: 14 Registered: February 2010
|
|
|
|
NewThing Object;
Player 4;
UID 18446747854686296151;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 184.500000;
PositionY 107.500000;
PositionZ 19.770480;
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_SHIRT_JACK";
ContainerContents[1] "OBJECT_HERO_BOOTS_JACK";
ContainerContents[2] "OBJECT_HERO_TROUSERS_JACK";
ContainerContents[3] "OBJECT_HERO_TITLE_JACK";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
That is a chest script. I made it using albion explorer.
NewThing Object;
Player 4;
UID 12763549012348761524;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 18.000000;
PositionY 124.000000;
PositionZ 26.5;
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_HERO_TROUSERS_JACK";
ContainerContents[1] "OBJECT_HERO_SHIRT_JACK";
ContainerContents[2] "OBJECT_HERO_BOOTS_JACK";
ContainerContents[3] "OBJECT_HERO_TITLE_JACK";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
This is the one i made using john doe's text editing method.
|
|
|