C-TT(Colméia - Transition to Teleport)
#1
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
Reply }
#2
When i try to run the demo it was an error without nomber
Reply }
#3
You can post the screenshot with the message error, so I can to evaluate the error.

Bye.
Reply }
#4
there are no message. Only sound)
Reply }
#5
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
Reply }
#6
it gives me the error that the RGSS200e.dll is missing ^^
Reply }
#7
Is this for xp or vx? if it's for xp then I can fix it for ya
Reply }
#8
RMVX C-TT(Colméia - Transition to Teleport)
Read more carefully
Reply }
#9
Then I have no idea. I am not a vx'er
Reply }
#10
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.


Attached Files
.zip   RGSS200E.zip (Size: 777.59 KB / Downloads: 0)
Reply }




Users browsing this thread: 5 Guest(s)