Jump to content

Zerenco

Member
  • Content Count

    11
  • Joined

  • Last visited

  • Medals

Posts posted by Zerenco


  1. hello,

     

    i have the following problem, with the code below i can livestream the gunner perspective from a darter uav but on other drones like the predator style drone its not working. I only get the driver perspective.

     

    Spoiler

    if (!isServer) exitWith {};  
      
    fnc_UAVCamSetup = {  
      
     camTestVar = [0, "#(argb,512,512,1)r2t(reconUAVrtt,1)"]; 
      
     if (alive reconUAV) then {  
       
     displayTV setObjectTexture [0, "#(argb,512,512,1)r2t(reconUAVrtt,1)"];  
        
     displayLaptop setObjectTexture [1,"#(argb,512,512,1)r2t(reconUAVrtt,1)"];     
      
     cam = "camera" camCreate [0,0,0];  
     
     cam cameraEffect ["Internal", "Back", "reconUAVrtt"];    
      
     cam attachTo [reconUAV, [0,0,0], "PiP0_pos"];  
      
     camPosition = addMissionEventHandler ["EachFrame",   
      {   
       _dir = (reconUAV selectionPosition "PiP0_pos") vectorFromTo (reconUAV  selectionPosition "PiP0_dir");   
       
       cam setVectorDirAndUp [_dir, _dir vectorCrossProduct [-(_dir select 1), _dir select 0, 0]];   
      }   
     ]; 
      
      
     };  
      
    };  
      
    [fnc_UAVCamSetup] remoteExec ["call", 0, true];

    So how can i change this?
    Maybe someone can help me or maybe its not possible i dont know.


  2. Hello,

     

    tried the script from the first post.
    I created folders and put everythink where it belong.

    I put call compile preprocessFileLineNumbers "scripts\C-RAM\C-RAM.sqf"; _null = execVM"scripts\C-RAM\cram_init.sqf"; in the init from the cram.
    And sometimes he tried to shoot something down but most of the times everythink explodes in the air without shooting.

     

    Than i tried some codes from the other posts in this thread nothing worked 😄 
    Can someone pls help me and send me a whole working script not pieces?
    After 2 hours i give up 😄

×