marak Posted March 13, 2013 Author Share Posted March 13, 2013 engine eclipse rebornthe hud game this thus[![](http://img14.imageshack.us/img14/3761/69615725.png)](http://imageshack.us/photo/my-images/14/69615725.png/)Uploaded with [ImageShack.us](http://imageshack.us)as I let he similar the such[![](http://img5.imageshack.us/img5/8262/70507637.png)](http://imageshack.us/photo/my-images/5/70507637.png/)Uploaded with [ImageShack.us](http://imageshack.us)help !!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
MadalinV Posted March 13, 2013 Share Posted March 13, 2013 You cant simply get another person's gui. Ask him, and maybe he will help.Be original ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) Link to comment Share on other sites More sharing options...
Swizl Posted March 13, 2013 Share Posted March 13, 2013 Just ask the owner of the game if he could give you the GUI, or even better do what Aeldron said and make your own which will make your game even better since it will have a unique GUI ! Link to comment Share on other sites More sharing options...
marak Posted March 13, 2013 Author Share Posted March 13, 2013 I do not the gui itjust want to know the system hud Link to comment Share on other sites More sharing options...
Ryo Posted March 13, 2013 Share Posted March 13, 2013 just render the player face and the player sprite with the gui bars .it's done by every mmorpg so you're not stealing the idea ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
marak Posted March 13, 2013 Author Share Posted March 13, 2013 yes, but do not know , post the codes? Link to comment Share on other sites More sharing options...
Ryo Posted March 13, 2013 Share Posted March 13, 2013 ok a moment i don't use reborn Link to comment Share on other sites More sharing options...
Ryo Posted March 13, 2013 Share Posted March 13, 2013 replace drawguibars with this```Public Sub DrawGUIBars()Dim tmpWidth As Long, barWidth As Long, X As Long, Y As Long, dX As Long, dY As Long, sString As StringDim Width As Long, Height As Long' backwindow + empty barsX = GUIWindow(GUI_BARS).X + 96Y = GUIWindow(GUI_BARS).YWidth = 254Height = 89Call Directx8.RenderTexture(Tex_Face(Player(MyIndex).Sprite), X - 96, 0, 0, 0, 128, 128, 128, 128)Call Directx8.RenderTexture(Tex_Char(Player(MyIndex).Sprite), X - 32, 64, 0, 0, 32, 32, 32, 32)'EngineRenderRectangle Tex_GUI(4), x, y, 0, 0, width, height, width, height, width, heightDirectx8.RenderTexture Tex_GUI(4), X, Y, 0, 0, Width, Height, Width, HeightIf Map.Moral = MAP_MORAL_NONE Then RenderText Font_Default, Trim$(Map.Name), X + 37, Y + Height - 19, BrightRedElseIf Map.Moral = MAP_MORAL_SAFE Then RenderText Font_Default, Trim$(Map.Name), X + 37, Y + Height - 19, WhiteElseIf Map.Moral = MAP_MORAL_BOSS Then RenderText Font_Default, Trim$(Map.Name), X + 37, Y + Height - 19, PinkEnd If' hardcoded for POT texturesbarWidth = 241' health barBarWidth_GuiHP_Max = ((GetPlayerVital(MyIndex, Vitals.HP) / barWidth) / (GetPlayerMaxVital(MyIndex, Vitals.HP) / barWidth)) * barWidthDirectx8.RenderTexture Tex_GUI(13), X + 7, Y + 9, 0, 0, BarWidth_GuiHP, gTexture(Tex_GUI(13)).Height, BarWidth_GuiHP, gTexture(Tex_GUI(13)).Height' render healthsString = GetPlayerVital(MyIndex, Vitals.HP) & "/" & GetPlayerMaxVital(MyIndex, Vitals.HP)dX = X + 7 + (barWidth / 2) - (EngineGetTextWidth(Font_Default, sString) / 2)dY = Y + 9RenderText Font_Default, sString, dX, dY, White' spirit barBarWidth_GuiSP_Max = ((GetPlayerVital(MyIndex, Vitals.MP) / barWidth) / (GetPlayerMaxVital(MyIndex, Vitals.MP) / barWidth)) * barWidthDirectx8.RenderTexture Tex_GUI(14), X + 7, Y + 31, 0, 0, BarWidth_GuiSP, gTexture(Tex_GUI(14)).Height, BarWidth_GuiSP, gTexture(Tex_GUI(14)).Height' render spiritsString = GetPlayerVital(MyIndex, Vitals.MP) & "/" & GetPlayerMaxVital(MyIndex, Vitals.MP)dX = X + 7 + (barWidth / 2) - (EngineGetTextWidth(Font_Default, sString) / 2)dY = Y + 31RenderText Font_Default, sString, dX, dY, White' exp barIf GetPlayerLevel(MyIndex) < MAX_LEVELS Then BarWidth_GuiEXP_Max = ((GetPlayerExp(MyIndex) / barWidth) / (TNL / barWidth)) * barWidthElse BarWidth_GuiEXP_Max = barWidthEnd IfDirectx8.RenderTexture Tex_GUI(15), X + 7, Y + 53, 0, 0, BarWidth_GuiEXP, gTexture(Tex_GUI(15)).Height, BarWidth_GuiEXP, gTexture(Tex_GUI(15)).Height' render expIf GetPlayerLevel(MyIndex) < MAX_LEVELS Then sString = GetPlayerExp(MyIndex) & "/" & TNLElse sString = "Max Level"End IfdX = X + 7 + (barWidth / 2) - (EngineGetTextWidth(Font_Default, sString) / 2)dY = Y + 53RenderText Font_Default, sString, dX, dY, WhiteEnd Sub``` Link to comment Share on other sites More sharing options...
marak Posted March 13, 2013 Author Share Posted March 13, 2013 vlwwwwwwwwwwwwwwwwwwwwwwww ![:rolleyes:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/rolleyes.gif) Link to comment Share on other sites More sharing options...
Ryo Posted March 13, 2013 Share Posted March 13, 2013 change the thread status to solved ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
marak Posted March 13, 2013 Author Share Posted March 13, 2013 has a problem: you put the hud but the other bars was excluded 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