Jump to content
KokaKolaA3

How to open the Land_DataTerminal_01_F (Data-Terminal) Nexus Update

Recommended Posts

Hey, how can i open the Data Terminal wich is included in the new Nexus update? (Land_DataTerminal_01_F)

Share this post


Link to post
Share on other sites

I haven't still played with the new update,but i think this is just an object for esthetic purposes.

Share this post


Link to post
Share on other sites

Do you mean like this ?

 

 

i really would like to know it too

 

But as usually after something has been added to the game there's lack of related documentation, and i still have to figure it why?

Share this post


Link to post
Share on other sites

Do you mean like this ?

 

 

i really would like to know it too

 

But as usually after something has been added to the game there's lack of related documentation, and i still have to figure it why?

yes exactly, i have seen this video before but ingame you cant open it

Share this post


Link to post
Share on other sites

You probably need to retrieve the animation sources. However, I am not sure where to get them since they are not in the config, or at least I was unable to find them.

 

I actually can't understand why BI releases such an object without telling us about its functionality.

Share this post


Link to post
Share on other sites

I actually can't understand why BI releases such an object without telling us about its functionality.

 

Are you kidding? This is BI's MO, they've always been weak on documentation. 

Share this post


Link to post
Share on other sites

Look at BIS_fnc_dataTerminalAnimate in the fucntionsViewer > configFile > A3_F_Exp_A_Militry_Equipment > Scripts > DataTerminalAnimate.

OR

Just call the function

[myDataTerminal,1] call BIS_fnc_dataTerminalAnimate
and 0 to close it. Although the antena does not unfold much like the video shown above.
  • Like 1

Share this post


Link to post
Share on other sites

The antenna works fine for me.

 

 

Edit:

 

You can also change the colour of the terminal by calling

[terminal,red,red,purple] call BIS_fnc_DataTerminalColor;

However, it doesn't seem to always work.

Share this post


Link to post
Share on other sites

Look at BIS_fnc_dataTerminalAnimate in the fucntionsViewer > configFile > A3_F_Exp_A_Militry_Equipment > Scripts > DataTerminalAnimate.

OR

Just call the function

[myDataTerminal,1] call BIS_fnc_dataTerminalAnimate
and 0 to close it. Although the antena does not unfold much like the video shown above.

 

It does if you do

[myDataTerminal,3] call BIS_fnc_dataTerminalAnimate
  • Like 1

Share this post


Link to post
Share on other sites

Thank you very much everybody guys, now this is what i made so far:

 

in the init of the object (Land_DataTerminal_01_F):

[[this,["Open","DataTerminal\OpenTerminal.sqf"]],"addAction",true] call BIS_fnc_MP;

Make a folder named: DataTerminal

 

inside the folder named DataTerminal put these 2 files:

 

OpenTerminal.sqf

_object = _this select 0;
_caller = _this select 1;
_id = _this select 2;
_object removeaction _id;
[_object,3] call BIS_fnc_dataTerminalAnimate;
sleep 2;
with uiNamespace do {
     disableserialization; //thank you so much tankbuster
    _object setObjectTexture [0,"\A3\Missions_F_EPA\video\A_in_intro.ogv"]; 
    1100 cutRsc ["RscMissionScreen","PLAIN"];
    _scr = BIS_RscMissionScreen displayCtrl 1100;
    _scr ctrlSetPosition [-10,-10,0,0];
    _scr ctrlSetText "\A3\Missions_F_EPA\video\A_in_intro.ogv";
    _scr ctrlAddEventHandler ["VideoStopped", {
        (uiNamespace getVariable "BIS_RscMissionScreen") closeDisplay 1;
    }];
    _scr ctrlCommit 0;
};
sleep 10;
_closeaction = [[_object,["Close","DataTerminal\CloseTerminal.sqf"]],"addAction",true] call BIS_fnc_MP;


CloseTerminal.sqf

_object = _this select 0;
_caller = _this select 1;
_id = _this select 2;
_object removeaction _id;
[_object,0] call BIS_fnc_dataTerminalAnimate;
sleep 10;
_openaction = [[_object,["Open","DataTerminal\OpenTerminal.sqf"]],"addAction",true] call BIS_fnc_MP;

OpenTerminal.sqf (alternative version)

_object = _this select 0;
_caller = _this select 1;
_id = _this select 2;
_object removeaction _id;
[_object,3] call BIS_fnc_dataTerminalAnimate;
sleep 2;
with uiNamespace do {
     disableserialization; //thank you so much tankbuster
    _object setObjectTexture [0,"\A3\Missions_F_EPA\video\A_in_intro.ogv"];
    _object setObjectTexture [1,"\A3\Missions_F_EPA\video\A_in_intro.ogv"]; ////added this texture selection to make both monitors showing the video
    1100 cutRsc ["RscMissionScreen","PLAIN"];
    _scr = BIS_RscMissionScreen displayCtrl 1100;
    _scr ctrlSetPosition [-10,-10,0,0];
    _scr ctrlSetText "\A3\Missions_F_EPA\video\A_in_intro.ogv";
    _scr ctrlAddEventHandler ["VideoStopped", {
        (uiNamespace getVariable "BIS_RscMissionScreen") closeDisplay 1;
    }];
    _scr ctrlCommit 0;
};
sleep 10;
_closeaction = [[_object,["Close","DataTerminal\CloseTerminal.sqf"]],"addAction",true] call BIS_fnc_MP;


Very funny isn't it?

 

thank you very much Killzone Kid for your precious tutorials

 

regards

Simon

 

EDIT:

 

Please if you find a way to improve the code above, despite the video itself which is nothing else than a demo purpose, feel free to do it but please share it here, thanks a lot in advance

 

ReEdit:

 

example demo mission below here:

 

example mission

 

regards

Simon

Edited by simon1279
  • Like 3

Share this post


Link to post
Share on other sites

Simon,

I get the open addaction, but selecting it does nothing for me.

Share this post


Link to post
Share on other sites

have you made a folder named DataTerminal and have you inserted the scripts OpenTerminal.sqf and CloseTerminal.sqf inside it ?

the directory of the scripts wants OpenTerminal.sqf and CloseTerminal.sqf to be inside that folder

 

example mission

Share this post


Link to post
Share on other sites

I *thought* I had... openterminal was empty. :) I thought I'd fathfully pasted it, but no...

 

It is cool. I notice the sound of the vid keeps playing if you close the terminal before it finished

Share this post


Link to post
Share on other sites

Get this now, though.

 0:37:37 Warning Message: Variable '_scr' does not support serialization. Call 'disableSerialization' in the current script (maybe 'BIS_fnc_DataTerminalAnimate') if you need to use it.

As the error suggests putting disableserialization just after the with fixed it. :)

Share this post


Link to post
Share on other sites

yes sadly you can't stop it in any way, so if you intend to use a custom video you should keep in consideration that you can't stop it, you can also use a custom image or a mute video or even insert a working UAV live feed. Keep also in consideration that the audio of the video isn't working in a 3D space, and everyone can hear the audio at the same volume level even at 1000 miles of distance from the object

Share this post


Link to post
Share on other sites

Oh, wow. That's cool. Gonna have to find a way to add this to Missions. Haven't tried the update yet.

Share this post


Link to post
Share on other sites

Yep i'm planning for bomb warning, such as a message from a terrorist's chief, i'll post the mission when it'll be finished, sadly i don't have too much spare time in these days.

I will try to make a mute video and adding a custom sound for it, using the say3D command, and let's see what will happen, i'm crossing my fingers for MP Audio/video synchronization

Share this post


Link to post
Share on other sites

Yep in a mission used the bill board showing this using a loop inside feres

 

 

 

:lol: :lol: :lol: :lol: :lol:

Share this post


Link to post
Share on other sites

You can render to other objects too.

 

Can you upload a example mission?

Share this post


Link to post
Share on other sites

It does if you do

[myDataTerminal,3] call BIS_fnc_dataTerminalAnimate
Ah excellent new it had to be something simple. Not had a lot of time recently to look into the new stuff. Ta TB
  • Like 1

Share this post


Link to post
Share on other sites

The antenna works fine for me.

 

 

Edit:

 

You can also change the colour of the terminal by calling

[terminal,red,red,purple] call BIS_fnc_DataTerminalColor;

However, it doesn't seem to always work.

Have to put the colors in quotes, seems to work every time.

[myterminal,"purple","red","purple"] call BIS_fnc_DataTerminalColor;

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

×