TFAR Intercom für Ifrit / Hunter

  • Multiplayer

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • TFAR Intercom für Ifrit / Hunter

    Hallo Leute

    Ich würde gerne auch Intercom in Hunter/ifrit haben.
    Ich Netz habe ich nur das gefunden woraus ich aber nicht so recht schlau werde.
    Das das einer schon gemacht und weiß wie das geht?

    github.com/michail-nikolaev/ta…-arma-3-radio/issues/1374
    --> -> Rechtschreibfehler sind Gratis <- <--
    --> Wer welche findet kann sie behalten <--

    German Nato Corps
  • Habs inzwischen heraus gefunden , so muss die Config geändert werden.

    SQL-Abfrage

    1. class Car : LandVehicle
    2. {
    3. class ACE_SelfActions;
    4. };
    5. class Car_F : Car
    6. {
    7. TFAR_hasIntercom = 1;
    8. class ACE_SelfActions : ACE_SelfActions
    9. {
    10. class TFAR_IntercomChannel
    11. {
    12. displayName = "$STR_tfar_core_Intercom_ACESelfAction_Name";
    13. condition = "true";
    14. statement = "";
    15. icon = "";
    16. class TFAR_IntercomChannel_disabled
    17. {
    18. displayName = "Disabled";
    19. condition = "_vehicle = vehicle ACE_Player; _intercom = _vehicle getVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-2]; if (_intercom == -2) then {_intercom = _vehicle getVariable ['TFAR_defaultIntercomSlot',TFAR_defaultIntercomSlot]}; _intercom != -1";
    20. statement = "(vehicle ACE_Player) setVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-1,true];";
    21. };
    22. class TFAR_IntercomChannel_1
    23. {
    24. displayName = "$STR_tfar_core_Intercom_ACESelfAction_Channel1";
    25. condition = "_vehicle = vehicle ACE_Player; _intercom = _vehicle getVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-2]; if (_intercom == -2) then {_intercom = _vehicle getVariable ['TFAR_defaultIntercomSlot',TFAR_defaultIntercomSlot]}; _intercom != 0";
    26. statement = "(vehicle ACE_Player) setVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],0,true];";
    27. };
    28. class TFAR_IntercomChannel_2
    29. {
    30. displayName = "$STR_tfar_core_Intercom_ACESelfAction_Channel2";
    31. condition = "_vehicle = vehicle ACE_Player; _intercom = _vehicle getVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-2]; if (_intercom == -2) then {_intercom = _vehicle getVariable ['TFAR_defaultIntercomSlot',TFAR_defaultIntercomSlot]}; _intercom != 1";
    32. statement = "(vehicle ACE_Player) setVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],1,true];";
    33. };
    34. class TFAR_IntercomChannel_Misc_1
    35. {
    36. displayName = "Misc channel 1";
    37. condition = "_vehicle = vehicle ACE_Player; _intercom = _vehicle getVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-2]; if (_intercom == -2) then {_intercom = _vehicle getVariable ['TFAR_defaultIntercomSlot',TFAR_defaultIntercomSlot]}; _intercom != 2";
    38. statement = "(vehicle ACE_Player) setVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],2,true];";
    39. };
    40. class TFAR_IntercomChannel_Misc_2
    41. {
    42. displayName = "Misc channel 2";
    43. condition = "_vehicle = vehicle ACE_Player; _intercom = _vehicle getVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-2]; if (_intercom == -2) then {_intercom = _vehicle getVariable ['TFAR_defaultIntercomSlot',TFAR_defaultIntercomSlot]}; _intercom != 3";
    44. statement = "(vehicle ACE_Player) setVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],3,true];";
    45. };
    46. class TFAR_IntercomChannel_Misc_3
    47. {
    48. displayName = "Misc channel 3";
    49. condition = "_vehicle = vehicle ACE_Player; _intercom = _vehicle getVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],-2]; if (_intercom == -2) then {_intercom = _vehicle getVariable ['TFAR_defaultIntercomSlot',TFAR_defaultIntercomSlot]}; _intercom != 4";
    50. statement = "(vehicle ACE_Player) setVariable [format ['TFAR_IntercomSlot_%1',(netID ACE_Player)],4,true];";
    51. };
    52. };
    53. };
    54. };
    Alles anzeigen
    --> -> Rechtschreibfehler sind Gratis <- <--
    --> Wer welche findet kann sie behalten <--

    German Nato Corps