饥荒联机版

饥荒联机版

369 个评价
Rotating Compass
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
16.895 KB
2016 年 12 月 25 日 下午 1:56
2017 年 8 月 20 日 上午 3:47
3 项改动说明 ( 查看 )

订阅以下载
Rotating Compass

描述
What this mod does
It adds a little rotating compass to the UI. The arrow points to the direction the player is facing, while the compass body rotates to match the cardinal coordinates.

It also adds the compass to the map screen (configurable) so you can always give directions to people who ask "where is X thing?".

Notes
This is a client only mod, meaning it'll work in any server, even vanilla.

Configuration options
  • Follow target: Sets if the compass needle should follow the screen orientation (always point up) or the player (rotate along it).
  • Compass wobble: Sets if the compass should "wobble" and how much when you rotate the camera. Kind of hard to explain, play around with the setting.
  • Needle wobble: Sets if the compass needle should "wobble" and how much when the player walks around.
  • Show screens: Sets if the compass should show in the game screen only, the map screen only or both.
  • Horizontal alignment: Sets the horizontal anchor point to take as a reference when positioning the compass ( see pictures)
  • Vertical alignment: Sets the vertical anchor point to take as a reference when positioning the compass ( see pictures)
  • Horizontal margin: Sets the spacing between the horizontal anchor point and the compass (see pictures).
  • Vertical margin: Sets the spacing between the vertical anchor point and the compass (see pictures).

Current issues
None so far. If you find any please report it here.

Planned features
Add skins to the compass and the pointing needle. Sadly, I'm not skilled enough to draw them, so if you're an artist and would like to contribute, feel free to hit me up.
32 条留言
流星雨 10 月 11 日 上午 7:36 
very nice.

Right Top, and both margin are 30.

You get a compass that fits snugly against the edge of the window in the top right corner.
Rubickevich 4 月 7 日 下午 12:27 
Thanks Aphexamine - this was very useful. Margins that I found worked best for displaying the compass in the top right corner near the statuses:

Horizontal: 250
Vetical: 50

Also, modinfo.lua points to the wrong forum link, so players can't open the mod page through the in-game button. At line 15, change:

forumthread = "25059-Download-Sample-Mods"

to

forumthread = ""

This will make it automatically point to the workshop page. Otherwise, you can also provide a relevant forum link instead.
Aphexamine 2 月 26 日 下午 11:56 
Improved guide to configure the mod:

Increasing the value for Horizontal Margin moves the icon to the left while decreasing it moves it to the right.
Increasing the value for Vertical Margin moves the icon down while decreasing it moves it up.

To set the compass in the top right hand corner with all the other status icons.
Horizontal Alignment: Right
Vertical Alignment: Top
Horizontal Margin: 350 (I have it set centre-right, if you would like it to be with the status icons set this to about 150-200)
Vertical Margin: 50

I had to log in and out of the game about 20-30 times to work this out, hopefully someone else reads this and I save you the time.
spagettigaming 2024 年 12 月 21 日 上午 6:26 
now I can orientate my point of view :steamhappy:
the Unkindness 2024 年 9 月 21 日 上午 12:21 
very useful
slwaq 2023 年 7 月 14 日 上午 11:15 
doesnt work at all :steamthumbsdown:
404_coffee.exe 2023 年 4 月 7 日 上午 7:26 
love it
HoodMyName 2022 年 1 月 30 日 上午 1:23 
((((
aart 2021 年 7 月 1 日 上午 7:11 
compass but free
Pastah 2021 年 5 月 17 日 上午 8:45 
Lags the game for me.