collapse collapse

 Community


 User Info




Willkommen Gast. Bitte einloggen oder registrieren.

 Partnerseiten

rpgvx.net

Das Forum ist offline

Autor Thema: Equipments on Screen  (Gelesen 1495 mal)

Rafidelis

  • Gast
Equipments on Screen
« am: Januar 08, 2009, 18:49:03 »
Equipment on Screen
By : Rafidelis

About the script:

This script shows their equipment on the screen, you can choose between using and not using an image of substance.
The 3 types available for use, you must TYPE in the mo0dificar variable, you must use from 1 to 3 (see the pictures and to learn how each type)






Features:
[/size]

You can show the 5 equipment (gun, shield, helmet, armor and accessories) to show some and not so follow the instructions in the Script
You may or may not use images if you want you can use one of the 3 images below, or create your custom.
And remembering that already own script turns the image if you choose the type 2 ^ ^

ScreenShots

TYPE 1



TYPE 2



TYPE 3


module Rafidelis_Equipamentos   
#==============================================================================|
# S T A R T   O F  C O N F I G U R A T I O N S    |    
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|


# Leave at True to show the icon Equipment | False not to Show |
MOSTRAR_ARMA = true
# Leave at True to show the icon of the Shield | False not to Show |
MOSTRAR_ESCUDO = true
# Leave at True to show the icon of the helmet | False not to Show |
MOSTRAR_ELMO = true
# Leave at True to show the icon of Armor | False not to Show |
MOSTRAR_ARMADURA = true
# Usar Imagem de fundo?
  # Leave at True to show the icon of Acessories| False not to Show |
MOSTRAR_ACESSORIO = true
# Opacity of Windows that will show the icons of Equipment
OPACIDADE = 0
# Use background image?
USAR_IMG = true
# If above is true, what is the name of the image being used?
IMG_NOME = "Equip2"

#==============================================================================|
# D I S P L A Y  T Y P E |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# 1 to display the icons horizontally on top of the SCREEN |
#------------------------------------------------- -----------------------------|
# 2 To view the icons at the left corner of VERTICAL SCREEN |
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# 3 To view the icons horizontally in the bottom of the SCREEN |
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# IF YOU ARE NOT USING A number 1 or 2 or 3 The script will generate an error
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
TIPO = 2
  end 
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 

class Rafidelis_Equip_Window < Window_Base 
  def initialize(x,y,n)
@n = n 
@x = x
@y = y
super(x,y,56,56)
refresh
  end
end
#==============================================================================|
# R E F R E S H
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
def refresh
  self.contents.clear
  @actor = $game_party.members[0]
  draw_item_name(@actor.equips[@n], 0, 0)
end
#==============================================================================|
# S T A R T O F   C L A S S S C E N E   M A P   |
#------------------------------------------------------------------------------|

class Scene_Map
  include Rafidelis_Equipamentos
  alias rafidelis_start start
  alias rafidelis_terminate terminate
  alias rafidelis_update update
 
  def start
#-------------------------------------------------------------------------------
   @Window_Equip = nil
if TIPO == 1  
  @Window_Equip = Rafidelis_Equip_Window.new(0,0,0)
elsif TIPO == 2  
  @Window_Equip = Rafidelis_Equip_Window.new(0,0,0)
elsif TIPO == 3
  @Window_Equip = Rafidelis_Equip_Window.new(0,360,0)
end
if MOSTRAR_ARMA == true
  @Window_Equip.visible = true
else
  @Window_Equip.visible = false
end
@Window_Equip.opacity = OPACIDADE
#-------------------------------------------------------------------------------
@Window_Equip2 = nil
if TIPO == 1  
  @Window_Equip2 = Rafidelis_Equip_Window.new(56,0,1)
elsif TIPO == 2  
  @Window_Equip2 = Rafidelis_Equip_Window.new(0,56,1)
  elsif TIPO == 3
  @Window_Equip2 = Rafidelis_Equip_Window.new(56,360,1) 
end
if MOSTRAR_ESCUDO == true
  @Window_Equip2.visible = true
else
  @Window_Equip2.visible = false
end
@Window_Equip2.opacity = OPACIDADE
#-------------------------------------------------------------------------------
@Window_Equip3 = nil
if TIPO == 1  
  @Window_Equip3 = Rafidelis_Equip_Window.new(56*2,0,2)
elsif TIPO == 2  
  @Window_Equip3 = Rafidelis_Equip_Window.new(0,56*2,2)
  elsif TIPO == 3
  @Window_Equip3 = Rafidelis_Equip_Window.new(56*2,360,2) 
end    
if MOSTRAR_ELMO == true
  @Window_Equip3.visible = true
else
  @Window_Equip3.visible = false
end
@Window_Equip3.opacity = OPACIDADE
#-------------------------------------------------------------------------------
@Window_Equip4 = nil
if TIPO == 1  
  @Window_Equip4 = Rafidelis_Equip_Window.new(56*3,0,3)
elsif TIPO == 2  
  @Window_Equip4 = Rafidelis_Equip_Window.new(0,56*3,3)
  elsif TIPO == 3
  @Window_Equip4 = Rafidelis_Equip_Window.new(56*3,360,3) 
end
if MOSTRAR_ARMADURA == true
  @Window_Equip4.visible = true
else
  @Window_Equip4.visible = false
end
@Window_Equip4.opacity = OPACIDADE
#-------------------------------------------------------------------------------
@Window_Equip5 = nil
if TIPO == 1  
  @Window_Equip5 = Rafidelis_Equip_Window.new(56*4,0,4)
elsif TIPO == 2  
  @Window_Equip5 = Rafidelis_Equip_Window.new(0,56*4,4)
  elsif TIPO == 3
  @Window_Equip5 = Rafidelis_Equip_Window.new(56*4,360,4) 
end
if MOSTRAR_ACESSORIO == true
  @Window_Equip5.visible = true
else
  @Window_Equip5.visible = false
end
@Window_Equip5.opacity = OPACIDADE
if USAR_IMG
  if TIPO == 1
@bg = Sprite.new
@bg.bitmap = Cache.picture(IMG_NOME)
@bg.x = 1
@bg.y = 1
end
  end
  if TIPO == 2
@bg = Sprite.new
@bg.bitmap = Cache.picture(IMG_NOME)
@bg.x = 54
@bg.y = 1
@bg.angle = 270.5
  end
  if TIPO == 3
@bg = Sprite.new
@bg.bitmap = Cache.picture(IMG_NOME)
@bg.x = 3
@bg.y = 360   
end
#-------------------------------------------------------------------------------
rafidelis_start
  end
 
  def terminate
@Window_Equip.dispose
@Window_Equip2.dispose
@Window_Equip3.dispose
@Window_Equip4.dispose
@Window_Equip5.dispose
rafidelis_terminate
  end
 
def update
@Window_Equip.update
@Window_Equip2.update
@Window_Equip3.update
@Window_Equip4.update
@Window_Equip5.update
rafidelis_update
  end
end
#=================================================================
# www.ReinoRpg.com
#=================================================================


Credits:

www.ReinoRpg.com
Brazilian site where I "create" in rpgMaker ^ ^

Re: Equipments on Screen

Offline Snake

  • Moderator
  • VX-Kenner
  • ***
  • Beiträge: 538
  • Blubb, der Mod den keiner kennt! XD
Re: Equipments on Screen
« Antwort #1 am: Januar 08, 2009, 18:56:54 »
Also very nice.
Especially useful in a ABS-Based Game.
Zitat
Snake 23:50

ich lads schnell


Silvanus 23:50

bist ne geile sau
:)

Re: Equipments on Screen

Rafidelis

  • Gast
Re: Equipments on Screen
« Antwort #2 am: Januar 08, 2009, 19:03:39 »
Ho Thankz for comment^^

Re: Equipments on Screen

Offline Sk!p

  • Foren-ReArchitekt
  • VX-Großmeister
  • *****
  • Beiträge: 975
  • Mit(t)arbeiter schreibt man mit einem T =P
    • Foren-ReArchitekt
Re: Equipments on Screen
« Antwort #3 am: Januar 08, 2009, 23:36:31 »
Yes Looks Very Nice.
I Think in Games Using a Action Fighting System, it would be Very
Useful for Showing ur important Equip for Battles.

Good Work...

Sk!p

Klischee Antagonist! | Back From Hell To Conquer The World!


Re: Equipments on Screen

Offline Razael

  • Helfende Hand.
  • Mr. MACK-Tile
  • ***
  • Beiträge: 282
Re: Equipments on Screen
« Antwort #4 am: Januar 08, 2009, 23:54:37 »
Very very nice, it looks good.
By the way how came you to us??
Your the second English "Speaking" Guy here XD
The other is Woratana ^^
Nimm das Leben wies kommt und Geniesse die guten Momente und Lerne aus den Schlechten.
Spoiler for Hiden:
Disorder | Rating
Paranoid: Low
Schizoid: Low
Schizotypal: Low
Antisocial: Low
Borderline: Low
Histrionic: Low
Narcissistic: Low
Avoidant: Low
Dependent: Low
Obsessive-Compulsive: Low

URL of the test: http://www.4degreez.com/misc/personality_disorder_test.mv
URL for more info: http://www.4degreez.com/disorder/index.html
Spoiler for Hiden:
Take the Magic: The Gathering 'What Color Are You?' Quiz.[/div][!--SPOILER DIV--][/div][!--SPOILER DIV--]
Spoiler for Hiden:
Zu 30 % sind Sie: Du bist ein Phönix!
Du bist Jahrtausende alt und weise.
Test[!--SPOILER DIV--][/div][!--SPOILER DIV--]
Spoiler for Hiden:
Zu 69 % sind Sie: Gratulation! Deine emoti

Re: Equipments on Screen

Offline OceanBlue

  • Palmenfan
  • VX-Großmeister
  • *****
  • Beiträge: 822
  • Back from the Dead
Re: Equipments on Screen
« Antwort #5 am: Januar 09, 2009, 16:28:17 »
I've really been waiting for something like this, thanks for sharing it^^


Re: Equipments on Screen

Rafidelis

  • Gast
Re: Equipments on Screen
« Antwort #6 am: Januar 10, 2009, 12:37:34 »
Um, I'm Brazilian but I speak in English, because I am not mistaken this forum is not French?
I came up here .... I do not remember more xD

And thanks to all raise for the script = D

Re: Equipments on Screen

Offline Stef-san

  • Eventmeister
  • ***
  • Beiträge: 307
    • Space Live
Re: Equipments on Screen
« Antwort #7 am: Januar 12, 2009, 17:05:49 »
awww. looks very nice. thx again for a good script :)
I like your scripts ^-^

current projects
Arco Iris - A Fading World
School Days (Co-Project with Klex)

Re: Equipments on Screen

Offline mICHi

  • Eventmeister
  • ***
  • Beiträge: 390
  • the cake is a lie.
    • http://www.last.fm/user/mICHigo/
Re: Equipments on Screen
« Antwort #8 am: Januar 24, 2009, 03:36:59 »
nice script, i like it.
maybe i should use it someday in any of my projects ;)

« Letzte Änderung: Januar 24, 2009, 03:41:59 von mICHi »


Re: Equipments on Screen

Offline PalaserGmbH

  • RTP-Mapper
  • *
  • Beiträge: 33
Re: Equipments on Screen
« Antwort #9 am: Januar 26, 2009, 15:27:49 »
Thanks for this Script!I search for this one,for days :D
*Sry,i know,my English is...terrible*
« Letzte Änderung: Januar 26, 2009, 15:29:15 von PalaserGmbH »
Just cause, it´s real!

 


 Bild des Monats

rooftop party

Views: 3583
By: papilion

 Umfrage

  • Wer soll das BdM gewinnen?
  • Dot Kandidat 1
  • 3 (25%)
  • Dot Kandidat 2
  • 1 (8%)
  • Dot Kandidat 3
  • 2 (16%)
  • Dot Kandidat 4
  • 0 (0%)
  • Dot Kandidat 5
  • 6 (50%)
  • Stimmen insgesamt: 12
  • View Topic

 Schnellsuche





SimplePortal 2.3.3 © 2008-2010, SimplePortal