I need to remove these HP and SP text strings because I'm going to be adding them to the bar itself.
(http://i1205.photobucket.com/albums/bb432/Hixomdido/Screenshot.jpg)
I'm pretty sure I need to edit lines 220 and 250 in the script Windows_Base but everything I've tried either causes an error, or doesn't work.
Thanks.
Quote from: Hixomdido on February 01, 2011, 09:11:03 pm
I need to remove these HP and SP text strings because I'm going to be adding them to the bar itself.
(http://s1205.photobucket.com/albums/bb432/Hixomdido/?action-view¤t=Screenshot.jpg)
I'm pretty sure I need to edit lines 220 and 250 in the script Windows_Base but everything I've tried either causes an error, or doesn't work.
Thanks.
Eh, my picture didn't work (why? :'( )
But you know what I'm talking about, right?
Those text strings you see in battle that tell you which bar is HP and which is SP.
how about replacing them with empty string?
self.contents.draw_text(x, y, 32, 32, $data_system.words.hp)
to
self.contents.draw_text(x, y, 32, 32, ' ')
That doesn't seem to be working.
I just tried this again and the text string is still there. :(
Your picture is breaking because it is not a direct URL.
http://s1205.photobucket.com/albums/bb432/Hixomdido/?action-view¤t=Screenshot.jpg
That just leads to the image page. A more direct URL would be:
(http://i1205.photobucket.com/albums/bb432/Hixomdido/Screenshot.jpg)
Anyway, wouldn't doing that eliminate all instances where HP and SP would be at? (e.g. the Main Menu)
If you don't mind that inconvenience (I mean, the bars are going to have HP and SP anyway xD), why don't you just go inside the Database, go to System, and then edit the text strings for HP and Mana to a blank string? That'd achieve the same effect as setting that string to blank.
Also, it's probably not working because you didn't save your game. :P Go save your project and try it again. The string suggestion that Drago did actually works (I did it just earlier).
No, the line was specific to battles.
I did think of changing the HP word in the database to a blank, but I wasn't sure if it would affect an area of the game that wasn't shown with an HP bar.
And I'm 100% sure I did save my game. (more than once) So I'm not sure why changing the script didn't work. :???:
But I erased the HP word in the database and it works well enough.
Thanks again to the both of you for helping with my scripting issue. (and for the URL advice)
Editing something in Window_Base would apply to all windows because all the following windows use the resources in Window_Base to help them draw things. xD
That being said, on a default menu, the HP/SP word will be hidden, as shown:
Quote from: Hixomdido on February 01, 2011, 11:07:20 pm
No, the line was specific to battles.
I did think of changing the HP word in the database to a blank, but I wasn't sure if it would affect an area of the game that wasn't shown with an HP bar.
And I'm 100% sure I did save my game. (more than once) So I'm not sure why changing the script didn't work. :???:
But I erased the HP word in the database and it works well enough.
Thanks again to the both of you for helping with my scripting issue. (and for the URL advice)
just upload a project with all your custom script in it so we could analyze your problem ~
Quote from: Starrodkirby86 on February 01, 2011, 11:39:27 pm
Editing something in Window_Base would apply to all windows because all the following windows use the resources in Window_Base to help them draw things. xD
Oh, shoot. You're right. Sorry :^_^':
Quote from: LiTTleDRAgo on February 01, 2011, 11:45:40 pm
just upload a project with all your custom script in it so we could analyze your problem ~
Uh, yeah sure. :uhm: How might I do that?
You can export the project to an executable (Make sure to NOT encrypt it), then .zip/.rar the file and upload it to some place like http://mediafire.com , http://megaupload.com or any file uploading site, really.
Like this?
http://www.megaupload.com/?d=R3RIYUK3 (http://www.megaupload.com/?d=R3RIYUK3)
(I'm not sure if I 'exported it to an executable' but the but the RPGXP file is in there.
(http://img806.imageshack.us/img806/5815/88930827.jpg)
if you're talking about how to remove "that" HP and SP thing, look at folder windowskin,
look at HPMeter.png and SPMeter.png, edit that with paint or photoshop
No, no. "That" HP and SP are the ones that I do want there. It's the default text string that I don't want. I got rid of the default ones by erasing the HP and SP words in the 'System' part of the database. That way they won't show up over the ones you see there. (or anywhere else for that matter)
do you mean string like 336/336 and 754/754?
search in Window_Base
line 232, 236, and 237 for HP
line 262, 266, and 267 for SP
No, sorry. The HP and SP that I don't want there are gone. I fixed the problem. This request is resolved I think.