-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Feature request) Increase number of shown spawnflags in the Entity editor + maybe add hackflags from Q2 for N64? #150
Comments
I can bump flags count easily, only concern is performance, would be nice to test it, while doing.
i think this exists, tried to check existing .defs?
what are they exactly?
were def visible, while i was fixing Q2r fgds for you. |
I know about this, it just shows x in the place of the flag but doesn't hide it. I decided to use dots for now because they're smaller. Hackflags are like regular spawnflags, the key is named hackflags and can be set like this: For monsters: For target_camera:
Yes, I checked it, it was mostly fine, except for the missing spawnflags in the UI. And about the game profile, it has these lines: entityclass="halflife" - applies the use of FGD, right? Because changing it to quake2 crashes the editor. |
How strange. Can you share your whatever.game file? |
\gamepacks\games\hl.game |
Ok, I see the reason. This doesn't work in the stable release, but works in the dev build, which I used only for testing. |
Quake 2 Remaster added more spawnflags for some entities but NetRadiant shows only 16 of them at max, while Trenchbroom is able to show 24. I think, we need the possibility of showing all 32, just in case. Also we need a feature that would allow us to mark unused flags with some special syntax and thus make the editor ignore them completely, so they wouldn't clutter the field where they are shown in the UI. Currently I use dots as the names for unused flags but I really wish they weren't displayed at all.
Also the remaster added support for hackflags from Quake 2 for N64 and I'm not sure what to do with them, they are used as an extension of spawnflags and there is not that many of them but they look pretty useful for mods. Maybe the editor needs something like a custom tab for user defined flags which will be tied to the specified key? Or make it in the same manner as it's done for surface and content flags where you can hide them at will?
And talking about FGD files, apparently, using them in NetRadiant makes it impossible to see spawnflags or am I missing something? For this reason I'm currently working on assembling DEF file from scratch and later I will probably convert it into ENT when everything will be done and tested. The released source code of the remaster's game.dll turned up pretty dirty and gathering all supported entities and flags from it was one hell of an experience, some entities weren't even marked by QUAKED comments and spawnflags were all over the place. The funny thing is that the original code is even worse, the flags there were set as numbers 1, 2, 4, etc. which is a crime!
The text was updated successfully, but these errors were encountered: