You are viewing a potentially older version of this package. View all versions.
JereKuusela-Expand_World_Prefabs-1.6.0 icon

Expand World Prefabs

Allows configuring build or spawned objects.

Date uploaded 2 years ago
Version 1.6.0
Download link JereKuusela-Expand_World_Prefabs-1.6.0.zip
Downloads 885
Dependency string JereKuusela-Expand_World_Prefabs-1.6.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333
ValheimModding-YamlDotNet-16.3.0 icon
ValheimModding-YamlDotNet

Shared version 16.3.0 of YamlDotNet from Antoine Aubry and contributors, net47 package for use in Valheim mods. Maintained by the ValheimModding team.

Preferred version: 16.3.0

README

Expand World Prefabs

Allows configuring and replacing spawned prefabs.

Install on the server (modding guide).

Install Expand World Data.

Usage

See documentation.

for help and examples.

Credits

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.56

    • Fixes Object attaching affecting some normal effects like magic shield bubble.
    • Removes dependency from Steamworks so should now work on non-Steam hosts.
  • v1.55

    • Adds support for server side only data. Keys starting with ewp_ are stored as server-only instead of normal ZDO fields.
    • Adds range support for keys and bannedKeys.
    • Adds file watcher to the config file to reload when manually edited.
    • Changes Persist spawned players setting to be enabled by default (issue was probably with the attach system, not this).
    • Fixes subfolders not working for data files.
    • Fixes persisted NPC players not being removable by EWP scripts.
    • Fixes scale hack not working on single player.
    • Fíxes automatic injectData not being false when position or rotation is set.
    • Fixes Object attaching affecting normal players when they are on beds, ships, etc (left a ghost player when disconnected).
    • Optimizes script file reloading to only patch/unpatch game code when needed, instead of always patching/unpatching on every reload.
  • v1.54

    • BREAKING CHANGE: Removes basic arithmetic support from data entries. Use parameters instead.
    • Adds support for changing scale of objects with ZSyncTransform component.
    • Adds experimental support for persisting EWP spawned players (this has caused some issues, not fully figured out yet).
    • Adds new field position to pokes to override the poke origin position with absolute coordinates.
    • Adds new field connect to create a virtual connection between two objects (can be used to poke other objects very efficiently).
    • Adds new field connected to pokes to allow poking virtually connected child objects.
    • Adds new field attach to create a physical connection between two objects (child object follows the parent object).
    • Adds new parameters connected that returns the id of the parent object.
    • Adds new angle parameters rad, rad2deg, deg2rad, deg2vec, vec2deg.
    • Adds vector support for math parameters like add, sub, mul and div.
    • Adds new vector parameters angle, distance, dot, cross, normalize, magnitude, sqrmagnitude, project, reflect, lerp, vecx, vecy and vecz.
    • Adds new iteration parameters iter and iter2.
    • Adds support for quaternion format (x, y, z, w) in data entries for quaternion fields.
    • Changes field injectData to be determined automatically based on the data changes.
    • Fixes vector and quaternion outputs being wrong in some cases (now always comma separated).
    • Fixes invalid prefab in pokes causing all objects to be poked (now doesn't poke anything).
    • Fixes field owner not working without using field data.
    • Fixes RPC ChatMessage not working.
  • v1.53

    • BREAKING CHANGE: Removes basic arithmetic support from commands. Use parameters instead.
    • Fixes state leave not working.
    • Fixes parameters <large> and <small> not working properly. Thanks Kurios.ZeuS!
    • Fixes poke limit not using offset, instead it was always based on object position.
    • Improves parameters <calci>, <calcf> and <calcl> to support more complex calculations.
  • v1.52

    • Adds new parameter <cid> to get the character id of the client that controls the object.
    • Adds new parameter <owner> to spawn data to override the initial owner assignment.
    • Adds new states join, leave and respawn to player triggers.
    • Adds new fields groups and bannedGroups to filter based on player groups (requires Server Devcommands mod).
    • Adds API for developers to register own parameter handlers and to use custom triggers.
    • Obsoletes parameter <pchar> as it returned wrong information anyways.