ShipRenderLayerRules

From Cosmoteer Wiki
< Modding‎ | ComponentsModding/Components/ShipRenderLayerRules
Jump to navigation Jump to search
CalloutIconWarning.png
Work in Progress
This page is currently WORK IN PROGRESS. Some things may be missing.

Feel free to contribute and don't worry about perfection - other editors can make corrections if necessary. Just get creating!

.rules file/node location: Cosmoteer.Ships.ShipRenderLayerRules

Stores the rules for a single render layer on a ship.

The terran.rules file holds a list of these defined by the base game, ranked in order from lowest to highest UniqueBucket.

Their purpose is to determine what is displayed above what.

Inherits nothing.

It's unknown whether more can be added by a mod or whether it's hardcoded.

Parameters
Name Type Required? Buffable? Default value Description
UniqueBucket int Yes - - Visuals with lower UniqueBuckets are covered by visuals with higher ones.

Can be negative. Vanilla values are between -800 and 2000. Only works for a given ship (see RenderStage).

RenderStage ShipRenderStage Yes - - Visuals in lower RenderStages are covered by visuals in higher ones.

Unlike UniqueBucket, this works across different ships.

AtlasTextureParams AtlasTextureParams Yes - -
Material Material? - - -
StencilMaterial Material? - - -
DiffuseMaterial Material? - - -
NormalsMaterial Material? - - -
LightMaterial Material? - - -
GhostMaterial Material? - - -
DrawForLocalPlayerOnly bool - - -
DrawWithFancyLightingOnly bool - - -
IsRoof bool - - -
IsIndicators bool - - -
Inflate Float - - -
HasNormals bool - - -