Que é?
Eu modifiquei a window status pra mostrar informaçao extra e adicionei um sistema de Cash/VIP (2 variabels). Se voce tem o suficiente cash, voce pode fazerse VIP.
O VIP tem 3 rangos. (VIP1,VIP2 e VIP3). Cuando voce tem suficiente cash voce pode upar um lvl de VIP.
Screens/Video
Screen:
Pongam o video a 720p hq e pantalla completa pra ver melhor :)
Script
Postare um exemplo (download) em breve :)
Script (traducido por Samuka_Maker pra o portugues):
Peaverin
Jonny
Samuka_Maker
Aldeiarpbr
Eu modifiquei a window status pra mostrar informaçao extra e adicionei um sistema de Cash/VIP (2 variabels). Se voce tem o suficiente cash, voce pode fazerse VIP.
O VIP tem 3 rangos. (VIP1,VIP2 e VIP3). Cuando voce tem suficiente cash voce pode upar um lvl de VIP.
Screens/Video
Screen:
- Spoiler:
Pongam o video a 720p hq e pantalla completa pra ver melhor :)
Script
Postare um exemplo (download) em breve :)
Script (traducido por Samuka_Maker pra o portugues):
- Spoiler:
- Código:
#==============================================================================
# ** Status
#------------------------------------------------------------------------------
# By Marlos Gama
# Modified by Peaverin
#------------------------------------------------------------------------------
##################Modified By Peaverin####################
############Netplay Extended Edition 1.0 script###########
##################www.aldeiarpgbr.com#####################
class Window_Status2 < Window_Base
def initialize
super(25,70,230,340)#super(25,70,250,240)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.color = normal_color
self.windowskin = RPG::Cache.windowskin("WindSkinA")
@dragable = true
@closable = true
self.z = 999999
self.back_opacity = 255
if User_Edit::DISTRIBUIR_ACTIVE == true
@str = Button.new(self,145+30, 120+3, " + ") {str}
@agi = Button.new(self,145+30, 140+3, " + ") {agi}
@dex = Button.new(self,145+30, 160+3, " + ") {dex}
@int = Button.new(self,145+30, 180+3, " + ") {int}
end
if $game_variables[24] == 0
@vip = Button.new(self,60, 280, "+1 VIP (100 cash)") {vip}
elsif $game_variables[24] == 1
@vip = Button.new(self,60, 280, "+2 VIP (250 cash)") {vip2}
elsif $game_variables[24] == 2
@vip = Button.new(self,60, 280, "+3 VIP (450 cash)") {vip3}
end
refresh
end
def update
super
refresh if something_changed?
end
def on_close
self.visible = false
self.active = false
$fechando_ativar = true
end
def refresh
@actor = $game_party.actors[0]
@old_lvl = @actor.level
@old_gold = $game_party.item_number(Item_Ouro::Item_Id.to_i)
@old_hp = @actor.hp
@old_sp = @actor.sp
@old_exp = @actor.now_exp
@old_maxhp = @actor.maxhp
@old_maxsp = @actor.maxsp
@old_pontos = $distribuir_pontos
@old_str = @actor.str
@old_dex = @actor.dex
@old_int = @actor.int
@old_agi = @actor.agi
@old_atk = @actor.atk
@old_pdef = @actor.pdef
@old_mdef = @actor.mdef
@old_eva = @actor.eva
@old_cash = $game_variables[28]
self.contents.clear
self.contents.font.color = normal_color
# Level
self.contents.font.color = Color.new(0, 0, 0)
self.contents.draw_text(0, 0, 62, 32, "Level")
self.contents.draw_text(100, 0, 100, 32, "#{@actor.level}")
# Clase
self.contents.draw_text(0, 20, 62, 32, "Clase")
self.contents.draw_text(100, 20, 100, 32, "#{$data_classes[$game_party.actors[0].class_id].name}")
# HP\MaxHP
self.contents.draw_text(0, 40, 100, 32, "HP/MáxHP")
self.contents.draw_text(100, 40, 200, 32, "#{@actor.hp}/#{@actor.maxhp}")
# SP\MaxSP
self.contents.draw_text(0, 60, 100, 32, "MP/MáxMP")
self.contents.draw_text(100, 60, 200, 32, "#{@actor.sp}/#{@actor.maxsp}")
# HP\MaxHP
self.contents.draw_text(0, 80, 72, 32, "Exp/Proximo")
self.contents.draw_text(100, 80, 200, 32, "#{@actor.now_exp}/#{@actor.next_exp}")
# Str
self.contents.draw_text(0, 100, 50, 32, "Força")
self.contents.draw_text(100, 100, 100, 32, "#{@actor.str}")
# Agi
self.contents.draw_text(0, 120, 50, 32, "Agi")
self.contents.draw_text(100, 120, 100, 32, "#{@actor.agi}")
# Destreza
self.contents.draw_text(0, 140, 100, 32, "Resistencia")
self.contents.draw_text(100, 140, 100, 32, "#{@actor.dex}")
# Int
self.contents.draw_text(0, 160, 50, 32, "Int")
self.contents.draw_text(100, 160, 100, 32, "#{@actor.int}")
# Puntos
self.contents.draw_text(0, 180, 62, 32, "Pontos")
if $distribuir_pontos < 0
self.contents.draw_text(100, 180, 32, 32, "0",0)
else
self.contents.draw_text(100, 180, 100, 32, $distribuir_pontos.to_s,0)
# Sep.
self.contents.draw_text(0,185, 230, 32, "____________________________________________________________________________________________________________________________________________________________________________")
# Ataque
self.contents.draw_text(0, 200, 50, 32, "Ataque")
self.contents.draw_text(50, 200, 100, 32, "#{@actor.atk}")
# Pdef
self.contents.draw_text(100, 200, 50, 32, "Defensa")
self.contents.draw_text(150, 200, 100, 32, "#{@actor.pdef}")
# Mdef
self.contents.draw_text(0, 220, 50, 32, "Defensa M.")
self.contents.draw_text(50, 220, 100, 32, "#{@actor.mdef}")
# Evasión
self.contents.draw_text(100, 220, 50, 32, "Evasión")
self.contents.draw_text(150, 220, 100, 32, "#{@actor.eva}")
# Cash
if $game_variables[28] == 0
self.contents.font.color = Color.new(227, 9, 9, 255)
self.contents.draw_text(80, 280, 100, 32, "Cash")
self.contents.draw_text(110, 280, 32, 32, "0")
else
self.contents.font.color = Color.new(0, 252,17, 255)
self.contents.draw_text(80, 280, 100, 32, "Cash")
self.contents.draw_text(110, 280, 100, 32, $game_variables[28].to_s,0)
end
#Cuenta Vip
if $game_variables[24] == 0
self.contents.font.color = Color.new(227, 9, 9, 255)
self.contents.draw_text(65, 240, 100, 32, "Vip: 0")
elsif $game_variables[24] == 1
self.contents.font.color = Color.new(0, 255, 17, 255)
self.contents.draw_text(65, 240, 100, 32, "Vip: 1")
elsif $game_variables[24] == 2
self.contents.font.color = Color.new(0, 255, 17, 255)
self.contents.draw_text(65, 240, 100, 32, "Vip: 2")
elsif $game_variables[24] == 3
self.contents.font.color = Color.new(0, 255, 17, 255)
self.contents.draw_text(65, 240, 100, 32, "Vip: 3")
#VIP max
if $game_variables[24] == 3
self.contents.font.color = Color.new(0, 255, 17, 255)
self.contents.draw_text(28, 260, 300, 32, "¡Seu Vip ja esta no máximo!")
end
end
end
end
def something_changed?
return true if @old_lvl != @actor.level
return true if @old_gold != $game_party.item_number(Item_Ouro::Item_Id.to_i)
return true if @old_exp != @actor.now_exp
return true if @old_hp != @actor.hp
return true if @old_sp != @actor.sp
return true if @old_maxhp != @actor.maxhp
return true if @old_maxsp != @actor.maxsp
return true if @old_str != @actor.str
return true if @old_dex != @actor.dex
return true if @old_int != @actor.int
return true if @old_agi != @actor.agi
return true if @old_pontos != $distribuir_pontos
return true if @old_atk != @actor.atk
return true if @old_pdef != @actor.pdef
return true if @old_mdef != @actor.mdef
return true if @old_eva != @actor.eva
return true if @old_cash != $game_variables[28]
return false
end
def hp
$game_system.se_play($data_system.decision_se)
if $distribuir_pontos >= 1
$distribuir_pontos -= 1
$game_actors[1].maxhp += 5
$status.refresh
else
$status.refresh
end
end
def sp
$game_system.se_play($data_system.decision_se)
if $distribuir_pontos >= 1
$distribuir_pontos -= 1
$game_actors[1].maxsp += 5
$status.refresh
else
$status.refresh
end
end
def str
$game_system.se_play($data_system.decision_se)
if $distribuir_pontos >= 1
$distribuir_pontos -= 1
$game_actors[1].str += 1
$status.refresh
else
$status.refresh
end
end
def dex
$game_system.se_play($data_system.decision_se)
if $distribuir_pontos >= 1
$distribuir_pontos -= 1
$game_actors[1].dex += 1
$status.refresh
else
$status.refresh
end
end
def agi
$game_system.se_play($data_system.decision_se)
if $distribuir_pontos >= 1
$distribuir_pontos -= 1
$game_actors[1].agi += 1
$status.refresh
else
$status.refresh
end
end
def int
$game_system.se_play($data_system.decision_se)
if $distribuir_pontos >= 1
$distribuir_pontos -= 1
$game_actors[1].int += 1
$status.refresh
else
$status.refresh
end
end
def vip
if $game_variables[24] == 1
$game_temp.chat_log.push("Você ganhou 1 vip")
$game_temp.chat_log.push("Reinicie o jogo para ativalo")
else
if $game_variables[28] >= 100
$game_variables[24] = 1
$game_variables[28] -= 100
$game_temp.chat_log.push("Seu vip foi aumentado em 1")
$game_temp.chat_log.push("Reinicie o jogo")
else
$game_temp.chat_log.push("nao tem cash sufifiente")
$game_temp.chat_log.push("precisas de 100")
end
end
end
def vip2
if $game_variables[24] == 2
$game_temp.chat_log.push("você ganhou 2 vips")
$game_temp.chat_log.push("Reinicie o jogo para ativalo")
else
if $game_variables[28] >= 250
$game_variables[24] = 2
$game_variables[28] -= 250
$game_temp.chat_log.push("Reinicie o jogo")
$game_temp.chat_log.push("Seu vip foi amentado em 2")
else
$game_temp.chat_log.push("você nao tem cash suficiente")
$game_temp.chat_log.push("Precisas de 250")
end
end
end
def vip3
if $game_variables[24] == 3
$game_temp.chat_log.push("Você ganhou 3 vips")
$game_temp.chat_log.push("Reinicie o jogo para ativalo")
else
if $game_variables[28] >= 450
$game_variables[28] -= 450
$game_variables[24] = 3
$game_temp.chat_log.push("Reinicie o jogo")
$game_temp.chat_log.push("Seu vip foi aumentado em 3")
else
$game_temp.chat_log.push("Você nao tem cash suficiente")
$game_temp.chat_log.push("Precisas de 450")
end
end
end
end
Peaverin
Jonny
Samuka_Maker
Aldeiarpbr
Última edição por Peaverin em Seg Out 29, 2012 6:48 pm, editado 5 vez(es)