View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004910||DarkRadiant||General||public||09.12.2018 18:16||31.01.2019 14:05|
|Priority||normal||Severity||feature||Reproducibility||have not tried|
|Summary||0004910: DR does not parse materials in def files|
|Description||I'm working on a large sandbox mod.|
Doom3 (I'm using dhewm3) allows you to define a material in a .def by prefixing it with 'material', as an alternative to having it in a .mtr file in /materials.
I prefer this method, since this way, you can keep everything that's related to an entity contained in the .def file, which makes things nicer to manage, find, and mod.
You can also do this with skins, soundshaders, ragdolls, particles and so on.
DarkRadiant does not support this - it does not parse the materials, and as such my entities are untextured in the editor.
It would be nice if DarkRadiant implemented support for this, to be feature parity with IdTech4 at least.
|Tags||No tags attached.|
It would definitely be nice to have the same parsing flexibility as idTech4, but would require non-trivial changes to DR's architecture since currently all of the parsers are separate and tied to their own search directories.
If this were ever implemented, I would suggest a sort of "global def manager" which is responsible for searching ALL directories that might contain defs, then farming each one out to a task-specific parser based on either the containing directory name or the explicit def type listed in the file.