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

Expand World Prefabs

Allows creating rules for objects being spawned, destroyed and more.

Date uploaded a week ago
Version 1.57.0
Download link JereKuusela-Expand_World_Prefabs-1.57.0.zip
Downloads 521
Dependency string JereKuusela-Expand_World_Prefabs-1.57.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 creating rules for objects being spawned, destroyed and more.

Install on the server (modding guide).

Usage

See documentation.

for help and examples.

Credits

Thanks for Azumatt for creating the mod icon!

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.58

    • Adds new function random to get a random number between two values.
    • Adds new field random to pokes to allow randomizing affected objects.
    • Adds support for specifying unit (deg or rad) for angle parameters.
    • Adds support for "distance, angle, y" format for vectors (requires using deg or rad for angle).
    • Adds dynamic value support to objectsLimit and bannedObjectsLimit.
    • Fixes pos y coordinate offset not being applied when snap is true.
  • v1.57

    • Adds field self to object filters.
    • Adds field removeDelay to spawns to allow automatic removal of spawned objects.
    • Adds new setting to allow processing custom prefab names even when server doesn't recognize them.
    • Adds new function globalkey to get global key values.
    • Adds support for putting data entries to script yaml files.
    • Fixes server player broken by last update.
    • Fixes bannedGlobalKeys not lower casing function replacements automatically.
    • Fixes say commands happening twice when players are being created.
    • Fixes function key returning global key instead of custom data value.
    • Fixes Object attaching not working for temporary objects like status effects.
    • Optimizes file reloading to only reload the changed file.
  • 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.