Kerbal Space Program automatic exploration program with KRPC and Python
KSP is a wonderfull video game. The KRPC mod allow us to control the games remotely.
Here the goal of the different script is to automatize the mission as far as possible.
The scripts will be written in Python with the krpc module.
Feel free to use the scripts to learn about Python, KSP and Space. All is under GPL Licences. if you improve it please redistribute.
I use KSP 1.4.4 with Python 3.5.2 under Linux.
The following modules are added to KSP:
- Community Resource Pack (CommunityResourcePack 0.10.0.0)
- Engine Lighting (EngineLighting 1.5.1)
- Kerbal Engineer Redux (KerbalEngineerRedux 1.1.5.2)
- kRPC: Remote Procedure Call Server (kRPC v0.4.6)
- Module Manager (ModuleManager 3.0.7)
- Real Fuels (RealFuels rf-v12.7.1)
- Real Fuels: Stockalike RF Configs (RFStockalike v3.2.4)
- Real Plume (RealPlume 2:v11.0.0)
- Real Plume - Stock Configs (RealPlume-StockConfigs v1.2.0)
- RemoteTech (RemoteTech v1.8.11)
- SmokeScreen - Extended FX Plugin (SmokeScreen 2.8.0.0)
- Solver Engines plugin (SolverEngines v3.6.2)
- Kronal Vessel Viewer Continued (0.0.9.2)
A ckan file is available in this repository.
The bash script create_env.bash will create a pyhon's virtual environment with the relevant modules.
After created, you can type: source krpc-env/bin/activate to activate the virtual environment.
List of Mission:
- Mission I - First flight