Starbound

Starbound

Starmap Zoom Slider
Bbaronx 21 Dec, 2018 @ 7:18pm
Possible fix for slider in bottom right and not working
came up with a dirty fix because the mod wasn't working at all for me with Fracken' Universe, More Planet Info, Fullscreen Starmap 1920 x 1080p, and a bunch of others that *shouldn't* have messed with it (but you know, might have).

in PlanetDistanceChanger.lua I changed lines 18 to 20 from this:

local tmpPos = widget.getPosition("showBookmarkList");
tmpPos[1] = tmpPos[1] + 15;
tmpPos[2] = tmpPos[2] + 5;

to this:

local tmpPos = widget.getPosition("close");
tmpPos[1] = tmpPos[1] - 150;
tmpPos[2] = tmpPos[2] - 25;

and that relocated the slider to the right top of the screen.

then to see if I could mess with the zoom I changed line 11 from this:

widget.setSliderRange("viewRadius", 0, 200);

to this:

widget.setSliderRange("viewRadius", 0, 500);

and made the zoom a bit better for me. In star systems the right 8th of the bar doesn't zoom in further, but that doesn't bother me.

the file is in Steam\steamapps\workshop\content\211820\1232116493 if you want to try this yourself, just back that file up somewhere, unpack it (google "unpack mod starbound") and the rest is finding and opening a file in a text editor, and copy/pasting.

I'm not saying it will work for you, I'm just saying it worked for me.

This is free info btw, do anything with it, I don't care. Not an expert here, have no experience in starbound modding or writing lua code, I just picked it up from a few google searches and what I already knew from coding in other languages/modding other games, don't blame me if attempting this edit burns your house to the ground.
< >
Showing 1-4 of 4 comments
Hiran  [developer] 28 Dec, 2018 @ 12:52pm 
MPI messed it a bit, and since i've found a bit of time, I'm pushing an update. Please check if it works.
Bbaronx 28 Dec, 2018 @ 1:40pm 
Nice, seems working fine now. May want to mention on the mod page that it needs your HLib scripts, didn't realize that until I cracked it open and saw the includes at the top when it didn't work the first time.

Also works fine with Full Screen Starmap 1080p or whatever it's called, in tandem with MPI, Frakin, all that, only thing would be that the slider starts all the way to the right, but I got this more for large systems that don't quite fit in the screen, so no issue there.

But yeah, thanks for the update.

Slight edit: Also had the thought, you may want to consider seeing if it works with your sliders zlevel set to 4, that *should* put it under the bookmark bar when that's opened. Not sure how the game will handle stacked windows though.

Edit 2: Yeah, setting your sliders zlevel to 4 works exactly as expected, now appears below the bookmarks menu, and doesn't seem to have any funny behavior on my install.
Last edited by Bbaronx; 28 Dec, 2018 @ 1:50pm
Hiran  [developer] 29 Dec, 2018 @ 10:18am 
This requiring Hlib is a bug, as it should have no dependencies. Im pushing next update soon.

Edit: Would you be interested in testing starmap filter?
Last edited by Hiran; 29 Dec, 2018 @ 10:21am
Bbaronx 29 Dec, 2018 @ 2:52pm 
Sure, I can run it through some tests. PM me and I'll get you some contact info.
EDIT: Just realized you can only PM friends, invite sent.
Last edited by Bbaronx; 29 Dec, 2018 @ 2:54pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50