How can I make it so that it shows the max health a character can have in the battlescreen?
For example, my hero can have 870 life. In battle, he was attacked so he is down to 650. How can i make it show the bar and show "650/870"
Also, how can i make it so that after the battle, if you level up, along with "Exp" and "Gold" earned it says "Level Up" as well?
And last but not least, how can I make it so in the status screen it shows, in white, the base stats (base agi n str, etc), then next to it in blue or something have the total after all of the +attributes are added.
Thanks :)
if youre using 2k3 the firstone 650/870 i spose always shows, i dont think in xp, maybe script..
That can be done per script, it actually only needs to extend the width of the status window drawings, but it would look weird and go over the HP of the next character. Trust me, I've tried. You would need a different draw_actor_hp method, nothing else.
Here (http://rmrk.net/index.php?topic=3270.0) is a script for better LvlUp notification.
Oh yeah, I forgot to mention that I am using XP.
Thanks for the link and the info Blizzard, i'll be sure to check it out.
Any suggestions for my other questions?
I can't right now, but I will post the code tomorrow for the HP. I think I know what I can do about that...
The LvlUp Notifier will automatically show the stats and there already IS a "Level UP" when characters level up. Just look at the characters' status (i.e. [Normal]) when the battle is over and when they level up.
I knew there already was one, but I have some friends testing my beta game right now and they all agreed that they think it would be better if it said Level Up in the gold/exp box after the battle than just down at the bottom instead of [Normal], as it would be easier to see.
Take your time with the code for the HP, I dont need to integrade it till sunday as thats when I said my next release would be, and I said that this would probably be featured in it.
Lol, you're lucky! I've just had five minutes of time. ;D
Put it under the Window_Base script.
#==============================================================================
# Window_Base
#==============================================================================
class Window_Base < Window
def draw_actor_hp(actor, x, y, width = 144)
self.contents.font.color = system_color
self.contents.draw_text(x, y, 32, 32, $data_system.words.hp)
if width - 32 >= 108
hp_x = x + width - 108
flag = true
elsif width - 32 >= 48
hp_x = x + width - 48
flag = false
end
self.contents.font.color = actor.hp == 0 ? knockout_color :
actor.hp <= actor.maxhp / 4 ? crisis_color : normal_color
if flag
self.contents.draw_text(hp_x, y+1, 48, 32, actor.hp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(hp_x + 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(hp_x + 60, y+1, 48, 32, actor.maxhp.to_s)
else
self.contents.font.size -= 4
self.contents.draw_text(hp_x - 48, y+1, 48, 32, actor.hp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(hp_x + 48 - 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(hp_x + 60 - 48, y+1, 48, 32, actor.maxhp.to_s)
self.contents.font.size += 4
end
end
def draw_actor_sp(actor, x, y, width = 144)
# Draw "SP" text string
self.contents.font.color = system_color
self.contents.draw_text(x, y, 32, 32, $data_system.words.sp)
if width - 32 >= 108
sp_x = x + width - 108
flag = true
elsif width - 32 >= 48
sp_x = x + width - 48
flag = false
end
self.contents.font.color = actor.sp == 0 ? knockout_color :
actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
if flag
self.contents.draw_text(sp_x, y+1, 48, 32, actor.sp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(sp_x + 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(sp_x + 60, y+1, 48, 32, actor.maxsp.to_s)
else
self.contents.font.size -= 4
self.contents.draw_text(sp_x - 48, y+1, 48, 32, actor.sp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(sp_x + 48 - 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(sp_x + 60 - 48, y+1, 48, 32, actor.maxsp.to_s)
self.contents.font.size += 4
end
end
end
You might also like this add-on in that case:
http://rmrk.net/index.php?topic=3271.0
Sweet man, thanks a lot!
now the last thing i need is
QuoteAnd last but not least, how can I make it so in the status screen it shows, in white, the base stats (base agi n str, etc), then next to it in blue or something have the total after all of the +attributes are added.
As I already said, the Easy LvlUp Notifier will do that. When characters level up, it will show any increased stats.
Unless he wants the Menu's status screen to show Base Stat + [bonuses from equipment]...
Quote from: The Mystical One on October 26, 2006, 04:51:24 PM
Unless he wants the Menu's status screen to show Base Stat + [bonuses from equipment]...
exactly. I like it that it shows up in the battle screen when you level up, but is there a way to make it show up in the status screen as well?
Of course there is, but the is not really much place in the status window to be honest... I'd have no idea where to put it without decreasing the font size and skewing everything together as much as possible. But that looks stupid, I tried that once to see how it looks like.
so without horribly messing up the looks of the screen, there is really no way to add it in?
Exactly.
alright thanks Blizzard.
One more thing, did you release a script or tutorial on making the intro cinematic like on your game The Three Moons? I know how to put an intro into the game, but did you use an AVI player or just a crapload of pictures through a script?
EDIT: nvm. I found one. Thanks for all of your help Blizzard. BTW, i realized that the AMS you posted shows the agi updates and stuff when you equip stuff, so that is exactly what I wanted. Thanks again guys :)
Okay. BTW, I just used moving/zooming pictures to make the intro scene. ;)
so you just made a gif or something then took it apart into each pic as a png or w/e then ran them all through the script?
if thats how you did it, then its very impressive. I think making an AVI movie would be easier though, which is what im gonna try.
No I don't think he did
Yes, I did. But RMXP doesn't support .gif, I used pngs. I posted the code... somewhere... Try checking my posts in the last 3 days and you will find it.
hmm, i cant seem to find what you posted Blizzard, think you can get a link of it?
BTW, your intro scene is awesome, the music just ties it all together :P
cant wait for the full game.
EDIT: i may have found it
http://rmrk.net/index.php?topic=3913.msg108389#msg108389
is that it? If so, got any instructions on using it?
EDIT 2: I downloaded your uncompiled intro thing, so that should be enough for me to understand it a bit.