Jump to content

secretformula

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by secretformula

  1. Can you show an example of that? That sounds interesting
  2. That is currently the plan, I hope to have something minimally usable along with an API posted in the next few days. The hardest part will most likely be implementing the console interface
  3. I am working on a mod that would allow scripting of KSP actions (thrust control, directional control, action groups) in response to vessel variables (Altitude, speed, etc). In a way it would work sort of like the mod KOS except rather than use a custom brew programming language (along with the bugs doing so entails) I am using ECMAScript with a reference interpreter to allow for better performance and easier maintenance. My question to the community: Is there a desire to have a complete computing system of parts (i.e. you need a hard drive, network adapter processor on the ship). Or just a plain simple click this to run a script to control the ship, no frills sort of mod. Ideas?
  4. I switch away from Python entirely to Javascript, thank you very much.
  5. This question has been asked before on this forum with no real answer and I can't find any results online. I am try to write a plugin which includes the IronPython.dll to do some python execution. I have included the dll in my plugins folder however ksp is unable to load it throwing several exceptions similar to the following. AssemblyLoader: Exception loading 'IronPython': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0 Additional information about this exception: System.TypeLoadException: Could not load type 'IronPython.Compiler.Ast.Node' from assembly 'IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1'. System.TypeLoadException: Could not load type 'IronPython.Compiler.Ast.DynamicConvertExpression' from assembly 'IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1'. System.TypeLoadException: Could not load type 'IronPython.Compiler.Ast.DynamicGetMemberExpression' from assembly 'IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1'. I have no idea how to get around this problem. Is there some way of loading non unity plugin dll's into Unity that I don't know of?
×
×
  • Create New...