Save-Point
C-TT(Colméia - Transition to Teleport) - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: C-TT(Colméia - Transition to Teleport) (/thread-515.html)

Pages: 1 2


C-TT(Colméia - Transition to Teleport) - zecomeia - 03-14-2010

C-TT(Colméia - Transition to Teleport)
Version: 1.0

Introduction
Permit execute a transition when teleport.

Features
  • configuration of duration and ambiguity

Screenshots
Not need.

Demo
Download of the demo

Script

Code:
#===============================================================
# C-TT(Colméia - Transition to Teleport)
#---------------------------------------------------------------
#by:    zecomeia
#date:  28//12/2009
#for:   RGSS2
#http://colmeia-do-ze.blogspot.com/
#---------------------------------------------------------------
#Crie uma pasta com o nome Transitions para os arquivos de
#transição.
#
#Use o comando chamar script e coloque:
#
#$game_temp.transition = [duração,"nome do arquivo",ambiguidade]
#
#OBS1:O nome do arquivo deve estar entre aspas e não é preciso
#colocar a extensão do arquivo.
#OBS2:Se não quiser usar transição em um teleporte use:
#
#$game_temp.transition = [0,"",0]
#
#Após o chamar script, basta usar o comando de teleporte
#normalmente.
#===============================================================
class Game_Temp
  attr_accessor :transition
  alias default_initialize initialize
  def initialize()
    @transition = Array.new
    @transition = [0,'',0]
    default_initialize()
  end
end
class Scene_Map < Scene_Base
  def update_transfer_player
    return unless $game_player.transfer?
    fade = (Graphics.brightness > 0)    
    fadeout(30) if fade and $game_temp.transition[1] == ''
    Graphics.freeze
    @spriteset.dispose
    $game_player.perform_transfer
    $game_map.autoplay
    $game_map.update
    if $game_temp.transition[1] == ''
      Graphics.wait(15)
    else
      #$game_map.interpreter.update
      Graphics.transition($game_temp.transition[0], "Graphics/Transitions/"+$game_temp.transition[1],$game_temp.transition[2])
    end
    @spriteset = Spriteset_Map.new
    fadein(30) if fade
    Input.update
  end
end

Instructions
Install the script up of "main".

Create a folder with name "Transitions" for the transition pictures.

Use call script and write:

$game_temp.transition = [duration,"image file name",ambiguity]

Note1:The image file name would have quotes and don't need file extension.
Note2:If don't want to use transition on a teleport, use:

$game_temp.transition = [0,"",0]

After call the script, just use the teleport command normally.

FAQ
No questions yet.

Credits and Thanks
by zecomeia

Terms and Conditions
[Image: 88x31.png]

Scripts RGSS, Resources, Tutorials and Translations by zecomeia is licensed under a
Creative Commons Atribuição-Uso Não-Comercial-Compartilhamento pela mesma Licença 2.5 Brasil License.
Permissions beyond the scope of this license may be available at Santuário RPG Maker



C-TT(Colméia - Transition to Teleport) - Villain - 03-14-2010

When i try to run the demo it was an error without nomber


C-TT(Colméia - Transition to Teleport) - zecomeia - 03-14-2010

You can post the screenshot with the message error, so I can to evaluate the error.

Bye.


C-TT(Colméia - Transition to Teleport) - Villain - 03-15-2010

there are no message. Only sound)


C-TT(Colméia - Transition to Teleport) - zecomeia - 03-15-2010

Maybe is because the version RMVX is diferent. I use a portuguese translation. I have not certain.

Do you tried use the script in a new project? Else, try this, so relate the result.

Bye


C-TT(Colméia - Transition to Teleport) - Ace - 03-15-2010

it gives me the error that the RGSS200e.dll is missing ^^


C-TT(Colméia - Transition to Teleport) - deValdr - 03-15-2010

Is this for xp or vx? if it's for xp then I can fix it for ya


C-TT(Colméia - Transition to Teleport) - Villain - 03-15-2010

RMVX C-TT(Colméia - Transition to Teleport)
Read more carefully


C-TT(Colméia - Transition to Teleport) - deValdr - 03-15-2010

Then I have no idea. I am not a vx'er


C-TT(Colméia - Transition to Teleport) - zecomeia - 03-15-2010

Look in C:\Program Files\Enterbrain\RGSS2\RPGVX and search for RGSS200e.dll, if don't find download it on attachment.

If the problem continue, try use the script in a new project following the instructions of the thread.