Page 1 of 1

[Mod] Ham Radio [ham_radio]

Posted: Sun Dec 08, 2019 22:16
by techniX
Ham radio comes to Minetest world!

Image
Spoiler
Mod uses first material available:

circuit = basic_materials:ic, default:mese_crystal
body = basic_materials:plastic_sheet, default:steel_ingot
wires = basic_materials:copper_wire, default:copper_ingot
antenna = technic:copper_coil, basic_materials:copper_wire, default:copper_ingot
battery = technic:battery, basic_materials:simple_energy_crystal, default:mese_crystal

Radio circuit (ham_radio:circuit)
{circuit, wires, circuit},
{body, battery, body},

Handheld Radio Receiver:
{'', antenna, ''},
{'', 'ham_radio:circuit', ''},
{body, body, body}

Radio Transmitter:
{wires, antenna, wires},
{'default:glass', 'ham_radio:circuit', 'default:glass'},
{body, body, body}

Radio Beacon:
{antenna, body},
{wires, 'ham_radio:circuit'},
Transmitter
Craft a radio transmitter and place it in the world. Right click on transmitter opens configuration dialog, where player can set frequency and RDS message.
  • Empty frequency turns transmitter off.
  • Transmitter information is displayed as info text when player points at it.
  • RDS message can be multiline. However, it is transmitted line by line.
  • RDS message and frequency can be set via digiline. Also, you can read transmitter configuration via digiline too.
Beacon
Beacon is a simplified transmitter. When placed, it automatically tunes on a random unoccupied frequency from predefined range. Beacon frequency range is determined by "beacon_frequency" setting.
  • Beacon frequency is displayed as info text when player points at it.
Receiver
Handheld receiver is a wielded tool.
  • Left click opens configuration dialog to set frequency. Empty string turns receiver off.
  • Shift + left click toggles reception of RDS messages.
When receiver is tuned to a frequency where at least one transmitter is present, HUD signal meter bar shows signal power. The signal power depends on distance and direction to the transmitter.

If RDS reception is toggled on, the RDS messages from all transmitters on this frequency are enqueued and will be send one by one as a chat messages to the player with 10 seconds interval. When RDS message queue becomes empty, it refills and starts over again.

Stationary Receiver
Right click on receiver opens configuration window to set frequency. Receiver displays RDS messages as infotext in the same way as handheld receiver. It does not have signal power meter.
  • You can operate the receiver via digiline in the same way as the transmitter.
Digiline
See README.

What's next?
  • Play "fox hunt" - place beacons or transmitters anywhere in the world, give frequency to other players so they can search the beacons.
  • Hide a treasure and place a beacon nearby. You know what to do next.
  • Organize a radio bulletin board by picking a frequency which all players can use for their announcements.
  • Operate your transmitters with digiline to receive notification on radio.
  • ???
  • PROFIT
-------------------------------------------

Depends: default

Optional depends: basic_materials, technic, digilines

License: MIT

Download: latest version

Source: https://github.com/technix/ham_radio

Re: [Mod] Ham Radio [ham_radio]

Posted: Mon Dec 09, 2019 15:39
by Nathan.S
This looks really neat.

Re: [Mod] Ham Radio [ham_radio]

Posted: Mon Dec 09, 2019 17:12
by thunderdog1138
As a ham myself, this looks great. I would love to see this in a post-apocalyptic survival game with normal chat disabled.

Keep up the good work!

73 ;)

Re: [Mod] Ham Radio [ham_radio]

Posted: Tue Dec 10, 2019 01:41
by MCL
Interesting mod, similar to one that I've been working on since early July.
The name is a bit funny though, if you know what I mean :)
thunderdog1138 wrote:73 ;)
???

Re: [Mod] Ham Radio [ham_radio]

Posted: Tue Dec 10, 2019 03:04
by thunderdog1138
migdyn wrote:
thunderdog1138 wrote:73 ;)
???
73 means "Best Regards" in ham radio code. Also, for info on the "ham" name, see this article.

Re: [Mod] Ham Radio [ham_radio]

Posted: Fri Dec 13, 2019 11:48
by techniX
Released v1.1:
- added stationary receivers, they just display RDS messages as infotext.
- RDS messages in transmitters are multiline now. However, they are transmitted line by line.
- shift-click toggles RDS reception on handheld receiver (instead of right click)
- improved digilines API, see README for details
Also included compat patch for jumpdrive.

Re: [Mod] Ham Radio [ham_radio]

Posted: Fri Dec 13, 2019 11:55
by techniX
thunderdog1138 wrote:As a ham myself, this looks great.
Thank you! Even though I'm not a ham myself, I was very interested in amateur radio while I was a kid/student.
migdyn wrote:The name is a bit funny though, if you know what I mean :)
Well, I know :)
Image

Re: [Mod] Ham Radio [ham_radio]

Posted: Sat Dec 14, 2019 22:26
by redblade7
techniX wrote:
thunderdog1138 wrote:As a ham myself, this looks great.
Thank you! Even though I'm not a ham myself, I was very interested in amateur radio while I was a kid/student.
I've been a ham since I was a kid/student :)

I'm 35 now.

Re: [Mod] Ham Radio [ham_radio]

Posted: Tue Dec 17, 2019 00:26
by MCL
techniX wrote:
migdyn wrote:The name is a bit funny though, if you know what I mean :)
Well, I know :)
Image
That's not what I meant by also funny.

Re: [Mod] Ham Radio [ham_radio]

Posted: Thu Dec 26, 2019 11:20
by techniX
Released v1.2:
- bugfix for stationary receivers
- separate digiline channel for stationary receivers
Also updated README with description of configuration file.

Re: [Mod] Ham Radio [ham_radio]

Posted: Mon Mar 02, 2020 07:57
by techniX
Released v1.2.1:
- fix minor issue with transmitter setup when frequency is unchanged

Re: [Mod] Ham Radio [ham_radio]

Posted: Mon Mar 02, 2020 11:35
by Linuxdirk
I wish I would have been more interested in this when I was younger ... :)

Looks like a nice mod to play around with!

Re: [Mod] Ham Radio [ham_radio]

Posted: Fri Oct 23, 2020 12:03
by techniX
Released v1.2.2:
- fixed recipe for basic materials

Re: [Mod] Ham Radio [ham_radio]

Posted: Fri Oct 23, 2020 15:38
by PrairieWind
I am also a ham radio operator. I would like it more if you added a repeater to the mod. A repeater takes what was said on one frquency and retransmitts it on a another frequency.

Re: [Mod] Ham Radio [ham_radio]

Posted: Wed Feb 22, 2023 09:51
by BRNSystems
Hello
I made a pull request with some new content.
Here it is: https://github.com/technix/ham_radio/pull/7
BRNSystems