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
Fortify - Categories #9167
Fortify - Categories #9167
Conversation
class TAG_categories{ | ||
displayName = "Combo"; | ||
presets[] = {"big", "bigGreen"}; // will load presets big and bigGreen each under their own sub category | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not exactly clear to me how it should be used.
Should TAG_MyPreset
be added to TAG_categories
presets[]
array and should the #ace-fortify blufor TAG_categories
command be ran?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added note that presets can be from configFile as well, which is where big
comes from
I can add a fuller example if we think that would help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think fuller/additonal example would be better, also can objects
be mixed with presets
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah they can be mixed in, they'll just be at top level along the sub-categories
I thought presets[]
was a neat way to organize
but if it's recursion is confusing to users we can just as easily change to something like
class ACEX_Fortify_Presets {
class TAG_MyPreset2 {
displayName = "My Preset";
objects[] = {
{"Sandbag", 5, "categoryA"},
{"Bunker", 50, "categoryB"}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class ACEX_Fortify_Presets {
class TAG_MyPreset2 {
displayName = "My Preset";
objects[] = {
{"Sandbag", 5, "categoryA"},
{"Bunker", 50, "categoryB"}
First and foremost, thank you for your efforts. This, I believe, is the best way to add new categories with the descriptions. ext , when do you think this will be available?
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Close #9097