Holographic Ruler fix

If you liked this item, please rate it up on Steam Workshop page.

Author: 🐱

Last revision: 9 Jun, 2017 at 08:18 UTC

File size: 236.54 KB

On Steam Workshop

Description:

The 1.2 changed the table of a function which broke the holoruler, here’s a patch until the original author fixes it

I changed 4 lines

function update() local redraw = false local holoRulerConfig = activeItemAnimation.animationParameter("holoRulerConfig") if holoRulerConfig == nil then return end local point1 = activeItemAnimation.animationParameter("point1") local point2 = activeItemAnimation.animationParameter("point2") local userPos = activeItemAnimation.animationParameter("userPos")

Originally posted by "http://playstarbound.com/starbound-vault-update/":

Removed activeItemAnimation.animationParameter (replaced with animationConfig.animationParameter)

function update() local redraw = false local holoRulerConfig = animationConfig.animationParameter("holoRulerConfig") if holoRulerConfig == nil then return end local point1 = animationConfig.animationParameter("point1") local point2 = animationConfig.animationParameter("point2") local userPos = animationConfig.animationParameter("userPos")

Update: The 1.3 changed a few more bindings and this holoconfig interface is kind of a mess, it should be rewritten but I just updated the function calls because I’m lazy and it works that way

Non-steam download: https://github.com/xn-5o8h/holorulerfix/releases/download/1/holorulerpatch.pak

Download
Required items:

Click the title to search on this site.


Holographic RulerSteam Workshop