Jump to content

agises

Members
  • Posts

    218
  • Joined

  • Last visited

Everything posted by agises

  1. Are you on linux? if yes, sadly this is a know bug in unity/ksp in linux. I can try to work around that blocking all inputs to the game when the notes window is focused, as I do in the kalculator mod to workaround similar issue. I'll try to hotfix that tomorrow. Salud.
  2. Far as I know the game works internally with meters, so I bet SMA it is in meters. Salud.
  3. I can confirm the code I paste does the job, just double tested with a save with plenty of asteroids (tracked and untracked) as soon I put the plugin all asteroids disappears and no new ones created. That's just after go to flight or tracking center: (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. XCZ-841 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. BKT-092 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. AZF-293 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. TZW-626 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. GVH-039 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. CTA-090 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. QYJ-760 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. NWO-874 (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) NoMoreAsteroids is destroying: Ast. NRU-101 ..... ..... Vessel Ast. HSJ-227 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. XCZ-841 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. BKT-092 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. AZF-293 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. TZW-626 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. GVH-039 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. CTA-090 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. QYJ-760 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. NWO-874 crashed through terrain on the Sun (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53) Vessel Ast. NRU-101 crashed through terrain on the SunNoMoreAsteroids is destroying: Ast. HSJ-227 Salud.
  4. Good work, my save was full of asteroids (tracking a lot for search a capturable one) and I'm too lazy to untrack all sooo: using UnityEngine; namespace nomoreasteroids { [KSPAddon(KSPAddon.Startup.EveryScene, false)] public class NoMoreAsteroids : MonoBehaviour { public void Start() { if (HighLogic.LoadedSceneIsFlight || HighLogic.LoadedSceneHasPlanetarium) { GameEvents.onVesselCreate.Add(DestroyAsteroid); } } public void DestroyAsteroid(Vessel vessel) { if (vessel.vesselType == VesselType.SpaceObject || vessel.vesselType == VesselType.Unknown) { //Debug.Log("NoMoreAsteroids is destroying: " + vessel.GetName()); vessel.orbitDriver.orbit = new Orbit(0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, FlightGlobals.Bodies[0]); } } } } Then copy paste the 2 ones I have captured from the backup save and remove the plugin, Salud.
  5. I must have missed something yesterday when I did the tests, I'm glad it work anyway, I'll try again later. Salud.
  6. Does not work. , with the v1 i see some exceptions related to rpmscansat in the logs, so I try with the recompile thing and works. But now just fails silently.
  7. I talk too quickly, that works for me on v1 of the modded dll but just tested now with v2 and dont work... sorry. Salud.
  8. For me recompiling rpm scansat plugin with your scansat moded dll as reference fix this.
  9. I'm not having any problem with lasted chrome, make sure you have checked in options: Check for server certificate revocation.
  10. I plan to work in the plugin this weekend, but as this is pretty simple change, here's the dll with the fontsize configurable: https://github.com/hashashin/ksp_notes/releases/download/0.8.1pre/notes.zip Just overwrite current notes.dll, default fontsize is 13. You'll need to launch and quit ksp before you can see the new variable in the config.xml file. Salud.
  11. Tecnically you only need a text editor and the mono compiler, mono-complete is the package you are looking for. Salud.
  12. Should work fine, I'm slowly rewriting the mod, which is why I have not released a specific version for 0.23.5. Let me know if there is any problem. Salud.
  13. Woops, forgot to take this in account as I changed to earth time just after update ksp and also I write this part of the code some time ago. Anyway the timestamp is very buggy, as the code/math is a awful workaround until I figure how to make it properly. It will be fixed soon in 0.8.1. Salud.
  14. Updated 1st post with 0.8 release, recompiled against 0.23.5 assemblies, updated toolbarwrapper and new feature: ship's log. To see the new ship's log buttons you need to be in flight scene. Salud.
  15. Simple ingame text web browser to access some ksp wiki pages, mostly celestials bodies, using HtmlAgilityPack to extract the text from the wiki web. Toolbar optional, alt+w default hotkey. Screenshot: Download: https://github.com/hashashin/kspwiki-text/releases/download/0.0.1/wiki-text-0.0.1.zip Source/bugs/code suggestions: https://github.com/hashashin/kspwiki-text License GPLv3 Salud.
  16. You actually need the vanilla 1.3.4 plugin then overwrite targetron directory with mine and should work. It must ask you for overwrite the dll.
  17. Hi there, first thanks for this plugin Jarcikon, make my life easy . For those can't wait for an update I make a patch to make it show asteroids. Here's the changes I made, just 3 lines changed: Targetron.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Targetron.cs b/Targetron.cs index b66b6cc..ff03f97 100644 --- a/Targetron.cs +++ b/Targetron.cs @@ -46,8 +46,8 @@ public class Targetron : MonoBehaviour private static Texture2D buttonDistDesc = new Texture2D(16, 16); //Filters - private static List<Filter> filters = new List<Filter>(9); - private static List<VesselType> vesselTypes= new List<VesselType>(9); + private static List<Filter> filters = new List<Filter>(10); + private static List<VesselType> vesselTypes= new List<VesselType>(10); //GUI Styles private static Texture2D contextBGN = new Texture2D(1, 1); @@ -133,6 +133,7 @@ public void Awake() filters.Add(new Filter(new WWW("file://" + root + "GameData/Targetron/Icons/station.png"), VesselType.Station, true)); filters.Add(new Filter(new WWW("file://" + root + "GameData/Targetron/Icons/lander.png"), VesselType.Lander, true)); filters.Add(new Filter(new WWW("file://" + root + "GameData/Targetron/Icons/ship.png"), VesselType.Ship, true)); + filters.Add(new Filter(new WWW("file://" + root + "GameData/Targetron/Icons/asteroid.png"), VesselType.SpaceObject, true)); } //Create a separate List of vessel types that are being filtered. This ensures the Debris/Other catches any undefined vessel types. Apply the patch to 1.3.4 sources and recompile. Then search for a fancy icon you like, resize it to 20x20, convert to png and name it asteroid.png. Copy the result to GameData/Targetron/Icons/ For the lazy... the compiled dll and a gnu icon I found, just copy over the 1.3.4 targetron directory: https://dl.dropboxusercontent.com/u/210030302/Targetron-astertempfix.zip
  18. I'm working on tabs and the image-viewer plugin, but I don't have much spare time right now. If I'm not wrong, on plugins we can change the ui just selecting the ksp style, so seems easy, expect news soon(â„¢). Salud.
  19. MS and MR it's something I want to implement shortly (as workaround you can copy paste the screen numbers to the notes plugin ), about the algebraic notation I need to figure how to do that first. I'm a beginner in c#/unity3d world and programming in general(but I find it's pretty fun), so no ETA but I'll try. Salud.
  20. Yup I need to figure out why isn't working. Wops, I definitely forgot that lol I'll try to look this over the weekend. Salud. PD: corrected download link on 1st post as it was pointing to the old version.
  21. Hi Godit, I don't want to expand further this plugin, as I want to keep it simple as possible. But a image loader/viewer it's something I can look for a separate plugin and perhaps tabs for the notes. I'll try to work on that two this weekend. Anyway the knee board it's a very good idea and I'll add it to my todo list Salud.
  22. Yup it's also affected fixed in Kalculator 0.1.1 Bug fix released. Thanks diomedea and blizzy78. Salud.
  23. I`ll take a look on that, thanks blizzy78 and diomedea. Salud.
×
×
  • Create New...