View Issue Details

IDProjectCategoryView StatusLast Update
0005742DarkRadiantShader Systempublic03.12.2024 19:05
ReporterDragofer Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status confirmedResolutionopen 
Product Version2.13.0 
Summary0005742: Feature: extend asset deprecation to more asset types
DescriptionOrbweaver recently pointed out that DarkRadiant already supports a clean way of deprecating assets so that they're no longer shown in DR:
http://orbweaver.gitlab.io/DarkRadiant/#_controlling_asset_visibility

Unfortunately this is currently restricted only to models and materials. I think at this point most of TDM's asset base could use some pruning, in particular among entities but also sounds and particles. It'd be nice to be able to properly deprecate all the light entities that are currently listed in various "deprecated" subfolders of the "lights" folder, for instance.

Skins and prefabs don't need support because (a) model references can be deleted from skins so they no longer show up in the modelchooser without affecting functionality and (b) prefabs can be deleted at any time.
Additional InformationA small bonus would be if the deprecation list could be called deprecated.lst instead of assets.lst. I think this would allow other and future maintainers to at a glance see what this file is for.
TagsNo tags attached.

Activities

orbweaver

orbweaver

03.12.2024 19:05

developer   ~0016924

For entities, the most natural way of achieving this would probably be to introduce a new spawnarg like "editor_visibility = hidden" which would have the same effect as listing a file as hidden in the assets.lst. This means it could be applied to individual entities by editing the .def file, without needing to create a new file or move defs between different files.

Regarding the name, "assets.lst" was chosen to avoid restricting the file to a single purpose. For example, a future feature might allow several different properties to be assigned to an asset, e.g. hidden, visible but marked as deprecated, visible and marked as particularly high-quality, or whatever. This is also why the file uses "model.lwo=hidden" syntax rather than just a bare list of files to hide.

Issue History

Date Modified Username Field Change
09.09.2021 21:03 Dragofer New Issue
09.09.2021 21:05 Dragofer Description Updated
09.09.2021 21:32 Dragofer Summary Extend asset deprecation to more asset types => Feature: extend asset deprecation to more asset types
10.09.2021 02:30 greebo Status new => acknowledged
03.12.2024 19:05 orbweaver Status acknowledged => confirmed
03.12.2024 19:05 orbweaver Note Added: 0016924