[Mod] Ham Radio [ham_radio]

Post Reply
User avatar
techniX
Member
Posts: 27
Joined: Sun Dec 08, 2019 20:55
GitHub: technix
In-game: techniX

[Mod] Ham Radio [ham_radio]

by techniX » Post

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
Last edited by techniX on Fri Dec 13, 2019 12:00, edited 2 times in total.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Ham Radio [ham_radio]

by Nathan.S » Post

This looks really neat.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
thunderdog1138
Member
Posts: 68
Joined: Sun Dec 08, 2019 00:45
GitHub: thunderdog1138
In-game: thunderdog
Location: Venator-class Star Destroyer in the Xanadu System

Re: [Mod] Ham Radio [ham_radio]

by thunderdog1138 » Post

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 ;)
Check out my Star Wars subgame.

User avatar
MCL
Member
Posts: 654
Joined: Mon Aug 20, 2018 00:44
GitHub: MCLx86
IRC: migdyn
In-game: singleplayer
Contact:

Re: [Mod] Ham Radio [ham_radio]

by MCL » Post

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 ;)
???
2014-02-14 - 2024-02-14 TEN YEARS OF MCL

User avatar
thunderdog1138
Member
Posts: 68
Joined: Sun Dec 08, 2019 00:45
GitHub: thunderdog1138
In-game: thunderdog
Location: Venator-class Star Destroyer in the Xanadu System

Re: [Mod] Ham Radio [ham_radio]

by thunderdog1138 » Post

migdyn wrote:
thunderdog1138 wrote:73 ;)
???
73 means "Best Regards" in ham radio code. Also, for info on the "ham" name, see this article.
Check out my Star Wars subgame.

User avatar
techniX
Member
Posts: 27
Joined: Sun Dec 08, 2019 20:55
GitHub: technix
In-game: techniX

Re: [Mod] Ham Radio [ham_radio]

by techniX » Post

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.

User avatar
techniX
Member
Posts: 27
Joined: Sun Dec 08, 2019 20:55
GitHub: technix
In-game: techniX

Re: [Mod] Ham Radio [ham_radio]

by techniX » Post

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

redblade7
Member
Posts: 316
Joined: Sun Feb 15, 2015 07:14
IRC: redneonglow redblade7
In-game: redblade7 redblade7_owner

Re: [Mod] Ham Radio [ham_radio]

by redblade7 » Post

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.
-redblade7, admin of: THE CREATIVE GARDENS (creative), THE VALLEYS (sandbox), and THE DIGITAL FARMS (farming/hunger/shops)

User avatar
MCL
Member
Posts: 654
Joined: Mon Aug 20, 2018 00:44
GitHub: MCLx86
IRC: migdyn
In-game: singleplayer
Contact:

Re: [Mod] Ham Radio [ham_radio]

by MCL » Post

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.
2014-02-14 - 2024-02-14 TEN YEARS OF MCL

User avatar
techniX
Member
Posts: 27
Joined: Sun Dec 08, 2019 20:55
GitHub: technix
In-game: techniX

Re: [Mod] Ham Radio [ham_radio]

by techniX » Post

Released v1.2:
- bugfix for stationary receivers
- separate digiline channel for stationary receivers
Also updated README with description of configuration file.

User avatar
techniX
Member
Posts: 27
Joined: Sun Dec 08, 2019 20:55
GitHub: technix
In-game: techniX

Re: [Mod] Ham Radio [ham_radio]

by techniX » Post

Released v1.2.1:
- fix minor issue with transmitter setup when frequency is unchanged

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Ham Radio [ham_radio]

by Linuxdirk » Post

I wish I would have been more interested in this when I was younger ... :)

Looks like a nice mod to play around with!

User avatar
techniX
Member
Posts: 27
Joined: Sun Dec 08, 2019 20:55
GitHub: technix
In-game: techniX

Re: [Mod] Ham Radio [ham_radio]

by techniX » Post

Released v1.2.2:
- fixed recipe for basic materials

User avatar
PrairieWind
Member
Posts: 64
Joined: Fri Oct 09, 2020 22:02
GitHub: PrairieAstronomer
IRC: PrairieWind
In-game: PrairieWind

Re: [Mod] Ham Radio [ham_radio]

by PrairieWind » Post

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.

User avatar
BRNSystems
New member
Posts: 5
Joined: Sat May 23, 2020 06:12
GitHub: BRNSystems
In-game: BRNSystems

Re: [Mod] Ham Radio [ham_radio]

by BRNSystems » Post

Hello
I made a pull request with some new content.
Here it is: https://github.com/technix/ham_radio/pull/7
BRNSystems

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests