Project Zomboid

Project Zomboid

58 ratings
Pager mod MP [41.66]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
225.255 KB
5 Mar, 2022 @ 10:02am
5 Mar, 2022 @ 10:47am
2 Change Notes ( view )

Subscribe to download
Pager mod MP [41.66]

Description
Pager mod
I present my new mod which adds pager in the game.
The mod is for RP and only works in multiplayer.

Range of radios is taken into account !



How to use the mod ?
Get a pager
The first thing to do to use it is to get a pager. The only way to get one is by crafting it.
To get the pager craft, you must learn the recipe from Electronics Magazine Vol. 4.

Send a message
To send a message, you need a two way radio !
In the radio menu, if it is on, you will see an icon in the shape of an envelope. Click on it to open the menu to send a message.
In this menu you have to choose two things, the recipient(s) and the message to send.
For the recipient. You choose from a list specific to your character. To add a contact to the list, you click on the "Add contact" button. In this menu you enter a name for the contact and pager numbers. To add a number, you write it then press enter. The number should appear in the list. You can add as many numbers per contact as you want. Once all number enter, press the "Save" button.

For the text to send, just enter what you want to send next to "Message:" and press "Send" (Or enter in the box).
You can only send a text with this characters: "0123456789-_=. " (See seconde video)

Exemple of code to send:
http://www.piclist.com/techref/io/pagercodes.htm

Use the pager
To use a pager, you right click on it in the inventory and then you get 3 options: (See first video)
- Change the pager's name, like that the display name in the inventory is change. Usefull if you have more than one pager.
- Get pager's number.
- Open the pager.

When you open the pager, you get an UI with four buttons and which displays the first message received (or empty if no message). There are two buttons to navigate through the messages, a button to delete the selected message and a button to display the date and time the message was received. (first click display the the day, month and year, second click hour and minute and third click go back to the message text.)

To know
- To get a notification, the pager need to be in your inventory.
- Clicking outside the pager when it is open closes it.
- You can change the size of the pager (need a restart) and the color of the screen in the options.
- The range of radios is taken into account, so if you do not receive messages, chances are that you are too far. Messages that are not received are deleted.
- Messages are backed up between server resets
- If you have a pager in your inventory and are not in the server when you get a message, you still get it when you come back, with the date when sended.

Maybe to add
- The window to send a message in the radio window
- Alphanumerical pager
- Pager use battery
- Traps (send a message when a door is open for exemple)
- World model for pager

For moder
I doubt it but let's imagine that someone wants to send a message for his mod.
For that it is not very complicated, you can only do it from the client. You can use the timed action:
ISSendMessageTimedAction:new(character, pagerNumber, messageText, radioRange, onlyOneMesage) pagerNumber, is either a string of the number to send a message (exemple "555-5555") or a table or number. (use with onlyOneNumber) messageText, the text to send (exemple "12345678") radioRange, range in meter of the radio onlyOneMesage, boolean true if send one message, false is send a table of number
Or the function directly:
SendPagerMessage(pagerNumber, messageText, radioRange) pagerNumber is a string SendPagerMessages(pagerNumber, messageText, radioRange) pagerNumber is a table

Doesn't work in split screen
I do not authorize the use of my code for other mods or modpacks. If you want it, ask it pls.

Workshop ID: 2773785202
Mod ID: PagerMod
10 Comments
4Zeta 23 Apr @ 5:40am 
Can you send me a pm im interested to update the mod ?
why dont accept friend req?
_/Jiw333Maude\_ 14 Oct, 2024 @ 9:34am 
this mods the bomb!
rude jokes aside, nice mod <3
Tax 19 Apr, 2024 @ 11:34am 
great, I was looking for this!
Synaries 3 Apr, 2024 @ 5:57am 
Does this mod still work for 41.78?
LineTinzer 4 Mar, 2023 @ 10:56am 
hi! Can I use this mod on my server's modpack? I'll wait on your answer, thanks.
DevoTan 12 Nov, 2022 @ 12:13pm 
This doesn't work as of 41.77 and so it probably doesn't work in 41.78.
Hydraulic.Alcoholic 12 Jul, 2022 @ 10:31pm 
i downloaded the mod and when i went to open the pager it just shows a green box covering it and every time i click one of the buttons on the pager i get an error message.is there any way to fix it or is it just because its out of date?
MrBounty  [author] 25 May, 2022 @ 11:42pm 
I will just do a phone mod for the next build
Bigno 20 May, 2022 @ 10:42pm 
Any updates on the alphanumerical pager? Interested in trying this one out...
[kabrňačka] Woodbinka 18 Mar, 2022 @ 5:11pm 
If you'd add an alphanumerical pager and the "Traps" feature, it would be very useful on multiplayer servers. I could set upt a pager to let me know if someone's raiding my drug storeroom :D