akamal Posted January 3, 2016 Share Posted January 3, 2016 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 More sharing options...
Deleted2948850User Posted January 3, 2016 Share Posted January 3, 2016 Use xEdit to find all the Placed Object forms of the stuff you're looking for, the forms have their exact X/Y/Z position (except for the items that are indoors, their X/Y/Z locations are purely for the cells they're in and not for the general Commonwealth worldspace). Link to comment Share on other sites More sharing options...
akamal Posted January 6, 2016 Author Share Posted January 6, 2016 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 More sharing options...
Deleted2948850User Posted January 7, 2016 Share Posted January 7, 2016 Oh dang, I know doors work as teleport activators, two doors linked both working as a teleport to the other. But I've never done those without a CK, so I can't help you with that.. You might be able to pull some forms/scripts from existing doors to use as a template though? Link to comment Share on other sites More sharing options...
zilav Posted January 7, 2016 Share Posted January 7, 2016 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 More sharing options...
Darkangel13 Posted January 7, 2016 Share Posted January 7, 2016 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. Link to comment Share on other sites More sharing options...
Deleted2948850User Posted January 7, 2016 Share Posted January 7, 2016 Nice, didn't even occur to me that the teleport data would be in the placed door form itself. Didn't the older games use a separate teleport marker? Link to comment Share on other sites More sharing options...
Darkangel13 Posted January 7, 2016 Share Posted January 7, 2016 Nice, didn't even occur to me that the teleport data would be in the placed door form itself. Didn't the older games use a separate teleport marker?No Bethesda is doing the same thing since the time of Oblivion possibly Morrowind :D Link to comment Share on other sites More sharing options...
Deleted2948850User Posted January 7, 2016 Share Posted January 7, 2016 Huh.. Maybe the markers where already attached to the objects then, I remember some visualisation of teleport markers in the CK anyway. Oh well, doesn't matter as long as it works =] Link to comment Share on other sites More sharing options...
akamal Posted January 7, 2016 Author Share Posted January 7, 2016 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 More sharing options...
Recommended Posts