Jump to content
Sign in to follow this  
juandayz

[Release] New Custom Gui

Recommended Posts

Hello! i want to share my Gui icons.    (at the end you can do your owns)                                                                                           56bcd226838a4_Sinttulo.jpg.97dc4f6327694

 

1-First Download the folder whit the .paa graphics.  DOWNLOAD HERE: http://www.mediafire.com/download/gq1t1cwme5zf5b3/gui.rar

2-Paste in "yourserverroot"\MPMissions\DayZ_Epoch_11.Chernarus\  (if u change the path here, u will to change the paths in the Steap 4 of the guide)

 

3-find your "player_updateGui.sqf" and open whit Note++

------------------------------------------------------------------------------------------------------------------------------------

***If u dont have "playerupdateGui.sqf" do this, if u have go to step 4.

*First you'll need player_updateGui.sqf which you can get from here:

@DayZ_Epoch\addons\dayz_code\compile\player_updateGui.sqf

Copy&Paste it into your MPMissions/DayZ_Epoch_11.Chernarus\custom\

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

***IF U HAVE CUSTOM compiles.sqf:

Go into your compiles.sqf and add this line under the default one and comment the original out like soo:

//    player_updateGui =              compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_updateGui.sqf";

            player_updateGui =              compile preprocessFileLineNumbers "custom\player_updateGui.sqf";

            

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

IF U DONT HAVE  CUSTOM compiles.sqf :

Go into your @DayZ_Epoch\addons\dayz_code\init\compiles.sqf

Copy&Paste it into your MPMissions/DayZ_Epoch_11.Chernarus\custom\

Open up init.sqf and add this:

call compile preprocessFileLineNumbers "custom\compiles.sqf";

Right under this:

call compile preprocessFileLineNumbers "server_traders.sqf";

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

4- In "player_updateGui.sqf" :

A-(new blood) Find This line:

if (_bloodLvl <= 0) then {
    _blood = "\z\addons\dayz_code\gui\status_blood_inside_1_ca.paa";
    } else {
    _blood = "\z\addons\dayz_code\gui\status_blood_inside_" + str(_bloodLvl) + "_ca.paa";
    };

Replace whit that:

if (_bloodLvl <= 0) then {
    _blood = "gui\Bloodgui\status_blood_inside_1_ca.paa";
    } else {
    _blood = "gui\Bloodgui\status_blood_inside_" + str(_bloodLvl) + "_ca.paa";
    };

B-(new drink and food) Find:

if (_thirstLvl < 0) then { _thirstLvl = 0 };
_thirst = "\z\addons\dayz_code\gui\status_thirst_inside_" + str(_thirstLvl) + "_ca.paa";

if (_foodLvl < 0) then { _foodLvl = 0 };
_food = "\z\addons\dayz_code\gui\status_food_inside_" + str(_foodLvl) + "_ca.paa";

Change:

if (_thirstLvl < 0) then { _thirstLvl = 0 };
_thirst = "gui\bebida\status_thirst_inside_" + str(_thirstLvl) + "_ca.paa";

if (_foodLvl < 0) then { _foodLvl = 0 };
_food = "gui\comida\status_food_inside_" + str(_foodLvl) + "_ca.paa";

C-(new temp)Find:

_temp = "\z\addons\dayz_code\gui\status_temp_" + str(_tempImg) + "_ca.paa";

Change:

_temp = "gui\temp\status_temp_" + str(_tempImg) + "_ca.paa";

 

And its done!.

*Note: u can do your own icons, just edit whit photoshop and TextView2 and change the .paa files whit your own. measures are 64x64 for all .paa files

 

Share this post


Link to post
Share on other sites

something odd with this, I installed it as you described....the gui pics work as posted, but all info bottoms out, ie...humanity_ bandits, zombies and murders come up as 0 and when you die you do not come back in with the setup inventory as setup in init.sqf, I also am running the spawn sqf and it just brought my player back in the wilderness with no gear. Also, the vehicles that are locked are unlocked.

Share this post


Link to post
Share on other sites

 

2 hours ago, lonewolfgaming said:

something odd with this, I installed it as you described....the gui pics work as posted, but all info bottoms out, ie...humanity_ bandits, zombies and murders come up as 0 and when you die you do not come back in with the setup inventory as setup in init.sqf, I also am running the spawn sqf and it just brought my player back in the wilderness with no gear. Also, the vehicles that are locked are unlocked.

You've stuffed something up then. All this is, is changing file paths and adding new icons.

Share this post


Link to post
Share on other sites

don't know what, that was all I did was add the player_updateGui.sqf to my custom folder and added the call for it through compiles, then made the changes to the updateGui to call it and placed the gui folder in my mission folder. Once I took what I added for this everything went back to the correct running.

Share this post


Link to post
Share on other sites
 
But you might already have a custom playerupdateGui ?
 if you use  plot for life you have one.
Another option would be to delete this line in compiles.sqf

//player_updateGui =  compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_updateGui.sqf";
 
 and leaving only this :

 player_updateGui = compile preprocessFileLineNumbers "custom\player_updateGui.sqf";

Look this is a part of my compiles.sqf  using Plot 4 life:

player_lockVault =            compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\Compile\player_lockVault.sqf";
    player_updateGui =            compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\Compile\player_updateGui.sqf";
    player_crossbowBolt =        compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_crossbowBolt.sqf";
    player_music =                 compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_music.sqf";            //Used to generate ambient music
    player_death =                compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_death.sqf";
    player_switchModel =        compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_switchModel.sqf";
    player_checkStealth =        compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_checkStealth.sqf";
    world_sunRise =                compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_sunRise.sqf";

Share this post


Link to post
Share on other sites
36 minutes ago, dztancem8 said:

Not working for me, added GUI folder to mission PBO, did rest of the steps and now my server errors out and says waiting for server to start authentication

 

Any errors on RTP, or is it just hanging at the authentication screen?  Recheck your directories for your compiles and/or the syntax on step 4. Usually happens when the server fails to load something HUD related properly. Happened to me once when trying to add a custom HUD.

Share this post


Link to post
Share on other sites
24 minutes ago, Jyggs said:

Any errors on RTP, or is it just hanging at the authentication screen?  Recheck your directories for your compiles and/or the syntax on step 4. Usually happens when the server fails to load something HUD related properly. Happened to me once when trying to add a custom HUD.

Jyggs You have teamspeak or skype? DM me to fix this please <33333

Share this post


Link to post
Share on other sites
2 hours ago, dztancem8 said:

Jyggs You have teamspeak or skype? DM me to fix this please <33333

I have neither Skype nor TS.... sorry bro. Just gave ya that pointer above since it's an easy fix and I've seen it before.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By Cherdenko
      Edit: Should be also working for 1062, as ive seen some servers running this
      Hello guys i've decided to release my "Debug Monitor". It's not much like a monitor but its looking quiet nice.
      This was originally for my Napf and Chernarus server and i thought why not share it, since the players seemed to like it.
      So how does it look like?
      Download Link:
      https://mega.nz/#F!OBYz2QSI!PlskDOd_JQ-Y1s_SKdMSaA how to initialize? simply put an   you want to use your own path?
       
      You want to change the color of the font?
       
      you want to change the restart timer?
       
       
      @juandayz's edit:
      this is how it looks:
      update.sqf:
      and also comment out in hud.hpp:
       
      Hope you like it.
    • By Rust
      I've been looking at old resources of GUI's however nothings been working out, the closest I got was
      following an old tutorial from 1.0.5.2, it worked however it also overlapped with the base gui images/values of hunger/blood etc so I ended up removing it
       was what I used
      Is there anything similar that can be used in 1.0.6.1?
    • By DirtySanchez
      Hey everybody,
      Here is another goodie from me to YOU!
      Real Health System v0.3
      This was started because a couple of community members at EpochMod.Com/Forums got together and took a basic idea and ran with it.
      Their initial work on Hunger and Thirst gave me the inspiration to make it even more involved and more realistic.
      From there I took it that next step and started looking at the other debug values that Epoch gives us and wham, ideas started pouring out!
      I still have many ideas left to add and tweak but this is a good start for the entire community to use in the meantime.
      So, all variables involved here kinda work with each other as well as work with the current health system in place made by Epoch.
      hunger
      thirst
      wet
      temp
      soiled
      toxicity
      immunity
      bloodpressure
      stamina
      damage
      rain
      That's the current list of all variables that come into play.
      Any modifications to this script must be shared back to me(to add to the current script) for the rest of the community to enjoy.
      Please consider donating to Donkey Punch to keep not only the scripts coming but this community alive!
      https://github.com/donkeypunchepoch/DP-Real-Health-System
      Whats in it so far
      too wet, lower temperaturetoo soiled, increase toxicitytoo toxic, lower immunitytoo low of immunity, raise temp - tox lower staminabloddpressure too high, lower stamina, raise temp, increase damage headwound too great, raise temp, lower immunity, raise tox, erase stamina, increase damage Update, just got to understanding bleeding will add it into at least one current and any future ideas that require it.
    • By nova
      Hello. I'm running epoch 1061 and I want to remove all the new bloodbag from the server and just use the regular ones however when you self transfuse it instantly makes you go unconcious for 62 seconds. Players and myself have tried this and you just touch the self tranfuse WAM knockout. Anyone have a fix for this? Thank you
    • By theduke
      Hi Epoch community,
      Have you ever wanted a way for players to be able to see your server rules while in-game?
      Are you tired of repeating yourself with simple answers to simple questions?
      Looking for a different way to deploy items or call certain scripts?
      Our community uses mostly scripts from this awesome epoch community. Its our time to give back :)
      I've decided to make a release version of my GUI for everyone to use.
      Download UPDATED FOR 1061: https://github.com/theduke77/Custom-Menu
      Or follow this link
      https://epochmod.com/forum/topic/43462-release-custom-gui-menu-updated-for-1061/In the video, i have my community colors in the GUI, the release version I tried to match the zupa colors.
       
      Video
      I've received tremendous help from SHIX. Most of the credit goes to him for explaining to me how to do this.
      also, I've used the code he provided as a template and built this from that.
      He kindly allowed me to share with all of you
      Ok, now for the fun part.
      This is NOT for someone new to the world of epoch server management. (probly because of my instructions lol)
      This is NOT a plug-n-play addon. You must configure all the files and customize the menu
      I would strongly suggest you have a test server to be able to test it as you create new pages.
      Try one page to make sure it looks good, then go from there.
      If you want to change the colors of stuff, check out the options section before creating pages.
      I will do my best to explain to the best of my knowledge.
      I'm far from being a coder lol
      Tools required
      Notepad ++
      PBO Tool
      patience...with my instructions ;)
      TextView (optional)
      Installation:
      How to create new pages
       
      OPTIONAL
      Known issues
      Many thanks to SHIX. Without him explaining this GUI stuff to me I wouldn't of made it lol
      Thanks to Kill Zone kids blogs, they are amazing to learn from.
      Hope you guys enjoy it.
      I will support this to the best of my knowledge :)
       
      16/02/2017 UPDATE
      Thank you to @Casual_Jeff for this 1.0.6 FIX
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...