Jump to content
CallMeNoShine

I want to make the UAV screen on Tv Or electronic device

Recommended Posts

I want to make the UAV screen on Tv Or electronic device. I do follow this video https://www.youtube.com/watch? But error like and I don' know how to fix nlSng2N.pngI

Share this post


Link to post
Share on other sites

Build a "uavcamfeed.sqf" in your script-folder.
Change "terminal" below to the name of your TV-Screen:
Execute the uavcamfeed.sqf e.g. by trigger

uavcamfeed.sqf:

[terminal, 2] call BIS_fnc_DataTerminalAnimate;                        //[terminal, blue, green, red] call BIS_fnc_DataTerminalColor;
terminal setObjectTexture [0, "#(argb,512,512,1)r2t(_uavCamTgt,1)"];
_uavcam = "camera" camCreate [0,0,0];
_uavcam camSetFov 0.3;                                                //  The zoom level is from 0.01 for the nearest and 8.5 for the furthest zoom value, with a default zoom level of 0.75. Needs the call of camCommit to be conducted.
_uavcam cameraEffect ["Internal", "Back", "_uavcamTgt"];
_uavcam attachTo [uav, [0,0,-1], "PiP0_pos"];
"_uavcamTgt" setPiPEffect [0];                                         //"_uavcamTgt" setPiPEffect [1];    // Normal - [0], Night Vision - [1], Thermal - [2], inv.Thermal = 7,   or B/W: [3,1,1,0.4,0,[0,0,0,0],[1,1,1,0],[1,1,1,1]];
addMissionEventHandler ["Draw3D", {
    _dir =
        (uav selectionPosition "PiP0_pos")
            vectorFromTo
        (uav selectionPosition "PiP0_dir");
    uavcam setVectorDirAndUp [
        _dir,
        _dir vectorCrossProduct [-(_dir select 1), _dir select 0, 0]
    ];    
}];

_uavcam camPrepareTarget getpos ural;      // "ural" is the target to follow, in this case an ural-truck
_uavcam camSetTarget ural;
_uavcam lockCameraTo [ural, [0]];
_uavcam camCommit 1;

 

The script above puts a camera beneath the real UAV-camera, but it runs parallel to the real UAV-camera.
Found at KillZone Kids Tutorials and adapted for my needs.

  • Like 2

Share this post


Link to post
Share on other sites

The "pattern" seems to come from your grafics settings.
Go ingame ESC > Config > Graficstuff > search for HBAO under AA & PP.
Try change HBAO ingame (with look at the monitor) to other values or deactivate it.
You should see instantly the changes.
This should help.

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×