Jump to content

[41.64] Radio doesn't work in multiplayer


Christi

Recommended Posts

So whenever me and my friend at any range tried to use radios, they only transmitted messages if we used the yell button (Q), any thing yelled that was a typed message or just said locally did not work. We aren't using VoIP so we were just trying to see if we could set something up ingame without the need to use Discord for now but it seems that the radios cannot transmit typed messages..

Link to comment
Share on other sites

I think I know why this happens, looking at decompiled source.

The radio relies heavily on IsoGamePlayer.lastSpokenLine to pick up messages. However, ISChat.lua uses processSayMessage and other various helpers defined in LuaManager.java, which circumvents it. By either adding setLastSpokenLine(text) in ISChat.lua or in the actual source code for processSayMessage, you can get the radio to work.

 

Here's a mod I made that fixes it for both speaking and yelling: https://steamcommunity.com/sharedfiles/filedetails/?id=2695911696

Edited by NoelleLavenza
added patch link
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...