Giter Site home page Giter Site logo

ksp-haystack-plugin's Introduction

Development has been taken over by qberticus and can be found here: https://github.com/qberticus/HaystackContinued

KSP-Haystack-Plugin

Plugin for Kerbal Space Program which helps to easily switch vessels and targets.

Original code written by hermes-jr, with additions for compatibility by enamelizer.

Building

  1. Add references to the Assembly-CSharp and UnityEngine assemblies from the version of KSP you wish to target. (A plugin build targeted to one version may not work on another, even if no code changes are necessary for compatibility.)
  2. Build in Release configuration. This will copy the Release DLL to \GameData\HrmHaystack.
  3. Zip and release to the world.

Debugging Setup

  1. Copy a testbed version of Kerbal Space Program to the root directory of the repository
  2. Deploy Haystack to this testbed version
  3. Build in Debug configuration, this will copy the Debug dll to the testbed version
  4. The testbed now contains the Debug version of Haystack, run the KSP.exe from this testbed to debug Haystack

Bonus: Add the testbed version of KSP.exe to "External Tools" in VS, then you can add this command to a tool bar to launch the testbed version of KSP.exe. You are now two clicks away from a build, deploy, and debug in VS!

Reporting Issues

Please provide as much detail as possible when reporting an issue. That said, if you encounter an issue and aren't able to pin down the cause, post it and explain what you've tried so far. Some bugs are difficult to reproduce, and we need to know about them anyway.

Licence

This code is licensed under The MIT License (MIT).

ksp-haystack-plugin's People

Contributors

enamelizer avatar hermes-jr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

qberticus

ksp-haystack-plugin's Issues

Feature: camera movement

Camera should be focused and moved towards the selected item. Just like in the original Tracking Station.

0.20 compatibility?

Hi, absolutely love Haystack, but as you might be aware it seems to not work with 0.20. Are you still playing KSP? I couldn't find any posts by you since the forum reset.

Add tool-tips to the icons.

I still don't remember what the category icons mean, so it would be awesome to have tool-tips on them. That way I can see which category I'm about to click ( and if you wanted to get really fancy, you could even include the amount of things in that category! )

UI: planets/moons in vessel list

Just like in RemoteTech plugin. Only the parent bodies of items in the filtered list should be shown. No "empty" planets in list.

Doesn't work properly in Tracking Station

Switching to vessel doesn't work while in Tracking Station scene. First click leads to multiple null pointer reference exceptions and the second click on another vessel works. Couldn't figure out why this is happening.

Debug log: http://pastebin.com/SGsLRAtj
After "Haystack: about to switch to vessel: -505206" all hell breaks loose.

Steps to reproduce:

  • run ksp
  • load game
  • immediately go to the tracking station
  • select any vessel within Haystack
  • click "go" button (the one with rocket) in Haystack window
  • something happens, log is flooded with messages. Something changes, seems like activeVessel becomes set and not null, but you're still not in flight mode
  • choose another vessel and click "go", everything works, you're in flight mode

Get rid of part file

As Daid from forum.kerbalspaceprogram.com said, it is possible:

"Search the forum for "UnitTest" it will give you an example of how to inject your code into the game without abusing a part. (If you look at the "no timewarp challenge", I added a small addon there which helps with keeping track of it. It also uses this UnitTest trick to inject itself into the game)"

Expansion tab should be hidden when F2 is pressed.

All the other gui elements are hidden when F2 is pressed, eg for taking screenshots. The exception to this is the tab to expand haystack. See attached image for reference.

Expected behavior: After pressing F2, like other gui elements, haystack expansion button should be hidden.

Actual behavior: All other gui elements are hidden except haystack.
screenshot121

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.