You are viewing a potentially older version of this package. View all versions.
SevDevonne-Valerius_Custom_Prefabs-0.1.3 icon

Valerius Custom Prefabs

Adds custom building prefabs to Valheim.

Date uploaded 3 days ago
Version 0.1.3
Download link SevDevonne-Valerius_Custom_Prefabs-0.1.3.zip
Downloads 13
Dependency string SevDevonne-Valerius_Custom_Prefabs-0.1.3

This mod requires the following mods to function

ValheimModding-Jotunn-2.27.1 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.27.1

README

Valerius Custom Prefabs

Adds custom building prefabs to Valheim and the Hammer build menu.

Originally developed for use in another project and released here in case the prefabs are useful to others.

Installation (If you don't have a mod manager)

  1. Install BepInEx.
  2. Install Jötunn.
  3. Extract the dll into your Valheim BepInEx/Core folder in your relevant mod profile.

The DLL should be located at:

BepInEx/plugins/ValeriusCustomPrefabs.dll

Available Pieces

Dungeon Scripting Pieces

Name Token Based on
Dungeon Marker dungeon_marker Ward (guard_stone)
  • Specifically made to be used when scripting using Expand World Prefabs
  • Used to limit scripting events to a certain area so that they dont affect the entire world

e.g

  • prefab: Greydwarf type: destroy objects:

    • prefab: ValeriusDungeonMarker poke:
    • prefab: woodwall maxDistance: 10
  • prefab: woodwall type: poke exec: <save++_enemyCount>

  • prefab: wood_wall_half type: poke condition: <load_enemyCount=0> = 2 poke:

    • prefab: stone_floor_2x2
  • prefab: stone_floor_2x2 type: poke remove: true

Invisible Prefabs

Name Token Based on
Invisible Boundary Wall ValeriusInvisibleWall 2×2 Wood Wall (woodwall)
Invisible Boundary Floor ValeriusInvisibleFloor 2×2 Wood Floor (wood_floor)
Invisible Boundary Wall 4×4 ValeriusInvisibleWall4x4 2×2 Wood Wall (woodwall), scaled
Invisible Boundary Floor 4×4 ValeriusInvisibleFloor4x4 2×2 Wood Floor (wood_floor), scaled
  • Use the same size,collision and durability as their vanilla counterparts.
  • Can be placed together to create physical boundaries.
  • Are spawned at half health.
  • Are visible while below full health.
  • Become invisible when at full health.
  • Can be damaged and destroyed normally unless set invulnerable with Infinity Hammer.

Because the pieces are invisible when at full health, the PlanBuild mod or Infinity Hammer mod is recommended for accurate placement. The ESP mod can also be used to locate placed pieces.

Known Issues

  • The invisible come with the issue of being invisible.

Changelog

0.1.3

  • Added Invisible Boundary Floor 4x4.
  • Added Invisible Boundary Wall 4x4.
  • Added Dungeon Marker

0.1.2

  • Invisible prefabs are now spawned at half health.
  • Invisible prefabs become invisible when repaired to full health.
  • Invisible prefabs are visible when below full health.

0.1.1

  • Added Invisible Boundary Floor.

0.1.0

  • Added Invisible Boundary Wall.

AI Declaration

  • Artificial intelligence was used in the creation of this mod. All suggestions were reviewed by a questionably competent human.

Acknowledgement

  • Thanks to Raaka for the idea of having the invisible prefabs be visible when they are at less than full health.