Últimos temas
» Script de menupor maxi Jue 04 Dic 2014, 1:44 pm
» Ayuda intro animado!!!
por maxi Miér 03 Dic 2014, 9:41 pm
» ayuda con este engin
por maxi Miér 03 Dic 2014, 8:42 am
» Hud de Vida 100% Personalizable - Engine Sencillo! Sin Scripts :)
por davidaikago Jue 20 Nov 2014, 10:58 am
» Ultimate parallax control by:GDS [ace]
por arellano Miér 08 Oct 2014, 8:28 pm
» Script Touhou (animated) Map name (v1.4)
por davidaikago Miér 08 Oct 2014, 2:09 pm
» tutorial puerta nueva
por davidaikago Miér 08 Oct 2014, 9:08 am
» cámara de fotos
por davidaikago Miér 08 Oct 2014, 9:05 am
» Imperial Action System II Demo
por davidaikago Miér 08 Oct 2014, 8:47 am
» VE Batalla animada [ACE]
por FhierusIV Jue 18 Sep 2014, 10:57 am
» Nuevo Reglamento del Foro [Vigente desde Septiembre 2014]
por maxi Miér 17 Sep 2014, 8:37 am
» MOG|Animated Title
por Souta21 Mar 09 Sep 2014, 7:24 pm
» Tutorial Engine - Cambiar Character al Equipar Objeto
por maxi Lun 21 Jul 2014, 10:19 am
» Script de climas
por gambasoxd Sáb 19 Jul 2014, 8:58 am
» Script de contraseña(codigo) para abrir un cofre
por rpgame Jue 03 Jul 2014, 6:03 pm
¿Quién está en línea?
En total hay 1 usuario en línea: 0 Registrados, 0 Ocultos y 1 Invitado Ninguno
El record de usuarios en línea fue de 117 durante el Mar 09 Ago 2011, 3:39 pm
Mapa Radar
+3
Mr.Magneto
kevin098098
Vanjoss
7 participantes
RPG maker VX :: Scripts ::
Página 1 de 1.
Mapa Radar
Hola aqui les traigo otro minimapa o radar igual es
Script por: SojaBird
Captura de pantalla
Intrucciones
solo pealo encima del main y crea un evento y con la llamada de script le pones asi
#############
# Start SETUP
#############
y si no quieres k se vea en un mapa solo pones asi
############
# End SETUP
############
Adjunto el script
Script por: SojaBird
Captura de pantalla
[Tienes que estar registrado y conectado para ver esa imagen]
Intrucciones
solo pealo encima del main y crea un evento y con la llamada de script le pones asi
#############
# Start SETUP
#############
y si no quieres k se vea en un mapa solo pones asi
############
# End SETUP
############
Adjunto el script
- Spoiler:
- ####################################################################
# MapRadar v2.2.2
# By: SojaBird
# Site: [Tienes que estar registrado y conectado para ver este vínculo]
# Discription: Shows a radar with map and where the player is located.
####################################################################
module SojaBird_MR
# Start Setup
####################################################################
# General Setup
Movement = 1 # Wheter to move the player-icon or the map to display the player-position [Move Player-Icon=1, Move Map=2].
Activate = 1 # The mode to activate radar [1=Switch, 2=Key, 3=Switch AND Key, 4=Switch OR Key].
Radar_Switch = 1 # Number of the switch wich determens if the radar is shown or not.
Key = Input::F5 # Keyboard input to show the radar [Input::??].
# Picture Setup
View_X_Tiles = 50 # The width of the viewport of the radar.
View_Y_Tiles = 50 # The height of the viewport of the radar.
Frame = "Frame" # Name of the picture for the frame.
Player = "Player" # Name of the picture wich shows the player-indicator.
Back = "Back" # Name of the picture wich is the BG for the Hud when there is no map displayed.
# Note: The name of these maps need to be "Map..." where the "..." stand for the map nr. So for map001 you need a picture called "Map1", for map002 "Map2" etc.
# Placement Setup
PlacementX = 2 # Horizontal placement of the Hud [Left=1, Center=2, Right=3, Custom=0].
PlacementY = 3 # Vertical placement of the Hud [Top=1, Center=2, Bottom=3, Custom=0].
CustomX = 0 # Your custom horizontal placement of the Hud.
CustomY = 0 # Your custom vertical placement of the Hud.
# Opacity Setup
Back_Opacity = 200 # "Back" opacity.
Map_Opacity = 200 # "Map..." opacity.
Frame_Opacity = 200 # "Frame" opacity.
Player_Opacity = 200 # "Player" opacity.
Hide = true # Wheter or not to hide the Hud when the player is behind it.
Hide_Opacity = 150 # Amount that the opacity of the Hud is decreased when the player is behind it.
# ScriptUse Setup
UseRadar = true # Whether or not to use the script.
####################################################################
# End Setup
end
####################################################################
####################################################################
####################################################################
PlayerWidth= Cache.picture(SojaBird_MR::Player).width
PlayerHeight = Cache.picture(SojaBird_MR::Player).height
ViewWidth = SojaBird_MR::View_X_Tiles * PlayerWidth
ViewHeight = SojaBird_MR::View_Y_Tiles * PlayerHeight
X_Place =
case SojaBird_MR::PlacementX
when 1
0
when 2
272 - (ViewWidth / 2)
when 3
544 - ViewWidth
when 0
SojaBird_MR::CustomX
end
Y_Place =
case SojaBird_MR::PlacementY
when 1
0
when 2
208 - (ViewHeight / 2)
when 3
416 - ViewHeight
when 0
SojaBird_MR::CustomY
end
####################################################################
####################################################################
if SojaBird_MR::UseRadar == true
####################################################################
####################################################################
class Scene_Map < Scene_Base
def start
super
$game_map.refresh
@spriteset = Spriteset_Map.new
@message_window = Window_Message.new
$Radar = Radar.new
end
def terminate
super
if $scene.is_a?(Scene_Battle)
@spriteset.dispose_characters
end
snapshot_for_background
@spriteset.dispose
@message_window.dispose
$Radar.dispose
if $scene.is_a?(Scene_Battle)
perform_battle_transition
end
end
def update
super
$game_map.interpreter.update
$game_map.update
$game_player.update
$game_system.update
@spriteset.update
@message_window.update
if $Radar == nil
$Radar = Radar.new
end
$Radar.update
unless $game_message.visible
update_transfer_player
update_encounter
update_call_menu
update_call_debug
update_scene_change
end
end
def update_transfer_player
return unless $game_player.transfer?
fade = (Graphics.brightness > 0)
fadeout(30) if fade
@spriteset.dispose
$game_player.perform_transfer
$game_map.autoplay
$game_map.update
Graphics.wait(15)
@spriteset = Spriteset_Map.new
$Radar.dispose
$Radar = Radar.new
fadein(30) if fade
Input.update
end
end
####################################################################
####################################################################
class Radar
include SojaBird_MR
def initialize
# standard values
@ZoomXmap = $game_map.width * PlayerWidth / Cache.picture("Map" + $game_map.map_id.to_s).width.to_f
@ZoomYmap = $game_map.height * PlayerHeight / Cache.picture("Map" + $game_map.map_id.to_s).height.to_f
@ZoomXframe = View_X_Tiles * PlayerWidth / Cache.picture(Frame).width.to_f
@ZoomYframe = View_Y_Tiles * PlayerHeight / Cache.picture(Frame).height.to_f
@ZoomXback = View_X_Tiles * PlayerWidth / Cache.picture(Back).width.to_f
@ZoomYback = View_Y_Tiles * PlayerHeight / Cache.picture(Back).height.to_f
@MW = Cache.picture("Map" + $game_map.map_id.to_s).width * @ZoomXmap
@MH = Cache.picture("Map" + $game_map.map_id.to_s).height * @ZoomYmap
@ViewPort = Viewport.new(X_Place, Y_Place, ViewWidth, ViewHeight)
# draw frame
@frame = Sprite.new(@ViewPort)
@frame.bitmap = Cache.picture(Frame)
@frame.z = 9999
@frame.opacity = Frame_Opacity
@frame.zoom_x = @ZoomXframe
@frame.zoom_y = @ZoomYframe
# draw back
@map_back = Sprite.new(@ViewPort)
@map_back.bitmap = Cache.picture(Back)
@map_back.z = 9996
@map_back.opacity = Back_Opacity
@map_back.zoom_x = @ZoomXback
@map_back.zoom_y = @ZoomYback
# draw map
@map = Sprite.new(@ViewPort)
@map.bitmap = Cache.picture("Map" + $game_map.map_id.to_s)
@map.z = 9997
@map.opacity = Map_Opacity
@map.zoom_x = @ZoomXmap
@map.zoom_y = @ZoomYmap
# draw player
@player_icon = Sprite.new(@ViewPort)
@player_icon.bitmap = Cache.picture(Player)
@player_icon.z = 9998
@player_icon.opacity = Player_Opacity
case Movement
when 1
@player_icon.x = $game_player.real_x * PlayerWidth / 256
@player_icon.y = $game_player.real_y * PlayerHeight / 256
@map.x = (ViewWidth - @MW) / 2
@map.y = (ViewHeight - @MH) / 2
when 2
@player_icon.x = ViewWidth / 2
@player_icon.y = ViewHeight / 2
@map.x = @player_icon.x - ($game_player.real_x * PlayerWidth / 256)
@map.y = @player_icon.y - ($game_player.real_y * PlayerHeight / 256)
end
# update
update
end
def update
# move player or map?
case Movement
when 1
@player_icon.x = @map.x + ($game_player.real_x * PlayerWidth / 256)
@player_icon.y = @map.y + ($game_player.real_y * PlayerHeight / 256)
when 2
@map.x = @player_icon.x - ($game_player.real_x * PlayerWidth / 256)
@map.y = @player_icon.y - ($game_player.real_y * PlayerHeight / 256)
end
=begin
if @map.x < X_Place and @map.x + @MW > X_Place + ViewWidth and @player_icon.x == ViewWidth / 2
@map.x = @player_icon.x - ($game_player.real_x * PlayerWidth / 256)
else
@player_icon.x = @map.x + ($game_player.real_x * PlayerWidth / 256)
end
if @map.y < Y_Place and @map.y + @MH > Y_Place + ViewHeight and @player_icon.y == ViewHeight / 2
@map.y = @player_icon.y - ($game_player.real_y * PlayerHeight / 256)
else
@player_icon.y = @map.y + ($game_player.real_y * PlayerHeight / 256)
end
=end
# hide
if Hide == true
if $game_player.screen_x + 16 > X_Place and $game_player.screen_y + 4 > Y_Place and $game_player.screen_x - 16 < X_Place + ViewWidth and $game_player.screen_y - 28 < Y_Place + ViewHeight
@frame.opacity = Frame_Opacity - Hide_Opacity
@map_back.opacity = Back_Opacity - Hide_Opacity
@map.opacity = Map_Opacity - Hide_Opacity
@player_icon.opacity = Player_Opacity - Hide_Opacity
else
@frame.opacity = Frame_Opacity
@map_back.opacity = Back_Opacity
@map.opacity = Map_Opacity
@player_icon.opacity = Player_Opacity
end
end
# activation
case Activate
when 1
if $game_switches[Radar_Switch]
@frame.visible = true
@map_back.visible = true
@map.visible = true
@player_icon.visible = true
else
@frame.visible = false
@map_back.visible = false
@map.visible = false
@player_icon.visible = false
end
when 2
if Input.press?(Key)
@frame.visible = true
@map_back.visible = true
@map.visible = true
@player_icon.visible = true
else
@frame.visible = false
@map_back.visible = false
@map.visible = false
@player_icon.visible = false
end
when 3
if $game_switches[Radar_Switch] and Input.press?(Key)
@frame.visible = true
@map_back.visible = true
@map.visible = true
@player_icon.visible = true
else
@frame.visible = false
@map_back.visible = false
@map.visible = false
@player_icon.visible = false
end
when 4
if $game_switches[Radar_Switch] or Input.press?(Key)
@frame.visible = true
@map_back.visible = true
@map.visible = true
@player_icon.visible = true
else
@frame.visible = false
@map_back.visible = false
@map.visible = false
@player_icon.visible = false
end
end
end
def dispose
@map.opacity = 0
@map_back.opacity = 0
@player_icon.opacity = 0
@frame.opacity = 0
end
end
end
Busqueda por el Team ABYSS
Vanjoss- 300
-
33
390
602
50
Extras
Sobre mí::
Re: Mapa Radar
:) pacerce bueno lo voy a usar en mi juego!
Gracias por el pots
Gracias por el pots
kevin098098- 50
-
27
60
62
5
Extras
Sobre mí::
Re: Mapa Radar
No consigo que se inicie el script vale pero al momento de iniciarlo me sale que no existe SETUP ¿que hago?
26fof- 220
-
104
223
315
48
Extras
Sobre mí:: Nah
Re: Mapa Radar
Grax !! lo probaré , te aviso por MP si me sirvio , Si supiera poner +1 , eske me tuve que crear otra cuenta , Oks.
Simongonzaa- 30
-
26
30
34
0
Re: Mapa Radar
Esta exelente! muy buen aporte +1
Y sobre la cuenta, ¿es otra cuenta en el foro? si lo es, habla con un admin, no me jor con canek, para que no haiga problemas.
Saludos !
Simon, para dar un +1, solo dale al + que se encuentra hasta la esquina superior derecha.Simongonzaa escribió:Grax !! lo probaré , te aviso por MP si me sirvio , Si supiera poner +1 , eske me tuve que crear otra cuenta , Oks.
Y sobre la cuenta, ¿es otra cuenta en el foro? si lo es, habla con un admin, no me jor con canek, para que no haiga problemas.
Saludos !
Mike_182- Super Moderador
-
28
814
1041
150
Extras
Sobre mí::
Re: Mapa Radar
No Mike si lees los avizos a los que tenemos menos de 10 de reputacion no se nos deja dar puntos =(
Mr.Magneto- 220
-
37
299
105
11
Re: Mapa Radar
Lo primero que debes de hacer al llegar a un foro es leerte el reglamento, cosa que al parecer no has hecho.Rysute540 escribió:Excelente post!, voy a probarlo!
Has revivido un tema, si te miras las normas sabrás que es, lo dejo pasar por ahora.
Mike_182- Super Moderador
-
28
814
1041
150
Extras
Sobre mí::
RPG maker VX :: Scripts ::
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.