Star Ruler 2

Star Ruler 2

35 ratings
DOF-Shipset-Common Library v1.000
Type: Mod
File Size
10.143 MB
Aug 23, 2015 @ 6:59pm
Jul 16 @ 1:41pm
11 Change Notes ( view )

Subscribe to download
DOF-Shipset-Common Library v1.000

Shared resources used in all DOF ( ) shipsets. Free for use by other shipset modders. This mod does not make any overt changes to the game on its own, it is a support mod that provides resources for use in building other shipsets.


Shared Textures:
-A collection of solid fill grayscale textures of varying intensities (for specular or gloss effects).
-A collection of cloud style grayscale textures of varying intensities for occlusion/irregular style coverage (for specular or gloss effects).

Custom Shaders:
-DOFSupportShip: Allows color of the diffuse texture to translate into engine light while still using the thruster intensity mechanic. Light color is shifted to a softer golden color but still overrides the diffuse texture color.
-DOFSupportShipLC: Engine light is the same as DOFSupportShip. Light color is picked up from diffuse texture pixel color and allows for multi colored lights and more natural lighting for spotlight type effects.
-DOFSupportShipLCX: Works as DOFSupportShipLC but removes ambient lighting from emissive lights. Provides much brighter and more accurate color for lights than DOFSupportShipLC. Provided by Dalo Lorn and Jon Micheelsen.
-DOFSupportShipLCXB: A variant of DOFSupportShipLCX with over-boosted light intensity, included for legacy support of certain shipsets created before the boost was removed.
-DOFSupportLCXN: A modified version of DOFSupportShipLCX for converted models with certain normals issues. Has higher calculation load and may result in some performance loss. Not recommended for use unless necessary.
-DOFSupportLCXNB: A variant of DOFSupportShipLCXB with over-boosted light intensity. Included for existing shipsets with legacy light masks.
-PBRModShipS: Single texture PBR mod-friendly shader.
-PBRModShipSS: Single texture PBR mod-friendly shader with support for shield effects.
-PBRModShipM: Limited multi-texture PBR mod-friendly shader. Supports an additional "bits" texture. Useful for saving filesize when you have an additional detail texture of lower resolution than the primary texture.
-PBRModShipMS: Limited multi-texture (as above) PBR mod-friendly shader with support for shield effects.

Dalo's Hex Limit Modifer & Reverter:
-Allows customized hex size modifications that can be enabled or disabled but requires additional subsystems be added by modders to use with it. See Sample.txt in the mod root for examples of how to use it.

Dalo's Custom Gate Integration Interface:
-Enables custom Gate hulls. Mods will have to override GateHull.txt and use instructions provided in GateHull to fully activate the system.

Mod-Friendly PBR Shader Guide
(Duplicated in PBRModShipShader-Guide.txt in the mod's root directory)

Usage for shipset builders

-Textures may be reference via data/shipsets/DOFCommon/texturename.png
-Shaders may be referenced simply by name.
-This mod should be subscribed to or present in the user's mod list. I recommend marking it as a "required item" of your shipset mod download to ensure it works.
-"Derives From: DOF-Shipset-Common Library v1.000" can be placed in your shipset modinfo.txt to ensure that the library is loaded even if the mod is not enabled. Replace v1.000 with the current version number of this mod.

Special Thanks
-Dalo Lorn for his help in creating the original shaders.
-Jon Micheelsen for his expertise on refining the shaders and his Mod-Friendly PBR Shader collection.

Change Log:

July 16, 2017
-PBR shader improvements courtesy of Jon M. Much improved reflections and subtle but significant improvement to overall visual quality. Also appears to fix some texture noise issues that could occur with some textures.

September 24, 2016
-Correction for light calculation in the PBR shaders.

September 6, 2016
-Corrections to errors in the PBR shaders related to TeamColor and Damage skin.

August 30, 2016
-Updated local copy of PBRModShipShader-Guide.txt.

August 29, 2016
-Added Jon Micheelsen's prelimary version of the Mod-Friendly PRB Shaders.

May 12, 2016
-Added Satellite support to Hex Limit Modifier & Reverter system.

May 9, 2016
-Added DOFSupportShipLCXN and DOFSupportShipLCXNB shaders.
-Gate Hull is now set to DefaultUnlock.

April 26, 2016
-Basic patch v2.0.0 compatibility update.

December 4, 2016
-Modified DOF and DOFLC SupportShip variants which regenerate the Z (blue) data of normal maps, particularly important when dealing with textures converted from DXT5_NM format, provided by Jon Micheelsen & Dalo Lorn
-DOFSupportShipLCX added, a variant of the DOFLC SupportShip shader modified to remove ambient lighting from emissive lights. Final code provided by Jon Micheelsen
-DOFSuportShipLCXB included to maintain compatibility with the next version of 'The Firstborn' by Dalo Lorn.
-Hex Limit Modifier and Reverter (by Dalo Lorn) functionality is now included, along with samples of how to enable it provided.
-Custom Gate Integration Interface (by Dalo Lorn) included to enable custom Gate hulls.
< >
dolynick  [author] Jan 26 @ 7:44am 
I fired up the game after my last response and everything looks fine with the Library. Which shipsets are you using? My guess is that your issues may be the result of system overload and might require some adjusted settings.
dolynick  [author] Jan 25 @ 10:17pm 
Unless there has been a very recent patch that I am not aware of... It's fully compatible with the current version of the game.
SoulCatcher Jan 25 @ 5:36pm 
Is this functional with the culatest patch. I get all sorts of crashing with it enabled.
Vibraxis Sep 28, 2016 @ 2:48pm 
Strangely, the Empire and Atlanteans seem to be working. The others are just default shipsets.

Alright, I'll try and enable the shipsets manually next time. I think the Empire and Atlaneans are shipsets I set manually as well, as I was checking to see if they were really enabled, and so that seems to check out.
dolynick  [author] Sep 28, 2016 @ 1:33pm 
Do you have the Faction Add-On enabled as well or not? The default shipset selection is specified by the Empire Presets, which is only in the Faction mod, not in the shipsets by themselves.

As an aside though, I have noticed that even with the Faction mod, despite the right default shipset being selected in game setup, the AIs will often end up with a random shipset anyways. I have no explanation or fix for this atm. If I manually go in and reselect the shipset, it works fine once the game is loaded.
Vibraxis Sep 28, 2016 @ 12:45pm 
For some reason the AI's don't appear to have their shipset, even though I checked before hand that their shipsets were enabled. Any idea what could be causing this? My own shipset is working, just not the AI's. They seem to default to the new DLC shipsets instead.
Dalo Lorn May 12, 2016 @ 12:02pm 
You still keep insisting that the Reverter's in there when it's not. xD
dolynick  [author] May 12, 2016 @ 11:57am 
Updated. Standard download .zip version too.
Dalo Lorn May 12, 2016 @ 10:08am 
Satellites necessitate an amendment to the Hex Limit Modifier:
Dalo Lorn May 9, 2016 @ 3:23am 
Oh, one thing I forgot to note: You don't have to override GateHull anymore - just follow the instructions inside its description. Deriving from the library's causing too many problems for ABEM because nobody listens to my instructions, hence the DefaultUnlock change. :P