View Issue Details

IDProjectCategoryView StatusLast Update
0005970The Dark ModTexturespublic25.06.2022 15:25
ReporterFrost_Salamander Assigned ToObsttorte  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSWindowsOS Version10
Product VersionTDM 2.10 
Fixed in VersionTDM 2.11 
Summary0005970: scorch circle decal in fireplace prefab doesn't render
DescriptionThe scorch circle on the bottom of the prefabs/fireplace/small_round_furnace_openable.pfb prefab doesn't render.

The texture is 'textures/darkmod/decals/dirt/scorch_circle'. if you change it to 'textures/darkmod/decals/dirt/scorch_circle_nonsorted' it then appears.
Steps To Reproduce1. Add the prefab 'prefabs/fireplace/small_round_furnace_openable.pfb' to a map
2. Run dmap and start the mission
3. Observe that the scorch circle decal doesn't appear
Additional InformationIn the attached screenshots, the fireplace on the left is using 'textures/darkmod/decals/dirt/scorch_circle' while the one on the right is using 'textures/darkmod/decals/dirt/scorch_circle_nonsorted'.

Could we add a category for stuff like this in the drop down list when raising bugs? Something like 'prefabs' or 'core assets'?
TagsNo tags attached.
Attached Files
scorch_dr.PNG (1,385,526 bytes)
scorch_ingame.PNG (883,998 bytes)

Activities

Obsttorte

Obsttorte

25.06.2022 15:03

developer   ~0014924

Last edited: 25.06.2022 15:22

"Could we add a category for stuff like this in the drop down list when raising bugs? Something like 'prefabs' or 'core assets'?"
I would say this is either Models or Textures, isn't it? I am not sure whether those categories are important either way.

On the matter: It seems the one who wrote the material misinterpreted what the flag 'sort' does. It is set to '1' which corresponds to portal_sky. It should be sort decal.

EDIT: There are four decals that make use of this plus two sfx materials, where it should fit.
textures/darkmod/decals/dirt/scorch_circle
textures/darkmod/decals/dirt/scorch_flatbottom
textures/decals/scorch2
(defined in tdm_decals.mtr)

as well as

textures/decals/smear01
(defined in tdm_decals_legacy.mtr).

In the latter case it is especially odd as it uses TWOSIDED_DECAL_MACRO, which already adds all necessary material flags.
The first cases should use DECAL_MACRO.

I would therefore remove sort 1 in the latter and exchange it with DECAL_MACRO in the first case.
Obsttorte

Obsttorte

25.06.2022 15:25

developer   ~0014925

Fixed with revision 16503.

Issue History

Date Modified Username Field Change
11.06.2022 09:14 Frost_Salamander New Issue
11.06.2022 09:14 Frost_Salamander File Added: scorch_dr.PNG
11.06.2022 09:14 Frost_Salamander File Added: scorch_ingame.PNG
25.06.2022 15:03 Obsttorte Note Added: 0014924
25.06.2022 15:08 Obsttorte Note Edited: 0014924
25.06.2022 15:22 Obsttorte Note Edited: 0014924
25.06.2022 15:22 Obsttorte Assigned To => Obsttorte
25.06.2022 15:22 Obsttorte Status new => assigned
25.06.2022 15:25 Obsttorte Status assigned => resolved
25.06.2022 15:25 Obsttorte Resolution open => fixed
25.06.2022 15:25 Obsttorte Fixed in Version => TDM 2.11
25.06.2022 15:25 Obsttorte Note Added: 0014925