Hello
I want to add a thermal camera system to this helicopter Mi-290 (Transport) Taru model. Can anybody help?
Or Which script do I need to check?
Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.
Hello
I want to add a thermal camera system to this helicopter Mi-290 (Transport) Taru model. Can anybody help?
Or Which script do I need to check?
https://forums.bohemia.net/forums/topic/2…ayed-on-screen/
_cam = "camera" camCreate [0, 0, 0];
_cam camSetTarget player;
_cam camSetRelPos [0, 1, 1.5];
_cam cameraEffect ["Internal", "Back"];
_cam camCommit 0;
true setCamUseTI 7;
I guess the combination should implement your idea
https://forums.bohemia.net/forums/topic/2…ayed-on-screen/
Code_cam = "camera" camCreate [0, 0, 0]; _cam camSetTarget player; _cam camSetRelPos [0, 1, 1.5]; _cam cameraEffect ["Internal", "Back"]; _cam camCommit 0; true setCamUseTI 7;
I guess the combination should implement your idea
How do I add this to Mi-290 (Transport) Taru? And in which script file do I need to add these commands?
class thermal
{
idd = 6500;
duration = 10e10;
movingEnable = 0;
fadein = 0;
fadeout = 0;
name = "thermal";
onLoad = "uiNamespace setVariable ['thermal',_this select 0]";
class ControlsBackground
{
class cam : life_RscPicture
{
idc = 6501;
x = safeZoneX + safeZoneW * 0.7;
y = safeZoneY + safeZoneH * 0.7;
w = safeZoneW * 0.2;
h = safeZoneH * 0.2;
text = "";
};
};
class Controls
{
};
};
Alles anzeigen
thermal = {
92 cutRsc ["thermal", "PLAIN", -1, false];
life_fed_scam = "camera" camCreate (getPos player);
life_fed_scam camSetFov 0.5;
life_fed_scam camCommit 0;
true setCamUseTI 7;
"rendertarget0" setPiPEffect [0];
life_fed_scam cameraEffect ["INTERNAL", "BACK", "rendertarget0"];
((uiNamespace getVariable ["thermal",displayNull]) displayCtrl 6501) ctrlSetText "#(argb,256,256,1)r2t(rendertarget0,1.0)";
};
player addAction ["Thermal",{call thermal},"",100,false,true,"","(typeOf (vehicle player)) isEqualTo 'O_Heli_Transport_04_covered_F'"];
Alles anzeigen
Something like this
Thank you so much. But in which script do I need to add these codes?
I think we'll add it inside this 'fn_fedCamDisplay.sqf' script. But which line?
Can anyone help?
Code Alles anzeigenclass thermal { idd = 6500; duration = 10e10; movingEnable = 0; fadein = 0; fadeout = 0; name = "thermal"; onLoad = "uiNamespace setVariable ['thermal',_this select 0]"; class ControlsBackground { class cam : life_RscPicture { idc = 6501; x = safeZoneX + safeZoneW * 0.7; y = safeZoneY + safeZoneH * 0.7; w = safeZoneW * 0.2; h = safeZoneH * 0.2; text = ""; }; }; class Controls { }; };
Code Alles anzeigenthermal = { 92 cutRsc ["thermal", "PLAIN", -1, false]; life_fed_scam = "camera" camCreate (getPos player); life_fed_scam camSetFov 0.5; life_fed_scam camCommit 0; true setCamUseTI 7; "rendertarget0" setPiPEffect [0]; life_fed_scam cameraEffect ["INTERNAL", "BACK", "rendertarget0"]; ((uiNamespace getVariable ["thermal",displayNull]) displayCtrl 6501) ctrlSetText "#(argb,256,256,1)r2t(rendertarget0,1.0)"; }; player addAction ["Thermal",{call thermal},"",100,false,true,"","(typeOf (vehicle player)) isEqualTo 'O_Heli_Transport_04_covered_F'"];
Something like this
I couldn't edit this script and I don't know which script to add it in.