Este script fue hecho por help-14 y sirve para cambiar el tilest segun las estaciones:
[align=center]¿Como se Usa?[/align]
-Supongamos que tengamos un tileset llamado "Johto.png", crea una nuevo tileset (identico al original para que el mapa no cambie y se malogre) con el nombre "Spring_Johto.png", "Summer_Johto.png"," Autumn_Johto.png" y "Winter_Johto.png" y lo pones en la carpeta tileset
-Tambien puede hacer esto con los autotiles
-Si la carpeta tileset no tiene los tileset de las estaciones, se considerara sin el comando inicial o sea: Johto.png
[align=center]Spring-Primavera.
Summer-Verano.
Autumn-Otoño.
Winter-Invierno.[/align]
[align=center]Script:[/align]
Para el Pokemon Essentials (la ultima version) :
Para Otras versiones :
Creditos Para Help-14 por que el hizo el script.
Espero que les sirva!!
Saludos!!
[align=center]¿Como se Usa?[/align]
-Supongamos que tengamos un tileset llamado "Johto.png", crea una nuevo tileset (identico al original para que el mapa no cambie y se malogre) con el nombre "Spring_Johto.png", "Summer_Johto.png"," Autumn_Johto.png" y "Winter_Johto.png" y lo pones en la carpeta tileset
-Tambien puede hacer esto con los autotiles
-Si la carpeta tileset no tiene los tileset de las estaciones, se considerara sin el comando inicial o sea: Johto.png
[align=center]Spring-Primavera.
Summer-Verano.
Autumn-Otoño.
Winter-Invierno.[/align]
[align=center]Script:[/align]
Para el Pokemon Essentials (la ultima version) :
PHP:
#==============================================================================
# ? Pokemon Season Script by Help-14. Remember to give Credit.
#
# - If your tileset picture's name is Johto.png, you can make season tileset
# with name Spring_Johto.png, Summer_Johto.png, Autumn_Johto.png
# and Winter_Johto.png.
#
# - If you don't make those season tileset file, the script will use your
# default tileset: Johto.png.
#==============================================================================
#----------------------------------------------------------------------------
# Tileset
#----------------------------------------------------------------------------
def pbGetTileset(name,hue=0)
if Time.now.mon==2 or Time.now.mon==3 or Time.now.mon==4
if File.exists?("Graphics/Tilesets/Spring_"+name)
return AnimatedBitmap.new("Graphics/Tilesets/Spring_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Tilesets/"+name,hue).deanimate
end
elsif Time.now.mon==5 or Time.now.mon==6 or Time.now.mon==7
if File.exists?("Graphics/Tilesets/Summer_"+name)
return AnimatedBitmap.new("Graphics/Tilesets/Summer_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Tilesets/"+name,hue).deanimate
end
elsif Time.now.mon==8 or Time.now.mon==9 or Time.now.mon==10
if File.exists?("Graphics/Tilesets/Autumn_"+name)
return AnimatedBitmap.new("Graphics/Tilesets/Autumn_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Tilesets/"+name,hue).deanimate
end
elsif Time.now.mon==11 or Time.now.mon==12 or Time.now.mon==1
if File.exists?("Graphics/Tilesets/Winter_"+name)
return AnimatedBitmap.new("Graphics/Tilesets/Winter_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Tilesets/"+name,hue).deanimate
end
else
return AnimatedBitmap.new("Graphics/Tilesets/"+name,hue).deanimate
end
end
#----------------------------------------------------------------------------
# Autotiles
#----------------------------------------------------------------------------
def pbGetAutotile(name,hue=0)
if Time.now.mon==2 or Time.now.mon==3 or Time.now.mon==4
if File.exists?("Graphics/Autotiles/Spring_"+name)
return AnimatedBitmap.new("Graphics/Autotiles/Spring_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Autotiles/"+name,hue).deanimate
end
elsif Time.now.mon==5 or Time.now.mon==6 or Time.now.mon==7
if File.exists?("Graphics/Autotiles/Summer_"+name)
return AnimatedBitmap.new("Graphics/Autotiles/Summer_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Autotiles/"+name,hue).deanimate
end
elsif Time.now.mon==8 or Time.now.mon==9 or Time.now.mon==10
if File.exists?("Graphics/Autotiles/Autumn_"+name)
return AnimatedBitmap.new("Graphics/Autotiles/Autumn_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Autotiles/"+name,hue).deanimate
end
elsif Time.now.mon==11 or Time.now.mon==12 or Time.now.mon==1
if File.exists?("Graphics/Autotiles/Winter_"+name)
return AnimatedBitmap.new("Graphics/Autotiles/Winter_"+name,hue).deanimate
else
return AnimatedBitmap.new("Graphics/Autotiles/"+name,hue).deanimate
end
else
return AnimatedBitmap.new("Graphics/Autotiles/"+name,hue).deanimate
end
end
PHP:
#==============================================================================
# ? Pokemon Season Script by Help-14. Remember to give Credit.
#
# - If your tileset picture's name is Johto.png, you can make season tileset
# with name Spring_Johto.png, Summer_Johto.png, Autumn_Johto.png
# and Winter_Johto.png.
#
# - If you don't make those season tileset file, the script will use your
# default tileset: Johto.png.
#==============================================================================
module RPG
module Cache
#----------------------------------------------------------------------------
# Tileset
#----------------------------------------------------------------------------
def self.tileset(filename)
if Time.now.mon==2 or Time.now.mon==3 or Time.now.mon==4
if File.exists?("Graphics/Tilesets/Spring_"+ filename +".png")
self.load_bitmap("Graphics/Tilesets/Spring_", filename)
else
self.load_bitmap("Graphics/Tilesets/", filename)
end
elsif Time.now.mon==5 or Time.now.mon==6 or Time.now.mon==7
if File.exists?("Graphics/Tilesets/Summer_"+ filename +".png")
self.load_bitmap("Graphics/Tilesets/Summer_", filename)
else
self.load_bitmap("Graphics/Tilesets/", filename)
end
elsif Time.now.mon==8 or Time.now.mon==9 or Time.now.mon==10
if File.exists?("Graphics/Tilesets/Autumn_"+ filename +".png")
self.load_bitmap("Graphics/Tilesets/Autumn_", filename)
else
self.load_bitmap("Graphics/Tilesets/", filename)
end
elsif Time.now.mon==11 or Time.now.mon==12 or Time.now.mon==1
if File.exists?("Graphics/Tilesets/Winter_"+ filename +".png")
self.load_bitmap("Graphics/Tilesets/Winter_", filename)
else
self.load_bitmap("Graphics/Tilesets/", filename)
end
else
self.load_bitmap("Graphics/Tilesets/", filename)
end
end
#----------------------------------------------------------------------------
# Autotiles
#----------------------------------------------------------------------------
def self.autotile(filename)
if Time.now.mon==2 or Time.now.mon==3 or Time.now.mon==4
if File.exists?("Graphics/Autotiles/Spring_"+ filename +".png")
self.load_bitmap("Graphics/Autotiles/Spring_", filename)
else
self.load_bitmap("Graphics/Autotiles/", filename)
end
elsif Time.now.mon==5 or Time.now.mon==6 or Time.now.mon==7
if File.exists?("Graphics/Autotiles/Summer_"+ filename +".png")
self.load_bitmap("Graphics/Autotiles/Summer_", filename)
else
self.load_bitmap("Graphics/Autotiles/", filename)
end
elsif Time.now.mon==8 or Time.now.mon==9 or Time.now.mon==10
if File.exists?("Graphics/Autotiles/Autumn_"+ filename +".png")
self.load_bitmap("Graphics/Autotiles/Autumn_", filename)
else
self.load_bitmap("Graphics/Autotiles/", filename)
end
elsif Time.now.mon==11 or Time.now.mon==12 or Time.now.mon==1
if File.exists?("Graphics/Autotiles/Winter_"+ filename +".png")
self.load_bitmap("Graphics/Autotiles/Winter_", filename)
else
self.load_bitmap("Graphics/Autotiles/", filename)
end
else
self.load_bitmap("Graphics/Autotiles/", filename)
end
end
end
end
Espero que les sirva!!
Saludos!!