Jump to content

[0.20] v0.0.4: RAD ALT and VSI update


mediumchris

Recommended Posts

Have you got a link to the plugin? No luck searching for it and I'd like to take a look.
I would like to know this as well.....

I wrote that plugin. It's unreleased because it requires non-free sounds from other software to work. If I find appropriate sounds under a licence that allows redistribution, I'll be able to release it. Until then, the source is available if anyone needs it.

Here's the altitude-finding bit for anyone who wants it:


if (UseRadar)
{
// vessel.heightFromTerrain will become -1 at high altitudes. The terrain can also be the seabed.
// vessel.altitude is the height above sea level.
if (vessel.heightFromTerrain == -1 || vessel.altitude < vessel.heightFromTerrain)
currentAltitude = (float)vessel.altitude;
else
currentAltitude = vessel.heightFromTerrain;
}
else
currentAltitude = (float)vessel.altitude;

// Don't play sounds if the gear is up.
bool gearIsDown = vessel.ActionGroups[KSPActionGroup.Gear];

if (AltitudeCalloutsEnabled && !PauseMenu.isOpen && gearIsDown)
{
// Play some sounds.
}

Edited by pizzaoverhead
Link to comment
Share on other sites

I wrote that plugin. It's unreleased because it requires non-free sounds from other software to work. If I find appropriate sounds under a licence that allows redistribution, I'll be able to release it. Until then, the source is available if anyone needs it.

Here's the altitude-finding bit for anyone who wants it:


if (UseRadar)
{
// vessel.heightFromTerrain will become -1 at high altitudes. The terrain can also be the seabed.
// vessel.altitude is the height above sea level.
if (vessel.heightFromTerrain == -1 || vessel.altitude < vessel.heightFromTerrain)
currentAltitude = (float)vessel.altitude;
else
currentAltitude = vessel.heightFromTerrain;
}
else
currentAltitude = (float)vessel.altitude;

// Don't play sounds if the gear is up.
bool gearIsDown = vessel.ActionGroups[KSPActionGroup.Gear];

if (AltitudeCalloutsEnabled && !PauseMenu.isOpen && gearIsDown)
{
// Play some sounds.
}

Hey thanks!! :) I could do some custom sounds.....

Link to comment
Share on other sites

  • 4 weeks later...

I'm afraid there's an issue with version 0.21.1. I've got a lot of mods and for some reason when i started a flight sometimes the craft would disappear completely and the camera would pan off to the moon (literally, in direction to the moon and beyond). The gauges would mark 0 except your instruments. As i was using a lot of mods it took me so many restarts to find out the problem. I used the debug tool and got this error that this mod could not find the config.xml (It was in red, so it was a serious one). When the camera was panning away there was a lot of [Exception]: [NullReferenceException]. Just that, nothing else. Then the game just bugged out and forced me to restart. Once i removed it, i tried to reproduce the bug and i wasn't able. I have all the bug hazard mods (Lazor, Mechjeb, B9, ISA MapSat,...) so it might be a conflict. My two cents. Pity i really enjoyed this mod.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 3 months later...
  • 4 weeks later...
  • 1 month later...
  • 3 weeks later...
  • 2 months later...
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...