Open Przemro opened 9 years ago
Should be an easy addition.
For the time being
[player,player,false,false,true] call f_fnc_camInit
from Debug console should do the trick.
Not sure about respawn as spectator was not written with respawn in mind (to my knowledge, @headswe would know for sure)
Well my friend already working on it, he added "respawn" button to your spectator menu and it should allow you to respawn at marker (respawn_west/east...) with JIP menu.
This is not in-scope for v3-4-0, but retaining this against the 'future' milestone.
Well, what if I can proide you wiht code? Now we are testing this new spectator.
Hi @Przemro - if you're happy to join the team for v3-4-0, that would be great. Would you like to join our project chat?
Like I said my friend from clan is creating this, rest of us try to help him with testing - https://github.com/szelf - for now we want to finish this, it has quite a lot bugs right now and dont work with ACE well. If you want you can send invitation, but we don
t know how long it will take us to finish this.
So if you are intrested, small update. We have working respawn and spectator. After you die, you are moved to spectator, on the top menu you have additonal option "Respawn". This force spectator off, and spawn you at respawn marker.
Info about class, side etc. is saved so if you were medic (as class, you will be still medic - so it work with ACE) then you got JIP menu to pick gear and team.
Known bug are:
Rest is good for now. Here is link to YT, that show how it work from our COOP mission https://youtu.be/qebkWtv6Qhs?t=28m10s - should start from 28:10 and watch to 30:30
@Przemro Your friend may be interested in this - https://github.com/Sniperhid/1Tac-F3/blob/master/f/respawn/fn_RespawnLocalClient.sqf . It is pretty forward to get the briefing to display again, briefings are per unit not per player. Zeus is also assigned on a per unit not per player basis, I imagine relogging in should fix it.
The problem with respawn in general is the current groupMarker system doesn't allow you to discard markers, and so you must stay on the same team. For coops this is fine, but there may be times you wish to respawn a player on another team/faction. I appreciate for some groups having a respawn button in spectator is desired. My philosophy was to go through the means of a session host/admin control respawning and being able to pick the groups/kits of all those involved. I believe there are communities that would appreciate both different approaches.
What we did is optional and can be tunred on/off by small change in respawn templates `respawnTemplates[] = {"Seagull","f_spectator","f_JIP"}; // F3 basic spectator
// respawnTemplates[] = {"Seagull","f_SpectatorRespawn"}; // spectator with option to respawn ( use only when respawn=3 )`
Also thanks for help. For as we need this kind of spectator, we play both COOP and PvP missions. And we have respawn turned on, because arma is bi*\ and sometimes kill players, like building eat them or other bug. So for this players who died by bug we want respawn so they can get back to game. For rest of player (who died in fight) it is spectator if they want to watch game or they can leave.
About markers, it would be usefull if you could pick any team and get your marker anytime. What I mean here: There is coop mission, about 20 players. There are teams A1 A2 etc. but there is no MMG. After 1 hour of game, 3 players JIP and they have option to create MMG and marker is created on the MMG leader and follow him like other markers (A1, A2...) etc.
So another update. We did some fixes, like briefing is now working, but we have big problems with TFR. After respawn plugin is not restartet correctly or something, you got information that it Your TFR is not working and you can t talk to living players.
We didn t test it with ACRE since we don t use it.
I think that is all for now, we will try to fix this TFR issue.
Like I wrote on BIF, I saw on one of ShacTac missions (they use edited version of your framework AFAIK) that player could switch to spectator (and also from spectator respawn in base and get JIP menu to pick gear and team) by action in briefing, same like admin can trigger endings and safe start etc. So I hope this is possible to add for F3.