Jump to content

Dramatic alarms


Recommended Posts

This thread gave me the start idea for my GPWS addon (that might be renamed as some had good ideas for it ^^), which adds altitude callouts, too high vertical speed at low altitude (Duit, duit! Pull Up!), a bingo fuel alarm, all of which are stoppable (except the callouts, obviously).

Link to comment
Share on other sites

Would anyone like the IVA to be more... I don't know... active? I'd like to see some serious lights blinking, alarms going off (of course, everything with a purpose and toggleable) and Kerbals going nuts when alarms start. I'd like some LOL moments, not just them looking around in fear or awe.

Link to comment
Share on other sites

Just came up with another idea related to sound alarms/warnings, how about sound altimeter? It constantly beeps, but lower we descent, higher frequency of beeps become.

The name of that instrument is a variometer. They're useful for landing because you don't need to look at your instruments to find out what speed you're going. It was one of the first mods I ever made, never released. Here's a version you can use.

Link to comment
Share on other sites

An "sound altimeter" that constantly beeps and changes pitch based on vertical speed sounds like a variometer to me, but both are ideas that could be made into mods pretty easily.

A "sound altimeter" gives you your altitude over terrain or ASL, but does not rely on vertical speed. You can be at 0 Vertical Speed and still hear the altimeter pitching because you're flying up a hill.

Link to comment
Share on other sites

I see what you mean; altitude and vertical speed are independent. Changing the variometer code to an audio altimeter would be pretty easy though.

I could add that to my GPWS/Nagging Nadia MOD; the only thing is how to implement the beep sound and how to pitch it depending from the terrain. This idea could be a way around the "landing callouts", which are more planes-like ... Ideas, lots of ideas !

Link to comment
Share on other sites

I could add that to my GPWS/Nagging Nadia MOD; the only thing is how to implement the beep sound and how to pitch it depending from the terrain. This idea could be a way around the "landing callouts", which are more planes-like ... Ideas, lots of ideas !

You can get the altitude from terrain, sea surface and buildings using this:


float currentAltitude;

if (vessel.heightFromTerrain == -1 || vessel.altitude < vessel.heightFromTerrain)
currentAltitude = (float)vessel.altitude;
else
currentAltitude = vessel.heightFromTerrain;

The pitch of a sound can be changed using audio.pitch. 1 is normal pitch, 0.5 is half, 2 is double. Any higher than ~2000 and it'll start to drop again due to something similar to the wagon-wheel effect. If you need help for setting up a sound in code, check the link in my sig.

Link to comment
Share on other sites


float currentAltitude;

if (vessel.heightFromTerrain == -1 || vessel.altitude < vessel.heightFromTerrain)
currentAltitude = (float)vessel.altitude;
else
currentAltitude = vessel.heightFromTerrain;

I have that, on a more "compact" version* :) Thanks still !

The pitch of a sound can be changed using audio.pitch. 1 is normal pitch, 0.5 is half, 2 is double. Any higher than ~2000 and it'll start to drop again due to something similar to the wagon-wheel effect. If you need help for setting up a sound in code, check the link in my sig.

So, let's say, 500 meters is 0.5 pitch, 150 meters is normal pitch and 0 is 3 pitch ? (yeah, it's not linear and it's intended, that way the pitch change is more noticeable and easier to hear at very low altitude, and will make the pilot react much quicker, along with the "Pull up" if he's not in a good shape :D )

* yeah:

float altitude = (vessel.GetHeightFromTerrain() == -1 || vessel.GetHeightFromTerrain() > vessel.altitude ? (float)vessel.altitude : vessel.GetHeightFromTerrain());

Edited by SolarLiner
Link to comment
Share on other sites

Another idea come by.

Periapsis and apoapsis sound signal. Just two sound signals, reminding us that we reached these parts of orbit. Optionally, 15 second before apo/periapsis, another sound signal warning about peri/apoapsis incoming.

Link to comment
Share on other sites

Another idea come by.

Periapsis and apoapsis sound signal. Just two sound signals, reminding us that we reached these parts of orbit. Optionally, 15 second before apo/periapsis, another sound signal warning about peri/apoapsis incoming.

I can imagine my speakers exploding as soon as I get into a proper circular orbit :(

Link to comment
Share on other sites

I think that the alarms should be editable: in exemple, you could set at which sink rate you trigger the alarm, which altitude is "low", which roll rate is dangerous etc...

There shoudl be few sets of predefined settings, for each planet.

Link to comment
Share on other sites

I'm in favour of Kerbals voicing concerns depending on the (perceived) danger they're in, and maybe a crude claxon, to keep the spirit of simplicity and opportunism of KSP. Anything more technical should remain playing field for mod developers: Without any highly detailed cockpits to micro-manage and pages-long checklists I wouldn't want to be bothered by a warning about the voltage in some auxiliary bus for the windscreen wiper being off by a few percent or some such.

That isn't to say that designing and implementing a "natural" feature would take less effort than creating mods that deliver the things mentioned above. Loads of samples (perhaps even a voice synthesiser) and a clever logic would be needed to avoid making them sound repetitive.

Link to comment
Share on other sites

Without any highly detailed cockpits to micro-manage and pages-long checklists I wouldn't want to be bothered by a warning about the voltage in some auxiliary bus for the windscreen wiper being off by a few percent or some such.

Don't you want to switch SCE to Aux!?

Link to comment
Share on other sites

Alright. I made one of these last year (with some help) and I don't really like the nadia one (no offense), and since there seems to be a demand; I'll take another crack at it.

I'll dig up the old source and get to work. I can make you something that will be helpful. I'll start this weekend.

One thing, would you prefer a male or female voice? I have custom sounds in female, but not the call outs. If anyone has a source for bells, dings, alarms, and cockpit annunciations; it could prove helpful.

I pretty much have everything needed to do the sound and conditions for many of the requests. The gui I can do also, but it won't be pretty.

Edited by Meatsauce
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...