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

Home » Fable TLC » Discussion » General Mod Discussion » Throwing Disc *Discussion*
Re: Throwing Disc *Discussion* [message #10161 is a reply to message #7693] Tue, 18 July 2006 13:47 Go to previous messageGo to previous message
SerialF is currently offline  SerialF
Messages: 3
Registered: July 2006
Location: Portugal
Satan wrote on Tue, 25 April 2006 16:44


How do you do what ? Add items to a bookcase/chest/whatever ?

It's easy enough using a text editor or AlbionExplorer.

Adding items to a Chest/Bookcase or similar object

  • Open the .tng file for the area you want the item to appear in.
  • Find/add the chest/bookcase or whatever you want to add the item to. e.g. OBJECT_SILVERKEY_CHEST.
  • Scroll down the objects code untill you see the section marked CONTAINER_CONTENTS (or similar)
  • Add the object name into the space between the ""s e.g. OBJECT_SWORD_OF_AEONS
  • If you want to add more than one item to an object either replace any current items or add another line underneath the one you just edited, making sure to increment (increase) the number in the brackets by 1.
  • Save and enjoy Smile

An example script for the above can be found here

Spawning individual items
  • Open the .tng file for the area you want the item to appear in.
  • Create a new object with a unique UID and set its co-ordinates. These can be calculated by using numbers relative to a nearby object or by adding the object code to the .tng in AlbionExplorer and moving its icon on the map.
    NewThing Object;
    Player 4;
    UID 18446766684187468629
    DefinitionType "OBJECT_SWORD_OF_AEONS";
    ScriptName NULL;
    ScriptData "NULL";
    ThingGamePersistent FALSE;
    ThingLevelPersistent FALSE;
    StartCTCPhysicsStandard;
    PositionX 47.659912;
    PositionY 33.154297;
    PositionZ 55.0;
    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;
    Health 1.0;
    EndThing;
    
  • Save and enjoy Smile




Well i have done all thoose things but i can't save it well (or i think that is that the problem)

I use albion explorer and i changed a street lamp to a chest with this code:

NewThing Object;
Player 4;
UID 18446741874686296333;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 96.063965;
PositionY 73.392578;
PositionZ 38.446365;
RHSetForwardX -0.978137;
RHSetForwardY 0.207936;
RHSetForwardZ 0.0;
RHSetUpX -0.000102;
RHSetUpY -0.000478;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_THROWING_DISC_MELEE";
ContainerContents[1] "OBJECT_THROWING_DISC_RANGED";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;


in the wend i just close the albion explorer and choose to save .wld... i open the albion explorer and this script is on the right place... but i search all the LookoutPoint area and i didn't find the chest... =X

[Updated on: Tue, 18 July 2006 13:50]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fire ball lvl change
Next Topic: Another creature gen question.
Goto Forum:
  


Current Time: Sat Oct 19 15:24:47 PDT 2024

Total time taken to generate the page: 0.04307 seconds