Star Ruler 2

Star Ruler 2

39 ratings
DOF-Shipset-Common Library v1.000
Type: Mod
File Size
10.143 MB
Aug 23, 2015 @ 6:59pm
Jul 16, 2017 @ 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] Dec 16, 2017 @ 3:27pm 
I see you mentioned only having 8GB of memory in the other thread. That is going to limit how many DOF shipsets you can have active at once. For what it's worth, I haven't seen a 16GB PC fail to run it all enabled yet (although it may page a bit). They were all Nvidia GPUs though.
Itharus Dec 16, 2017 @ 3:22pm 
Hhhhm. I'll give it a shot :) I'll let ya know if it doesnt solve anything. I had no other mods installed or enabled at the time. Also only tried the Stargate shipset. The common library mod alone gave no problems. It's when the ships got added in that it crashed.
dolynick  [author] Dec 16, 2017 @ 3:20pm 
I run it maxed out as well. I don't have any issues with all the DOF shipsets enabled at ultra/Extreme/Maxed. When people run into issues though, I recommend dropping to Medium detail to see if it starts working then.
Itharus Dec 16, 2017 @ 2:19pm 
Ahh I have all the settings for the base game maxed out. Probably what it is then, thanks :)
dolynick  [author] Dec 16, 2017 @ 1:13am 

Medium seems to be commonly safe ground for most people.
Itharus Dec 15, 2017 @ 5:00pm 
Crashing just in the menu with this mod and the stargate shipset loaded up. Which settings were you recommending be changed, Dolynick?
dolynick  [author] Jan 26, 2017 @ 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, 2017 @ 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, 2017 @ 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.