[minimod][1.0] SoM's Z-Compass (March 31, 2024)

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
stainedofmind
Posts: 237
Joined: Sun Sep 01, 2019 10:59 am

[minimod][1.0] SoM's Z-Compass (March 31, 2024)

Post by stainedofmind »

SoM's Z-Compass Version 1.0
---------------------------
Download: https://drive.google.com/file/d/1850VCq ... sp=sharing
Example Lump: https://drive.google.com/file/d/1WxFbQP ... sp=sharing

A simple mod that shows the direction you're facing, in the eight cardinal and
intercardinal/ordinal directions. I made this because I would often get very
turned around after looking at the automap and trying to figure out where to go
next. Has the option of placing the display anywhere on the screen, and
supplying custom text displays via a special lump!

Changelog
---------
Version 1.0:
-Initial release

Usage and Configuration
-----------------------
Load and go! By default, the compass display is centered at the bottom center
of the screen. Display text can be customized using the SOMZCOMP lump. See
below for details.

Configurable options available in the mod menu:

Debug: Toggles sending debug messages to the console. Only really prints out
a list of custom display texts should a valid SOMZCOMP lump be detected. You
can safely leave this off.

Display options should be pretty self-explainitory.

Lump Format
-----------
You can supply a special .txt file named "SOMZCOMP" to customize the display
texts for the directions. The format is as follows:
<Start of File>
West
South West
South
South East
East
North East
North
North West
<End of File>

Replace the texts as you see fit! If you supply more or less lines of text in
the lump, the system will reset to the default values. The lump can be added
anywhere in the load order. An example lump can be downloaded if you need a
reference (See Above).

Todo
----
-If I'm feeling ambitious enough, I might add a variant that has a rotating
compass graphic instead/additionally

Compatibility
-------------
-Haven't tested this with multiplayer, and I don't know if it will work
-Should be universally compatible

License
-------
You are free to use the code for whatever you like, for any reason.
Credit is appreciated, but not needed.

Screenshots
Spoiler:
Trucker
Posts: 6
Joined: Thu May 22, 2025 11:03 pm
Operating System Version (Optional): Windows 10
Graphics Processor: Intel (Modern GZDoom)

Re: [minimod][1.0] SoM's Z-Compass (March 31, 2024)

Post by Trucker »

Very nice minimalist design.
Just wondering, is there a way to get the display larger?
I have the scale slider all the way to the right, and the compass is still way small.
Thanks
User avatar
stainedofmind
Posts: 237
Joined: Sun Sep 01, 2019 10:59 am

Re: [minimod][1.0] SoM's Z-Compass (March 31, 2024)

Post by stainedofmind »

Trucker wrote: Thu Jul 03, 2025 10:18 am Very nice minimalist design.
Just wondering, is there a way to get the display larger?
I have the scale slider all the way to the right, and the compass is still way small.
Thanks
Thank you! Didn't think anyone would need a larger scale, but you can use the console and type "som_zcomp_display_scale 8", replacing 8 with the appropriate value you'd like it to scale to. Do note, it will not work with fractional numbers, ie: 1.5. I may do a small of this to allow the slider to go to larger numbers, but that's low on my list of things to do.

Return to “Gameplay Mods”