View Issue Details

IDProjectCategoryView StatusLast Update
0005989The Dark ModModelspublic09.07.2022 18:51
ReporterFrost_Salamander Assigned ToObsttorte  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOS WindowsOS Version10
Product VersionTDM 2.10 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
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.

Activities

Dragofer

Dragofer

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.
Obsttorte

Obsttorte

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
Dragofer

Dragofer

09.07.2022 15:10

developer   ~0014983

Rev 16521
Also fixed the problems I mentioned in the comment above - frobability of cupboard contents now works as expected.

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
09.07.2022 15:10 Dragofer Note Added: 0014983
09.07.2022 18:51 Dragofer Fixed in Version => TDM 2.11
09.07.2022 18:51 Dragofer Target Version => TDM 2.11