Deleted477949User Posted January 2, 2019 Share Posted January 2, 2019 Has anyone made any custom display cases in fallout 4. I know house mods in skyrim have a huge variety of them. I'd really like to make my own. Specifically I want to use the clothes rack and hanger mesh and make it so when certain clothes are added to it they appear hanging there. Anyone got any ideas? I know people have made custom bobblehead stands and magazine racks which do this so maybe its possible? Link to comment Share on other sites More sharing options...
pra Posted January 2, 2019 Share Posted January 2, 2019 (edited) Have you tried reverse-engineering those mods? Or even the vanilla bobblehead stand. Without looking I'd guess you would want to PlaceAtNode() the items you want to display, and then link them with some keyword to your case. Then get all those references and do stuff when the case is moved/removed/accessed/etc Edit: now I looked at it. It's indeed PlaceAtNode, but they just store the objectreferences of the placed bobbleheads. And yes, the mesh has a node for each bobblehead position, BobbleHeadDummy001 to BobbleHeadDummy020. Edited January 2, 2019 by pra Link to comment Share on other sites More sharing options...
Deleted477949User Posted January 2, 2019 Author Share Posted January 2, 2019 okay cool thats a start i'll see what i can do with that. I know my way around a nif file but not so much about scripting. Any idea where i'd need to look to figure that out. Link to comment Share on other sites More sharing options...
pra Posted January 3, 2019 Share Posted January 3, 2019 Look at the bobblehead stand's script. To look up script functions, use this: https://www.creationkit.com/fallout4/index.php?title=Main_Page Link to comment Share on other sites More sharing options...
Deleted477949User Posted January 3, 2019 Author Share Posted January 3, 2019 okay i've started looking into this. So the nodes could just be copied and pasted from one file ro another then moved into position it seems. Then I'll need to create a custom container using my niff.So I'm looking at a bunch of different meshes that can display stored items, weapon racks, nuka cola bottle display. It seems that i can just replace the references to the attach points with thos in my own nif file and the references to the item with the ids for my own meshes. Again in theory. I'll have to wait for my broadband to get installed before i figure all this out. I'm changing supplier and have managed to get myself a.l but cut off for the last month. I'll be reconnected properly on the 15th. Link to comment Share on other sites More sharing options...
Deleted477949User Posted January 3, 2019 Author Share Posted January 3, 2019 holy crap i got it working. I just need to figure out how to adjust the rotation of the placed objects. Thanks. Link to comment Share on other sites More sharing options...
Deleted477949User Posted January 4, 2019 Author Share Posted January 4, 2019 Okay sorry to triple post but here's the progress from last night moving into today. 1) I successfully copied and pasted and repositioned the placement nodes into the clothes rack nif. 2) I renamed the placement nodes. 3) In the CS I made a new entry for a weapon display rack (from dlc05) and loaded my custom mesh 4) In the script I changed the position references to the names I gave my own nodes and the keyword references to the unique keywords in my armors. 5) I tested, it works, in the nif file I adjusted the rotation of the position node so the clothes hang correctly. Problem 1) The weapon rack script only allows one weapon to be placed on each rack. solution) Use the coat hanger mesh instead of the clothes rack mesh. So I repeated the nif work on the hanger mesh and used the vanilla rack static. I created 2 containers in the cs (one for each outfit) using the coat hanger mesh I made. Baaically works but.... problem 2 The coat hanger mesh is havok enabled so it falls to the ground any time its interacted with. solutionseither- find a way to remove the one item per rack limit from the gun rack scriptor somehow disable havok for the custom coat hanger mesh. I took a look at the magazine rack and bobblehead rack scripts but they seem much more complicated than the weapon rack script. So while using either of these is also an option it may be easier to try one of the other 2. Link to comment Share on other sites More sharing options...
pra Posted January 4, 2019 Share Posted January 4, 2019 This is how you can disable havok: https://www.creationkit.com/fallout4/index.php?title=SetMotionType_-_ObjectReference Link to comment Share on other sites More sharing options...
Deleted477949User Posted January 4, 2019 Author Share Posted January 4, 2019 (edited) perfect and i found a video on how to set that up too. I'll try it tonight when i get home. You've been a big help thanks man. Update its working perfectly now. Thanks for your help i may release these as a modders resource. Edited January 4, 2019 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts