You are viewing a potentially older version of this package. View all versions.
ZenDragon-ZenConstruction-0.4.7 icon

ZenConstruction

Equip torch and hammer at the same time, dedicated Build button, Quick Select Repair, adjust structure rules, and more...

Date uploaded 2 weeks ago
Version 0.4.7
Download link ZenDragon-ZenConstruction-0.4.7.zip
Downloads 559
Dependency string ZenDragon-ZenConstruction-0.4.7

This mod requires the following mods to function

ZenDragon-Zen_ModLib-1.1.25 icon
ZenDragon-Zen_ModLib

Shared code library used in all ZenMods.

Preferred version: 1.1.25

README

ZenConstruction

Enhancements to the construction system.

Controls:

Hammer UI:

  • Equip the Hammer and the Torch at the same time so that it's easier to work in the dark. (configurable)
  • Dedicated Hammer Button: Quickly toggle equip of the Hammer without having it in a 1-8 hot bar slot. Keep it anywhere in your inventory and free up space on your hot bar. Works with gamepad too.
  • Quick Select Repair: Press and hold the Hammer button to quickly switch to the repair tool.

Rotations:

Change rotation segments for 8 to 12 for smoother curves. 30 degree increments instead of 45. To toggle modes:

  • Equip Hammer
  • Keyboard: Hold Left Shift + Tap Right Direction Arrow
  • Gamepad: Hold Alternative-Function + Tap DPadRight

Structure Rules

  • Do not allow building on trees
  • Remove structure support from pieces
  • prevent building near boss alters, etc.
  • Extend the range of the station extensions so that you can spread them out a bit more.

Screenshots

Equip Hammer

Improve Your Experience

CORE MODS

The full collection of all Zen MODS:

  • Radically improved QoL
  • Incredible performance
  • Pre-configured
  • 100% Gamepad support
  • Spectacularly immersive

Enjoy!

Sample Config File

## Settings file was created by plugin ZenConstruction v0.4.7
## Plugin GUID: ZenDragon.ZenConstruction

[General]

## [Admin] When enabled allows the a torch to be equipped in the offhand while using the Hammer.
## (Vanilla: false)
# Setting type: Boolean
# Default value: true
Allow Torch With Hammer = true

## [Admin] Show snapping icon in the build HUD in all input modes, not just gamepad console 1 or 2.
## (Vanilla: false)
# Setting type: Boolean
# Default value: true
Show Snapping Icon = true

[Input]

## [Admin] Enable rotation degree adjustment for smoother curves of 30 degrees instead of 45.
## Equip your hammer then press:
## Keyboard: Press LeftShift + RightArrow to cycle modes.
## Gamepad: Press Alt Interact + D-Pad Right to cycle modes.
# Setting type: Boolean
# Default value: true
Enable Rotation Degree Change = true

## Put your hammer anywhere in your inventory. This frees up a slot on your hotbar.
## When pressed it searches your inventory for your highest level Hammer and equips it.
## Press again to unequip.  Press and hold to quick select repair. 
## Gamepad: Hold D-Pad Down to equip your hammer.  Hold again while hammer equipped to toggle repair mode.
## [restart required for changes to take effect]
# Setting type: KeyCode
# Default value: B
# Acceptable values: None, Backspace, Tab, Clear, Return, Pause, Escape, Space, Exclaim, DoubleQuote, Hash, Dollar, Percent, Ampersand, Quote, LeftParen, RightParen, Asterisk, Plus, Comma, Minus, Period, Slash, Alpha0, Alpha1, Alpha2, Alpha3, Alpha4, Alpha5, Alpha6, Alpha7, Alpha8, Alpha9, Colon, Semicolon, Less, Equals, Greater, Question, At, LeftBracket, Backslash, RightBracket, Caret, Underscore, BackQuote, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, LeftCurlyBracket, Pipe, RightCurlyBracket, Tilde, Delete, Keypad0, Keypad1, Keypad2, Keypad3, Keypad4, Keypad5, Keypad6, Keypad7, Keypad8, Keypad9, KeypadPeriod, KeypadDivide, KeypadMultiply, KeypadMinus, KeypadPlus, KeypadEnter, KeypadEquals, UpArrow, DownArrow, RightArrow, LeftArrow, Insert, Home, End, PageUp, PageDown, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, Numlock, CapsLock, ScrollLock, RightShift, LeftShift, RightControl, LeftControl, RightAlt, LeftAlt, RightMeta, RightCommand, RightApple, LeftMeta, LeftCommand, LeftApple, LeftWindows, RightWindows, AltGr, Help, Print, SysReq, Break, Menu, Mouse0, Mouse1, Mouse2, Mouse3, Mouse4, Mouse5, Mouse6, JoystickButton0, JoystickButton1, JoystickButton2, JoystickButton3, JoystickButton4, JoystickButton5, JoystickButton6, JoystickButton7, JoystickButton8, JoystickButton9, JoystickButton10, JoystickButton11, JoystickButton12, JoystickButton13, JoystickButton14, JoystickButton15, JoystickButton16, JoystickButton17, JoystickButton18, JoystickButton19, Joystick1Button0, Joystick1Button1, Joystick1Button2, Joystick1Button3, Joystick1Button4, Joystick1Button5, Joystick1Button6, Joystick1Button7, Joystick1Button8, Joystick1Button9, Joystick1Button10, Joystick1Button11, Joystick1Button12, Joystick1Button13, Joystick1Button14, Joystick1Button15, Joystick1Button16, Joystick1Button17, Joystick1Button18, Joystick1Button19, Joystick2Button0, Joystick2Button1, Joystick2Button2, Joystick2Button3, Joystick2Button4, Joystick2Button5, Joystick2Button6, Joystick2Button7, Joystick2Button8, Joystick2Button9, Joystick2Button10, Joystick2Button11, Joystick2Button12, Joystick2Button13, Joystick2Button14, Joystick2Button15, Joystick2Button16, Joystick2Button17, Joystick2Button18, Joystick2Button19, Joystick3Button0, Joystick3Button1, Joystick3Button2, Joystick3Button3, Joystick3Button4, Joystick3Button5, Joystick3Button6, Joystick3Button7, Joystick3Button8, Joystick3Button9, Joystick3Button10, Joystick3Button11, Joystick3Button12, Joystick3Button13, Joystick3Button14, Joystick3Button15, Joystick3Button16, Joystick3Button17, Joystick3Button18, Joystick3Button19, Joystick4Button0, Joystick4Button1, Joystick4Button2, Joystick4Button3, Joystick4Button4, Joystick4Button5, Joystick4Button6, Joystick4Button7, Joystick4Button8, Joystick4Button9, Joystick4Button10, Joystick4Button11, Joystick4Button12, Joystick4Button13, Joystick4Button14, Joystick4Button15, Joystick4Button16, Joystick4Button17, Joystick4Button18, Joystick4Button19, Joystick5Button0, Joystick5Button1, Joystick5Button2, Joystick5Button3, Joystick5Button4, Joystick5Button5, Joystick5Button6, Joystick5Button7, Joystick5Button8, Joystick5Button9, Joystick5Button10, Joystick5Button11, Joystick5Button12, Joystick5Button13, Joystick5Button14, Joystick5Button15, Joystick5Button16, Joystick5Button17, Joystick5Button18, Joystick5Button19, Joystick6Button0, Joystick6Button1, Joystick6Button2, Joystick6Button3, Joystick6Button4, Joystick6Button5, Joystick6Button6, Joystick6Button7, Joystick6Button8, Joystick6Button9, Joystick6Button10, Joystick6Button11, Joystick6Button12, Joystick6Button13, Joystick6Button14, Joystick6Button15, Joystick6Button16, Joystick6Button17, Joystick6Button18, Joystick6Button19, Joystick7Button0, Joystick7Button1, Joystick7Button2, Joystick7Button3, Joystick7Button4, Joystick7Button5, Joystick7Button6, Joystick7Button7, Joystick7Button8, Joystick7Button9, Joystick7Button10, Joystick7Button11, Joystick7Button12, Joystick7Button13, Joystick7Button14, Joystick7Button15, Joystick7Button16, Joystick7Button17, Joystick7Button18, Joystick7Button19, Joystick8Button0, Joystick8Button1, Joystick8Button2, Joystick8Button3, Joystick8Button4, Joystick8Button5, Joystick8Button6, Joystick8Button7, Joystick8Button8, Joystick8Button9, Joystick8Button10, Joystick8Button11, Joystick8Button12, Joystick8Button13, Joystick8Button14, Joystick8Button15, Joystick8Button16, Joystick8Button17, Joystick8Button18, Joystick8Button19
Hammer Hotkey = B

[Structure]

## [Admin] Enable structure support on Smelters, Blast Furnaces, Kilns, etc.
## Can the player attach construction to those pieces? (Vanilla: True)
# Setting type: Boolean
# Default value: true
Enable Smelter Supports = true

## [Admin] List of prefabs which will always have support removed
# Setting type: StringList
# Default value: sign, piece_shieldgenerator
No Support Prefabs = sign, piece_shieldgenerator

## [Admin] Do trees support construction? (Vanilla: True)
# Setting type: Boolean
# Default value: false
Tree Supports = false

## [Admin] These items can always be built on trees.  
## NOTE: These items will lose any support capability they may have had.
# Setting type: StringList
# Default value: sign, piece_walltorch, piece_dvergr_lantern, itemstand, piece_beehive
Allow Build On Trees Prefabs = sign, piece_walltorch, piece_dvergr_lantern, itemstand, piece_beehive

## [Admin] List of locations that prohibit building.
## Defaults to Bonemass because otherwise the palyer can cheese the boss fight by standing on top of the boss alter.
## Example, All Boss Locations:
## Eikthyrnir, GDKing, Bonemass, Dragonqueen, GoblinKing, FaderLocation 
# Setting type: StringList
# Default value: Bonemass
No Build Locations = Bonemass

## [Admin] Distance around No Build Locations that building is prohibited.
# Setting type: Single
# Default value: 25
# Acceptable value range: From 0.1 to 200
No Build Locations Radius = 25

## [Admin] Multiplier for max distance that workstation extensions can be spread out. (Vanilla: 1)
## Larger values allow extensions to be further away from the workstation. More elbow room.
# Setting type: Single
# Default value: 1.17
# Acceptable value range: From 1 to 2
Station Extension Distance Multiplier = 1.17


Like My Mods? Donations Welcome

Bitcoin

Donation QR

CHANGELOG

V0.4.11

  • recompile for Zen.ModLib v1.1.25

v0.4.10

  • forgot to update the config option description in the prior update. no code changes, this is just a small update to align the config option description with the underlying functionality.

v0.4.9

  • fix user feedback message about rotation segments. Prior version was reporting the number of segments in 180 degrees, this is incorrect. The value should have been reporting the number of segments in a circle (360). Displayed values have been updated 2x to compensate. This update causes no functional changes, however the displayed user feedback is corrected to reflect what is actually happening when you change the rotation segments.

v0.4.8

  • Build Rotations are now configurable.
  • 30 degree rotation (12 segments) was removed and replaced with 36 degree rotation segments by default (10 segments).
  • Expert 16 segment rotation option added to configs by default.
  • You can edit the rotation segments via the configs to whatever number of segments you would like.

v0.4.7

  • changed the gamepad mapping for the dedicated Build/Repair button to be DpadDown so that Select can be returned to vanilla behavior of opening the map. This is to accomodate new features in ZenMap which allow for crafting portable maps that can be opened from anywhere.
  • added an option to display the snap icon on the build HUD. On by default.

v0.4.6

  • updated config description to inform player they need to restart the game after changing the keybind for the build button. No code changes.

v0.4.5

  • fix: nullref, add checks to prevent monsters from executing code only intended for player.

v0.4.4

  • Equip torch with the hammer already in the right hand now equips the torch in the left hand instead of hiding the torch. Reverse is still possible: equip the hammer while the torch is held and keep both wielded at once.

v0.4.3

  • small bit of refactoring and code cleanup. no functional changes.

v0.4.2

  • fixed a null ref error that happens when some mods fail to populate the ItemData.m_dropItem field for their custom tools on startup.

v0.4.1

  • fixed a null ref error that occurred when monster attempted to equip a weapon.

v0.4.0

  • Equip a torch and the hammer at the same time.
  • The Build button and Quick Select Repair are now the same button. It has been renamed to the "Hammer" button. Tap the button to toggle equip hammer. Long press the button to switch in/out of repair mode. Config option keybind has changed. If you switched it from default 'B' it is now reset, please update your config.
  • Added equip tools animation so that it's in alignment with other equipment.
  • All controls now work with gamepad too. Check in game tips for the gamepad button map.

v0.3.4

  • add beehive to the default list of items that can be attached to trees when building on trees is restricted.

v0.3.3

  • prevent Hammer button from activating if UI is open because default key map is 'B' and this caused problems when you write in the chat something like: "Here comes the Boss!"
  • config sync prefab setup params
  • update for Zen.ModLib v1.1.0

v0.3.2

  • fixed config sync

v0.3.1

  • removed BepInEx from dependency, Zen.ModLib handles it.

v0.3.0

  • use Zen.ModLib

v0.2.4

  • update logging and configs subsystem

v0.2.3

  • UPDATE FOR VALHEIM v0.220.3

v0.2.2

  • Update readme to remove old info. No code changes.

v0.2.1

  • UNDO: moved NoCraftNoTeleport back to ZenWorldSettings - oops! Moved it by mistake the first time.

v0.2.0

  • moved Structure features from ZenWorldSettings here
  • moved NoCraftNoTeleport features from ZenWorldSettings here
  • Look at the new configs!

V0.1.4

  • now hammer must be equipped to switch build rotation segments
  • enable switching build rotation segments via gamepad. (equip hammer and press Alt Button (left trigger by default) + DPadRight)

v0.1.3

  • add dedicated Build Menu button. Scans your inventory for your best hammer and equips it. Default key: B, gamepad support coming soon.

v0.1.2

  • add config option to disable rotation degree adjustments for admins that don't want that on their servers.

v0.1.1

  • automatically hide put away held tools/weapons on player spawn as well as set the hammer to the repair tool by default on spawn.

v0.1.0

  • initial release