Page MenuHomeFeedback Tracker

Hiding Cargoslots of attached item
Assigned, NormalPublic

Description

Hello guys,
i try to hide the cargoslots of an attached item...
Tried many things now... but nothing has the wanted result

Script:

modded class SmallProtectorCase

{
    override bool CanDisplayCargo()
    {
        return false;
    }

    override bool CanDisplayAnyAttachmentSlot()
    {
        return false;
    }
};

We used here the ProtectorCase, but it's with all items, that have any Cargoslots (Tents, Barrels, WoodenCrate, Seachest,...)
As you can see in screenshot 1 the ProtectorCase is attached to an Backpack and shows the Cargo as "Closable Container" and the backpack shown the name of the Protectorcase -> correct name of backpack is shown again, when updating the cargo (adding/removing an item)

Screenshot 2 the same ProtectorCase in hands showing no Cargoslots like it is supposed to do

Screenshot 3 just a funny sidefact: on vehicle it is working...

Details

Severity
None
Resolution
Open
Reproducibility
Have Not Tried
Operating System
Windows 7
Category
Modding

Event Timeline

Lykos15 created this task.Fri, Jul 18, 9:37 AM

we had the same problem

tent slot:

as you can see after inserting the MediumTent in the slot, the ALiceBag got renamed and then down there is "closable container"

same in the inventory

attaching PBO to test it by yoursefl:

Lykos15 updated the task description. (Show Details)Fri, Jul 18, 9:55 AM
Geez changed the task status from New to Assigned.Fri, Jul 18, 1:31 PM