Jump to content

roflmaoqwertyqaz

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by roflmaoqwertyqaz

  1. How would I make something like a UI_FloatRange for a KSPField that would allow for nonlinear step increments? Specifically, I am trying to make a multiplier for various rover wheel settings that follows an exponential step size so that numbers less than 1 get the same space on the slider as numbers greater than 1. My current code is [KSPField(isPersistant = true, guiActive = false, guiActiveEditor = true, guiName = "Spring Multiplier"), UI_FloatRange(minValue = 0f, maxValue = 5f, stepIncrement = 0.1f)] How would I change this to create a nonlinear slider?
×
×
  • Create New...