Graphic Paths - erdelf/AlienRaces GitHub Wiki

Graphic Paths are used to override various texture paths related to your race. Please note that this section has changed significantly in RimWorld v1.4.

Graphic Paths should be placed inside the alienRace tag:

<AlienRace.ThingDef_AlienRace>
  <alienRace>
    <graphicPaths>
      <!-- Graphic Paths are listed here -->
    </graphicPaths>
  </alienRace>
</AlienRace.ThingDef_AlienRace>

Settings

Setting Description
<body>Alternate/Path/Prefix/</body>

or

<body>
  <path>Alternate/Path/Prefix/</path>
  <!-- Extension Graphics here -->
</body>
Default value: Things/Pawn/Humanlike/Bodies/

Overrides body texture paths by replacing the path up to the file name as defined in BodyTypeDef objects. Supports Extension Graphics.

<bodyMasks>Path/To/Textures</bodyMasks>

or

<bodyMasks>
  <path>Path/To/Textures</path>
  <!-- Extension Graphics here -->
</bodyMasks>
Default value: (None)

If set, applies the textures at the specified location as color masks on body textures. Supports Extension Graphics.

<head>Alternate/Path/Prefix/</head>

or

<head>
  <path>Alternate/Path/Prefix/</path>
  <!-- Extension Graphics here -->
</head>
Default value: Things/Pawn/Humanlike/Heads/

Overrides head texture paths by replacing the path up to the file name as defined in HeadTypeDef objects. Supports Extension Graphics.

<headMasks>Path/To/Textures</headMasks>

or

<headMasks>
  <path>Path/To/Textures</path>
  <!-- Extension Graphics here -->
</headMasks>
Default value: (None)

If set, applies the textures at the specified location as color masks on head textures. Supports Extension Graphics.

<skeleton>Alternate/Path</skeleton>

or

<skeleton>
  <path>Alternate/Path</path>
  <!-- Extension Graphics here -->
</skeleton>
Default value: Things/Pawn/Humanlike/HumanoidDessicated

Overrides the Dessicated or "skeleton" texture used for human corpses. Supports Extension Graphics.

<skull>Alternate/Path</skull>

or

<skull>
  <path>Alternate/Path</path>
  <!-- Extension Graphics here -->
</skull>
Default value: Things/Pawn/Humanlike/Heads/None_Average_Skull

Overrides the skull texture used for dessicated human corpses. Supports Extension Graphics.

<stump>Alternate/Path</stump>

or

<stump>
  <path>Alternate/Path</path>
  <!-- Extension Graphics here -->
</stump>
Default value: Things/Pawn/Humanlike/Heads/None_Average_Stump

Overrides the stump texture used for decapitated human corpses. Supports Extension Graphics.

<swaddle>Alternate/Path</swaddle>

or

<swaddle>
  <path>Alternate/Path</path>
  <!-- Extension Graphics here -->
</swaddle>
Default value: Things/Pawn/Humanlike/Apparel/SwaddledBaby/Swaddled_Child

Overrides the swaddle texture used for babies. Supports Extension Graphics.

<apparel>
  <!-- Apparel override settings here -->
</apparel>
Default value: (None)

Sets apparel texture overrides and fallbacks. See Apparel Graphics for more details.

<skinShader>CutoutSkin</skinShader>
Default value: CutoutSkin

Overrides the default ShaderType used for rendering pawns of your race. Defaults to CutoutSkin, which by default adds a reddish hue to shading. If this looks bad, then you can either change this to Cutout or change the skinColor below.

<skinColor>(1,0,0,1)</skinColor>
Default value: (1,0,0,1)

Overrides the default color used by CutoutSkin for pawns of your race.

RimWorld v1.4

As of RimWorld v1.4, GraphicPaths is no longer a list as lifeStage-based overrides are now done via Extension Graphics instead of via list entries. Extension Graphics can be used in all fields that were previously simple paths.

⚠️ **GitHub.com Fallback** ⚠️