View Issue Details

IDProjectCategoryView StatusLast Update
0005989The Dark ModModelspublic25.06.2022 06:28
ReporterFrost_Salamander Assigned ToObsttorte  
Status resolvedResolutionfixed 
PlatformPCOS WindowsOS Version10
Product VersionTDM 2.10 
Summary0005989: kitchen_cupboard_openable.pfb broken
DescriptionThe kitchen_cupboard_openable.pfb has a problem where the doors become unfrobable.

I'm not sure what the problem is, as both doors have immune_to_target_setfrobable = 1 and they both target the correctly-named atdm:target_set_frobable entity. I thought it might be because they open separately so when one opens/closes it makes the other door unfrobable, but not sure now.
Steps To Reproduce1. Add the kitchen_cupboard_openable.pfb prefab to a map
2. start the game and open the left door, and then the right door. The right door immediately becomes unfrobable after it opens.
3. close and open the left door 2 more times. It will then become unfrobable as well.

The same thing happens if you reverse the order of the doors (right first, then left).

TagsNo tags attached.




23.06.2022 10:08

developer   ~0014915

The doors both have the "immune_to_target_setfrobable" "1" spawnarg, and they aren't even touching the setfrobable brush, so it's unclear why they're going unfrobable.

Noticed some more mistakes though:
1) the doors need both "trigger_on_open" and "trigger_on_close" set to 1. Right now frobability will only change whenever the cupboard is opened, not when it's closed, so it quickly gets out of sync.
2) each door should have its own setfrobable brush (as for example in cabinet03a.pfbx). Otherwise one door would affect the frobability of items in the other half of the cupboard.


25.06.2022 06:28

developer   ~0014917

The door handles need to have the immunity, too, which wasn't the case.
Fixed with rev 16499

Issue History

Date Modified Username Field Change
22.06.2022 21:40 Frost_Salamander New Issue
23.06.2022 10:08 Dragofer Note Added: 0014915
25.06.2022 06:24 Obsttorte Assigned To => Obsttorte
25.06.2022 06:24 Obsttorte Status new => assigned
25.06.2022 06:28 Obsttorte Status assigned => resolved
25.06.2022 06:28 Obsttorte Resolution open => fixed
25.06.2022 06:28 Obsttorte Note Added: 0014917