Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Yet another Visual Equipment script!

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

Code:
#==============================================================================
# â–  Visual Equipment
#------------------------------------------------------------------------------
# Author  | Meâ„¢ / [email=me@solarsoft.nl]me@solarsoft.nl[/email]
# 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
#   â—
 
Italianstal1ion said:
Is there any way to add more? Because I'm using a multi equipment script and i have shoulderpads, and pants etc.

I am writing an additon for the Multi-Equipment script. :)
 
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....
 
Sweet! I was wondering ... does Fukuyama's "train actor" catipillar script work with this too?
I will try it ;)
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.
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
 
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

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?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top