Vai al contenuto

Rilevato Ad-Blocker. Per favore disabilita il tuo adblocker quando navighi su makerando.com - Non c'è nessun annuncio invasivo.

Mon

Utente
  • Numero contenuti

    424
  • Iscritto

  • Ultima visita

  • Days Won

    28

Mon last won the day on December 28 2023

Mon had the most liked content!

Su Mon

  • Rank
    Advanced Member
  • Compleanno 12/01/1990

Contatti

  • Indirizzo Web
    https://saggiopercaso.wordpress.com/

Informazioni

  • Sesso
    Maschio
  • Location
    Italia(Napoli)

Making Related

  • Ruolo
    Storyboarder
  • Secondo Ruolo
    Eventer
  • Tool Preferito
    RPGMaker XP

Visite recenti

6874 visite nel profilo

Single Status Update

Vedi tutti i stati di Mon

  1. Ryuga

    allora ti spiego,

     

    Nel Game_Party al rigo 73

    def max_battle_members
        return 1
      end

     

    ho modificato il return per avere solo un personaggio nel combattimento.

     

    un file di storage per i pg mi permette di settare i pg al seuito da 1 a quanti ne voglio

     

    =begin
    #===============================================================================
    Title: Battle Swap
    Author: Shiggy
    Date: Jan 24, 2015
    --------------------------------------------------------------------------------
    ** Change log
    Jan 24, 2015
    - Initial release of the header to the script
    --------------------------------------------------------------------------------
    ** Terms of Use
    * Free to use in non-commercial projects
    * Commercial uses
      * Ask permission
      * This is a small script so I won't charge for it
      * I may ask a free copy of your game
      * I may ask for other stuff like the right to use some assets
    * Will do bug fixes
    * Compatibility patches may be requested but no guarantees
    * Please report any compatibility issues anyway
    * Features may be requested but no guarantees, especially if it is non-trivial
    * Credits to Shiggy in your project
    * Preserve this header
    * Be nice to other people ( I don't want mean people to use my scripts)

    --------------------------------------------------------------------------------
    ** Description

    This script let you instantly swap battle members with party memebers that
    are not in the fight.

    --------------------------------------------------------------------------------
    ** Usage

    Just use the swap command while you are in battle, you can change the name
    of the command to something else in the Vocab module
    --------------------------------------------------------------------------------
    ** Installation

    Place this script below Materials and above Main

    #===============================================================================
    =end

    module Vocab
     
      Swap = "Cambia"
     
    end

    class Window_ActorCommand < Window_Command
     
      alias battle_swap_make_command_list make_command_list
      def make_command_list
        battle_swap_make_command_list
        add_swap_command
      end
     
      def add_swap_command
        add_command(Vocab::Swap, :swap,swap?)
      end
     
      def swap?
        $game_party.all_members.size > $game_party.max_battle_members
      end
     
    end

    class Scene_Battle
     
      alias battle_swap_create_actor_command_window create_actor_command_window
      def create_actor_command_window
          battle_swap_create_actor_command_window
          @actor_command_window.set_handler(:swap,   method(:command_swap))    
      end
        
      def command_swap
        @actor_window.off_party
        @actor_window.set_handler(:ok, method(:on_swap_ok))
        @actor_window.set_handler(:cancel, method(:on_swap_cancel))
        select_actor_selection
      end
     
      def on_swap_ok
        
        $game_party.swap_order(BattleManager.actor.index,@actor_window.index+$game_party.max_battle_members)    
        BattleManager.actor.make_actions
        on_swap_cancel
      end
     
      def on_swap_cancel
        
        @actor_window.set_handler(:ok,     method(:on_actor_ok))
        @actor_window.set_handler(:cancel, method(:on_actor_cancel))
        @status_window.refresh
        @actor_window.hide
        @actor_command_window.activate
      end
     
    end  

    class Game_Party
      def off_members
        all_members-battle_members
      end
    end

    class Window_BattleStatus < Window_Selectable
     
      alias battle_swap_initialize initialize
      def initialize
        battle_swap_initialize
        @party = true
      end
     
      alias battle_swap_item_max item_max
      def item_max
        if @party
          battle_swap_item_max
        else
          $game_party.off_members.size
        end
      end
     
      alias battle_swap_draw_item draw_item
      def draw_item(index)
        if @party
          battle_swap_draw_item(index)
        else
          actor = $game_party.off_members[index]
          draw_basic_area(basic_area_rect(index), actor)
          draw_gauge_area(gauge_area_rect(index), actor)
        end
      end
     
      def off_party
        @party=false
      end
     
      def on_party
        @party=true
      end
     
    end

     

    e questo è lo script per lo scambio... considerando che questi sono gli unici cambiamenti ... come ricavo lo script che mi permette automaticamente quando un pg muore idi scambiarlo con uno dei 2 in riserva?

    1. Mon

      Mon

      Beh, bisognerebbe però trovare dove controlla il KO... ma ripeto che non sono esperto, XD, sto imparando giusto da qualche giorno questo tipo di cose, giusto per capire come funziona

    2. Ryuga

      Ryuga

      sai a chi posso chiedere? nel forum?

    3. Mon

      Mon

      Probabilmente MrSte, so che sta creando un gioco simil pokémon ed usa anche lui il VX... appunto tra gli ultimi messaggio c'è il suo progetto

×