Heya. I was wondering why it's possible to "dumpclasses weapon" but not "dumpclasses monsters". Is there some technical reason why this can't be done or has it just not been implemented?
This got me thinking tho. What if I wrote a script to loop through all the classes and check if it has the ISMONSTER flag. Then if it does, print the class name. Doable?
Dumpclasses Monsters - Script?
Moderator: GZDoom Developers
- phantombeta
- Posts: 2088
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Dumpclasses Monsters - Script?
That's because the parameter in "dumpclasses" is a class name, which makes it only list classes that inherit from that one. "Weapon" is the class all weapons have to inherit from- meanwhile, monsters don't have a specific base class, they can inherit from any actor type.
Re: Dumpclasses Monsters - Script?
dumpclasses probably could use some extra filtration parameters, like "dumpclass actor monsters" and "dumpclass actor projectiles" where it can sort out by the default flags to determine what's what. I'll move this to Feature Suggestions.
Re: Dumpclasses Monsters - Script?
Yeah, that would be great. I'm working on some stuff with over 10000 classes. It's quite a pain to sift through.Rachael wrote:dumpclasses probably could use some extra filtration parameters, like "dumpclass actor monsters" and "dumpclass actor projectiles" where it can sort out by the default flags to determine what's what. I'll move this to Feature Suggestions.
- m8f
-
- Posts: 1445
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
- Contact:
Re: Dumpclasses Monsters - Script?
10000 classes - maybe ZDoc would be of interest to you?
Re: Dumpclasses Monsters - Script?
ZDoc looks promising. I will check it out.