Jump to content

[v1.1.3] KSP-PAO


JOHNMKNIGHT

Recommended Posts

28496511824_a534d381d6_k.jpg

 

Welcome to KSP-PAO, your space center's virtual Public Affairs Officer!!

Introduction

In real life the NASA PAO's (officers) do a lot! The one thing you might be most familiar with is their voice-over commentary during a launch or during mission operations. As a life long space nerd/geek/fan, I often have NASA TV on in the background, even while playing KSP. It was during recent ISS mission coverage that I got the idea for KSP PAO.

Ever heard of the Telemachus mod for KSP? Well, it's an incredible mod that allows you to interact with KSP from a web browser or api. This has allowed many new UI's to be created, including ones that don't use browser. Some like Houston, allow multiple people to act as different members of the KSP flight control staff. Other mods allows for devices, such as the Raspberry Pi and Arduinos to communicate - which have spawned some pretty amazing hardware "simpits" or custom controllers! Why do I mention Telemachus? Well it's required for KSP-PAO to work. The first version of Telemachus that will work with KSP-PAO is right here (https://github.com/KSP-Telemachus/Telemachus/releases/tag/1.6.0-alpha-2-actual).  

While the mod is running in a browser window (Chrome only for now), you will occasionally here the PAO announce a mission update. What they say is entirely up to what you're doing at the moment and a little luck! Is Jeb on EVA? You might here the PAO give Jeb a shout out and update you on the Mission Elapsed Time. Have a lander in orbit around Duna? You may here the ship's current status and velocity.... and so it goes.

To change how often you hear from the PAO, just select a time from the drop-up box.

One of the other things that brings a level of fun and world-building to KSP are the various fictional companies that make up the KSP 'verse. So, I've decided I'd add "ad support" to KSP PAO. 
NOT REAL ADS, not paid for, in-game advertising, 100% completely for FUN ads from the KSP universe! What sort of parts is ROKEA hawking today? Any specials down at Jeb's this week?

Ideally, I want these added and generated by the community and I can't wait to see what you all come up with. For now, the only way to see an "ad" is to click on the "Ad" button. Let me know what you think!

 

Technical note, before all the, "Why Chrome only" questions.
Right now Chrome is the browser with the best support for the HTML5 Web Speech API that I use to generate the text-to-speech for KSP PAO. As other browsers come along, I'll test and make sure they work.

More info on the REAL NASA PAO!
http://history.nasa.gov/SP-4225/documentation/pao/pao.htm
http://www.nasa.gov/offi…/education/centers/pao_contact.html

 

Video Demo:

 

Requirements:

Download and install Telemachus: https://github.com/KSP-Telemachus/Telemachus/releases/tag/1.6.0-alpha-2-actual
Download and install Chrome: https://www.google.com/chrome/browser/desktop/index.html

Download:

https://github.com/johnmknight/ksppao/releases/download/v0.5/pao-v0.5alpha.zip

Installing:

Unzip the file under the Telemachus mod directory:  \GameData\Telemachus\Plugins\PluginData\Telemachus\pao

Using: 

Follow the normal procedure of adding a Telemachus antenna onto your craft. Once you launch your craft, you can enable the Telemachus interface. You can browse to () and you should see the Telemachus UI.

fUIsUch.png

If you can see Telemachus, then open KSP-PAO in Chrome using: http://localhost:8085/telemachus/pao/pao.html
For best results, maximize the Chrome window. You should see the KSP-PAO and in about 10 seconds, you'll hear your first mission briefing!
To change how often you hear a briefing, use the drop-up list 'Mission Update Setting' on the toolbar at the bottom of the screen.28496899404_c224f38ca2_k.jpg

On the toolbar you'll also find a timer showing when the next briefing will be. Next is the current mission's MET. Each of the following buttons will speak it's respective briefing, with the "Mission Report" being the most comprehensive.
Note: To keep things interesting and not as repetitive as they could be... the mission report uses some randomness to vary what it reports back on. Sometimes you'll hear the full resource briefing and other times the science report.

 

LICENSE: https://github.com/johnmknight/ksppao/blob/v0.5/LICENSE

SOURCE: https://github.com/johnmknight/ksppao

Known Issues:

  • It only works in Chrome!
  • When I resize the browser the screen looks horrible!
    • I'll be working on the UI, though the voice briefings and reports have priority for now.
  • There's no "mute" button?
    • Good idea! Working on it...

 

 

Edited by JOHNMKNIGHT
Added video
Link to comment
Share on other sites

1 hour ago, MK3424 said:

NICE you got featured on modding Mondays: 

 

Yeah. Kinda was dumbfounded on that one. :)

1 hour ago, Ultimate Steve said:

That british accent, though.

If only I had chrome. Looks amazing, though :D

 

Thanks! I'm  a dev so I use/test with most every browser on most platforms. Just happens Chome has the best support (for now) for the Speech API. If you run it on say, Safari, you get the Stephen Hawking voice! :D

 

Link to comment
Share on other sites

12 minutes ago, linuxgurugamer said:

Will this understand non-stock experiments?

Will this have ads for non-stock companies?

Right now Telemachus only understands the stock experiments that have data logging displays. If Telemachus adds support, I will. 

As far as ads go, I'm happy to add or have contributors ad from other companies provided permission and licensing is respected.

8 hours ago, legoclone09 said:

And make an ad for Leninade. :D

Not sure. If the alpha of Telemachus works with it, my mod should!

Link to comment
Share on other sites

Can't wait to install this... however I have a request, and a question.

 

Question: do we just get the PAO speech regarding active flights, or will there be occasional check-in's from space stations, transmissions from spacecraft approaching maneuvering nodes (something, something, ready to apply thrust, something, something); Kerbals on EVA talking about the view and other random stuff like that?

 

Request: interaction with RemoteTech antenna! I already have numerous nets of satellites up, and to start chucking even more into place just so I can get this to work properly would really, really suck. All my long term spacecraft already have RT antennae, and I'd have to either bring them all back home to add in the new part, or loft a dedicated attachment.

 

edit: actually as I posted, realized you can't make the interaction happen with RT specific antenna, but perhaps an option on your side to use "stock" antenna rather than the Telemachus antenna

Edited by Somtaaw
Link to comment
Share on other sites

5 minutes ago, JOHNMKNIGHT said:

As far as ads go, I'm happy to add or have contributors ad from other companies provided permission and licensing is respected.

Cool.  I give you permission to make an ad for SpaceTux Agency (mine), as well as KW Rocketry (one I support now).  Frankly, you can do ads for any of the mods that I support.

Link to comment
Share on other sites

1 hour ago, linuxgurugamer said:

Cool.  I give you permission to make an ad for SpaceTux Agency (mine), as well as KW Rocketry (one I support now).  Frankly, you can do ads for any of the mods that I support.

Great! I presume the SpaceTux Agency's logo can be found here: (http://spacedock.info/mod/53/SpacetuxSA)? Also do you have any background/wording on the fictional in-game universe company that is SpaceTux Agency? Is it viewed as an alternative source for Kerbals to get missions?

Link to comment
Share on other sites

Hi there. Very interested in using this however I have a problem.....

I can see Telemachus and thats fine but when I click the link you put " If you can see Telemachus, then open KSP-PAO in Chrome using: http://localhost:8085/telemachus/pao/pao.html " I get a Page not found 404 error in my browser?

All I have to play with is the Telemachus Console. Im using Chrome, the latest Telemachus from CKAN and your mod listed above. Is it me or??

Edited by maceemiller
Link to comment
Share on other sites

1 minute ago, maceemiller said:

Hi there. Very interested in using this however I have a problem.....

I can see Telemachus and thats fine but when I click the link you put " If you can see Telemachus, then open KSP-PAO in Chrome using: http://localhost:8085/telemachus/pao/pao.html " I get a Page not found 404 error in my browser?

All I have to play with is the Telemachus Console. Im using Chrome, the latest Telemachus from CKAN and your mod listed above. Is it me or??

If you look at my post, I have a link to an alpha version of Telemachus. This version is required for my my to work (https://github.com/KSP-Telemachus/Telemachus/releases/tag/1.6.0-alpha-2-actual). Once you do have the correct version installed, download and unzip my mod on top of it so that it is installs under this directory (....GameData\Telemachus\Plugins\PluginData\Telemachus\pao) .

 

 

Link to comment
Share on other sites

OK, so ive done all you have asked, and now the page loads up with a white screen and no mission briefing?

EDIT: Maybe a dumb question (im old!!) but when I extract your mod to Telemachus there is no pao to go to. Do I have to manually create a pao folder for your mod to go into? Sorry if I sound like an idiot......

Edited by maceemiller
Link to comment
Share on other sites

31 minutes ago, maceemiller said:

 

7 minutes ago, maceemiller said:

OK, so ive done all you have asked, and now the page loads up with a white screen and no mission briefing?

EDIT: Maybe a dumb question (im old!!) but when I extract your mod to Telemachus there is no pao to go to. Do I have to manually create a pao folder for your mod to go into? Sorry if I sound like an idiot......

No worries. Yeah,I think the missing pao directory is the issue. When you unzip my mod, you should extract it to a new "pao" directory, so that all the files are inside ((....GameData\Telemachus\Plugins\PluginData\Telemachus\pao )

That should do it. Just curious, what version of Chrome are you running and on what operating system (Under the Settings/About menu). I'm trying to keep notes for bugs/etc :) BTW. I'm middle aged. I've just been coding most of my life :)

Link to comment
Share on other sites

1 minute ago, JOHNMKNIGHT said:

No worries. Yeah,I think the missing pao directory is the issue. When you unzip my mod, you should extract it to a new "pao" directory, so that all the files are inside ((....GameData\Telemachus\Plugins\PluginData\Telemachus\pao )

That should do it. Just curious, what version of Chrome are you running and on what operating system (Under the Settings/About menu). I'm trying to keep notes for bugs/etc :) BTW. I'm middle aged. I've just been coding most of my life :)

Ok thanks for your quick reply :) Im using Chrome version  Version 52.0.2743.116 m (64-bit) Windows 7. Ill add a pao folder to Telemachus now and try again and let you know the results.

Mmmmmm.....created a pao folder, extracted your mod and keep getting CTD? Will clear everything up and try again. No worries, just progression :) Will keep you informed

Link to comment
Share on other sites

13 hours ago, legoclone09 said:

And make an ad for Leninade. :D

1.0.5? give it a try with the right version of Telemachus (see post above). Russian accent? Whatever the browser supports!

27 minutes ago, maceemiller said:

hi again. after my crashes to desktop i cleaned up but still only a white screen after clicking the link   http://localhost:8085/telemachus/pao/pao.html ?

 

Ok.

1) First can you see the telemachus UI/page? http://localhost:8085/telemachus/information.html
2) If yes to #1, does your spacecraft have a telemachus antenna attached and is it broadcasting.
3) If yes to #2, can you see an image of your spacecraft by going to this url: http://localhost:8085/telemachus/cameras/TelemachusFlightCamera

This should tell me a bit more. Also, if you want you can contact me via email at my username @ g m a i l . c o m

 

More about running/using Telemachus he

ref:(

 

 

 

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...