Skip to content
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

Add columns to groups #326

Open
bm01 opened this issue Nov 24, 2022 · 2 comments
Open

Add columns to groups #326

bm01 opened this issue Nov 24, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request long term Not expected to be resolved soon

Comments

@bm01
Copy link

bm01 commented Nov 24, 2022

I think it would be great if we could have more than one button or whatever per field. Basically tables.

To give a concrete example, my mod overrides certain combat mechanics such as dismounts. It's something that became much more complex with the release of the game, and there are now two different "flags" allowing weapons to dismount, with different restrictions. It I want to make everything configurable, I would have to copy paste groups and fields, so instead a table like that would be perfect:

Swing Thrust
Arms
Legs

The headers could be set by calling ISettingsPropertyGroupBuilder.SetColumnHeaders(string[]) (though I'm not sure if there would be enough room for more than two). Then AddBool for example could be overloaded to take arrays too, I guess. Just an idea.

Would something like that be possible?

@Aragas
Copy link
Owner

Aragas commented Nov 29, 2022

I'll be investigating this, but it might be a ling-term feature!
For now I can only suggest using a dropdown with the pre-defined flag mixes as a workaround, like ArmsSwingThrust|LegsSwing

@Aragas Aragas added enhancement New feature or request long term Not expected to be resolved soon labels Nov 29, 2022
@Aragas Aragas self-assigned this Nov 29, 2022
@bm01
Copy link
Author

bm01 commented Nov 30, 2022

Oh the dropdown idea is smart. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request long term Not expected to be resolved soon
Projects
None yet
Development

No branches or pull requests

2 participants