Stationeers

Stationeers

Onvoldoende beoordelingen
SPU HUD Mod
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Mod
Bestandsgrootte
Geplaatst op
Bijgewerkt op
1.098 MB
4 sep om 3:12
5 sep om 5:03
3 wijzigingsnotities (weergeven)

Abonneren om te downloaden
SPU HUD Mod

Omschrijving
Displays programmable HUD information from IC10 chip memory through sensor lenses and enhances Logic Transmitter functionality.

Please vote for Logic Transmitter fix here: https://gtm.steamproxy.vip/app/544550/discussions/3/601914519534549352/

FEATURES:
1. HUD Display: Shows formatted data from IC10 chip memory on sensor lenses
2. Logic Transmitter Enhancement: Allows put/get commands to connected devices through Logic Transmitter

Save Safe: this mod does not affect your save file integrity. You can disable it at any moment without consequences.

EXPERIMENTAL:
WARNING: This mod is experimental and represents a Proof of Concept implementation.
The code is not fully optimized or cleaned up. Use at your own risk.
Expect potential bugs, performance issues, and incomplete features.
This is a development version intended for testing and feedback.

This is a Plugin Mod.
It requires BepInEx to be installed with the StationeersLaunchPad plugin.
See: https://github.com/StationeersLaunchPad/StationeersLaunchPad

HUD USAGE:
1. Wear a suit with an IC10 chip
2. Wear sensor lenses and turn them on
3. Use defines with "HUD" prefix in IC10 code to set HUD data addresses

IMPORTANT: Only defines that start with "HUD" prefix will be displayed in the HUD.
Examples: HUDTemperature, HUDPressure, HUDOxygen, HUDFuel, etc.

LOGIC TRANSMITTER USAGE:
- Connect Logic Transmitter to any device
- Use put/get commands on Logic Transmitter to access connected device's memory
- Example: put d0 0 100 (writes 100 to memory address 0 of connected device)

IC10 CODE EXAMPLE:
# Define HUD variables - MUST start with "HUD" prefix!
define HUDTemperature 100
define HUDPressure 110
define HUDOxygen 120
define MyVar 1000

# Set temperature display
move r0 HUDTemperature
put db r0 25.5 # value: 25.5
add r0 HUDTemperature 1
put db r0 1 # show flag: 1 (show)
add r0 HUDTemperature 2
put db r0 6 # format: 6 (Celsius from Kelvin)
add r0 HUDTemperature 3
put db r0 4 # color: 4 (Red)

# Note: Variables without "HUD" prefix (like "Temperature", "MyVar") will be ignored

MEMORY STRUCTURE (10 cells per HUD item):
Offset 0: Value to display
Offset 1: Show flag (0=hide, any other=show)
Offset 2: Format code (0-8)
Offset 3: Color code (0-11)
Offset 4-9: Reserved

FORMAT CODES:
0: Float with 2 decimals (25.50)
1: Integer (25)
2: Normalized percent 0.0-1.0 → 0%-100% (75%)
3: Percent with 2 decimals (98.25%)
4: Kelvin with °K (298.15°K)
5: Celsius with °C (25.00°C)
6: Kelvin to Celsius conversion (25.00°C)
7: Pressure Pa/kPa/MPa auto-scaling
8: Integer with L suffix (25L)
9: Show only key name, without value

COLOR CODES:
0=Blue, 1=Gray, 2=Green, 3=Orange, 4=Red, 5=Yellow, 6=White, 7=Black, 8=Brown, 9=Khaki, 10=Pink, 11=Purple

Source Code: https://github.com/Allexin/Stationeers_SPUHUD
6 opmerkingen
basovav  [auteur] 12 sep om 10:43 
basovav  [auteur] 12 sep om 7:40 
You can encode both IDs and values ​​in the Setting. The Setting is a double, so you can easily allocate a part for the necessary information. I wanted to do it that way, but all such Logic Transmitter is a more correct way conceived (though not finished) by the developers.
Diver 11 sep om 13:14 
No worries, i am happy that the Hud part works. I was looking for some Hud display for a while. Now i am thinking of a way to pass the information i need through the Setting of the Suit.
I have a few mods on the save, let me add you, then we don't have to talk in the comments.
basovav  [auteur] 11 sep om 7:07 
Unfortunately, I use a really hacky solution to bypass writing to the suit's memory. And it works for me, but, indeed, it may not work in some situation. The developers can very easily fix this, and I hope they will. Can you send me your save file? I'll try to take a look
Diver 10 sep om 22:01 
I love the idea, sadly my IC10 still errors out with "memory not writeable" when attemting to write onto my Hardsuit with a connected Logic Transmitter.
Vinus 8 sep om 19:03 
very cool! :steamthumbsup: