Introdução
Queria usar os scripts do UNPM 1.6 no Netplay Master V4
Podem me ajudar?
Os Scripts
Queria os Scripts de PVP e de Reputação
Scripts
Reputação
Queria usar os scripts do UNPM 1.6 no Netplay Master V4
Podem me ajudar?
Os Scripts
Queria os Scripts de PVP e de Reputação
Scripts
Reputação
- Spoiler:
- #==============================================================================
# ** Window Reputacion **
#------------------------------------------------------------------------------
# Autor : Jonny D' Guetta
# Web : http://fanmakers.guildmmorpg.com/
# msg : jonny_teens@live.com.mx
# Creado : 24/05/2011
# Modificado : 02/06/2011
#------------------------------------------------------------------------------
module CONF
# Reputacion de la cuidad 1
R1 = 20
# Reputacion de la cuidad 2
R2 = 21
# Reputacion de la cuidad 3
R3 = 22
# Reputacion de la cuidad 4
R4 = 23
# Reputacion de la cuidad 5
R5 = 24
# Reputacion de la cuidad 6
R6 = 25
# Reputacion de la cuidad 7
R7 = 27
# Reputacion de la cuidad 8
R8 = 28
# Reputacion de la cuidad 9
R9 = 29
end
class Window_Rep < Window_Base
def initialize(x,y,a,b)
super(x,y,a,b)
self.contents = Bitmap.new(self.width-32, self.height-32)
@dragable = true
@closable = true
self.z = 99999
self.back_opacity = 200
refresh
end
def refresh
self.contents.clear
self.contents.font.color = Color.new(255,255,255)
self.contents.draw_text(0, -5, 100, 32, "Status")
self.contents.draw_text(100, -5, 100, 32, "Honor")
# Nombre de la cuidad 1
self.contents.draw_text(0, 20, 100, 32, "Ciudad 1")
self.contents.draw_text(100, 20, 100, 32, "#{$game_variables[CONF::R1]}")
# Nombre de la cuidad 2
self.contents.draw_text(0, 40, 100, 32, "Ciudad 2")
self.contents.draw_text(100, 40, 100, 32, "#{$game_variables[CONF::R2]}")
# Nombre de la cuidad 3
self.contents.draw_text(0, 60, 100, 32, "Ciudad 3")
self.contents.draw_text(100, 20, 100, 32, "#{$game_variables[CONF::R3]}")
# Nombre de la cuidad 4
self.contents.draw_text(0, 60, 100, 32, "Ciudad 4")
self.contents.draw_text(100, 60, 100, 32, "#{$game_variables[CONF::R4]}")
# Nombre de la cuidad 5
self.contents.draw_text(0, 80, 100, 32, "Ciudad 5")
self.contents.draw_text(100, 80, 100, 32, "#{$game_variables[CONF::R5]}")
# Nombre de la cuidad 6
self.contents.draw_text(0, 100, 100, 32, "Ciudad 6")
self.contents.draw_text(100, 100, 100, 32, "#{$game_variables[CONF::R6]}")
# Nombre de la cuidad 7
self.contents.draw_text(0, 120, 100, 32, "Ciudad 7")
self.contents.draw_text(100, 120, 100, 32, "#{$game_variables[CONF::R7]}")
# Nombre de la cuidad 8
self.contents.draw_text(0, 140, 100, 32, "Ciudad 8")
self.contents.draw_text(100, 140, 100, 32, "#{$game_variables[CONF::R8]}")
# Nombre de la cuidad 9
self.contents.draw_text(0, 160, 100, 32, "Ciudad 9")
self.contents.draw_text(100, 160, 100, 32, "#{$game_variables[CONF::R9]}")
end
end
- Spoiler:
- #==============================================================================
# ** Window PvP **
#------------------------------------------------------------------------------
# Autor : Jonny D' Guetta
# Web : http://fanmakers.guildmmorpg.com/
# msg : jonny_teens@live.com.mx
# Creado : 24/05/2011
# Modificado : 02/06/2011
#------------------------------------------------------------------------------
module CONF
# ID del mapa del Evento 1
MAP1 = 1
# Crodenadas x del mapa
COX1 = 15
# Crodenadas Y del mapa
COY1 = 20
# ID del mapa del Evento 2
MAP2 = 1
# Crodenadas x del mapa
COX2 = 15
# Crodenadas Y del mapa
COY2 = 20
# ID del mapa del Evento 3
MAP3 = 1
# Crodenadas x del mapa
COX3 = 15
# Crodenadas Y del mapa
COY3 = 20
# ID del mapa del Evento 4
MAP4 = 1
# Crodenadas x del mapa
COX4 = 15
# Crodenadas Y del mapa
COY4 = 20
# ID del mapa del Evento 5
MAP5 = 1
# Crodenadas x del mapa
COX5 = 15
# Crodenadas Y del mapa
COY5 = 20
# ID del mapa del Evento 6
MAP6 = 1
# Crodenadas x del mapa
COX6 = 15
# Crodenadas Y del mapa
COY6 = 20
end
class Window_PvP < Window_Base
def initialize(x,y,a,b)
super(x,y,a,b)
self.contents = Bitmap.new(self.width-32, self.height-32)
@dragable = true
@closable = true
self.z = 99999
self.back_opacity = 200
@teleporte1 = Button.new(self,160, 45, " Ir ") {sala1}
@teleporte2 = Button.new(self,160, 65, " Ir ") {sala2}
@teleporte3 = Button.new(self,160, 85, " Ir ") {sala3}
@teleporte4 = Button.new(self,160, 105, " Ir ") {sala4}
@teleporte5 = Button.new(self,160, 145, " Ir ") {sala5}
@teleporte6 = Button.new(self,160, 165, " Ir ") {sala6}
refresh
end
def refresh
self.contents.clear
self.contents.font.color = Color.new(255,255,255)
self.contents.draw_text(50, -5, 100, 32, "Sistema Pvp")
self.contents.draw_text(0, 20, 100, 32, "Stadium Blood")
self.contents.draw_text(0, 40, 100, 32, "Castillo")
self.contents.draw_text(0, 60, 100, 32, "Sala 2")
self.contents.draw_text(0, 80, 100, 32, "Sala 1")
self.contents.draw_text(50, 100, 100, 32, "Sistema Pve")
self.contents.draw_text(0, 120, 100, 32, "Sala 1")
self.contents.draw_text(0, 140, 100, 32, "Sala 2")
end
def sala1
$teleport.visible = false
$teleport.active = false
$game_temp.player_new_map_id = CONF::MAP1
$game_temp.player_new_x = CONF::COX1
$game_temp.player_new_y = CONF::COY1
$game_temp.player_transferring = true
$game_map.update
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
$scene = Scene_Map.new
$fechando_ativar = true
Network::Main.send_start
end
def sala2
$teleport.visible = false
$teleport.active = false
$game_temp.player_new_map_id = CONF::MAP2
$game_temp.player_new_x = CONF::COX2
$game_temp.player_new_y = CONF::COY2
$game_temp.player_transferring = true
$game_map.update
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
$scene = Scene_Map.new
$fechando_ativar = true
Network::Main.send_start
end
def sala3
$teleport.visible = false
$teleport.active = false
$game_temp.player_new_map_id = CONF::MAP3
$game_temp.player_new_x = CONF::COX3
$game_temp.player_new_y = CONF::COY3
$game_temp.player_transferring = true
$game_map.update
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
$scene = Scene_Map.new
$fechando_ativar = true
Network::Main.send_start
end
def sala4
$teleport.visible = false
$teleport.active = false
$game_temp.player_new_map_id = CONF::MAP4
$game_temp.player_new_x = CONF::COX4
$game_temp.player_new_y = CONF::COY4
$game_temp.player_transferring = true
$game_map.update
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
$scene = Scene_Map.new
$fechando_ativar = true
Network::Main.send_start
end
def sala4
$teleport.visible = false
$teleport.active = false
$game_temp.player_new_map_id = CONF::MAP5
$game_temp.player_new_x = CONF::COX5
$game_temp.player_new_y = CONF::COY5
$game_temp.player_transferring = true
$game_map.update
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
$scene = Scene_Map.new
$fechando_ativar = true
Network::Main.send_start
end
def sala4
$teleport.visible = false
$teleport.active = false
$game_temp.player_new_map_id = CONF::MAP6
$game_temp.player_new_x = CONF::COX6
$game_temp.player_new_y = CONF::COY6
$game_temp.player_transferring = true
$game_map.update
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
$scene = Scene_Map.new
$fechando_ativar = true
Network::Main.send_start
end
end