PeterBeer Posted August 11, 2014 Report Share Posted August 11, 2014 Just something I thought I would share :) Image : Changes : Images Resized (Smaller Mission File) Icon Changes When Hero Or Bandit Removed all unused code Made the Numbers Match the Variables Removed Unused Images Completely remade the playerhud.sqf Install : Links Updated : 18/09/2014 Zupa 1.1 : Just Replace The playerhud In The Addons Folder Download Souls Version : Just Replace The playerhud In The Addons Folder Download Credit : Zupa (Coin System) AsReMix (For The Hud) Link to comment Share on other sites More sharing options...
asremix Posted August 11, 2014 Report Share Posted August 11, 2014 Thank for my credit. :) Link to comment Share on other sites More sharing options...
PeterBeer Posted August 11, 2014 Author Report Share Posted August 11, 2014 No worries well deserved ;) Link to comment Share on other sites More sharing options...
Gr8 Posted August 13, 2014 Report Share Posted August 13, 2014 whats the first icon for? Link to comment Share on other sites More sharing options...
PeterBeer Posted August 13, 2014 Author Report Share Posted August 13, 2014 whats the first icon for? Players that are online Link to comment Share on other sites More sharing options...
ZENITHOVMAN Posted August 13, 2014 Report Share Posted August 13, 2014 Thanks for sharing this asremix & PeterBeer :) very nice indeed! Link to comment Share on other sites More sharing options...
Defent Posted August 13, 2014 Report Share Posted August 13, 2014 That player online icon looks like Notch https://www.google.se/search?q=Notch&source=lnms&tbm=isch&sa=X&ei=5B7rU9uvK-u_ygOM6oHwDQ&ved=0CAgQ_AUoAQ&biw=1920&bih=955#q=Notch+icon&tbm=isch&imgdii=_ Link to comment Share on other sites More sharing options...
Pro_Speedy Posted August 13, 2014 Report Share Posted August 13, 2014 How would you make it go along the bottom and then remove the default icons? Link to comment Share on other sites More sharing options...
PeterBeer Posted August 13, 2014 Author Report Share Posted August 13, 2014 That player online icon looks like Notch https://www.google.se/search?q=Notch&source=lnms&tbm=isch&sa=X&ei=5B7rU9uvK-u_ygOM6oHwDQ&ved=0CAgQ_AUoAQ&biw=1920&bih=955#q=Notch+icon&tbm=isch&imgdii=_ http://youtu.be/CAUzHYrwq3M?t=7s Defent 1 Link to comment Share on other sites More sharing options...
PeterBeer Posted August 13, 2014 Author Report Share Posted August 13, 2014 How would you make it go along the bottom and then remove the default icons? You would have to change some numbers in the commonhud.hpp Link to comment Share on other sites More sharing options...
Rocu Posted August 14, 2014 Report Share Posted August 14, 2014 How do you group your numbers? Or should I ask where can I get numberDigits.sqf And numberText.sqf? Edit// Nevermind found it. The sqf files: And how to 'install': I think you should include this in your first post because most people will be looking for this. Edit// In fact this does NOT work for me. As soon as I apply the "call BIS_fnc_numberText" my HUD completely disappears. I have also removed almost everything from the original HUD, only kept the money & money in bank variables, so MAYBE that has something to do with it? Anyway, here's my playerHud.sqf: disableSerialization; AsReMixhud_Control = true; // player getVariable["AsReMixhud",true]; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _thePlayer = player; _cashMoney = _thePlayer getVariable["cashMoney",0]; _bankMoney = _thePlayer getVariable["bankMoney",0]; _vitals ctrlSetStructuredText parseText format [" <t size='1'> %1 </t><img size='1' align='right' image='addons\playerhud\icons\dollars.paa'/> <br/> <t size='1'> %2 </t><img size='1' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/> <br/>", [_cashMoney] call BIS_fnc_numberText, [_bankMoney] call BIS_fnc_numberText ]; _vitals ctrlCommit 0; sleep 2; }; Anyone know a possible fix cause it's quite irritating without the commas. Also, the function (call BIS_fnc_numberText) works perfectly fine everywhere else. I've added it to traders and in bank. PcKoPaT 1 Link to comment Share on other sites More sharing options...
Soul Posted August 15, 2014 Report Share Posted August 15, 2014 How do you group your numbers? Or should I ask where can I get numberDigits.sqf And numberText.sqf? Edit// Nevermind found it. The sqf files: And how to 'install': I think you should include this in your first post because most people will be looking for this. Edit// In fact this does NOT work for me. As soon as I apply the "call BIS_fnc_numberText" my HUD completely disappears. I have also removed almost everything from the original HUD, only kept the money & money in bank variables, so MAYBE that has something to do with it? Anyway, here's my playerHud.sqf: disableSerialization; AsReMixhud_Control = true; // player getVariable["AsReMixhud",true]; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _thePlayer = player; _cashMoney = _thePlayer getVariable["cashMoney",0]; _bankMoney = _thePlayer getVariable["bankMoney",0]; _vitals ctrlSetStructuredText parseText format [" <t size='1'> %1 </t><img size='1' align='right' image='addons\playerhud\icons\dollars.paa'/> <br/> <t size='1'> %2 </t><img size='1' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/> <br/>", [_cashMoney] call BIS_fnc_numberText, [_bankMoney] call BIS_fnc_numberText ]; _vitals ctrlCommit 0; sleep 2; }; Anyone know a possible fix cause it's quite irritating without the commas. Also, the function (call BIS_fnc_numberText) works perfectly fine everywhere else. I've added it to traders and in bank. most people will have this, its implemented in zupa's v1.1 release and aswell required by my updates/fixes. Link to comment Share on other sites More sharing options...
McPimpin Posted August 16, 2014 Report Share Posted August 16, 2014 How can I modify this to work with Souls version? Link to comment Share on other sites More sharing options...
PeterBeer Posted August 16, 2014 Author Report Share Posted August 16, 2014 How can I modify this to work with Souls version? Updated post with souls edits McPimpin 1 Link to comment Share on other sites More sharing options...
McPimpin Posted August 16, 2014 Report Share Posted August 16, 2014 Updated post with souls edits Thanks! Link to comment Share on other sites More sharing options...
Diceman Posted August 24, 2014 Report Share Posted August 24, 2014 currently using this and love it! only 1 problem players online won't update only shows 1 player online all the time, but works for admins using infistar antihack. someone help me on this please? Link to comment Share on other sites More sharing options...
Gr8 Posted August 24, 2014 Report Share Posted August 24, 2014 currently using this and love it! only 1 problem players online won't update only shows 1 player online all the time, but works for admins using infistar antihack. someone help me on this please? TO Fix this issue: In PlayerHUD.sqf Find: AsReMixhud_Players = (count playableUnits); Replace with: _players = []; { _y = _x; if (isPlayer _y) then { {_players = _players + [_x];} forEach (crew _y); }; } forEach ([0,0,0] nearEntities ['AllVehicles', 10000000]); _pOn = {isPlayer _x} count _players; Find: AsReMixhud_Players Replace with: _pOn This should now fix the online player count issue for regular players Link to comment Share on other sites More sharing options...
PeterBeer Posted August 24, 2014 Author Report Share Posted August 24, 2014 Post updated with Player count fixed thanks Gr8Boi Link to comment Share on other sites More sharing options...
Gr8 Posted August 24, 2014 Report Share Posted August 24, 2014 Post updated with Player count fixed thanks Gr8Boi np Peter Link to comment Share on other sites More sharing options...
PeterBeer Posted August 24, 2014 Author Report Share Posted August 24, 2014 Post Updated Changes : Removed all unused code Made the Numbers Match the Variables panzer 1 Link to comment Share on other sites More sharing options...
prue420 Posted August 26, 2014 Report Share Posted August 26, 2014 Everything is off and it says any where it suppose to be players. Link to comment Share on other sites More sharing options...
PeterBeer Posted August 26, 2014 Author Report Share Posted August 26, 2014 Ill update post tomorrow ill must sleep now Link to comment Share on other sites More sharing options...
Diceman Posted August 27, 2014 Report Share Posted August 27, 2014 anyone know where i can find a script for just the coin and safe icon? something like this Link to comment Share on other sites More sharing options...
PeterBeer Posted August 27, 2014 Author Report Share Posted August 27, 2014 anyone know where i can find a script for just the coin and safe icon? something like this I suggest you look at the posts in the section Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted August 27, 2014 Report Share Posted August 27, 2014 anyone know where i can find a script for just the coin and safe icon? something like this If your gonna use that (Which I wouldn't suggest since theres a lot of those signs everywhere), check out my alternate ATM object over at: You'll find my alternate ATM object really easy to access and it keeps the realism for the banking item. Heres an image: 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