David Findlay writes:

 > Not to mention also have the sound vary depending on how hard or soft you 
 > hit. Sometimes you hardly hear it, other times if they really crunch it you 
 > really hear it - loud!

It already does so:

  for (int i = 0; i < totalGear; i++) {
    if (cur_fdm_state->get_gear_unit(i)->GetWoW()) {
      gearOnGround++;
      if (!_gear_on_ground[i]) {
        double squeal_volume = cur_fdm_state->get_V_down() / 5.0;
        if (squeal_volume > 0.1) {
          _squeal->set_volume(squeal_volume);
          mgr->play_once("squeal");
        }
        _gear_on_ground[i] = true;
      }
    } else {
      _gear_on_ground[i] = false;
    }
  }


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to