|
Post by BrazenLotus on Aug 16, 2017 17:01:07 GMT -5
So I'm looking at creating some under counter retail displays and I want it to snap in like the dishwasher does. I've tried a couple of things to no avail, does anyone know what causes the dishwasher 1) to snap into place under the counter and 2) how does it cutout and remove the surrounding cabinet portion of the counter?
|
|
|
Post by brujah on Aug 17, 2017 18:23:47 GMT -5
A handful of things are needed for this to work correctly and I recommend comparing your current project to a dishwasher. In the Cutout Info Table resource - the "BaseFileNameHash" the same as the "ModelId"
- the "UsesCounterCutout" flag checked (value=00000040)
In the Object Catalog resource - the "Requires Slot" placement flag checked (value=00000400)
- "SlotDecoSize" and "SlottingBehavior" set to zero
- "SlotTypeSet" set to 7FCF22E3DE2DD317
Try these things first and if it does not work please post again with your .package so someone can take a look.
|
|
|
Post by BrazenLotus on Aug 18, 2017 7:09:30 GMT -5
Okay, so I did all that and it snaps in now, yay! I missed the "SlotTypeSet" the first time. The issue I'm having now is it's not cutting out the cabinet like the dishwasher does. I did a test clone of the dishwasher and did not change anything but it has the same issue. I wonder if the cloning process breaks/resets whatever it is that determines the cutout? You can see in the pic below from left to right - my WIP, the cloned BG dishwasher, and the in-game BG dishwasher.
|
|
|
Post by brujah on Aug 18, 2017 11:51:03 GMT -5
So I did a little digging in the Game File Cruiser and found the cutout. The "BaseFileNameHash" in the Cutout Table Resource I mentioned earlier is incorrect. It needs to be 2E207578175167AF. I found this by cloning the dishwasher as an override and looking in the combined Cutout Info Table (filter with \data\ and it should be the only one that pops up) and looking for the instance of the override model 03627D57B8574C90 (the entries are sequential).
|
|
|
Post by BrazenLotus on Aug 18, 2017 13:00:42 GMT -5
OMG it worked thank you so much brujah!!! :D
|
|