Yet another Visual Equipment script!

[CENTER]Visual Equipment
version 2.2.31
update 14 februari 2007

Updates

New in version 2.2.X
Added: guill_trick_*: Compatible with tricks multi-equip

New in version 2.1.X
Added: Can now return false and [false]
Fixed: Not updating

version 2.0.X
Added: Now Compatible with N+ 2.X.X +

version 1.2.X
Added: Now possible to use other maps then Visual Equipment
Fixed: Unable to load bug
Fixed: Guillaume update bug
Fixed: Guillaume Weapon not showing bug
Demo: Added

version 1.1.X
Added: Guillaume777's script support
Added: Equipment in windows visible

Introduction
Today I strumbled over the internet looking fro some good Visual Equipment scripts, beacuse I was goign to make an only one. I stumbled on more then one script, so I studied them all. The two best by my meanings where those from Rataime and the one from Geso Chiku. However the lack on proper coding (not that I did that myself) and the methods outside objects (top-level methods) where bugging me... So, I started wrinting a new one, with features from both, and some from myself.

Features
  • Shows the players equipment on map and in windows
  • Initial body value possible (skin, eyes and hair)
  • Up to 5 types of equipment (visual). From weapons to accesoiry's
  • Shows NPC equipment on the map events if set
  • Compatible with Caterpillar and Squad Based Action Battle System
  • Compatible with Half Kaizer- and other different size-sprites
  • New coding, I hope easier set-up
  • Now also compatible with Guillaume777's script
  • Now also compatible with Tricksters script
  • Now also compatible with Netplay Plusâ €žÂ¢ 2.X.X

Screenshots
I did not made any screenshot yet.

Demo
Demo with Guillaume777's script. (2.1)

Script

[spoiler=Script]
[code]#==============================================================================
# â €“   Visual Equipment
#------------------------------------------------------------------------------
# Author  | Meâ €žÂ¢ / [email hidden]
# Version | 2.2.32
# Date    | 13 / 02 / 07 (DDMMYY)
# Credit  | Raitaime - Geso Chiku
#==============================================================================
#   â €“ ¼ New in version 2.2.X
#   - guill_trick_*: Compatible with tricks multi-equip
#
#   â €“ ¼ New in version 2.1.X
#   - Can now return false and [false]
#   - Fixed: Not updating
#
#   â €“ ¼ New in version 2.0.X
#   - Now Compatible with N+
#
#   â €“ ¼ New in version 1.2.X
#   - Now possible to use other maps then Visual Equipment
#   - Fixed: Unable to load bug
#   - Fixed: Guillaume update bug
#   - Fixed: Guillaume Weapon not showing bug
#
#   â €“ ¼ New in version 1.1.X
#   - Equipment visible in windows (using draw_actor_graphic)
#   - Compatible with Guillaume777's Multi-Slot script version 6.2.1
#
#==============================================================================
#
#   â €“ ¼ Instructions (updated: version 1.0.0)
#
#   Hello dear reader. Thank you for choosing my Visual Equipment
#   script, based on the originals by Raitaime and Geso Chiku.
#   This script contains new elements, and rewritten  code, and copied
#   code from the old scripts.
#
#------------------------------------------------------------------------------
#
#   â €“ ¼ What does this script:
#   - Shows the players equipment on map
#   - Initial body value possible (skin, eyes and hair)
#   - Up to 5 types of equipment. From weapons to accesoiry's
#   - Shows NPC equipment on the map events if set
#   - Compatible with Caterpillar and Squad Based Action Battle System
#   - Compatible with Half Kaizer- and other different size-sprites
#
#------------------------------------------------------------------------------
#
#   â €“ ¼ How to add your own graphics:
#   - Make or locate the Visual Equipment - folder which should be in Graphics
#   - You can choose to place your files here, or make submaps
#   - Scroll down for the Get_file method in module Visual Equipement
#   - Add a line like this: return ["FILENAME, HUE] if item_id = ID
#         where Filename is the filename between quotes without extension
#         Hue is the hue which the sprite should take (usually 0)
#         ID is the ID number of the weapon/armor
#   â €”
This is pretty cool but to make the visual equipment work dont I have to have "special" charsets for the items?
Nice Job ^^ If you make this compatible with Netplay Plus, I would love you.
I second that, With N+ would be great
Is there any way to add more? Because I'm using a multi equipment script and i have shoulderpads, and pants etc.
This WILL be for Netplay Plusâ„¢, but won't be available for awhile.
[QUOTE=Italianstal1ion]Is there any way to add more? Because I'm using a multi equipment script and i have shoulderpads, and pants etc.[/QUOTE]

I am writing an additon for the Multi-Equipment script. :)
But Visuals for N+ is only for people who pay...
True. Any suggestions?
Updated Does now works with Guillaume's Multi-Equipment script!
Sweet! I was wondering ... does Fukuyama's "train actor" catipillar script work with this too?
Awesome! Two questions though: Does it work with fukuyama's catipillar script and how do you add more armor types if you added more in guillaume's?

EDIT: Sorry double-post....
I have GOT to get off work to try this... and ...

Features
  • Compatible with Caterpillar and Squad Based Action Battle System
so this is it! sweet, it beats mines by a mile, even tho its not mines(???XD). Good job.
- Only works with SDK version of Caterpillar

Wasn't sure if fukuyama's script was SDK
Quote:
Sweet! I was wondering ... does Fukuyama's "train actor" catipillar script work with this too?

I will try it ;)
Quote:
how do you add more armor types if you added more in guillaume's?

The only thing you need to do is setting Guillaume777 to true (its in the first module) then everything goes automatic.
Quote:
Compatible with Caterpillar and Squad Based Action Battle System

I did not test it btw (A)

Edit: Will make a demo and PDF file ;)
can I use the script AND Squad Based Action Battle System even if I
turn the SDK off?
Because the SDK causes an error with my
Squad Based Action Battle System Script!

I also get an error in the following line:
return true if @equips_id[equipment_id] != item_id
error:
undefined method `[]Ãâ ‚¬Å¡Ãƒâ€šÃ‚ ´ for nil:NilClass
Quote:
can I use the script AND Squad Based Action Battle System even if I
turn the SDK off?
Because the SDK causes an error with my
Squad Based Action Battle System Script!/quote]
That would need a rewrite

Quote:
I also get an error in the following line:
return true if @equips_id[equipment_id] != item_id
error:
undefined method `[]Ãâ ‚¬Å¡Ãƒâ€šÃ‚ ´ for nil:NilClass

Do you have anything equipt or soemthing?
is Guillaume777 set to false?
I set Guillaume777 to false!
I think I fixed the bug:

Updated

Edit: Added demo
Demo DOWNLOADED... will love to try it out when I can. :)
Another question...
Does this work with pixelmovement scripts? i.e.: jumping, eight-directional movement, dashing etc

EDIT: Seems as though it wont work with fukuyama's train_actor... -_- (yet;) )
Also a bug with retaime's shadow script; the shadows show up, but they wont move, like they are printed on the screen. And when you open the menu(easiest to see with ring menu) it refreshes the shadows...but afterwards, same thing happens.

another EDIT: I really shouldv'e done this five minutes ago...but I tested the script with retaime's stuff. Since fukuyama's train_actor doesnt work with it, than the reflection wont either(and neither will mirrors i think...) kinda odd when it reflects my original character sprite when what i have eqipped makes me look totally different.(good for main characters with schizophrenia :P )
I have a SDK compatible (So... better coded) version made of Raitaimes script. The shadows so update there, but it doesnent show the equipments as shadow yet, but it uses the ATS too ;)
Quote:
Since fukuyama's train_actor doesnt work with it, than the reflection wont either(and neither will mirrors i think...)

You can't tell ;)

I will make a version to work with Raitaimes stuff. perhaps a merged script.
Ok well until then I guess ill hafta stick to retaime's visual equipment(not like its worse or anything.)
Could you give me his SDK one?
But wait a sec, Raitaimes VE works with the shadow stuff nd Fukuyama's Train Actor script? If that is true I will be able to fix it anyway I guess.
Damn, i am using Rataime's... :(
I'm getting errors when i try to use this script.
Yeah he released a compilation of his mirror, reflection, shadows, sun,visual equipment and destruction script with fukuyama's train actor script, all working in perfect harmony!
[QUOTE=Chaos_Prime]I'm getting errors when i try to use this script.[/QUOTE]

You could tell me what errors...
@Italianstal1ion, I guess I can make the script compatable then :D
Well, Im pretty sure he edited them to work with the catipillar...do you need the demo? or scripts

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=9112