xtr3m3

Statusbar Script?

411 posts in this topic

Hello,

i'm searching the statusbar script. i know it was in at the old forum, but i cant find it here.

Has someone the files + instructions for me?

Thx!

Share this post


Link to post
Share on other sites

http://www.filedropper.com/statusbar-master 

Drop the addons folder into your unpacked mission pbo 

Add the lines in the description to yours.

Add the lines in the initPlayerlocal.sqf to yours

to edit the status bar you would edit the statusBar.sqf

repack you mission and uplaod

I take no credit for any of the work done on this status bar just sharing the files trying to help.

Edited by JackHart
  • Like 7

Share this post


Link to post
Share on other sites
Advertisement

I am getting an error in my rtp, does anyone have any idea why this is coming up?

 

Error context #line 1 "mpmissions\__cur_mp.Altis\addons\statusBar\statusBar.hpp"

 

Line 1 in the hpp is                            #define ST_RIGHT 0x01

Edited by Underdone

Share this post


Link to post
Share on other sites

Script is working good..

I removed hunger and thirst since it is already visible per the HUD in EXILE.

Image 1

Image 2

Modify statusBar.sqf

((uiNamespace getVariable "osefStatusBarAdmin")displayCtrl 55554)ctrlSetStructuredText parseText 
			format["
			<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\statusbar\icons\players.paa' color='%6'/> %2</t>
			<t shadow='1' shadowColor='#000000' color='%11'><img size='1.0'  shadowColor='#000000' image='addons\statusbar\icons\health.paa' color='%8'/> %3%1</t> 
			<t shadow='1' shadowColor='#000000' color='%10'><img size='1.0'  shadowColor='#000000' image='addons\statusbar\icons\poptab_ca.paa' color='%10'/> %4</t> 
			<t shadow='1' shadowColor='#000000' color='%15'><img size='1.0'  shadowColor='#000000' image='addons\statusbar\icons\exile.paa' color='%6'/> %6</t> 
			<t shadow='1' shadowColor='#000000' color='%10'>FPS: %5</t>
			<t shadow='1' shadowColor='#000000' color='%15'><img size='1.0'  shadowColor='#000000' image='addons\statusbar\icons\compass.paa' color='%6'/> %10</t>", 
			//<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\statusbar\icons\restart.paa' color='%10'/>%18:%19</t>",
			
					"%", 
					count playableUnits,
					_damage,
					_wallet, 
					_serverFPS, 
					_stamina, 
					_colourDefault,
					_colourDamage,
					_colourStamina,
					//format["%1/%2",_xx,_yy], 
					_dir
					//_hours,
					//_minutes					 
				];

just remove the thirst and hunger lines and values(to clean up the code) then make sure you renumber the variables

For example:

<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\statusbar\icons\players.paa' color='%6'/> %2</t>

%2 references count playableUnits.  So if you count down, count playableUnits = 2, _damage = 3, _wallet = 4 and so on.

Just make sure you reference the correct value and you should be good to go.

Darth_rogue explains this in the following post:

http://epochmod.com/forum/index.php?/topic/34353-release-status-bar-with-icons-server-fps-display-v136/&do=findComment&comment=232034

 

-Izz

Edited by Izzer
  • Like 5

Share this post


Link to post
Share on other sites

Look in your scripts.log and post it here and we can maybe help a little better.

I'll dig through my scripts.txt and see if i can remember any i put in for this.

 

Edit:

These might not be the same for you, so you should still check your scripts.log file

Line #39

7 playableUnits !="icons\compass.paa' color='%6'/> %10</t>",\n\n"%",\ncount playableUnits,\n_damage,\n_wallet,\n_serverFPS,\n_stamina,\n_colourDefaul"

Line #43

!="execVM \"addons\statusBar\statusBar.sqf\""

hope this helps.

Izz

Edited by Izzer
  • Like 1

Share this post


Link to post
Share on other sites

13.09.2015 21:40:40: PLAYERNAME (374.119.253.183:2304) da22c9878daf5daa43f0bf0590426aaa - #41 "#line 4 "mpmissions\__CUR_MP.Altis\initPlayerLocal.sqf"


[] execVM "addons\statusBar\statusbar.sqf"; 

if (!hasInterface || isS"

this kick and im getting kick if i use soundmod too i didnt before

Share this post


Link to post
Share on other sites

13.09.2015 21:40:40: PLAYERNAME (374.119.253.183:2304) da22c9878daf5daa43f0bf0590426aaa - #41 "#line 4 "mpmissions\__CUR_MP.Altis\initPlayerLocal.sqf"


[] execVM "addons\statusBar\statusbar.sqf"; 

if (!hasInterface || isS"

this kick and im getting kick if i use soundmod too i didnt before

See my last post...add what I have to line #43 in your scripts.txt and it should fix it

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.