Dev Log #11: Script Corner – Himeworks Instance Item

Awhile ago, I came across the concept of Instance Items in RPG Maker. To put it simply, it is a form of script that allocates a unique ID to each individual armor, weapons and even items, though it is generally not recommended to use the function for items. By allocating a unique ID between different items, the system is able to alternate and manipulate stats and characteristics of the same item!

In Event Horizon, I decided to adopt Himeworks’ version of this script, due to the relative simplicity of this version. There are of course, tons of other similar script by different authors out there but this one also comes with a particular add-on that I find really amusing, which is the Affix system and the Random Affix addon by Selchar. In the image above, you can see the different versions of a hand axe. Every time the weapon spawns, it is assigned its unique weapon ID as well as a randomized suffix and prefix to give it the special name and the customized item features.

These affixes are created under the Armor tap in the database. For all intents and purposes, it is just a place holder for you to place the name and stats/features of the weapon or armor that has this specific affix.

Right now, this script is being utilized to create randomized “rare” weapon / armor in the game that players can find, similar to the system used in the Diablo franchise. I think adding a bit of a randomized factor enhances gameplay so long as the rare affixes are not too powerful and will not overshadow legendary and unique equipments.

This script is extremely easy to use and is plug and play for the most part. If there is any confusion regarding the usage of the script, I have created a mini demo that demonstrates using the script for the purpose I have just outlined above.

Demo Link

Himeworks Link

That’s it for now! Thank you for reading!

~anDai

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s