Jump to content
Sign in to follow this  
Ilias38rus

Disabling bullets counting UI

Recommended Posts

Took me about 5 seconds to find the command HERE.

 

showHud

 

 

Ninja'd

 

Yep, took literally 5 seconds.

 

 

 

Which one use?

 

 

Try it out yourself.

Share this post


Link to post
Share on other sites

I alredy knew about the command before 1-st message, how to get hug names?

Both the pages R3vo and I sent you should have the information you require.

Share this post


Link to post
Share on other sites

I knew all you sended me already, but i have no idea how to disable only bullets counting

Share this post


Link to post
Share on other sites

Both the pages R3vo and I sent you should have the information you require.

 

Yep, took literally 5 seconds.

 

 

 

 

Try it out yourself.

 

I readed every symvol about the commands and all i got is ability to disable all hud, arrays are rejecting by game and in the arrays is not present personal place for only the ui anyway

Share this post


Link to post
Share on other sites

Do anyone know how to do that?

in your missions description

showHUD [true,true,false,false,true,true,true,true];

 

try that out

 

its from here

 

https://community.bistudio.com/wiki/showHUD

 

best practice is the domino effect , test above , if its not right delete or change one of the false to true , or delete 1 at a time and test till you see what you like...

but the above shows no bullets no weapon, no ai .. so youll need to figure out the rest.

Share this post


Link to post
Share on other sites

in your missions description

showHUD [true,true,false,false,true,true,true,true];

 

try that out

 

its from here

 

https://community.bistudio.com/wiki/showHUD

 

best practice is the domino effect , test above , if its not right delete or change one of the false to true , or delete 1 at a time and test till you see what you like...

but the above shows no bullets no weapon, no ai .. so youll need to figure out the rest.

 

description.ext

showHUD [true,true,false,false,true,true,true,true];

showHUD '[' encorded instead of '='

,

description.ext

showHUD = [true,true,false,false,true,true,true,true];
no hud at all

Share this post


Link to post
Share on other sites

Spent a while trying to figure this out and I finally got it :D

((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlSetPosition [0,0,0,0];
((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlCommit 0;

Enjoy.

  • Like 2

Share this post


Link to post
Share on other sites

Spent about half an hour trying to figure this out and I worked it out... I think.

((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlSetPosition [0,0,0,0];
((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlCommit 0;

Enjoy.

Holy crab, thank you    :bounce3:

How did you do that? (have no idea how it's working, if it's too long can do not answer, thank you)

Share this post


Link to post
Share on other sites

Holy crab, thank you    :bounce3:

How did you do that?

 

The HUD is a display so I just needed to find the idc of the ammo count and then hide it.

Share this post


Link to post
Share on other sites

The HUD is a display so I just needed to find the idc of the ammo count and then hide it.

Where can it be found?

Share this post


Link to post
Share on other sites

In the config.

_idc = getNumber (configfile >> "RscInGameUI" >> "RscUnitInfo" >> "AmmoCount" >> "idc");

Or alternatively, navigate to it by using the ingame config viewer. 

Share this post


Link to post
Share on other sites

In the config.

_idc = getNumber (configfile >> "RscInGameUI" >> "RscUnitInfo" >> "AmmoCount" >> "idc");

Or alternatively, navigate to it by using the ingame config viewer. 

Cool, will look in it, big thanks, you did some thing which will present in all my missions )

Share this post


Link to post
Share on other sites

Can someone help with writing script for handle getting out vehicles to hide the "display" ?

Share this post


Link to post
Share on other sites

Can someone help with writing script for handle getting out vehicles to hide the "display" ?

 

I don't know what you mean by Display, do you mean the GetOut menu option?

 

This is not possible or at least I've never see it yet.

 

You can change the out come though, instead of it allowing you to get out you could use it to display a message or run another script.

inGameUISetEventHandler [
     "Action",
     "
          _target = _this select 0;
          if ((_this select 3) in ['GetOut','Get Out']) then {
               [player,_target,_this select 3] spawn {hint 'Door is locked'};
               true;
          };
     "
];

Place in an init box, this will affect all vehicles unless you change the condition and name the vehicle

if ((_this select 3) in ['GetOut','Get Out'] and _target == mycarsname) then {

Share this post


Link to post
Share on other sites

Hey ) , need a little help, please, have:

stin=true;
_st=true;
while{stin}do{if((vehicle player)==player)then{
	if(_st)then{
		((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlSetPosition [0,0,0,0];
		((uiNameSpace getVariable "RscUnitInfo") displayCtrl 184) ctrlCommit 0;
		_st=false;
	};
}else{
	_st=true;
};};

But need to handle UAV's controlling too (including zeus's " remote control "), any ideas?

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
Sign in to follow this  

×