Starbound
Оценок: 91
Holographic Ruler fix
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
242.344 KB
14 мар. 2017 г. в 22:50
9 июн. 2017 г. в 1:18
Обновлений: 2 (просмотреть)

Подпишитесь, чтобы загрузить
Holographic Ruler fix

В 1 коллекции, созданной 🐱
Fancy useful stuff
Предметов: 41
Описание
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")

Автор сообщения: "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
Harstargri 27 авг. 2019 г. в 2:51 
FYI, works for me on 1.4, FU, no issues whatsoever. This mod is awesome!
🐱  [создатель] 24 авг. 2019 г. в 5:21 
@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 авг. 2019 г. в 23:10 
Working on 1.4?
🐱  [создатель] 13 янв. 2019 г. в 18:11 
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)
doll daughter 12 янв. 2019 г. в 11:08 
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 янв. 2019 г. в 5:14 
Does this still work? I'd assume so but I wanna double check:p
doll daughter 17 ноя. 2018 г. в 12:00 
This causes my game to lag massively when I have the config window open.
multibanana 31 мар. 2018 г. в 6:33 
"revamp for sequel for repost of update for compatibility patch for fanfix of Holographic Ruler"
🐱  [создатель] 23 янв. 2018 г. в 4:48 
:Neko:
Sunny_O 23 янв. 2018 г. в 3:05 
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