Hallo und Willkommen :D
Ich hab ein bischen umgescriptet.
Das originalle Script ist von Woratana und ich habe ledeglich eine EXP Anzeige hinzugefügt ( ohne gauge )
Die Anzeige verschwindet wenn der Actor maximaler Level ist. Und am Anfang des Scriptes kannst du die Farben der verschiedenen Benennungen ändern.
Dieses Script lässt sich einfach bedienen, und ich denke du wirst schnell den Überblick bekommen :D
#===============================================================
# ? [VX] ? Basic HUD ? ?
# * Basic HUD that shows HP and SP of first character in party on map
#--------------------------------------------------------------
# ? by Woratana [woratana@hotmail.com]
# ? Thaiware RPG Maker Community
# ? Released on: 26/10/2008
# ? Version: 1.0
#--------------------------------------------------------------
class Wor_Basic_HUD < Window_Base
SWITCH_ID = 5 # Switch to show/hide this HUD (Turn switch ON to show HUD)
HP_COLOR = Color.new(255,48,48)
MP_COLOR = Color.new(24,116,205)
REXP_COLOR = Color.new(219,219,219)
EXP_COLOR = Color.new(124,252,0)
def initialize
super(-10,-10,175,110)
self.opacity = 0
self.visible = $game_switches[SWITCH_ID]
refresh
end
def refresh
contents.clear
if $game_party.members.size > 0 and self.visible
actor = $game_party.members[0]
s1 = actor.exp_s
s2 = actor.next_rest_exp_s
draw_actor_hp_gauge(actor, 25, -10, contents.width - 20)
draw_actor_mp_gauge(actor, 25, 10, contents.width - 20)
self.contents.font.color = normal_color
# Remove '#' in line below if you want bold text~
self.contents.font.bold = true
self.contents.font.color = HP_COLOR
self.contents.draw_text(0, -5, contents.width,WLH, 'HP')
self.contents.font.color = MP_COLOR
self.contents.draw_text(0, 15, contents.width,WLH, 'MP')
self.contents.font.bold = false
if s2 != "-----"
self.contents.font.color = REXP_COLOR
self.contents.draw_text(0, 55, contents.width - 25, WLH, 'N.LvL')
self.contents.font.bold = true
self.contents.font.color = normal_color
self.contents.draw_text(60, 55, contents.width, WLH, s2)
end
self.contents.font.bold = false
if s1 != "-----"
self.contents.font.color = EXP_COLOR
self.contents.draw_text(0, 35, contents.width - 25, WLH, 'EP')
self.contents.font.bold = true
self.contents.font.color = normal_color
self.contents.draw_text(60, 35, contents.width, WLH, s1)
end
self.contents.font.bold = false
@old_hp = actor.hp
@old_mp = actor.mp
@old_exp =actor.exp
@old_rexp =actor.next_rest_exp_s
end
end
def update
self.visible = $game_switches[SWITCH_ID]
if $game_party.members.size > 0 and self.visible
actor = $game_party.members[0]
refresh if @old_hp != actor.hp or @old_mp != actor.mp or @old_exp != actor.exp or @old_rexp !=actor.next_rest_exp_s
end
end
end
class Scene_Map < Scene_Base
alias wora_scemap_str_basichud start
alias wora_scemap_upd_basichud update
alias wora_scemap_ter_basichud terminate
def start
wora_scemap_str_basichud
@wbasic_hud = Wor_Basic_HUD.new
end
def update
wora_scemap_upd_basichud
@wbasic_hud.update
end
def terminate
@wbasic_hud.dispose
wora_scemap_ter_basichud
end
end
Das ganze sieht viel hübscher aus, wenn du noch ein Gauge Add On Script von jemanden übernimmst .
Edit: Nochwas vergessen^^"
wie kann ich unter dem menu punkt "status" die ep anzeigen ausblenden?
Im Script Window_Status, musst du die Zeile 27 (draw_exp_info(288, 32) mit einem Rautezeichen # auskommentieren damit diese im Statusmenü nicht länger angezeigt werden sollen.
MfG
Deity