Jump to content

Custom display cases


Recommended Posts

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

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 by pra
Link to comment
Share on other sites

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

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.

 

solutions

either- find a way to remove the one item per rack limit from the gun rack script

or 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

  • Recently Browsing   0 members

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