Add "gamemodes" key value to all entities#328
Conversation
|
You’ll want to add the KV to |
| [ | ||
| gamemode[engine](integer) : "Gamemode" : 0 | ||
| gamemode(choices) : "Gamemode" : 0 = | ||
| gamemodes(flags) : 0 : "Gamemodes" : "Which gamemodes this entity is active in. If no flags are set, the entity is active in all gamemodes." = |
There was a problem hiding this comment.
Srctools needs to have handling of flag names/help text fixed (is it even broken?). There shouldn't be a default value here. I tested this in hammer earlier today and it worked as expected with var(flags) : "Fancy name" : "Desc goes here" =
There was a problem hiding this comment.
Not quite broken, more I don't have them implemented - spawnflags are special-cased, I didn't handle descriptions.
There was a problem hiding this comment.
When I tried mentally to go over the logic in srctools it seemed like it would be able to just handle it as-is, just that stuff would get stored in wrong fields.
There was a problem hiding this comment.
Actually I did implement this but forgot, so we just need the latest srctools.
2828199 to
b81f558
Compare
No description provided.