private void addParameters()
    {
    for (int i = 0; i < 10; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_AI_BEHAVIOUR);
    for (int i = 10; i < 19; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_MOVEMENT);
    for (int i = 19; i < 28; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_GRENADES);
    for (int i = 28; i < 34; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_SUPPRESSION);
    for (int i = 34; i < 38; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_CQB);
    for (int i = 38; i < 45; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_OTHER);
    for (int i = 45; i < visualParameters.length; i += 1)
      ((OptionalWindow)modWindow).addParameterToSection(visualParameters[i], Text.FRAME_OPTIONAL_SECTION_DEPRECATED);

    ((OptionalWindow)modWindow).fillWithPlaceholders();
    }