Starbound

Starbound

89 ratings
Holographic Ruler fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
242.344 KB
14 Mar, 2017 @ 10:50pm
9 Jun, 2017 @ 1:18am
2 Change Notes ( view )

Subscribe to download
Holographic Ruler fix

In 1 collection by 🐱
Fancy useful stuff
41 items
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
28 Comments
Harstargri 27 Aug, 2019 @ 2:51am 
FYI, works for me on 1.4, FU, no issues whatsoever. This mod is awesome!
🐱  [author] 24 Aug, 2019 @ 5:21am 
@Harstargri: haven't tested but probably, I'd expect someone would have said so by now if it wasn't :PuzzleBallDONT_KNOW:

@cocoapoda: yeah having the menu open lags the game out for some reason, I blame the old system that the interface is using and I can't be bothered enough to rewrite the whole thing :momozzz: works well enough as is
Harstargri 21 Aug, 2019 @ 11:10pm 
Working on 1.4?
🐱  [author] 13 Jan, 2019 @ 6:11pm 
Yeah, iirc the menu was written with a (by now's standard) old interface API -- it works, but there are better ways to do it now. However as stated in the description, I'm lazy so I just patched it up :momozzz:

The original mod was working on Starbound v1.1, broke on 1.2 (when I created this), and broke a bit more on 1.3 (the current version)
bird daughter 12 Jan, 2019 @ 11:08am 
It works, but for me at least, it caused my game to continously degrade in performance rapidly. It only occurs with the menu open, it seems.
DTamer98 12 Jan, 2019 @ 5:14am 
Does this still work? I'd assume so but I wanna double check:p
bird daughter 17 Nov, 2018 @ 12:00pm 
This causes my game to lag massively when I have the config window open.
multibanana 31 Mar, 2018 @ 6:33am 
"revamp for sequel for repost of update for compatibility patch for fanfix of Holographic Ruler"
🐱  [author] 23 Jan, 2018 @ 4:48am 
:Neko:
Sunny_O 23 Jan, 2018 @ 3:05am 
It's kinda funny. The original mod has been dead for a year and a half, and you still provide yours as a "fanfix". If you ever drop this mod and it breaks, I'm compelled to make a "compatibility patch for fanfix" mod that depends on this fix. I wonder how deep we can go xD