Ergebnis 1 bis 6 von 6
  1. #1 Zitieren
    Rookie
    Registriert seit
    Aug 2022
    Beiträge
    5
    Please help me create chest with any item. For example with It_Po_Health_Small. I tried to find the guide for about 3 hours and couldn't find anything. I want to create some houses and NPCs near the heart of the world, but I can't even do it.
    hiconog890@zfobo.c ist offline

  2. #2 Zitieren
    General Avatar von tombom81
    Registriert seit
    Jun 2015
    Beiträge
    3.143
    What have you done so far? Are you familiar with the elex2resman?

    I'd suggest to start here, click me
    (It's for ELEX (1) but the handling is the same as for ELEX 2.)

    You may have a look at TAV_Interacts.elex2secdoc, "Tpl_Int_Bsk_Chest_01", class gCInventory_PS.

    As soon as you've managed to unpack the elex2sec from c_1_na.pak we can continue changing the chest inventory.

    (Or you may have a look at the "Chest inventory modifier" for ELEX (1) at Nexus.)
    "in der Erkundung dieser weiten und wunderbaren Welt" (post #70, höre link unten)
    TAS for Elex 2 at ELEX II Nexus - Mods and Community (nexusmods.com)
    Tuvok, scannen Sie den Planeten nach Mikroplastik!
    "Hört mir bloß auf mit "Stormson".
    "In Toussaint wird schon für kleinere Schmähungen als diese Satisfaktion verlangt."
    Genug der "Blumensträuße". Ich WILL MadBob! Beugt die Realität!
    tombom81 ist offline

  3. #3 Zitieren
    Rookie
    Registriert seit
    Aug 2022
    Beiträge
    5
    Zitat Zitat von tombom81 Beitrag anzeigen
    What have you done so far? Are you familiar with the elex2resman?

    I'd suggest to start here, click me
    (It's for ELEX (1) but the handling is the same as for ELEX 2.)

    You may have a look at TAV_Interacts.elex2secdoc, "Tpl_Int_Bsk_Chest_01", class gCInventory_PS.

    As soon as you've managed to unpack the elex2sec from c_1_na.pak we can continue changing the chest inventory.

    (Or you may have a look at the "Chest inventory modifier" for ELEX (1) at Nexus.)
    Thank you for answer, yes i try work with elex2resman. Can u explain to me how should i read the coordinates? Where X, Y, Z ?
    MatrixLocal = and MatrixGlobal = have too many numbers and this puts me in confusion
    hiconog890@zfobo.c ist offline

  4. #4 Zitieren
    General Avatar von tombom81
    Registriert seit
    Jun 2015
    Beiträge
    3.143
    Zitat Zitat von hiconog890@zfobo.c Beitrag anzeigen
    Thank you for answer, yes i try work with elex2resman. Can u explain to me how should i read the coordinates? Where X, Y, Z ?
    MatrixLocal = and MatrixGlobal = have too many numbers and this puts me in confusion
    Yes, the matrices and boundaries are kinda confusing. The good news: Baltram, author of the elexresman introduced these "assignments":

    NewPos = (vec -201691.8 41819.4 -78023.648438);
    NewRot = (euler 0.000000 1.570796 0.000000);

    where x= -201691.8 y=41819.4 z=-78023.648438
    y is height, btw.

    euler angles in radians, so 1.570796=PI/2 or 90 degrees

    (Insert those lines after the line Creator =...)

    edit: most important thing when inserting new entities (chests, whatever).

    It's mandatory to change the uniqe item guid:

    "Tpl_Int_Bsk_Chest_01" {
    GUID = {2F260145-1E3E-4607-9109-3A9C74C907FF}; < needs to be unique
    Creator = {DFBBFDC0-806B-4793-B807-FF70DC13D4F8}; < always the same for all Tpl_Int_Bsk_Chest_01

    To create unige guids you might use patterns like this
    000000000000 (for new chest 1)
    000000000001 (for new chest 2)
    000000000002 (for new chest 3)

    and so on.

    For above chest replace GUID = {2F260145-1E3E-4607-9109-3A9C74C907FF};
    by GUID = {2F260145-1E3E-4607-9109-000000000000};

    (You could also replace the last byte, FF by FE but I wouldn't recommend this. There could be other modders which have the same simple idea.)

    edit 2: coordinates of a chest in Tavar: 45043.3438 33198.3359 -212655.219
    As a simple test you could give your new chest
    NewPos = (vec 45043.3438 33298.3359 -212655.219);

    then it should appear 1 m above the original one. (Just to be sure everything went right.)

    (I lost hours when searching for entities which I placed wrongly.)
    "in der Erkundung dieser weiten und wunderbaren Welt" (post #70, höre link unten)
    TAS for Elex 2 at ELEX II Nexus - Mods and Community (nexusmods.com)
    Tuvok, scannen Sie den Planeten nach Mikroplastik!
    "Hört mir bloß auf mit "Stormson".
    "In Toussaint wird schon für kleinere Schmähungen als diese Satisfaktion verlangt."
    Genug der "Blumensträuße". Ich WILL MadBob! Beugt die Realität!
    tombom81 ist offline Geändert von tombom81 (22.08.2022 um 19:04 Uhr) Grund: changed line Creator =

  5. #5 Zitieren
    Rookie
    Registriert seit
    Aug 2022
    Beiträge
    5
    Zitat Zitat von tombom81 Beitrag anzeigen
    Yes, the matrices and boundaries are kinda confusing. The good news: Baltram, author of the elexresman introduced these "assignments":

    NewPos = (vec -201691.8 41819.4 -78023.648438);
    NewRot = (euler 0.000000 1.570796 0.000000);

    where x= -201691.8 y=41819.4 z=-78023.648438
    y is height, btw.

    euler angles in radians, so 1.570796=PI/2 or 90 degrees

    (Insert those lines after the line MatrixGlobal =...)

    edit: most important thing when inserting new entities (chests, whatever).

    It's mandatory to change the uniqe item guid:

    "Tpl_Int_Bsk_Chest_01" {
    GUID = {2F260145-1E3E-4607-9109-3A9C74C907FF}; < needs to be unique
    Creator = {DFBBFDC0-806B-4793-B807-FF70DC13D4F8}; < always the same for all Tpl_Int_Bsk_Chest_01

    To create unige guids you might use patterns like this
    000000000000 (for new chest 1)
    000000000001 (for new chest 2)
    000000000002 (for new chest 3)

    and so on.

    For above chest replace GUID = {2F260145-1E3E-4607-9109-3A9C74C907FF};
    by GUID = {2F260145-1E3E-4607-9109-000000000000};

    (You could also replace the last byte, FF by FE but I wouldn't recommend this. There could be other modders which have the same simple idea.)

    edit 2: coordinates of a chest in Tavar: 45043.3438 33198.3359 -212655.219
    As a simple test you could give your new chest
    NewPos = (vec 45043.3438 33298.3359 -212655.219);

    then it should appear 1 m above the original one. (Just to be sure everything went right.)

    (I lost hours when searching for entities which I placed wrongly.)
    Thank you so much! It worked! As I understand it, there are no building catalogs (as in Skyrim) and I need to manually look at each texture for my houses. But it's not a problem. At least I did something. Thanks again.
    hiconog890@zfobo.c ist offline

  6. #6 Zitieren
    General Avatar von tombom81
    Registriert seit
    Jun 2015
    Beiträge
    3.143
    Glad to hear that it worked.
    Stay tuned!

    (Yeah, a texture catalogue would come in handy.)
    "in der Erkundung dieser weiten und wunderbaren Welt" (post #70, höre link unten)
    TAS for Elex 2 at ELEX II Nexus - Mods and Community (nexusmods.com)
    Tuvok, scannen Sie den Planeten nach Mikroplastik!
    "Hört mir bloß auf mit "Stormson".
    "In Toussaint wird schon für kleinere Schmähungen als diese Satisfaktion verlangt."
    Genug der "Blumensträuße". Ich WILL MadBob! Beugt die Realität!
    tombom81 ist offline

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •