#4
24th Feb 2015 at 1:33 PM
Last edited by Arsil : 24th Feb 2015 at
1:55 PM.
Posts: 997
Thanks: 22103 in 95 Posts
15 Achievements
It is correct, but there's something wrong with the object itself.
In the catalog preview it displays no mesh/textures and you can't place it.
EDIT
Oh, I think I know what happened. You changed the name of the OBJD and OBJK
and pressed FNV64, didn't you?
Now the OBJD is pointing to a non existing OBJK's IID.
You can easily fix it this way:
- right click on the OBJK resource and select "Copy RK",
- select the OBJD and click "Grid"
- select the OBJKIndex and click on the arrow pointing north-east.
- select the OBJK and then click on "Paste RK".
The interaction doesn't seem to be working though.
EDIT2: maybe because that object can't be put into an inventory
(you have to add an inventoryItemComponent or something like that in OnStartup,).
Code:
base.AddComponent<ItemComponent>(new object[]
{
ItemComponent.SimInventoryItem
});