Gueber Posted December 13, 2009 Author Share Posted December 13, 2009 I really need SP to show up on the GUI for my game, I'm using eclipse stable. Can anyone tell me what this would take to implement? Link to comment Share on other sites More sharing options...
Admiral Refuge Posted December 13, 2009 Share Posted December 13, 2009 Hi,I'm not sure exactly what you are asking, but if you mean that you want your logo to text "SP" to show up on the graphical user interface, you can simple edit the image files in the "Client/GFX" folder. Link to comment Share on other sites More sharing options...
teh jimpie Posted December 13, 2009 Share Posted December 13, 2009 @Ã…ÃÂüiÑÂôζ:> Hi,> I'm not sure exactly what you are asking, but if you mean that you want your logo to text "SP" to show up on the graphical user interface, you can simple edit the image files in the "Client/GFX" folder.I think he mean same like HP/MP/EXP bar, I need the same 'script/source' Link to comment Share on other sites More sharing options...
Gueber Posted December 13, 2009 Author Share Posted December 13, 2009 @teh:> I think he mean same like HP/MP/EXP bar, I need the same 'script/source'Exactly I want it to show an SP bar near were the HP/MP/EXP bars are. I'm using eclipse stable ver 1.1 and the source is included with it I think. The only script I'm using is Godllords Main 1.2.0 and/or whatever else came with eclipse stable by default. So I guess you answered my question I need to edit the source, I just don't know were to begin.Eclipse Stablehttp://www.touchofdeathforums.com/smf/index.php/topic,49913.0.htmlGodlords Mainhttp://www.touchofdeathforums.com/smf/index.php/topic,51143.0.html Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 13, 2009 Share Posted December 13, 2009 A lot of people would want the sp to show, since some people make running use sp and also attacking.I would also like to know :) glad someone made a topic.Although I know it would be similar to the HP/MP code, but I know there is already an SP code in there but not making it show up ingame. Which is what we want. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted December 14, 2009 Share Posted December 14, 2009 I thought SP was measured via the "Energy" bar?I know that goes down when you run/attack. Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 14, 2009 Share Posted December 14, 2009 wait, there's an energy bar?*checks* oh it's on the character tab thingy… hah i see. But there still must be a way to put a bar under the HP/MP/EXP eh. Just having to click on "character" just to look at how much energy you have can be anoyingEDIT: stupid me, of course i know there's a way through source -.- Link to comment Share on other sites More sharing options...
Admiral Refuge Posted December 14, 2009 Share Posted December 14, 2009 I'm going to move this to the Source Questions board; hopefully someone can help there. Link to comment Share on other sites More sharing options...
Braiton Posted December 14, 2009 Share Posted December 14, 2009 Well, it depends on where you want the SP bar to be. If you want it anywhere on the GUI just delete the Energy label in the char menu and move the SP lbl where your bar is. Then create another label over the bar and make it calculate the width like the rest of the bars:```frmMirage.shpSP(ornameofthelabel).Width = ((GetPlayerSP(MyIndex)) / (GetPlayerMaxSP(MyIndex))) * 73```If you want it over the screen then blt it properly then make the shpSP (or whatever you call it) a picturebox and put lblSP inside that picture box and position it to fit perfectly where your bar is being blt'd. Link to comment Share on other sites More sharing options...
blackkat9666 Posted December 14, 2009 Share Posted December 14, 2009 thanks Admiral for moving this to the proper sectionand thanks Braiton Link to comment Share on other sites More sharing options...
Gueber Posted December 14, 2009 Author Share Posted December 14, 2009 @Braiton:> Well, it depends on where you want the SP bar to be. If you want it anywhere on the GUI just delete the Energy label in the char menu and move the SP lbl where your bar is. Then create another label over the bar and make it calculate the width like the rest of the bars:> > ```> frmMirage.shpSP(ornameofthelabel).Width = ((GetPlayerSP(MyIndex)) / (GetPlayerMaxSP(MyIndex))) * 73> ```> If you want it over the screen then blt it properly then make the shpSP (or whatever you call it) a picturebox and put lblSP inside that picture box and position it to fit perfectly where your bar is being blt'd.When I go to view object, frmStable (frmMirage.frm). I get something like: "errors during load, please view \client\source\frmMirage.log for details".the log:Line 656: Class VBMP.VBMPlayer of control MusicPlayer was not a loaded control class.Line 665: Class VBMP.VBMPlayer of control BGSPlayer was not a loaded control class.Line 674: Class VBMP.VBMPlayer of control SoundPlayer was not a loaded control class.Line 25: Property Icon in frmMirage had an invalid file reference.Line 29: Property Picture in frmMirage had an invalid file reference.Line 662: The property name _ExtentX in MusicPlayer is invalid.Line 663: The property name _ExtentY in MusicPlayer is invalid.Line 671: The property name _ExtentX in BGSPlayer is invalid.Line 672: The property name _ExtentY in BGSPlayer is invalid.Line 680: The property name _ExtentX in SoundPlayer is invalid.Line 681: The property name _ExtentY in SoundPlayer is invalid.Line 1532: Property Picture in picUp had an invalid file reference.Line 1552: Property Picture in picDown had an invalid file reference.Line 1652: Property ItemData in lstSpells had an invalid file reference.Line 1654: Property List in lstSpells had an invalid file reference.Line 1734: Property ItemData in lstOnline had an invalid file reference.Line 1736: Property List in lstOnline had an invalid file reference.Line 2427: Property TextRTF in txtChat had an invalid value.Line 25: Property Icon in frmMirage had an invalid file reference.Line 29: Property Picture in frmMirage had an invalid file reference.Line 662: The property name _ExtentX in MusicPlayer is invalid.Line 663: The property name _ExtentY in MusicPlayer is invalid.Line 671: The property name _ExtentX in BGSPlayer is invalid.Line 672: The property name _ExtentY in BGSPlayer is invalid.Line 680: The property name _ExtentX in SoundPlayer is invalid.Line 681: The property name _ExtentY in SoundPlayer is invalid.Line 1532: Property Picture in picUp had an invalid file reference.Line 1552: Property Picture in picDown had an invalid file reference.Line 1652: Property ItemData in lstSpells had an invalid file reference.Line 1654: Property List in lstSpells had an invalid file reference.Line 1734: Property ItemData in lstOnline had an invalid file reference.Line 1736: Property List in lstOnline had an invalid file reference.Line 2427: Property TextRTF in txtChat had an invalid value.I don't know what it all means but I'm guessing there are alot of errors that shouldn't be there when I haven't even changed anything yet. Think its going to be a problem if I just ignore them?![](http://img191.imageshack.us/img191/5684/formx.png) Link to comment Share on other sites More sharing options...
Merailima Posted January 2, 2010 Share Posted January 2, 2010 @Gueber:> @Braiton:> > > Well, it depends on where you want the SP bar to be. If you want it anywhere on the GUI just delete the Energy label in the char menu and move the SP lbl where your bar is. Then create another label over the bar and make it calculate the width like the rest of the bars:> > > > ```> > frmMirage.shpSP(ornameofthelabel).Width = ((GetPlayerSP(MyIndex)) / (GetPlayerMaxSP(MyIndex))) * 73> > ```> > If you want it over the screen then blt it properly then make the shpSP (or whatever you call it) a picturebox and put lblSP inside that picture box and position it to fit perfectly where your bar is being blt'd.> > When I go to view object, frmStable (frmMirage.frm). I get something like: "errors during load, please view \client\source\frmMirage.log for details".> > the log:> Line 656: Class VBMP.VBMPlayer of control MusicPlayer was not a loaded control class.> Line 665: Class VBMP.VBMPlayer of control BGSPlayer was not a loaded control class.> Line 674: Class VBMP.VBMPlayer of control SoundPlayer was not a loaded control class.> Line 25: Property Icon in frmMirage had an invalid file reference.> Line 29: Property Picture in frmMirage had an invalid file reference.> Line 662: The property name _ExtentX in MusicPlayer is invalid.> Line 663: The property name _ExtentY in MusicPlayer is invalid.> Line 671: The property name _ExtentX in BGSPlayer is invalid.> Line 672: The property name _ExtentY in BGSPlayer is invalid.> Line 680: The property name _ExtentX in SoundPlayer is invalid.> Line 681: The property name _ExtentY in SoundPlayer is invalid.> Line 1532: Property Picture in picUp had an invalid file reference.> Line 1552: Property Picture in picDown had an invalid file reference.> Line 1652: Property ItemData in lstSpells had an invalid file reference.> Line 1654: Property List in lstSpells had an invalid file reference.> Line 1734: Property ItemData in lstOnline had an invalid file reference.> Line 1736: Property List in lstOnline had an invalid file reference.> Line 2427: Property TextRTF in txtChat had an invalid value.> Line 25: Property Icon in frmMirage had an invalid file reference.> Line 29: Property Picture in frmMirage had an invalid file reference.> Line 662: The property name _ExtentX in MusicPlayer is invalid.> Line 663: The property name _ExtentY in MusicPlayer is invalid.> Line 671: The property name _ExtentX in BGSPlayer is invalid.> Line 672: The property name _ExtentY in BGSPlayer is invalid.> Line 680: The property name _ExtentX in SoundPlayer is invalid.> Line 681: The property name _ExtentY in SoundPlayer is invalid.> Line 1532: Property Picture in picUp had an invalid file reference.> Line 1552: Property Picture in picDown had an invalid file reference.> Line 1652: Property ItemData in lstSpells had an invalid file reference.> Line 1654: Property List in lstSpells had an invalid file reference.> Line 1734: Property ItemData in lstOnline had an invalid file reference.> Line 1736: Property List in lstOnline had an invalid file reference.> Line 2427: Property TextRTF in txtChat had an invalid value.> > I don't know what it all means but I'm guessing there are alot of errors that shouldn't be there when I haven't even changed anything yet. Think its going to be a problem if I just ignore them?> ![](http://img191.imageshack.us/img191/5684/formx.png)Did you download the library files and stuff like that? Link to comment Share on other sites More sharing options...
Athagekin Posted January 6, 2010 Share Posted January 6, 2010 Here you go, I made this tutorial last night. Hope it helps. :Dhttp://www.touchofdeathforums.com/smf/index.php/topic,56299.0.html 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