RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Mission Summary

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 74
RMRK Junior
Hi everybody , i show my first script on RGSS : ]
Mission Summary ! yah ! this is it !
Script :
Code: [Select]
#---------------------------------------------------------------------------#
#The script made by Fireblade for the game FireBlade Revenge
#Contakt -
#GG : 11150600
#E-mail :zuzia98_98@o2.pl
#---------------------------------------------------------------------------#
###################################
#Window_mission
##################################
class Window_mission1 < Window_Base
 def initialize(x = 0, y = 85, width = 261, height = 272)
super(x, y, width, height)
  self.windowskin = RPG::Cache.windowskin("fantasy_windowskin.png")#name windowskin
    self.contents = Bitmap.new(width - 32, height - 32)
      self.contents.font.name = "Tahoma" # name used font
        self.contents.font.size = 18 # size font
          self.back_opacity = 160
refresh
 end
 def refresh
   self.contents.clear
nazwatekstuprzedmiotow = ("Collected items  :")
nazwapointow = ("Extra point  :  :")
nazwauzytych = ("Used Items  :")
nazwaczasu = ("Time Game   :")
fireispola = $game_variables[1]
fireblade = $game_variables[2]
mission = $game_variables[3]
czas = $game_variables[4]
czasek = $game_variables[5]
self.contents.draw_text(15,59,125,135,(nazwatekstuprzedmiotow), 2)
self.contents.draw_text(15,59,125,100,(nazwapointow), 2)
self.contents.draw_text(15,59,125,65,(nazwauzytych), 2)
self.contents.draw_text(15,59,125,170,(nazwaczasu), 2)
self.contents.draw_text(15,59,300,135, fireispola.to_s ,1 ) 
self.contents.draw_text(15,59,300,100, fireblade.to_s ,1 )
self.contents.draw_text(15,59,300,65, mission.to_s ,1 )
self.contents.draw_text(5,59,300,170, czasek.to_s ,1 )
self.contents.draw_text(20,59,300,170, czas.to_s ,1 )
self.contents.draw_text(12,59,300,170, ":",1)
if fireispola < 3
  self.contents.draw_text(15,42,185,135," = E", 2)
else
  if fireispola < 5
      self.contents.draw_text(15,42,185,135," = D", 2)
    else
      if fireispola < 10
        self.contents.draw_text(15,42,185,135," = C", 2)   
      else
        if fireispola < 15
            self.contents.draw_text(15,42,185,135," = B", 2)
          else
            if fireispola < 20
                self.contents.draw_text(15,42,185,135," = A", 2)
              else
                if fireispola < 25
                    self.contents.draw_text(15,42,185,135," = S", 2)
               end
            end
          end
        end
      end
    end
if fireblade < 3
  self.contents.draw_text(15,59,185,135," = E", 2)
else
  if fireblade < 5
      self.contents.draw_text(15,59,185,135," = D", 2)
    else
      if fireblade < 10
          self.contents.draw_text(15,59,185,135," = C", 2)   
        else
          if fireblade < 15
              self.contents.draw_text(15,59,185,135," = B", 2)
            else
              if fireblade < 20
                  self.contents.draw_text(15,59,185,135," = A", 2)
                else
                  if fireblade < 25
                      self.contents.draw_text(15,59,185,135," = S", 2)
              end
            end
          end
        end
      end
    end
if mission < 3
  self.contents.draw_text(15,25,185,135," = E", 2)
else
  if mission < 5
      self.contents.draw_text(15,25,185,135," = D", 2)
    else
      if mission < 10
        self.contents.draw_text(15,25,185,135," = C", 2)   
      else
        if mission < 15
            self.contents.draw_text(15,25,185,135," = B", 2)
          else
            if mission < 20
                self.contents.draw_text(15,25,185,135," = A", 2)
              else
                if mission < 25
                    self.contents.draw_text(15,25,185,135," = S", 2)
                end
              end
            end
          end
        end
      end
if czas < 3
  self.contents.draw_text(15,76,185,135," = E", 2)
else
  if czas < 5
      self.contents.draw_text(15,76,185,135," = D", 2)
    else
      if czas < 10
        self.contents.draw_text(15,76,185,135," = C", 2)   
      else
        if czas < 15
            self.contents.draw_text(15,76,185,135," = B", 2)
          else
            if czas < 20
                self.contents.draw_text(15,76,185,135," = A", 2)
              else
                if czas < 25
                    self.contents.draw_text(15,76,185,135," = S", 2)
                  end
                end
              end
            end
          end
        end
      end
    end
class Window_mission2 < Window_Base
 def initialize(x = 0, y = 0, width = 647, height = 85)
   super(x, y, width, height)
   self.windowskin = RPG::Cache.windowskin("fantasy_windowskin.png")#name windowskin
   self.contents = Bitmap.new(width - 32, height - 32)
   self.contents.font.name = "Tahoma" # Name font
   self.contents.font.size = 18 # size font
   self.back_opacity = 160
   refresh
 end
 def refresh
   self.contents.clear
   self.contents.draw_text(150,0, 188,45, "Mission complete !", 2)
   end
 end
class Window_mission3 < Window_Base
 def initialize(x = 263, y = 89, width = 375, height = 395)
   super(x, y, width, height)
   self.windowskin = RPG::Cache.windowskin("fantasy_windowskin.png")#name windowskin
   self.contents = Bitmap.new(width - 32, height - 32)
   self.contents.font.name = "Tahoma" # name font
   self.contents.font.size = 18 # size fonts
   self.back_opacity = 160
   refresh
 end
 def refresh
   self.contents.clear
self.contents.draw_text(50,0,100,50,"Used Teame :", 1)
   for i in 0...$game_party.actors.size
      x = 64
      y = i * 116
test = $game_party.actors[i]
draw_actor_graphic(test, x - 40, y + 80)
draw_actor_name(test, x - 40, y + 80)
draw_actor_hp(test, x - 40, y + 100)
   end
  end
end
class Window_mission4 < Window_Base
 def initialize(x = 0, y = 359, width = 263, height = 119)
   super(x, y, width, height)
   self.windowskin = RPG::Cache.windowskin("fantasy_windowskin.png")#name windowskin
   self.contents = Bitmap.new(width - 32, height - 32)
   self.contents.font.name = "Tahoma" # name used font
   self.contents.font.size = 18 # size font
   self.back_opacity = 160
   refresh
 end
 def refresh
   self.contents.clear
self.contents.draw_text(60,370,100,50,":]", 1)
 end
end
#==============================================================================
# ** Scene_podsumowanie
#------------------------------------------------------------------------------
class Scene_podsumowanie
def initialize(podsumowanie_index = 0)
    @podsumowanie_index = podsumowanie_index
end
  def main
    @okno_window = Window_mission2.new
    @okno_window.x = 0
    @okno_window.y = 0
    @okienko_window = Window_mission1.new
    @okienko_window.x = 0
    @okienko_window.y = 86
    @okos_window = Window_mission3.new
    @okos_window.x = 263
    @okos_window.y = 86
    @okieneczko_window = Window_mission4.new
    @okieneczko_window.x = 0
    @okieneczko_window.y = 359
    Graphics.transition
    loop do
      Graphics.update
      Input.update
      update
      if $scene != self
        break
      end
    end
    Graphics.freeze
    @okno_window.dispose
    @okienko_window.dispose
    @okos_window.dispose
    @okieneczko_window.dispose
  end
  def update
    @okno_window.update
    @okienko_window.update
    @okos_window.update
    @okieneczko_window.update
      if @okienko_window.active
      update_command
      return
    end
  end
  def update_command
    if Input.trigger?(Input::C)
      $game_system.se_play($data_system.cancel_se)
      $scene = Scene_Map.new
      return
        end
      end
    end
Works with RPG Maker XP
If you have a problem with script, write this in topic.
« Last Edit: November 06, 2010, 03:40:46 PM by FireBlade »

**
Rep:
Level 75
Crisis Core
This script don't shows me everyone actors, but it shows me three actors. We haven't your custom windowskin and we can't close this window. Later I help you. See you next time. xD

**
Rep:
Level 75
Crisis Core
Script:
Code: [Select]
#---------------------------------------------------------------------------#
# The script made by Fireblade for the game FireBlade Revenge
# Contakt -
# GG : 11150600
# E-mail :zuzia98_98@o2.pl
#---------------------------------------------------------------------------#
###################################
#Window_mission
##################################
class Window_mission1 < Window_Base
  def initialize(x = 0, y = 85, width = 261, height = 272)
    super(x, y, width, height)
      self.contents = Bitmap.new(width - 32, height - 32)
      self.contents.font.name = "Tahoma" # name used font
      self.contents.font.size = 18 # size font
      self.back_opacity = 160
    refresh
  end
 
  def refresh
   self.contents.clear
nazwatekstuprzedmiotow = ("Collected items  :")
nazwapointow = ("Extra point  :  :")
nazwauzytych = ("Used Items  :")
nazwaczasu = ("Time Game   :")
fireispola = $game_variables[1]
fireblade = $game_variables[2]
mission = $game_variables[3]
czas = $game_variables[4]
czasek = $game_variables[5]
self.contents.draw_text(15,59,125,135,(nazwatekstuprzedmiotow), 2)
self.contents.draw_text(15,59,125,100,(nazwapointow), 2)
self.contents.draw_text(15,59,125,65,(nazwauzytych), 2)
self.contents.draw_text(15,59,125,170,(nazwaczasu), 2)
self.contents.draw_text(15,59,300,135, fireispola.to_s ,1 )
self.contents.draw_text(15,59,300,100, fireblade.to_s ,1 )
self.contents.draw_text(15,59,300,65, mission.to_s ,1 )
self.contents.draw_text(5,59,300,170, czasek.to_s ,1 )
self.contents.draw_text(20,59,300,170, czas.to_s ,1 )
self.contents.draw_text(12,59,300,170, ":",1)
if fireispola < 3
  self.contents.draw_text(15,42,185,135," = E", 2)
else
  if fireispola < 5
      self.contents.draw_text(15,42,185,135," = D", 2)
    else
      if fireispola < 10
        self.contents.draw_text(15,42,185,135," = C", 2)   
      else
        if fireispola < 15
            self.contents.draw_text(15,42,185,135," = B", 2)
          else
            if fireispola < 20
                self.contents.draw_text(15,42,185,135," = A", 2)
              else
                if fireispola < 25
                    self.contents.draw_text(15,42,185,135," = S", 2)
               end
            end
          end
        end
      end
    end
if fireblade < 3
  self.contents.draw_text(15,59,185,135," = E", 2)
else
  if fireblade < 5
      self.contents.draw_text(15,59,185,135," = D", 2)
    else
      if fireblade < 10
          self.contents.draw_text(15,59,185,135," = C", 2)   
        else
          if fireblade < 15
              self.contents.draw_text(15,59,185,135," = B", 2)
            else
              if fireblade < 20
                  self.contents.draw_text(15,59,185,135," = A", 2)
                else
                  if fireblade < 25
                      self.contents.draw_text(15,59,185,135," = S", 2)
              end
            end
          end
        end
      end
    end
if mission < 3
  self.contents.draw_text(15,25,185,135," = E", 2)
else
  if mission < 5
      self.contents.draw_text(15,25,185,135," = D", 2)
    else
      if mission < 10
        self.contents.draw_text(15,25,185,135," = C", 2)   
      else
        if mission < 15
            self.contents.draw_text(15,25,185,135," = B", 2)
          else
            if mission < 20
                self.contents.draw_text(15,25,185,135," = A", 2)
              else
                if mission < 25
                    self.contents.draw_text(15,25,185,135," = S", 2)
                end
              end
            end
          end
        end
      end
if czas < 3
  self.contents.draw_text(15,76,185,135," = E", 2)
else
  if czas < 5
      self.contents.draw_text(15,76,185,135," = D", 2)
    else
      if czas < 10
        self.contents.draw_text(15,76,185,135," = C", 2)   
      else
        if czas < 15
            self.contents.draw_text(15,76,185,135," = B", 2)
          else
            if czas < 20
                self.contents.draw_text(15,76,185,135," = A", 2)
              else
                if czas < 25
                    self.contents.draw_text(15,76,185,135," = S", 2)
                  end
                end
              end
            end
          end
        end
      end
    end
class Window_mission2 < Window_Base
 def initialize(x = 0, y = 0, width = 647, height = 85)
   super(x, y, width, height)
   self.contents = Bitmap.new(width - 32, height - 32)
   self.contents.font.name = "Tahoma" # Name font
   self.contents.font.size = 18 # size font
   self.back_opacity = 160
   refresh
 end
 def refresh
   self.contents.clear
   self.contents.draw_text(150,0, 188,45, "Mission complete !", 2)
   end
 end
class Window_mission3 < Window_Base
 def initialize(x = 263, y = 89, width = 375, height = 395)
   super(x, y, width, height)
   self.contents = Bitmap.new(width - 32, height - 32)
   self.contents.font.name = "Tahoma" # name font
   self.contents.font.size = 18 # size fonts
   self.back_opacity = 160
   refresh
 end

  def refresh
    self.contents.clear
    self.contents.draw_text(50,0,100,50,"Used Teame :", 1)
    for i in 0...$game_party.actors.size
      x = 64
      y = i * 60
      test = $game_party.actors[i]
      draw_actor_graphic(test, x - 40, y + 80)
      draw_actor_name(test, x, y + 40)
      draw_actor_hp(test, x, y + 60)
    end
  end
end

#===============================================================================
# Scene xD
#===============================================================================
class Window_mission4 < Window_Base
  def initialize(x = 0, y = 359, width = 263, height = 119)
    super(x, y, width, height)
      self.contents = Bitmap.new(width - 32, height - 32)
      self.contents.font.name = "Tahoma" # name used font
      self.contents.font.size = 18 # size font
      self.back_opacity = 160
    refresh
  end
   
#===============================================================================
#
#===============================================================================
  def refresh
    self.contents.clear
    self.contents.draw_text(60,370,100,50,":]", 1)
  end
end

#===============================================================================
# Scene xD
#===============================================================================
class Scene_podsumowanie
  def initialize(podsumowanie_index = 0)
    @podsumowanie_index = podsumowanie_index
  end

#===============================================================================
#
#===============================================================================
  def main
    @okno_window = Window_mission2.new
    @okno_window.x = 0
    @okno_window.y = 0
    @okienko_window = Window_mission1.new
    @okienko_window.x = 0
    @okienko_window.y = 86
    @okos_window = Window_mission3.new
    @okos_window.x = 263
    @okos_window.y = 86
    @okieneczko_window = Window_mission4.new
    @okieneczko_window.x = 0
    @okieneczko_window.y = 359
    Graphics.transition
    loop do
      Graphics.update
      Input.update
      update
      if $scene != self
        break
      end
    end
    Graphics.freeze
    @okno_window.dispose
    @okienko_window.dispose
    @okos_window.dispose
    @okieneczko_window.dispose
  end

#===============================================================================
#
#===============================================================================
  def update
    @okno_window.update
    @okienko_window.update
    @okos_window.update
    @okieneczko_window.update

    if @okienko_window.active
      update_command
      return
    end
  end

#===============================================================================
#
#===============================================================================
  def update_command
    if Input.trigger?(Input::C)
      $game_system.se_play($data_system.cancel_se)
      $scene = Scene_Map.new
      return
    end
  end
end

*
Rep: +0/-0Level 74
RMRK Junior
Thanx Crisis : D
« Last Edit: November 09, 2010, 06:09:24 PM by FireBlade »