piX Posted December 23, 2014 Report Share Posted December 23, 2014 Hey Guys, I saw some people, somewhere along the line - asking about implementing a simple status bar at the bottom of the screen. I will show you how to do it, this is my first time ever explaining how to implement something like this, so forgive me if I do anything wrong/explain incorrectly. This is a very simple thing to implement, so I take no credit for being a pro :P There may be a better way to do this, I'm only posting what I've used, as it has worked fine. Secondly, all credits go where they are due - to the creator "LifeIsAJoke". I do not take any ownership or claim to have designed this script. I am simply showing how to set it up for Epoch. Step 1 Download this .RAR archive that contains the "statusBar.hpp" and "statusBar.sqf". https://www.dropbox.com/s/5yytpxeofoz7r6v/statusBar.rar?dl=0 Extract these files to your ROOT Mission Folder. (With init, description etc) Step 2 Open your description.sqf. At the BOTTOM, add: class RscTitles { #include "statusBar.hpp" } Step 3 Open your init.sqf. At the BOTTOM, add: [] execVM "statusBar.sqf"; Step 4 Battleye Filters In your scripts.txt, change the value for line 21 from 7 to 1. I will update this post ASAP with the correct filters. For now, this will just log the restriction rather than kick. Customization Changing the colour of the text: On line 30 of statusBar.hpp, you will see this: color = "#FFFFFF"; change the #FFFFFF to whatever colour you would like, as a colour reference, use http://html-color-codes.info/. Link to comment Share on other sites More sharing options...
EliteWarfare Posted December 23, 2014 Report Share Posted December 23, 2014 Nice ill give this a try :) Link to comment Share on other sites More sharing options...
EliteWarfare Posted December 23, 2014 Report Share Posted December 23, 2014 Ran into a few issues but got it all working great now Link to comment Share on other sites More sharing options...
Sporny Posted December 23, 2014 Report Share Posted December 23, 2014 Good job thanks for that! Link to comment Share on other sites More sharing options...
Psygomin Posted December 23, 2014 Report Share Posted December 23, 2014 and some where in the thread BE Filters Link to comment Share on other sites More sharing options...
drsubo Posted December 30, 2014 Report Share Posted December 30, 2014 all I get when I try this is fps in top right corner, then a minute or so later its gone any idea why Link to comment Share on other sites More sharing options...
Liqu1dShadow Posted December 30, 2014 Report Share Posted December 30, 2014 any pics? Link to comment Share on other sites More sharing options...
hoxor Posted December 30, 2014 Report Share Posted December 30, 2014 Perfect, Thanks a lot. You can add more variable_EPOCH for gamer :) Good job. Link to comment Share on other sites More sharing options...
fr1nk Posted December 30, 2014 Report Share Posted December 30, 2014 Here are the filters I use: scripts.txt, line 18, (7 playableunits): !="round diag_fps" !="(240-(round(serverTime/60)))" !="(count playableUnits)" !="EPOCH_playerCrypto" !="EPOCH_playerHunger" !="EPOCH_playerThirst" !="EPOCH_playerSoiled" !="EPOCH_playerStamina" !="(damage player)" Can't check your dropbox file from here to see what your status bar actually has, but the above covers a few extras I added to my bar. Link to comment Share on other sites More sharing options...
ulli_123 Posted December 30, 2014 Report Share Posted December 30, 2014 I have no init.sqf file in my MPMissions folder? Link to comment Share on other sites More sharing options...
fr1nk Posted December 30, 2014 Report Share Posted December 30, 2014 I have no init.sqf file in my MPMissions folder? There isn't by default, you need to create one. Link to comment Share on other sites More sharing options...
ulli_123 Posted December 30, 2014 Report Share Posted December 30, 2014 (edited) ok,then I have the description.sqf create yourself ?.Must be packed the 4 files to *.pbo, or do they remain so? EDIT: Ok, I get it Edited December 30, 2014 by ulli_123 Link to comment Share on other sites More sharing options...
ulli_123 Posted December 30, 2014 Report Share Posted December 30, 2014 @ fr1nk Can you please post your statusBar.sqf here? Link to comment Share on other sites More sharing options...
fr1nk Posted December 31, 2014 Report Share Posted December 31, 2014 @ fr1nk Can you please post your statusBar.sqf here? I'm using a different version status bar so the file is slightly different. Can post if you want to look though. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now