AccueilAccueil  PortailPortail  RechercherRechercher  Dernières imagesDernières images  S'enregistrerS'enregistrer  ConnexionConnexion  



Le Deal du moment :
Jeux, jouets et Lego : le deuxième à ...
Voir le deal

Partagez
 

 [VX] Animation Skill Cut Scene

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeJeu 18 Mar 2010 - 21:25

Auteur : Jens009, Mbub, Kylock

Installation : A placer au dessus de Main dans Matérials

Screen

[VX] Animation Skill Cut Scene Cutin2nb1


Customisation

Se référer au script

script

Code:
#============================================================
# Jens009's Cut-In Animation
# Version 1.0
# - base from  Tanketai SBS  http://rpgex.sakura.ne.jp/home/
# Special Credits to: Kylock and Mbub
# Release Date: August 7, 2008
# Description: Shows a Battle Cut-In when certain skills are activated
# Features:
#  Set Starting Point(x,y) and Ending point (x,y)
#  Enable Sound Effects
#
# How to use:
# Step 1:
#
# First, go to module JENS009_ANIMATION
# You have to define your animation here and add the necessary information in
# each definition.
# The template for the list is:
# ANIMATION_NAME = [Start x, Start y, End x, End y, Time, Priority,
#                    File name, Sound, Sound file name]
#  Start x - Starting X of Picture When Shown
#  Start y - Starting Y of picture when Shown
#  Ending x - Ending X of Picture when Shown
#  Ending x - Ending Y of Picture when Shown
#  Time- # of Frames before Picture is removed
#  Priority- true/false, True is above everything, false is below windows
#  File Name- Picture File Name found in Graphics/Pictures
#  Sound- true/false, When true, play sound file name. When false, don't play
#        anything.
#  Sound File Name- File Name of Sound effect. Only place something here if s
#                    sound is true
# Step 2:
#
# Press Ctrl F and find SkillCheck
# 1. Copy and paste these lines:
#    when 1
#    return @spriteset.call_picture(JENS009_ANIMATION::TEST)
# 2.Change the 1 to the skill id of your choice
# 3.and Change TEST to the name of the animation you want to play from
#  JENS009_ANIMATION module
#
# Step 3:
#
# Press Ctrl F and find CUTIN_WAIT
# 1. Copy and Paste these lines:
#    when 1
#    return JENS009_ANIMATION::TEST[4]
# 2. Change 1 to skill id of your choice
# 3. change TEST to animation name of your choice
# IMPORTANT: Don't change the number 4
#
# You're all set.
#=========================================================================




module JENS009_ANIMATION
  # Template
  #NAME = [Start x, Start y, End x, End y, Time, High Priority, File Name,
  #Play sound, Sound File name]
 
  TEST = [0,  -15,  0,  -100, 80, false, "sky-cut", true, "Absorb1"]
  TEST_TWO= [0,  -15,  0,  -100, 50, false, "rutee-cutin", false]
 
end

class Scene_Battle < Scene_Base
#=====================================
# Scene_Battle Edit
#====================================
#====================================
# Define cutin_skill_check
# Description: Checks the skill id of activated skill
# if the skill id is present, play the cut in
#------------------------------------
# SKILL CHECK
#====================================
  def cutin_skill_check(skill_id)
    case skill_id
    when 1
      return @spriteset.call_picture(JENS009_ANIMATION::TEST)
    when 2
      return @spriteset.call_picture(JENS009_ANIMATION::TEST_TWO)
     
    end
  end
#====================================
# Define cutin_wait(skill_id)
# Description: waits for x amount of frames depending on the value
#-------------------------------------
# CUTIN_WAIT
#=====================================
  def cutin_wait(skill_id)
    case skill_id
    when 1
      return JENS009_ANIMATION::TEST[4]
    when 2
      return JENS009_ANIMATION::TEST_TWO[4]     
     
    end
  end
#=================================================
#=================================================

# Start Scene_Battle Method Edits
  alias jens009_add_cutin_execute_action_skill execute_action_skill
 
#================================================
# define execute_action_skill
#==========================================
  def execute_action_skill
    skill = @active_battler.action.skill # Call Skill
    @help_window = Window_Help.new
    @help_window.set_text(skill.name)
    text = "Special!"
    @message_window.add_instant_text(text)
    cutin_skill_check(skill.id) #Find Skill id
    wait(cutin_wait(skill.id)) # Wait Until Cut in is finished.
    jens009_add_cutin_execute_action_skill # Call Original Method
    @help_window.dispose
  end
  # End of Method Edit
#================================================

end

#=================================================
# Spriteset_Battle edit
#================================================
class Spriteset_Battle
#=================================================
# Start method Edit
#=================================================
  alias jens009_create_pictures create_pictures
#==================================================
# Initialize Values
#===================================================
  def create_pictures
    @picture_time = 0
    jens009_create_pictures
  end

#=================================================
# Start Adding new methods
#==================================================
  def call_picture(cutin)
    @picture = Sprite.new
    # Picture Starting X and Y
    pic_x = cutin[0]
    pic_y = cutin[1]
    # Picture Ending X and Y
    pic_end_x = cutin[2]
    pic_end_y = cutin[3]
    @picture_time = cutin[4]
    # Picture Moving Rate by Time
    @moving_pic_x = (pic_end_x - pic_x)/ @picture_time
    @moving_pic_y = (pic_end_y - pic_y)/ @picture_time
    # Picture x and y increase by time
    plus_x = (pic_end_x - pic_x)% @picture_time
    plus_y = (pic_end_y - pic_y)% @picture_time
    # Get Picture
    @picture.bitmap = Cache.picture(cutin[6])
    @picture.x = pic_x  plus_x
    @picture.y = pic_y  plus_y
    # Picture's z (priority)
    @picture.z = 1
    # If High Priority, Show picture above everything else
    @picture.z = 1000 if cutin[5]
    @picture.visible = true
    # If Sound is true
    if cutin[7] == true
    # Play Sound Effect
    Audio.se_play("Audio/SE/"  cutin[8])
    end
  end
#==========================
# update Method edit
#=========================
  alias jens009_update_picture update
  def update
    jens009_update_picture
    update_cut_in if @picture_time > 0
  end
#========================
# Add new update method
#======================
  def update_cut_in
    # Decrease Time
    @picture_time -= 1
    # Move Picture
    @picture.x  = @moving_pic_x
    @picture.y  = @moving_pic_y
    # If time = 0, dispose of picture
    if @picture_time == 0
      @picture.dispose
    end
  end
#=====================
# End Method Edits
#====================
end
#===================
# End Class Edit
#================


Dernière édition par Dark Raviel le Sam 20 Mar 2010 - 14:24, édité 4 fois
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
lecode234
Citadin Lv.7
Citadin Lv.7
lecode234


Masculin Age : 27
Inscrit le : 09/01/2010
Messages : 219

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 13:51

Newbee:
"Je suis newbee et je sais vraiment pas ce qui veut dire "Skill cut scene" et a quoi il sert..."

S'il te plaie pour éviter ce genre de post dans ce sujet essaie au moins de faire un courte description car c'est pas tout le monde qui utilise le SBS et franchement...Quelqu'un ne mangera pas dans un plat sans savoir ce qu'il y'a a l'intérieure.
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 14:06

La cut scene c'est une scene animative dans le combat.
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
Zangther
Maître des Duels
Maître des Duels
Zangther


Masculin Age : 31
Inscrit le : 29/07/2009
Messages : 7840

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 14:06

Ce n'est pas une cut scene ne plus xD
Au départ je me disais yeah je vais enfin pouvoir faire des vraies cut scenes en event dans le SBS. Mais en fait c'est qu'un affichage de picture...
Revenir en haut Aller en bas
lecode234
Citadin Lv.7
Citadin Lv.7
lecode234


Masculin Age : 27
Inscrit le : 09/01/2010
Messages : 219

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 14:13

Citation :
La cut scene c'est une scene animative dans le combat.
j'appelle pas ca une description O_o.
Dans quelle type de combat ect....?
C'est comme ci tu n'as pas de plaisir a partager ce script.
Edit: Zang t'inquiète pas t'y arrivera un jour!
Avec de la persévérance et du dévouement è_é
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 14:26

Si tu regarde les instruction y a marqué basé pour le tankentei sbs...
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
lecode234
Citadin Lv.7
Citadin Lv.7
lecode234


Masculin Age : 27
Inscrit le : 09/01/2010
Messages : 219

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 14:35

Citation :
Jens009's Cut-In Animation
# Version 1.1
# - base from Tanketai
SBS http://rpgex.sakura.ne.jp/home/
# Log:
# Verison 1.1
là?
Non je vois pas "basé pour takentai sbs"
je vois "base from Tanketai" qui est bien sur en englais mais quand meme comprehensible^^

je continu et là je vois ceci et je ne comprend vraiment rien:

Citation :
Vous devez définir les animations ici et y ajouter les renseignements nécessaires
# à chaque animations.
# Le gabarit est :
# ANIMATION_NAME =

le mieu Dark raviel c'est de faire toi meme dans propre description dans le premier post =)
Tout le monde comprendra^^
PS:En plus dans les regle c'est marquer:
Citation :
- Une explication de ce que fais le script
Spoiler:
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 16:46

C'est pas enfreindre les règles ca...
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
Doddy
Citadin Lv.7
Citadin Lv.7
Doddy


Masculin Age : 37
Inscrit le : 12/02/2010
Messages : 204

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeVen 19 Mar 2010 - 16:55

Vous-vous prenez la tête pour de la merde (pardonnez l'expression).

Sinon je connais ce script et il n'est pas mal du tout.
Revenir en haut Aller en bas
lecode234
Citadin Lv.7
Citadin Lv.7
lecode234


Masculin Age : 27
Inscrit le : 09/01/2010
Messages : 219

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 12:24

Dark tu n'aide pas vraiment les gens.C'est pourtant le but d'un partage.
Peut être que c'est moi seul que tu n'aide pas xD
Peut etre que tout le monde comprend ce que le script fait.
Revenir en haut Aller en bas
Zangther
Maître des Duels
Maître des Duels
Zangther


Masculin Age : 31
Inscrit le : 29/07/2009
Messages : 7840

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 12:34

Je viens d'essayer de coller le code dans RPG maker et il s'avère qu'il est tout décalé, tu pourais le reposter correctement ? merci
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 13:50

J'ai édité mais le forum remet en retour a la ligne quand meme.
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
Zangther
Maître des Duels
Maître des Duels
Zangther


Masculin Age : 31
Inscrit le : 29/07/2009
Messages : 7840

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 14:15

Ca eut dire que ta source est naze.
Tu devrais trouver un autre endroit.
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 14:25

Quand j'edite ca l affiche comme il devrait etre on envoie et ca bug alors bon vos modifications, evitez les la prochaine fois.
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
Zangther
Maître des Duels
Maître des Duels
Zangther


Masculin Age : 31
Inscrit le : 29/07/2009
Messages : 7840

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 14:29

...

La il est bien.
TU vois suffisait de recoller le code.
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 14:38

Non il est pas bien regarde les commentaires au début.
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
Zangther
Maître des Duels
Maître des Duels
Zangther


Masculin Age : 31
Inscrit le : 29/07/2009
Messages : 7840

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 14:43

Si je viens de vérifier, il se copie correctement dans RPG maker.
Revenir en haut Aller en bas
Dark Raviel
Croisé Lv.14
Croisé Lv.14
avatar


Masculin Age : 34
Inscrit le : 03/03/2009
Messages : 1141

[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitimeSam 20 Mar 2010 - 15:09

Bon ben tant mieux alors ^^
Revenir en haut Aller en bas
http://aigledor1989.forumpro.fr/forum.htm
Contenu sponsorisé




[VX] Animation Skill Cut Scene Empty
MessageSujet: Re: [VX] Animation Skill Cut Scene   [VX] Animation Skill Cut Scene Icon_minitime

Revenir en haut Aller en bas
 

[VX] Animation Skill Cut Scene

Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
RPG Maker VX :: Entraide :: Scripts :: Scripts VX - RGSS2 :: Combat-
Créer un forum | ©phpBB | Forum gratuit d'entraide | Signaler un abus | Forum gratuit