Skip to content

Instantly share code, notes, and snippets.

View angavrilov's full-sized avatar

Alexander Gavrilov angavrilov

View GitHub Profile
@angavrilov
angavrilov / FPS.cs
Last active January 3, 2016 11:59
A trivial FPS indicator for KSP
// LICENSE: Public Domain
using System;
using UnityEngine;
namespace FPS
{
[KSPAddon(KSPAddon.Startup.EveryScene, false)]
public class FPSIndicator : MonoBehaviour
{
@angavrilov
angavrilov / ModuleManager_B9.cfg
Last active August 29, 2015 13:56
KAS config for some mod parts.
///////// B9 Linear RCS ///////
@PART[B9_Control_RCS_Port_R1]
{
MODULE
{
name = KASModuleGrab
evaPartPos = (0.0, 0.00, -0.18)
evaPartDir = (0,0,-1)
storable = true
storedSize = 3
@angavrilov
angavrilov / io_import_scene_unreal_psa_psk.py
Last active October 20, 2015 07:33
Tweaks for the blender PSK importer
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the