Scrap Mechanic

Scrap Mechanic

82 ratings
[LEGACY] Near Field Communication
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
685.998 KB
15 Jun, 2018 @ 1:08pm
3 May, 2019 @ 1:07pm
12 Change Notes ( view )

Subscribe to download
[LEGACY] Near Field Communication

Description
Made with help of the Scrap Mechanic Mods community: https://discord.gg/qxFUd3j

Please make regular backups of your worlds as this mod may in some cases crash the game and make the file unloadable.

Update 8
- Fixed the mod to work with new versions of Scrap Mechanic. (FINALLY)

This mod makes it possible to send data between contraptions in limited radius. This is especially useful if you want to send data locally for example on an automatic intersection or garage door.

How to use
To use just place the send & receive block, paint them the same color and BOOM you have a working short-range communication. To check if the receive block is connected to the send block just connect the receive block to any logic block (light, logic gate etc.).
To send data you will also need the input & output blocks. Connect the input block to the send block and paint it to set a channel. Then connect the output block to the receive block and paint it the same color as the input.
To change the range of the receive block (16 blocks by default) click [E] on it. To see the value open /console.

Update 1
- Custom range - press [E] to change. Open /console to see selected value.
- The default range has been changed from 12 to 16 blocks, old creations will automaticly be set to 16 blocks, but you can change that manually.

Update 2
- Max range increased to 32 as requested by players.

Update 3
- Updated range system - Dynamic step size, and bigger max range - 128 [ for those who need more ;) ]
- Minor tweaks and bug fixes.

Update 4
- FIXED IT!

Update 5
- Send blocks can now be turned off by connecting a logic input to it. Only if the logic input emits a signal, the Send block will be active.

Update 6
- New textures of the parts.
- Updated connection (dot) color.

Update 7
- Fixed some bugs.

Update 8
- Fixed the mod to work with new versions of Scrap Mechanic. (FINALLY)

Thanks for Xesau for help with the mod and the
61 Comments
jjjubies 21 Sep, 2019 @ 5:41pm 
when saving and spawning a machine with blueprint , reciever(s)
constantly spams [Print]Nil value.shape and [Print] { } and the setup stops working
Dominik Korsa  [author] 3 May, 2019 @ 1:13pm 
It finally works :D
Sorry for the delays, I weren't playing Scrap Mechanic for a long time
Titan 31 Dec, 2018 @ 8:40am 
Todayn this is not working :
When you place a input and send blocks, you can't join them.
I hope it will be soon repared :)
TheSloth93 12 Oct, 2018 @ 4:07pm 
I get an Error in the latest beta. if I place a receiver block, I get the following error:

[Lua] ERROR: On "server_onFixedUpdate": [string "...../Scripts/Receive.Lua"]:126: attempt to index field "shape" (a nil value).

Would be glad if you could fix the problem
Justin 16 Sep, 2018 @ 11:19pm 
This mod has stopped working in the latest BETA, causes an error, would be nice if you check it out when you can ;)
parking lot snow pile 7 Sep, 2018 @ 6:16pm 
@plicner move it closer and paint it the same color
Pacific9262 25 Aug, 2018 @ 11:24pm 
it does not work
ShrooToo 17 Aug, 2018 @ 3:34pm 
SammyIsAGod YES I have been asking for that for a bit now!
Sammy 17 Aug, 2018 @ 12:46pm 
Please make an update with a way to make infinite range or a range that exeedes the size ofthe map.
Demon lord Lucifer 15 Aug, 2018 @ 4:12pm 
whitch is realy disapointing