CommonAPI-DSPEditorKit icon

DSPEditorKit

DSPEditorKit is a toolkit built around developing mods for Dyson Sphere Program

Last updated 2 years ago
Total downloads 337
Total rating 0 
Categories
Dependency string CommonAPI-DSPEditorKit-1.0.3
Dependants 0 other packages depend on this package

README

DSPEditorKit

Dyson Sphere Program Editor Kit is a Thunderkit Extension designed specifically for helping mod creators create content for Dyson Sphere Program.

Our main goal is to bring a friendly, easy to use editor experience for creating content.

Contents

Scripts:

  • ExportAssetBundles script is used to force unity to build asset bundles.
  • BetterMeshDataAsset makes sure that if you open MeshDataAsset in inspector nothing will break(Also is used to bake mesh data from Mesh object).
  • AnimationBakerWindow is the baker.
  • EditorObjExporter can export unity meshes to obj file(Optional)
  • FixPrefabMeshes can POTENTIALLY(Always have a backup, just in case) fix some prefabs to be useful for baking animations. You will need to have all meshes used in game with their names intact imported in your project. Also you might need to fix prefab a bit after that. Unfortunately, it VERY likely will crash unity, so make sure to save everything before that happens.(Optional)
  • AssetRiddanceHelper script removes and adds textures, font, etc to help share prefabs without sharing ingame assets. Uses AssetMemory class to store its data.
  • PointsHelperEditor is a editor part to PointsHelper class from CommonAPI. It allows easily assigning BuildConditionConfig, SlotConfig or any class implementing IPointsAssignable with a set of positions using scene gameobjects.

Shaders and materials:

  • text-alpha and widget-alpha shaders. These shaders were reverse engineered from original shaders and are used to make certain text and images glow. They only have only a few parameters: _Multiplier(default 5), _AlphaPower(default 2.2), _Sharp(default 1). I'm not particularly certain what these parameters do.
  • ColorAndTint shader. Simple emulation of game's main shader. Can display tint information encoded in albedo channel alpha and display transparency encoded in MS tex green channel.
  • vf_instancedShader shader. Crude emulation of VF Instancing shaders game is using to batch buildings draw calls. Does not have sophisticated visuals. Only useful as a foundation for creating new visuals.

Prefabs:

  • template prefab contains a bunch of different UI elements that are used frequently in ingame UIs. In order to use it you will need to use asset reasigner(Window->DSP Tools->Reassign assets). Make sure you imported all needed assets in your project. This prefab also uses some custom textures make by me(Find them in unity folder). Note that out of these elements dropdown is not from game, I made it completely from scratch since no machines ingame used a dropdown.

Also includes a useful asset store package NGTools Missing Script Recovery

Feedback and Bug Report

Feel free to contact me via Discord (Kremnev8#3756) for any feedback, bug-reports or suggestions.

Changelog

1.0.2-3

  • Experiments with cross store dependecies.

1.0.1

1.0.0

  • Initial Release