-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from ihsoft/next
Release v1.16
- Loading branch information
Showing
28 changed files
with
7,997 additions
and
101 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# KSPDev: Kerbal Development tools - Utils | ||
|
||
Author: igor.zavoychinskiy@gmail.com | ||
|
||
GitHub: https://github.com/ihsoft/KSPDev_Utils/tree/master/Source | ||
|
||
Forum thread: http://forum.kerbalspaceprogram.com/index.php?/topic/150786-12-kspdev-logconsole-utils | ||
|
||
Documentation: http://ihsoft.github.io/KSPDev_Utils | ||
|
||
* * * | ||
|
||
## License | ||
|
||
This is free and unencumbered software released into the public domain. | ||
|
||
Anyone is free to copy, modify, publish, use, compile, sell, or | ||
distribute this software, either in source code form or as a compiled | ||
binary, for any purpose, commercial or non-commercial, and by any | ||
means. | ||
|
||
In jurisdictions that recognize copyright laws, the author or authors | ||
of this software dedicate any and all copyright interest in the | ||
software to the public domain. We make this dedication for the benefit | ||
of the public at large and to the detriment of our heirs and | ||
successors. We intend this dedication to be an overt act of | ||
relinquishment in perpetuity of all present and future rights to this | ||
software under copyright law. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
For more information, please refer to <http://unlicense.org/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# KSPDev: Kerbal Development tools - Utils | ||
|
||
`KSPDev_Utils` is a set of handy tools that simplify development of KSP mods. Just add the | ||
assembly into your project and save a lot of development efforts. | ||
|
||
Read discussions, ask questions and suggest features on | ||
[forum](http://forum.kerbalspaceprogram.com/index.php?/topic/150786-12-kspdev-logconsole-v0120-utils-v0190). | ||
|
||
Detailed documentation on API is avalable on [docs site](http://ihsoft.github.io/KSPDev_Utils). | ||
|
||
## In nutshell | ||
|
||
KSPDev Utils offers a lot of different classes and interfaces. Here are some examples but there | ||
are _much more_ features (read the API docs!): | ||
|
||
* Extensive set of methods to work with config files | ||
* Save or load simple values without dealing with string<=>type conversion. The type will be detected from the argument, and | ||
built-in converters will handle any C# or KSP/Unity type transformation. | ||
* Use [attribute-oriented programming](https://en.wikipedia.org/wiki/Attribute-oriented_programming) to mark configuration fields in | ||
your classes. Then just specify file name and have them loaded/saved in one single method call. | ||
* Use attributes to mark fields that are represented by a class or struct. These types will be (de)serialized as config nodes. | ||
Attribute handlers can also deal with collections! No need to persist every item or a structure field separately. | ||
* Go further and define all configuration logic completely via attributes. After that you call just one method with minimum of | ||
arguments to have all your mod's settings saved. Or loaded - you choose. | ||
* Various helpers to deal with GUI. E.g. GUI sounds, context windows popups, messages, etc. | ||
* Basic set of methods to deal with in-game file paths. | ||
* Well documented KSP interfaces. | ||
* Methods to deal with procedural models in the game. | ||
* Different helpers for common processing tasks like state machine or delaying a method call. | ||
* Advanced logging system which supports game's setting `verbose logging`. | ||
* Handy classes to deal with the localized content, including commonly used value types (mass, distance, velocity, etc.) and resources. | ||
* Support of dynamically loaded prefabs (see [UnityDev](https://github.com/ihsoft/UnityDev) as well). | ||
* Convience methods to deal with the Unity input. | ||
* Fast an easy way of making debug GUI for your modules: simply annotate the fields that you want adjusting in the game and you are done. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,57 @@ | ||
// Auto generated by KSPDev Localization tool at: 9/20/2017 11:19:11 PM | ||
// Total strings: 13 | ||
// Total words: 85 | ||
// Version: 2 | ||
// Do NOT change the version unless a new string is added or an existing one was deleted. | ||
// A simple string update is not a new version! The version number is used to keep all | ||
// the localizations in sync. The EN-US localization file is the primary file, and all the | ||
// other languages should catch-up as the version is increasing. | ||
// Authors: IgorZ | ||
// Last updated: 05/12/2020 | ||
// | ||
// Best way of making/updating localization in this mod is using KSPDev Localization Tool! | ||
// https://github.com/ihsoft/KSPDev_LocalizationTool | ||
Localization | ||
{ | ||
en-us | ||
{ | ||
|
||
// ********** Part: W485.Surface4WayLight | ||
|
||
#W485_Surface4WayLight_Part_description = Shines 4 individual lights perpendicular to each other for self-illumination. | ||
#W485_Surface4WayLight_Part_title = Surface Mounted 4-Way Spotlight | ||
#W485_Surface4WayLight_Part_manufacturer = Abrams LightCo | ||
#W485_Surface4WayLight_Part_description = Shines 4 individual lights perpendicular to each other for self-illumination. | ||
#W485_Surface4WayLight_Part_tags = cck-lights moar (more bulb candle dark flash (lamp (light shine spot torch quadro | ||
#W485_Surface4WayLight_Part_title = Surface Mounted 4-Way Spotlight | ||
|
||
// ********** Part: W485.SurfaceLight | ||
|
||
#W485_SurfaceLight_Part_description = A small surface mounted spotlight designed for self illumination. | ||
#W485_SurfaceLight_Part_title = Surface Mounted Spotlight | ||
#W485_SurfaceLight_Part_manufacturer = Abrams LightCo | ||
#W485_SurfaceLight_Part_description = A small surface mounted spotlight designed for self illumination. | ||
#W485_SurfaceLight_Part_tags = cck-lights moar (more bulb candle dark flash (lamp (light shine spot torch | ||
#W485_SurfaceLight_Part_title = Surface Mounted Spotlight | ||
|
||
// ********** Part: W485.SurfaceOmniLight | ||
|
||
#W485_SurfaceOmniLight_Part_description = A small light that emits in all directions. Useful for self-illumination. | ||
#W485_SurfaceOmniLight_Part_title = Surface Mounted Omni Light | ||
#W485_SurfaceOmniLight_Part_manufacturer = Abrams LightCo | ||
#W485_SurfaceOmniLight_Part_description = A small light that emits in all directions. Useful for self-illumination. | ||
#W485_SurfaceOmniLight_Part_tags = cck-lights moar (more bulb candle dark flash (lamp (light shine ambient omni torch | ||
#W485_SurfaceOmniLight_Part_title = Surface Mounted Omni Light | ||
|
||
// ********** Type: SurfaceLights.ModuleColoredLensLight, KSP Fields | ||
|
||
// A UI control that allows setting brightness of the lens on the lighting part. | ||
#SurfaceLights_ModuleColoredLensLight_lensBrightness = Lens brightness | ||
|
||
// ********** Type: SurfaceLights.ModuleLightEva, KSP Events | ||
|
||
// A PAW action that resets all changed values to the state at the last load. | ||
#SurfaceLights_ModuleLightEva_ResetUnsaved = Reset changes | ||
|
||
// ********** Type: SurfaceLights.ModuleLightEva, KSP Fields | ||
|
||
// A UI control that allows setting the max range of the light. | ||
#SurfaceLights_ModuleLightEva_LightRange = Light range | ||
// A UI control that allows setting spotlight beam angle. | ||
#SurfaceLights_ModuleLightEva_SpotAngle = Beam angle | ||
|
||
// ********** Global strings | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,54 @@ | ||
// Version: 2 | ||
// Before changing the version, read the instructions in the en-us.cfg file! | ||
// Author: igor.zavoychinsky@gmail.com | ||
// Last updated: 05/12/2020 | ||
// | ||
// Best way of making/updating localization in this mod is using KSPDev Localization Tool! | ||
// https://github.com/ihsoft/KSPDev_LocalizationTool | ||
Localization | ||
{ | ||
ru | ||
{ | ||
|
||
// ********** Part: W485.Surface4WayLight | ||
|
||
#W485_Surface4WayLight_Part_description = Несмотря на необычное название, это деталь выполнена из вполне обычных ламп направленной подсветки. Просто их четыре, и они светят в разные стороны. | ||
#W485_Surface4WayLight_Part_title = Квадролампа Направленной Подсветки | ||
#W485_Surface4WayLight_Part_manufacturer = ООО "Лампы Иль & Ча" | ||
#W485_Surface4WayLight_Part_description = Несмотря на необычное название, это деталь выполнена из вполне обычных ламп направленной подсветки. Просто их четыре, и они светят в разные стороны. | ||
#W485_Surface4WayLight_Part_tags = cck-lights moar (more bulb candle dark flash (lamp (light shine spot torch quadro (увеличенная больше лампа свет темнота вспышка (освещ направленный фонарь квадро | ||
#W485_Surface4WayLight_Part_title = Квадролампа Направленной Подсветки | ||
|
||
// ********** Part: W485.SurfaceLight | ||
|
||
#W485_SurfaceLight_Part_description = Небольшая лампа, которая светит преимущественно в одном направлении. Помогает обозначить объекты на некотором удалении от источника света, однако не следует использовать её как фару. | ||
#W485_SurfaceLight_Part_title = Лампа Направленной Подсветки | ||
#W485_SurfaceLight_Part_manufacturer = ООО "Лампы Иль & Ча" | ||
#W485_SurfaceLight_Part_description = Небольшая лампа, которая светит преимущественно в одном направлении. Помогает обозначить объекты на некотором удалении от источника света, однако не следует использовать её как фару. | ||
#W485_SurfaceLight_Part_tags = cck-lights moar (more bulb candle dark flash (lamp (light shine spot torch (увеличенная больше лампа свет темнота вспышка (освещ направленный фонарь | ||
#W485_SurfaceLight_Part_title = Лампа Направленной Подсветки | ||
|
||
// ********** Part: W485.SurfaceOmniLight | ||
|
||
#W485_SurfaceOmniLight_Part_description = Небольшая лампа, которая светит сразу во все стороны. Осветить что-то конкретное ей не получится, но обозначить себя и немного обшивки корабля вокруг она вполне может. | ||
#W485_SurfaceOmniLight_Part_title = Лампа Фоновой Подсветки | ||
#W485_SurfaceOmniLight_Part_manufacturer = ООО "Лампы Иль & Ча" | ||
#W485_SurfaceOmniLight_Part_description = Небольшая лампа, которая светит сразу во все стороны. Осветить что-то конкретное ей не получится, но обозначить себя и немного обшивки корабля вокруг она вполне может. | ||
#W485_SurfaceOmniLight_Part_tags = cck-lights moar (more bulb candle dark flash (lamp (light shine ambient omni torch (увеличенная больше лампа свет темнота вспышка (освещ точечный фонарь | ||
#W485_SurfaceOmniLight_Part_title = Лампа Фоновой Подсветки | ||
|
||
// ********** Type: SurfaceLights.ModuleColoredLensLight, KSP Fields | ||
|
||
// A UI control that allows setting brightness of the lens on the lighting part. | ||
#SurfaceLights_ModuleColoredLensLight_lensBrightness = Яркость линзы | ||
|
||
// ********** Type: SurfaceLights.ModuleLightEva, KSP Events | ||
|
||
// A PAW action that resets all changed values to the state at the last load. | ||
#SurfaceLights_ModuleLightEva_ResetUnsaved = Сбросить изменения | ||
|
||
// ********** Type: SurfaceLights.ModuleLightEva, KSP Fields | ||
|
||
// A UI control that allows setting the max range of the light. | ||
#SurfaceLights_ModuleLightEva_LightRange = Дальность луча | ||
// A UI control that allows setting spotlight beam angle. | ||
#SurfaceLights_ModuleLightEva_SpotAngle = Угол расхождения пучка | ||
|
||
// ********** Global strings | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ MODULE | |
lightR = 1.0 | ||
lightG = 0.9 | ||
lightB = 0.8 | ||
allowEvaControl = true | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ MODULE | |
lightR = 1.0 | ||
lightG = 0.9 | ||
lightB = 0.8 | ||
allowEvaControl = true | ||
} | ||
|
||
} |
Oops, something went wrong.