GalacticGlum Posted April 11, 2015 Author Share Posted April 11, 2015 Hello all!I have been wondering how I add a extra button for the ingame GUI in Eclipse Final Frontier I want to add a friends button where that second blank button is (under the guild button).![](http://i58.tinypic.com/6xyaza.png)Thanks in advance! Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 15, 2015 Author Share Posted April 15, 2015 Bump.. Still looking for help Link to comment Share on other sites More sharing options...
Link Posted April 16, 2015 Share Posted April 16, 2015 You add it in visual basic 6, client side you create an image and have the button load the image via vb6, I'm sure there will be more server and client coding involved for friend system. Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 Hey @[member="Link"]There is a buddy system in Eclipse Final Frontier I need to know how to add the button to the gui that opens the buddy window. In frmMain there is no button layout of the guild, party, or any button so I am confused as how to add a button under the guild button that is able to open up the buddy window instead of pressing "b" on your keyboard. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 16, 2015 Share Posted April 16, 2015 All you have to do is open the frmMain (I think that's the name) and create a button from the side bar thing. Double click the button and have it open the buddy system. If you search for where the "b" opens the system then you can copy that code, double click the button, and paste the code there.Hope this helps :) Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 But no other button in EFF does that. No button is in the frmMain Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 I can send you source Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 I will try it though Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 16, 2015 Share Posted April 16, 2015 Oh, I forgot that EFF doesn't have an actual GUI, well, I guess you can make one. All you have to do is shrink the screen 32 pixels, change the map y to 1 less, and make a GUI there, then you can add the buttons you want under the screen Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 @[member="Baron Mohenjo Daro"]I'm confused! Are you able to do it for me or walk me through. I know that's a lot to ask. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 16, 2015 Share Posted April 16, 2015 Sorry, I'm trying to do another walk through on something I don't know, but I'll try. Ok, so search for [vb]ScreenHeight = 600[/vb] and replace the 600 with 576\. (This makes the map look smaller)Next, find [vb]MAX_MAPY = (frmMain.Height / 523.33) '18[/vb] and replace the 523.33 with 554.12 (This makes the map smaller with walking)Then you have a 32 pixel (1 tile) area to put buttons on the screen. Basically, run it in VB6 until you get the button in the area you want. To add a button, just do what I said a couple posts ago, and to add a picture so they look nice, click the button, go to properties, and scroll down to picture, then add the one you want, I hope this helps :) Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 That makes everything smaller though. It messes up everything try it yourself I believe to add a extra button you have to code it. If its possible please post a tutorial or can you please do it for me or add in the code in my source. Thank you in advance Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 16, 2015 Share Posted April 16, 2015 I'm figuring this out as I go, and does it make everything smaller? Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 Yes it does. Do you want my source to test it out? Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 16, 2015 Share Posted April 16, 2015 No, I'm testing it in my own Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 Okay… Just tell me if you fix it while you test it could you also test a button. To see if adding a button will work. By the way I appreciate all this thank you very much @[member="Baron Mohenjo Daro"] Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 16, 2015 Share Posted April 16, 2015 Yeah, I think you should send me the source Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 16, 2015 Author Share Posted April 16, 2015 Okay I'll pm it. Edit* sent it! @[member="Baron Mohenjo Daro"] Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 17, 2015 Author Share Posted April 17, 2015 Solved!Thanks to @[member="Baron"] Mohenjo Daro Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted April 17, 2015 Share Posted April 17, 2015 Go to the first post and mark the thread as solved.For anyone wanting to add a button, you only have to change the max buttons in constants, copy a button in general then change the coordinates, change something in the draw I think, and make the input in the mouseup/down so that clicking the button actually works (I think you put it before the reset button line, or I'm remembering the line wrong). And that should be about it I think, hopefully this helps whoever needs some guidance. Link to comment Share on other sites More sharing options...
GalacticGlum Posted April 17, 2015 Author Share Posted April 17, 2015 How do I mark it as solved? Link to comment Share on other sites More sharing options...
Daneta Posted April 17, 2015 Share Posted April 17, 2015 go full editor and change it 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