View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005742 | DarkRadiant | Shader System | public | 09.09.2021 21:03 | 03.12.2024 19:05 |
Reporter | Dragofer | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | confirmed | Resolution | open | ||
Product Version | 2.13.0 | ||||
Summary | 0005742: Feature: extend asset deprecation to more asset types | ||||
Description | Orbweaver 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 Information | A 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. | ||||
Tags | No tags attached. | ||||
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. |
|
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 |