Jump to content

How to find item locations in the world?


akamal

Recommended Posts

 

Does any one know a of a way to extract item locations in bulk from the game?

 

I'd like to get the exact locations (in world co-ordinates) of all bobbleheads and perk magazines, but I can't see a way to do it other than manually looking through every cell in FO4edit, which would take about hundred years!

 

Any pointers would be greatly appreciated.

Link to comment
Share on other sites

Thanks to your hint I eventually found the filter and scripting functionality of xEdit which let me get the locations for items that are in the Commonwealth world space.

 

So, next question, what is the relationship between an interior cell, the doors that join it to the commonwealth world space, and the coordinates of the linked door in the commonwealth world space?

That is, how would one write a script that for given a interior cell would return the coordinates of a door in the commonwealth world space that leads to that cell?

Link to comment
Share on other sites

First, all door refs are always persistent, so for interior cells they are located in Persistent cell child group, for exterior cells under a single persistent exterior CELL child of a worldspace.

If you have a FormID of interior cell as an input, to find exterior door you should traverse persistent referenses of DOOR records of that cell and look for XTEL subrecord

 

http://s8.postimg.org/ujtc70uer/image.png

 

XTEL\Door points to a DOOR ref leading to this cell. If it is in under worldspace persistent cell, then you found what you are looking for. However this door could be in interior too for multilevel interior cells for example. so you should continue recursively searching for DOOR refs until end up un exterior cell.

You can check for interior/exterior cells using "DATA\Flags\Is Interior" flag.

Link to comment
Share on other sites

zilav, that's brilliant info, should be enough for me to get what I need, thanks!

 

Fire up FO4 walk to the door active console click on the door. You will get ID. Got to FO4Edit type into the Form ID tadaaa you have a location.

That's fine if you want the coords for for one door, and you already know where in the world it is. It doesn't really work when you want the locations of a couple of hundred, and have no idea where most of the are! :smile:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...