09-21-2015, 09:23 PM
(09-21-2015, 08:33 PM)Stagwine link Wrote: - Investigating coordinates in sidechat. It is 'feature' in Psycho.
There are three places where the sideChat is used. One is in init_ais.sqf, line 18:
Code:
if (local player) then {[side _unit,"HQ"] sideChat format ["%1 is down and needs help at %2",name _unit, mapGridPosition _unit]};
In theory you can remove the whole line.
There are two more occurences, in fsm/ais.fsm. There aren't scripts, they are finite state machines. You can still edit them with a text editor, but you need to be more careful:
line 165:
Code:
            "  [side _unit,""HQ""] sideChat format [""%1 take back the command"", name _unit];" \n
To remove the entire side chat, you need to do it like this
Code:
            "/*  [side _unit,""HQ""] sideChat format [""%1 take back the command"", name _unit];*/" \n
There is a second one in line 237
Code:
            "  [side _unit,""HQ""] sideChat format [""%1 is down and needs help at %2"",name _unit, mapGridPosition _unit];" \n
same rules apply, "..." \n needs to stay
Quote:- Radio freqs are still total voodoo for me. Team is teleported to helicopter with 6s delay..so leader should have LR backpack like anyone, because all team starts 'normally' in the ground. I am investigating this but I am really at a loss with the issue. Outlawz, FriedenBros? Any ideas?
My idea would be to give the team leader a name (e.g. teamLeader) and add something like this in your init.sqf
Code:
if (local teamLeader) then {
  [] spawn {
   waitUnitl {vehicle teamLeader == teamLeader};
   sleep 1; // For good measure
   if (backpack teamLeader != "tf_rt1523g") then {
    teamLeader addBackpack "tf_rt1523g";
   };
  };
};
That should really do the trick.
I don't need luck, I have ammo.