Space Engineers

Space Engineers

Whip's Planetary Compass Script
184 件のコメント
Mr.Scout Troop 4月18日 17時57分 
ty
Mr.Scout Troop 4月18日 17時57分 
ok
CaveDweller 4月18日 17時27分 
You'll see it when you go into the programmable block to load a script. Just ensure you enable scripts in the world settings and on the programmable block
Whiplash141  [作成者] 4月18日 15時49分 
This isn't a mod
Mr.Scout Troop 4月18日 14時38分 
i cant see the script on the mood loder and i do the script theng i cant see it
CaveDweller 1月10日 20時14分 
Hmm, ok. I think I know how I can still make it work. Thank you for your time and reply Whip =)
Whiplash141  [作成者] 1月10日 12時34分 
scripts can't do that. They are ship automation tools, so I can only do stuff with blocks.
CaveDweller 1月9日 17時12分 
Sorry for the confusion Whip, I only included the mod link to serve as a visual example of what I was talking about. With your script specifically, I was wondering if you would be willing to include a n option for the compass to be viewed from a third person perspective?
Whiplash141  [作成者] 1月8日 20時24分 
I didn't have any hand in the making of that mod. I only made this in-game script. That question is more suited for the mod author @CaveDweller
CaveDweller 1月8日 20時02分 
Hi Whip. While I am very excited about your mod and the clarity of the bearing, I was wondering if you would be willing to make an addition.

Reference this compass mod https://steamproxy.net/sharedfiles/filedetails/?id=2687667563 would you be willing to include a third person view option? I usually play from a third person view, and having your compass showing from that perspective would contribute significantly to the control tower role play that I would like to add to my play throughs.

Thank you
WildLynx 2023年8月2日 8時04分 
I have a small idea: this script should set lcd to be blank and transparent while in space. May be with small text: "In space" at the bottom of the screen.
RandomOstrich 2023年7月19日 21時50分 
Is there any way to make this work for void?
Syphond 2023年4月29日 20時51分 
Figured it out. I should have looked first. For any one that uses this for the AAW, in the program block, change the aboslute north vector from x:0 y:-1 z:0 to x:0 y:1 z:0. it will invert the compass.
Syphond 2023年4月29日 20時46分 
Hello, got a question, Can the out put be inverted. The planets in a senerio i am using apperently are inverted and there north is south. Can this be done? Thanks in advance from a satisfied customer. ps landing script. :)
Whiplash141  [作成者] 2023年4月26日 7時59分 
@Jotaro: What cockpit is this on?
🍁BuzzedBear🍁 2023年4月26日 7時40分 
BRILLIANT!
Jotaro 2023年3月8日 9時33分 
Compass - Text Surface Config]
Show on screen 0=false
Show on screen 1=true
Show on screen 2=false
Show on screen 3=false
Show on screen 4=false
Show on screen 5=false
Show on screen 6=false
Show on screen 7=false
Show on screen 8=false

[Compass - Appearance]
Draw radial compass - screen 0=false
Draw radial compass - screen 1=false
Draw radial compass - screen 2=false
Draw radial compass - screen 3=false
Draw radial compass - screen 4=false
Draw radial compass - screen 5=false
Draw radial compass - screen 6=false
Draw radial compass - screen 7=false
Draw radial compass - screen 8=false
Whiplash141  [作成者] 2023年3月7日 17時31分 
What does your custom data look like?
Jotaro 2023年3月7日 11時37分 
for some reason even when false is set on same screen it still draws radial compass
Hallucinate 2022年7月31日 5時10分 
Is there a way to make this show your planetary gps coordinates? Thanks!
Whiplash141  [作成者] 2021年7月7日 9時04分 
Nope, no changes. It is largely dependent on that game bug mentioned below. If the first block you placed to make the ship is further than 32 meters from your screens, those screens will simply not work at all lol
BoompaBlubbah 2021年7月7日 5時13分 
At my current dedicated server it seems to work! Which is sort of odd, as you did not change anything right?
BoompaBlubbah 2021年7月2日 21時19分 
When I see a free moment I will see and test it :)
Whiplash141  [作成者] 2021年7月2日 21時04分 
This is _very_ likely tied to the following bug: https://support.keenswh.com/spaceengineers/pc/topic/1-197-168-fix-programmable-block-sprite-streaming-for-clients

If your screen is more than 32 meters from the grid pivot (not the same as the CoM), the screens will not receive updates. It is a lovely bug added by keen last major as if sprites werent already hell to get working right...
BoompaBlubbah 2021年7月2日 20時57分 
Might you have any update regarding this issue? I really liked using this one ;)
BoompaBlubbah 2021年5月19日 2時49分 
22.0.2, yes playing Dedicated Server
Whiplash141  [作成者] 2021年5月19日 2時36分 
What version and are you in multiplayer?
BoompaBlubbah 2021年5月19日 2時22分 
Hello Whiplash, Thanks for all your amazing scripts, which enrich this game so much.
However, I'm afraid I'm having the same issue as Pitch has: the compass used to work fine,
but nowadays only shows a static version of it. Moving around doesn't seem to help :|
Whiplash141  [作成者] 2021年1月22日 13時56分 
Are there any errors? When you spin around, it should update.
Pitch 2020年9月29日 2時49分 
Hi Whiplash, great scripts thanks for these. I have uploaded the compass and it shows in the LCD screen, but doesn't appear to do anything else other than show a static image of a compass. Do I need to change something so it shows a live feed of compass bearing? Thanks again.
Whiplash141  [作成者] 2020年9月1日 20時59分 
Good luck!
White Wolf 2020年9月1日 20時42分 
a friend and i are trying to edit the compass to make the height and width fit the screen better.
ThePandaNetwork 2020年7月6日 8時59分 
can you add a skript for schow inventory full by ship for the seat ?
Whiplash141  [作成者] 2020年6月30日 13時52分 
@all:

Just pushed an update that adds in a radial compass mode. Update to v22.0.0 or later, then open up the custom data of your blocks with screens to turn it on/off. By default, new screens that are more square will use the new radial compass. Short screens like the corner LCDs will use the default horizontal compass. Lmk if y'all run into any issues!
darthboer ☠ 2020年6月29日 17時37分 
Damn, you are impressive. Thanks so much!
Whiplash141  [作成者] 2020年6月29日 17時30分 
Good catch v21.3.2 fixes that
darthboer ☠ 2020年6月29日 17時13分 
Hi Whiplash, I built a very small rover with an industrial cockpit, and the prog block says that a ship controller is not found. I've tried putting "Reference" in the cockpit's name but had no luck. The compass shows up on the correct screen that I set in custom data, but it doesn't update and is stuck on bearing 000. How can I fix this?

UPDATE: I discovered that I can either put "Reference" or "Compass" in the Industrial Cockpit's name. One or the other will work, but not both. If I put "Reference" alone in the name, I get an error that there is no text surface with the name "Compass." If I put "Compass" in the name, I get an error that there is no ship controller detected. If I put both "Reference" and "Compass" in the name at the same time, it detects the compass, but then gives me the No Ship Controller Found error.
Whiplash141  [作成者] 2020年6月29日 11時16分 
I'd start from 178x178 and experiment from there.
notnewbutyork 2020年6月29日 11時03分 
To update some images converted via your app or the gif converter.
So, essentially what their resolution would be for that purpose.
Since that's text based I assume it doesnt really correspond to the pixels per se.
Whiplash141  [作成者] 2020年6月29日 9時15分 
Resolution in what sense? I can give you the pixel resolution pretty easily which is used for sprite drawing: https://www.dropbox.com/s/f3wzzmtfrrmpg25/screen_size_tester.cs?dl=0

Just place the screens you want to see, then run that script.

The amount of text you can fit on a particular screen depends on the font and the aspect ratio of the screen. Also text that is written via sprites vs text displayed in text and image mode size differently for God knows what reason.
notnewbutyork 2020年6月29日 8時09分 
He made it great again! Nice!

On a side note, is there a list with the resulutions of the ingame lcds anywhere?
I can't seem to find one that is up to date...
Whiplash141  [作成者] 2020年6月28日 14時51分 
Alright, script has been rewritten. It will now work with all text panels and any blocks that have multiple screens! See the updated instructions above.
notnewbutyork 2020年6月28日 5時27分 
Ah, ok. Didn't use it on anything but small grid corner lcd and didn't read too deep into it. I literally just saw it resetting to 1.25 so I ctrl+f'd that in the script...

I'm a simple man... I do simple things.

Nice rework though, looks good!
Whiplash141  [作成者] 2020年6月27日 20時37分 
Working on a much needed update. Needed a rewrite anyway and this will allow me to make things more configurable/sharp

https://steamproxy.net/sharedfiles/filedetails/?id=2145089642
Whiplash141  [作成者] 2020年6月27日 14時56分 
That only fixes _corner_ LCDs and only the small grid set. It will fuck every other screen. Large corner LCDs need a factor of 4, not a simple change one number solution.
notnewbutyork 2020年6月27日 13時01分 
Wouldn't it be enough to simply change the scaling in the code from 1.25 to 2.5?

I mean... It worked for me...
FrozenMonkey 2020年6月26日 3時13分 
This is rad. Text is tiny but looks like you know how to fix it and it's still very useful!
AceBase 2020年6月24日 12時59分 
@Whiplash141 tried them out, they do line up. Really cool stuff.
Tiger 2020年6月20日 16時12分 
I hope it's an easy fix then. :selike:
Whiplash141  [作成者] 2020年6月20日 10時17分 
> do you know whether this lines up with the HUD Compass mod?

No earthly idea

> How can I adjust the font size to scale up the display

It is non trivial. I need to just rewrite it