Space Engineers

Space Engineers

Whip's Planetary Compass Script
197 kommentarer
Whiplash141  [ophavsmand] 3. dec. 2024 kl. 7:01 
no because this isn't a mod, it's an in game script
xBowenAero 1. dec. 2024 kl. 19:17 
Does your mod have a HUD compass that shows angular degrees for when you're mining into the planet, for those underground bases, and you want to drill at a smooth and clean 45 degree angle instead of 45 degree rock slide mined out tunnel?
Into 4. okt. 2024 kl. 16:06 
Awesome, thanks!
Whiplash141  [ophavsmand] 3. okt. 2024 kl. 19:38 
Try v22.0.3

This script hadn't been touched in 4-ish years and back then, there was not an easy way to discern that. Now the compass script will ignore any blocks only connected via connectors, but it will detect blocks attached via mechanical connection blocks(rotors, pistons, etc.)
Into 3. okt. 2024 kl. 19:20 
An option to toggle if Subgrids, or Grids over connectors to be affected would be nice. In our multiplayer, we had the issue that multiple grids got altered LCD's, simply by having parked vehicles to the home base.
GAD 8. sep. 2024 kl. 23:45 
this feature will be very helpfull
GAD 8. sep. 2024 kl. 23:20 
Not a 0 - 5 - 10 - 15 angle. Like horizontal angle bar in compass script or horizontal script
GAD 8. sep. 2024 kl. 23:12 
horizon script shows the exact elevation angle ?
Whiplash141  [ophavsmand] 8. sep. 2024 kl. 23:10 
Nope. My artificial horizon script can.
GAD 8. sep. 2024 kl. 22:54 
can it show elevation angle (vertical angle) ?
Into 6. sep. 2024 kl. 6:15 
SG Industrial Cockpit, Screen 1.
VERSION = "22.0.2";
DATE = "2020/04/22";
Whiplash141  [ophavsmand] 5. sep. 2024 kl. 20:31 
What type of screen and what version of the code?
Into 5. sep. 2024 kl. 16:52 
I've set radial compass to false, but it still shows as radial
GIROLD THE GRATE 18. apr. 2024 kl. 17:57 
ty
GIROLD THE GRATE 18. apr. 2024 kl. 17:57 
ok
CaveDweller 18. apr. 2024 kl. 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  [ophavsmand] 18. apr. 2024 kl. 15:49 
This isn't a mod
GIROLD THE GRATE 18. apr. 2024 kl. 14:38 
i cant see the script on the mood loder and i do the script theng i cant see it
CaveDweller 10. jan. 2024 kl. 20:14 
Hmm, ok. I think I know how I can still make it work. Thank you for your time and reply Whip =)
Whiplash141  [ophavsmand] 10. jan. 2024 kl. 12:34 
scripts can't do that. They are ship automation tools, so I can only do stuff with blocks.
CaveDweller 9. jan. 2024 kl. 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  [ophavsmand] 8. jan. 2024 kl. 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 8. jan. 2024 kl. 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://psteamcommunity.yuanyoumao.com/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 2. aug. 2023 kl. 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 19. juli 2023 kl. 21:50 
Is there any way to make this work for void?
Syphond 29. apr. 2023 kl. 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 29. apr. 2023 kl. 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  [ophavsmand] 26. apr. 2023 kl. 7:59 
@Jotaro: What cockpit is this on?
🍁BuzzedBear🍁 26. apr. 2023 kl. 7:40 
BRILLIANT!
Jotaro 8. mar. 2023 kl. 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  [ophavsmand] 7. mar. 2023 kl. 17:31 
What does your custom data look like?
Jotaro 7. mar. 2023 kl. 11:37 
for some reason even when false is set on same screen it still draws radial compass
Ha1luciNate 31. juli 2022 kl. 5:10 
Is there a way to make this show your planetary gps coordinates? Thanks!
Whiplash141  [ophavsmand] 7. juli 2021 kl. 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 7. juli 2021 kl. 5:13 
At my current dedicated server it seems to work! Which is sort of odd, as you did not change anything right?
BoompaBlubbah 2. juli 2021 kl. 21:19 
When I see a free moment I will see and test it :)
Whiplash141  [ophavsmand] 2. juli 2021 kl. 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 2. juli 2021 kl. 20:57 
Might you have any update regarding this issue? I really liked using this one ;)
BoompaBlubbah 19. maj 2021 kl. 2:49 
22.0.2, yes playing Dedicated Server
Whiplash141  [ophavsmand] 19. maj 2021 kl. 2:36 
What version and are you in multiplayer?
BoompaBlubbah 19. maj 2021 kl. 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  [ophavsmand] 22. jan. 2021 kl. 13:56 
Are there any errors? When you spin around, it should update.
Grand Moff Pitchkins 29. sep. 2020 kl. 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  [ophavsmand] 1. sep. 2020 kl. 20:59 
Good luck!
White Wolf 1. sep. 2020 kl. 20:42 
a friend and i are trying to edit the compass to make the height and width fit the screen better.
TuxRiley 6. juli 2020 kl. 8:59 
can you add a skript for schow inventory full by ship for the seat ?
Whiplash141  [ophavsmand] 30. juni 2020 kl. 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 29. juni 2020 kl. 17:37 
Damn, you are impressive. Thanks so much!
Whiplash141  [ophavsmand] 29. juni 2020 kl. 17:30 
Good catch v21.3.2 fixes that
darthboer 29. juni 2020 kl. 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.