#SCPProximityChat

1 messages · Page 1 of 1 (latest)

worn flare
#

Plugin that allows SCPs to talk with proximity chat. SCPs can press Left Alt to toggle proximity chat. Forked from https://github.com/Jesus-QC/ScpProximityChat/ and updated to work with LabAPI.

Source Code:
https://github.com/FortNbreak/SCPProximityChat-LabAPI

Releases:
https://github.com/FortNbreak/SCPProximityChat-LabAPI/releases/

GitHub

A NWAPI plugin that allows SCPs to talk in the "Proximity Chat". - Jesus-QC/ScpProximityChat

GitHub

A LabAPI plugin that allows SCPs to talk with Proximity Chat. - FortNbreak/SCPProximityChat-LabAPI

GitHub

A LabAPI plugin that allows SCPs to talk with Proximity Chat. - FortNbreak/SCPProximityChat-LabAPI

vivid lake
#

Hello! @worn flare , is this plugin updated to the latest version of the game?

dim iris
stable karma
#

There's a bug with 106 where everyone listening to it with proximity chat gets kicked off the server.
https://medal.tv/es/games/scp-secret-laboratory/clips/l1svEuS40AxNSPMz_?invite=cr-MSxJbkcsMTkyMzIyNjAz

Ver los vídeos de Bug proximity chat de AdrianoElAldeano y millones de otros vídeos de SCP Secret Laboratory en Medal. Etiquetas: #scpsecretlaboratory

▶ Play video
waxen juniper
#

Dragonborn got a little OP

dim iris
coral nebula
#

its 1 line fix

#

VoiceChatChannel channel = speaker.Team == Team.SCPs ? VoiceChatChannel.RoundSummary : VoiceChatChannel.Proximity;

#

also adding support for hearing scps that ur not just spectating but that are nearby would also be somewhat easy

dim iris
dim iris
dim iris
#

Or just use currently spectating

#

Either or

coral nebula
#

instead of distance check on player
get current spectating target otherwise player itself
then check for eg 079 camera

dim iris
#

The former requires less computation

dim iris
#

Ew gross don't do that

coral nebula
dim iris
#

Just use ValidateReceive on the player's voice module

coral nebula
#

which doesnt let you set the distance....

#

sob

dim iris
#

Why do you care about distance

coral nebula
#

this is THIS plugin code

dim iris
#

Why manually set a distance

coral nebula
#

honestly

#

just go through all players

#

send it

dim iris
#

Don't send the message to all players either

coral nebula
#

well yea needs IVoiceRole but still and ofc receive validation

#

regardless i dont think basegame distance checks on non proximity

dim iris
#

Why do a max proximity chat distance that seems weird to me

#

I mean tbf I don't even use that system anymore I do it with speaker toys now

dim iris
coral nebula
#

if ur sending on round end channel, scp channel, or spec i dont think itll validate distance, thus you have to do so yourself

#

otherwise it is audible to EVERYONE ON THE MAP

dim iris
#

ValidateReceive with a proximity channel?

#

You're insane

coral nebula
#

non proximity channel...

dim iris
#

It is fucking prox chat why would you validate received with a non proximity channel

#

That makes zero goddamn sense

coral nebula
#

also

#

the "distance check" from proximity

#

is

#

public virtual bool ValidateVisibility(ReferenceHub hub)
{
return !(hub.roleManager.CurrentRole is ICustomVisibilityRole currentRole) || (currentRole.VisibilityController.GetActiveFlags(this.Owner) & ~this.IgnoredFlags) == InvisibilityFlags.None;
}

dim iris
#

I know

coral nebula
#

then...

#

wtf is ur point when validating with proximity doesnt distance check

#

lel

dim iris
#

What are you on about bro

coral nebula
#

literally just giving that a distance check prevents across the map audio

dim iris
coral nebula
#

thats not a solution to removing distance check

coral nebula
dim iris
#

Did you forget that player culling was added?

coral nebula
#

i mean this was also done like this before they added that

#

but still

dim iris
#

Still what

coral nebula
#

afaik you can still be visible to a player without being in range

#

yk

#

hallways!

coral nebula
#

afaik yes

dim iris
#

No

#

Base game proximity check uses visibility check

#

If you use the same check as base game proximity then you will always be in range

#

ValidateReceive checks if you can receive a regular proximity chat message from that person

#

If that is true, then you should be sending the message

#

The player can't be out of range and send a prox message, that's not how it works

#

But this is also a whole separate side tangent from my original point

dim iris
coral nebula
#

doesnt account for spectating 079

dim iris
#

It's a bit more complicated to pull off but it's more optimised

coral nebula
#

079 can hear the voice chat
but then the one spectating 079 cant

dim iris
coral nebula
#

what

#

(player.CurrentSpectating ?? player).Position

dim iris
#

If player is receiving SCP prox chat message -> send to spectators

coral nebula
#

correct?

#

oh

#

like that

#

right

dim iris
#

It's less computation

coral nebula
#

i just look through all players and check their active position eg camera

#

eg spec target

dim iris
#

And you're still thinking you need to do distance checks when you really don't

#

With the new player culling system it makes little difference

coral nebula
#

maybe PI_Shrug

#

i still support the idea of having the config to lower the distance regardless

#

some people like that

dim iris
#

Madness I say

#

I like using speaker toys instead of this system tbh

#

It's essentially the same except it's cooler cause it works more like regular prox chat (just with reverb)

coral nebula
#

honestly my complaint with audio is thattt

#

radio and intercom suck ass

#

at least for me

#

regular prox is fine

dim iris
coral nebula
#

i have reverb on minimal afaik

#

i just gave up trying to hear what people say on intercom 90% of the time

dim iris
coral nebula
#

it doesnt sound right

#

idk

dim iris
#

Interesting cause I've literally never had that problem

coral nebula
#

i forgot what my actual issue w it was, but it was just 90% of the time too annoying to hear people