JereKuusela-Expand_World_Prefabs icon

Expand World Prefabs

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

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.