View Issue Details

IDProjectCategoryView StatusLast Update
0006335DarkRadiantGUIpublic14.01.2024 04:44
ReporterFrost_Salamander Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityN/A
Status resolvedResolutionfixed 
PlatformPCOSWindowsOS Version11
Product Version3.8.0 
Target Version3.9.0Fixed in Version3.9.0 
Summary0006335: Feature request: allow a way to easily see all properties of attached entities
DescriptionI would like a way to quickly and easily view all the properties (inherited or otherwise) of an attached entity. For example, the attached light entity on a combined light entity.

At first it looked like the easiest way to do this would be to enable the 'Show Definition...' button for any field that names an entity (e.g. 'def_attach'). At the moment, that only seems to work for the 'classname' field.

Then it occurred to me that even if that worked, it would only show the contents of the .def file. Any inherited properties wouldn't be visible and I would have to go track down the entity and all its superclasses myself.

'Show Definition' might still be useful though if you want to see exactly how the entity has been defined (base class, etc). So really what's needed is to display the attached entity in something like the entity tab itself with 'inherited properties' ticked. Maybe a pop-up?

So I think this is really 2 things:

- Allow 'Show Definition...' to work for any field that names an entity, not just 'classname'
- Some way to show all properties of an attached entity via a pop up or new tab (suggestions welcome)
Steps To ReproduceAdd a combined light entity to a map.
Select it, and click the 'entity' tab.
Select the def_attach field and then click 'Show Definition...'

nothing happens. Ideally it would show the entity definition of whatever the attached light entity is (e.g. light_torchflame_small)

Also test with an AI entity. Some fields like 'def_head' don't even show the 'Show Definition' button. However 'def_projectile' does.
TagsNo tags attached.

Activities

Frost_Salamander

Frost_Salamander

19.12.2023 23:49

reporter   ~0016251

Just realised this is similar/related to:

https://bugs.thedarkmod.com/view.php?id=6301
https://bugs.thedarkmod.com/view.php?id=6302
greebo

greebo

13.01.2024 16:44

administrator   ~0016364

We could maybe add an option "Show in Entity Class Tree" => which would open the browser as in the Main Menu "Entity" > "Entity Class Tree...", focusing the selected class name?
Frost_Salamander

Frost_Salamander

13.01.2024 21:19

reporter   ~0016367

Yes I think that would work fine. I didn't really know about the Entity Class Tree, but I just had a look and it has exactly what I am looking for.

Related Changesets

DarkRadiant: master dea567ea

14.01.2024 04:42

greebo


Details Diff
0006335: Add "Show in Def Tree" button to ClassnamePropertyEditor and InheritPropertyEditor.

Move common code to shared Algorithm source file
Affected Issues
0006335
mod - radiant/CMakeLists.txt Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/eclasstree/EClassTree.cpp Diff File
mod - radiant/ui/eclasstree/EClassTree.h Diff File
add - radiant/ui/einspector/Algorithm.cpp Diff File
add - radiant/ui/einspector/Algorithm.h Diff File
mod - radiant/ui/einspector/ClassnamePropertyEditor.cpp Diff File
mod - radiant/ui/einspector/ClassnamePropertyEditor.h Diff File
mod - radiant/ui/einspector/InheritPropertyEditor.cpp Diff File
mod - radiant/ui/einspector/InheritPropertyEditor.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

DarkRadiant: master 8371f373

14.01.2024 04:43

greebo


Details Diff
0006335: Rename main menu entry from "Show Entity Class Tree..." to "Show EntityDef Tree..."

Mappers are probably more familiar with the term entityDef.
Affected Issues
0006335
mod - install/menu.xml Diff File

Issue History

Date Modified Username Field Change
11.11.2023 15:31 Frost_Salamander New Issue
19.12.2023 23:49 Frost_Salamander Note Added: 0016251
13.01.2024 16:44 greebo Status new => feedback
13.01.2024 16:44 greebo Note Added: 0016364
13.01.2024 21:19 Frost_Salamander Note Added: 0016367
13.01.2024 21:19 Frost_Salamander Status feedback => new
14.01.2024 04:33 greebo Assigned To => greebo
14.01.2024 04:33 greebo Status new => assigned
14.01.2024 04:34 greebo Target Version => 3.9.0
14.01.2024 04:44 greebo Changeset attached => DarkRadiant master dea567ea
14.01.2024 04:44 greebo Changeset attached => DarkRadiant master 8371f373
14.01.2024 04:44 greebo Status assigned => resolved
14.01.2024 04:44 greebo Resolution open => fixed
14.01.2024 04:44 greebo Fixed in Version => 3.9.0