View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004889||DarkRadiant||Models||public||27.09.2018 18:42||08.11.2020 18:36|
|Priority||normal||Severity||feature||Reproducibility||have not tried|
|Platform||PC, Windows, x64||OS||Win 7/8||OS Version||Sp2/8.1|
|Target Version||2.7.0||Fixed in Version||2.7.0|
|Summary||0004889: A method to deprecate models without breaking existing maps:|
|Description||The issue is that models cannot be renamed or moved without breaking maps that rely on them. |
It would be nice to remove some low-quality models from DR so that mappers aren't tempted to use them without being aware of the problems. Somehow the problem models would need to be flagged in some way that DR can be made to understand, but that that can still be accessed if needed (in case someone wants to edit a map that uses the older models).
|Steps To Reproduce||http://forums.thedarkmod.com/topic/19662-nominate-poor-models/#entry427976 -|
|Tags||No tags attached.|
If I understand correctly, the request is for a mechanism to hide or apply some visual "deprecated" status to models in DarkRadiant, without actually removing the model itself from the game installation (which would break maps).
I think this is actually pretty straightforward:
1. In each folder (virtual in a PK4 or extracted on disk), DarkRadiant will look for an "assets.lst" file, and attempt to parse this as a list of keyvalue pairs. If there is no such file, or the parsing fails, DarkRadiant will ignore the file and load all assets within the folder as normal.
2. If the assets.lst contains a line in the format "bad_model.lwo=hidden", DarkRadiant will hide the named asset from all in-game selectors, but continue to render the asset as normal if it is already present in a map.
3. Other values could be supported as well; for example, "bad_model.lwo=deprecated" could list the model in selectors but apply some GUI styling to indicate that it is not recommended for use.
4. There is no particular reason to limit this to only models (hence "assets.lst" not "models.lst"). Bad textures could be hidden in the same way (although it is perhaps less useful for assets which are constructed via virtual paths in def files rather than an on-disk file hierarchy).
5. The key on the left of the equal sign could be a directory as well, resulting in the entire directory being hidden.
|Implemented in 2eddbc8bb06bf79c45b37b59ea3abf401bcc92f2|
|27.09.2018 19:10||nbohr1more||Summary||A method to degenerate models without breaking existing maps: => A method to deprecate models without breaking existing maps:|
||Reporter||user81 => Obsttorte|
||Severity||normal => feature|
||Status||new => feedback|
|31.01.2019 17:06||orbweaver||Note Added: 0011526|
|31.01.2019 17:06||orbweaver||Assigned To||=> orbweaver|
|31.01.2019 17:06||orbweaver||Status||feedback => confirmed|
|31.01.2019 17:09||orbweaver||Note Edited: 0011526||View Revisions|
|01.02.2019 11:22||orbweaver||Status||confirmed => assigned|
|17.04.2019 20:10||orbweaver||Note Added: 0011747|
|17.04.2019 20:10||orbweaver||Status||assigned => resolved|
|17.04.2019 20:10||orbweaver||Fixed in Version||=> 2.7.0|
|17.04.2019 20:10||orbweaver||Resolution||open => fixed|
|08.11.2020 18:36||greebo||Status||resolved => closed|