StrataSource / Engine

Issue tracker for Strata Source
47 stars 2 forks source link

Enhancement: allow for parameter override to have presets in the fgd. #528

Open Trico-Everfire opened 2 years ago

Trico-Everfire commented 2 years ago

What would this enhancement be for?

Hammer

Describe your enhancement suggestion in more detail

allow for parameter override to have presets in the fgd, but still be overridable, this makes things like setstatea or setstateb on logic_gates easier, as well as a ton of other entities that utilize this.

TeamSpen210 commented 2 years ago

Do you mean default values, or choices-style dropdowns? Either way it’s not obvious how you’d ensure this doesn’t override using an empty value to use the value passed by the outputting entity (math_counter etc).

vrad-exe commented 2 years ago

I think the idea is that the parameter override dropdown would still show <None> (which would pass through the output value), but it would also list off specific preset values which you could select.

Trico-Everfire commented 2 years ago

I think the idea is that the parameter override dropdown would still show <None> (which would pass through the output value), but it would also list off specific preset values which you could select.

correct. and still have the ability to type in custom values not specified.