-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spectator can't hear players #1151
Comments
Check if "tf_forceSpectator" variable is true for the player? |
How is this supposed to work ? I have been experimenting with it and I have set and unset the variable from spectator units and no change, cannot hear players and they cannot hear me. |
Uhm... That is what this issue is about... it doesn't work. using the TFAR forceSpectator function just makes you deaf and mute. |
For Spectator Cams it would be insanely great to be able to hear/speak to other spectators (non directional) but also hear direct speech on your cameras position (directional). For sure would be the most anticipated feature for my group. |
How do i detect if a player is currently in spectator mode? Is there a script command that returns if player is currently in spectator mode? Thats what's holding me off currently. I don't know how to detect that. |
Currently ACE3 (as one provider of spec cams) calls TFAR/ACRE by itself in its function : If you provide an alternative to "ForceSpectator" they could provide a param to call it. But I fear there is no eventhandler for spectating in general. Afaik its all some kind of camera. I'm also not sure about Could this be an event to listen for? Edit: Maybe @silentSpike can help out here. |
Hm... Okey if ACE is calling TFAR API for that.. That makes things easier.. So just rewrite the Spectator system. On my ToDo for the next days now. |
All the spectator scripts I've seen all reference the same function I linked at the start. If that function has been called, assume the player is currently meant to be in spectator mode otherwise you'll have to check any number of different things for the various spectator scripts in use (ACE/BIS/F3/CSSA3). |
You can't. It should be the other way around - TFAR provides function/variable that spectator scripts need to run when they start/finish. |
Can somebody create me a mission with ACE spectator? I'm not a missionbuilder. I have no clue how to do that ^^ |
I would but am busy studying at the moment, the simple version though:
With this setup, ace spectator is entered upon death and exited on respawn. Hence, the respawn delay is the length of time spent in spectator after death (set to |
Thanks. Works as expected and i learned something new ^^. |
@dedmen Sounds great, the listen only radios would be so awesome, maybe just disable the bind or something ? |
Problem is giving the Radios. The Spectator doesn't have an inventory to add them to (i think). And if he has an inventory it may be the one of his dead body laying around. We can't use that either to place radios in it.. But.... If his dead body still has radios in its inventory.. We might already have Spectator Radios.. Have to check that. And i think for it to be complete the spectator should be able to hear also enemy Radios. Which he normally couldn't because of the encryptionCode... Adding 3 Radio types to him would be ugly.. but then.. The Zeus solution already does exactly that.. |
@dedmen I expect Spectator to be zeus as far as TFAR is concerned. (Zeus with muted mike that is) It sounds like the framework is there for zeus, just use it and shape and work out quirks. |
In the backend its very different... Zeus is a flying head.. Spectator is a flying Camera without a body. The without a body is the problem maker here |
@dedmen Well disregard me and my assumptions that something in ArmA was simple... |
I love this is being worked on! One more idea / suggestion / further improvement: Ability to attach the "3D positional ears" to an object / player, so you basically can zoom out and still hear stuff from the interesting players (like commanders) you have chosen before. A script command would be sufficient, no need to implement something fancy. Edit: In ACE there are 2 different spectator modes, virtually and physically. The physically spectator player is moved to [0,0,0] and most probably still has an inventory. |
My test was weird... I tried different ways to get the cameras position.. Most of them gave me player position.. one gave me close to [0,0,0] and the last got me the correct position. It was spectator after death so it should still be attached to my dead body i think, |
Sorry to tear up an old subject, but you wrote: "Spectators can hear players just like in Zeus Camera." Again, sorry to rip this up, but i havent found anything about this anywhere on the net, or this forum.. |
@DaPlys Check the |
When in spectator mode you can't hear other players near you.
Questions:
How to detect Spectator mode? :x if anyone knows tell me.
The text was updated successfully, but these errors were encountered: