Search the Community
Showing results for tags 'lua'.
RedOnion and Kerbalua A joint effort of Evan Dickinson and Lukáš Fireš to create unrestricted scripted environment inside Kerbal Space Program for all players and even modders wishing to control the game, vessels, anything, with own script. Current Features: Repl/Editor with intellisense. Scripting engines that can interact with Classes from any loaded CLR assembly. Lua scripting engine called Kerbalua that uses a slightly modified version of MoonSharp. Powerful custom language/engine (RedOnionScript) built by Lukáš Fireš. API's for doing things more easily or more safely, including Autopilot API, UI api, and more. Goals: Provide ability to produce mods in Kerbalua/RedOnionScript and modify them without restarting the game. Provide ability to debug mod code/scripts without restarting the game. Provide ability to write user scripts, like automatic control of your ship. Provide ability to interact with live game objects in a repl. Provide powerful general editing capabilities inside KSP Provide powerful API for modmakers/Users Help document the KSP API for modmakers. Help people learn to program in a fun way. License: MIT Github: here Github Pages is where the most up-to-date information is. Warning: Do not use scripts from untrusted sources! This is not a sandbox, any script has the power to do almost anything a modder could do in C#. We plan to eventually implement a switch to limit the power (disable what is marked [Unsafe] in the code), but our goal now is to: Allow users to do whatever they wish to do to the game environment to have fun. Help modders develop and debug their mods using this mod. Help anybody to explore KSP API, their own or other's mods (read the license of other mods you decide to use this tool to interact with, we expose only public members directly). Releases Your scripts are in GameData/RedOnion/Scripts. If you delete this folder, it will destroy your scripts. I believe that CKAN does not delete them when uninstalling the mod or updating it, but you might want to make a copy of the folder just in case. We provide example scripts in a zip file, which will appear in the list of scripts in-game but wont be in the Scripts folder. If the example programs don't run, check out that section in TroubleShooting Latest Releases are available at: - CKAN - Spacedock - CurseForge (Note about using Twitch Client "Install" button) ChangeLog: here Documentation Scripting - Documentation related to scripting. LiveRepl - The main user interface for the project. Where scripts can be loaded, written, and executed. Troubleshooting - Some possible issues and solutions. Development - Main page for development documentation (project structure, implementation explanations, etc). Videos are listed here Upcoming Features Next Release Planned Feedback All feedback is appreciated. Feedback can be left on our forum thread, as a new issue, or as a comment on any of our videos. Contributing We welcome people of all skill levels to contribute or give feedback, ask questions, etc. Here is more information about contributing.
This thread can now be used for development discussion. Release thread is now here instead.