[RESOLVED] Removing "HP" and "SP" text

Started by Hixomdido, February 01, 2011, 09:11:03 pm

Previous topic - Next topic

Hixomdido

February 01, 2011, 09:11:03 pm Last Edit: February 04, 2011, 12:37:16 am by Hixomdido
I need to remove these HP and SP text strings because I'm going to be adding them to the bar itself.
Spoiler: ShowHide

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.

LiTTleDRAgo

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.
Spoiler: ShowHide

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, ' ')

Hixomdido

That doesn't seem to be working.
I just tried this again and the text string is still there.  :(

Starrodkirby86

February 01, 2011, 10:43:12 pm #3 Last Edit: February 01, 2011, 10:44:25 pm by Starrodkirby86
Your picture is breaking because it is not a direct URL.

http://s1205.photobucket.com/albums/bb432/Hixomdido/?action-view&current=Screenshot.jpg

That just leads to the image page. A more direct URL would be:

Spoiler: ShowHide


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).

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




Hixomdido

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)

Starrodkirby86

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:

Spoiler: ShowHide

Spoiler: ShowHide

Spoiler: ShowHide


What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




LiTTleDRAgo

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 ~

Hixomdido

February 02, 2011, 12:39:42 am #7 Last Edit: February 02, 2011, 12:41:19 am by Hixomdido
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?

Starrodkirby86

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.

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




Hixomdido

Like this?
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.

LiTTleDRAgo


Spoiler: ShowHide


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

Hixomdido

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)

LiTTleDRAgo

February 03, 2011, 11:50:11 pm #12 Last Edit: February 03, 2011, 11:51:40 pm by LiTTleDRAgo
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

Hixomdido

No, sorry. The HP and SP that I don't want there are gone. I fixed the problem. This request is resolved I think.