Ham Radio

From PZwiki
Revision as of 10:59, 22 April 2021 by Thing II (talk | contribs) (Cleaned up code section, updated to 41.50)
The Game WorldItemsHam Radio
Ham Radio
Ham Radio
US ARMY COMM. Ham Radio Makeshift Ham Radio
General
Category Item
Encumbrance
Heavy Load
20
Function Lore and Communication
Technical details
Base ID See Types

A ham radio is an interactive item added in IWBUMS 33. It allows the player to listen to radio broadcasts, including music stations, news reports, and military stations. As a ham radio is a two-way Radio, it can be used for distance communication in multiplayer games, or simply to "throw your voice".

Usage

An example of the interactive radio interface.

All radios require batteries to function, but every radio is found with a full battery included. To use a radio, right-click it in the world and select "Device Options" to open a control panel window. Here you can see information about the radio's specifications and current settings, power it on or off, remove/replace the battery, adjust the volume, add earbuds or headphones for stealthy listening, mute the mic, and select and edit preset frequencies.

Ham radios are two-way radios and will transmit and reproduce voices at a distance. "Voices" includes both the Shout command used to draw zombies' attention, and chat messages in multiplayer. This can be prevented on the transmitting radio by muting the mic. The reproduction will be silent to nearby players and zombies if the receiving radio is using earbuds; otherwise, it will make noise in the environment depending on the volume setting.

The obvious use of this is for communication on multiplayer servers that have disabled global chat, but it can also provide a single-player tactic: throwing your voice to draw zombies where you want them, though walkie talkies server this purpose better due to their low weight.

Stationary

Ham radios can only be used as stationary furniture. To convert a furniture radio to an item, pick it up like any other furnishing:

  • Enter "Pick Up Mode".
  • Highlight the tile containing the radio.
  • Cycle through the tile's objects if needed (default key R).
  • Click to add the radio to your inventory.

To convert a ham radio to furniture:

  • Put the radio into your personal inventory, not a bag and not equipped.
  • Enter "Place Mode".
  • Click the radio in your inventory.
  • Click the desired tile to place it.
    • OR
  • Right click the radio from personal inventory
  • Select 'Place item'
  • Click the desired tile to place it.

Disassembly

All radios can be dismantled with a screwdriver, producing a variety of components as well as a small amount of Electrical skill XP.

The obtainable items are as follows:

Icon Name Amount Effected by
Electrical skill
Aluminum.png Aluminum 0-4 NO
Amplifier.png Amplifier 0-1 YES
ElectricWire.png Electric Wire 0-4 NO
ElectronicsScrap.png Scrap Electronics 1-5 NO
LightBulbGreen.png Green Light Bulb 0-1 YES
LightBulb.png Light Bulb 0-1 YES
RadioReceiver.png Radio Receiver 0-1 YES
RadioTransmitter.png Radio Transmitter 0-1 YES
Headphones.png Headphones 1
(if present)
NO
Earbuds.png Earbuds 1
(if present)
NO
Battery.png Battery 1
(if present)
NO

The odds to receive items effected by Electrical skill:

50 + (Electricity Level)*5)%


Distribution

Ham radios can be found in containers

Frequencies and Broadcasts

Most radios will be found with one or more preset frequencies, usually one of these local commercial stations:

Station name Purpose
89.4 MHz Hitz FM Music station.
93.2 MHz LBMW - Kentucky Radio News, music.
96.2 MHz Automated Emergency Broadcast System Weather, emergency.
98 MHz NNR Radio News station.
101.2 MHz KnoxTalk Radio Talk show, music.
  • There are also "hidden" broadcasts on non-commercial frequencies, which include civilians noting military presence, and military broadcasts. You are free to add presets for any frequency in the radio's spectrum.
  • Throughout the first week of the infection, news media and music stations will report on The Knox Event, and give the player outside information on world events, including riots, curfews being put into effect, and eventually, the breaking of the quarantine.
  • It has also been confirmed that both scripted and non-scripted radio broadcasts will still occur after media blackout.
  • The frequency of the Automated Emergency Broadcast System varies each game. Simply find radios in the world with that station preset.

Types

Ham radios are one of the three types of communication devices.

  • Consumer radios: Receive only, lightweight, commercial frequencies only.
  • Walkie talkies: Short-range two-way, lightweight, more frequencies.
  • Ham radios: Long-range two-way, exceedingly heavy, most or all frequencies. Earbuds cannot be used. Ham radios are best used as stationary furniture in a safe location.
Icon Model Name Weight Noise Range (tiles) Frequency Range Transmit Range (tiles) Base ID
Mic. Volume Minimum Maximum
HamRadioCivilian.png HamRadio1 World.png Premium Technologies Ham Radio 20 5 10 10 MHz 150 MHz 7500 Base.HamRadio1
HamRadioMilitary.png HamRadio2 World.png US ARMY COMM. Ham Radio 20 5 15 0.2 MHz 1000 MHz 10000 Base.HamRadio2
HamRadioCivilian.png HamRadioMakeShift World.png Makeshift Ham Radio 20 5 10 10 MHz 500 MHz 6000 Base.HamRadioMakeShift

Code

From items_radio.txt (Project Zomboid directory/media/scripts/)

HamRadioCivilian.png Premium Technologies Ham Radio Retrieved: Build 41.50

	item HamRadio1
		Type			= Radio,
		Icon			= HamRadioCivilian,
		Weight          	= 20.0,
	        ConditionMax	        = 100,
		DisplayName		= Premium Technologies Ham Radio,
		UseDelta		= 0.010, 
		UseWhileEquipped	= FALSE,
		DisappearOnUse		= FALSE,
		TwoWay			= TRUE,
		TransmitRange		= 7500,
		MicRange		= 5,
		BaseVolumeRange		= 10,
		IsPortable		= FALSE,
		IsTelevision		= FALSE,
		MinChannel		= 10000,
		MaxChannel		= 500000,
		UsesBattery		= TRUE,
		IsHighTier		= FALSE,
		WorldObjectSprite	= appliances_com_01_0,
		Tooltip                 = Tooltip_item_Radio,

HamRadioMilitary.png US ARMY COMM. Ham Radio Retrieved: Build 41.50

	item HamRadio2
		Type			= Radio,
		Icon			= HamRadioMilitary,
		Weight          	= 20.0,
	        ConditionMax	        = 100,
		DisplayName		= US ARMY COMM. Ham Radio,
		UseDelta		= 0.014, 
		UseWhileEquipped	= FALSE,
		DisappearOnUse		= FALSE,
		TwoWay			= TRUE,
		TransmitRange		= 20000,
		MicRange		= 5,
		BaseVolumeRange		= 15,
		IsPortable		= FALSE,
		IsTelevision		= FALSE,
		MinChannel		= 200,
		MaxChannel		= 1000000,
		UsesBattery		= TRUE,
		IsHighTier		= TRUE,
		WorldObjectSprite	= appliances_com_01_8,
		Tooltip                 = Tooltip_item_Radio,

HamRadioCivilian.png Makeshift Ham Radio Retrieved: Build 41.50

    item HamRadioMakeShift
        Type			= Radio,
        Icon			= HamRadioCivilian,
        Weight          	= 20.0,
        DisplayName		= Makeshift Ham Radio,
        UseDelta		= 0.010,
        UseWhileEquipped	= FALSE,
        DisappearOnUse		= FALSE,
        TwoWay			= TRUE,
        TransmitRange		= 6000,
        MicRange		= 5,
        BaseVolumeRange		= 10,
        IsPortable		= FALSE,
        IsTelevision		= FALSE,
        MinChannel		= 10000,
        MaxChannel		= 500000,
        UsesBattery		= TRUE,
        IsHighTier		= FALSE,
        WorldObjectSprite	= appliances_com_01_56,
        Tooltip                 = Tooltip_item_Radio,

Template:Navbox/Media