
By Fomar0153
Last Updated: 08 February 2012 (Version 1.2)
Download Link: http://pastebin.com/raw.php?i=6u5BRHRz (Version 1.2)
Allows you to set up individual equipment slots for characters. You can add additional slots and even entirely new types of equipment.













[...] creates a script for custom equipment slots, which also doubles in adding more types of equipment, [...]
Can you create a slot only for especific actors ?? Thx ^^
Yes you can find:
def equip_slots
return [0,0,2,3,4,4,4,7] if dual_wield?
return [0,1,2,3,4,4,4,7]
end
Then do something like:
def equip_slots
return [0,1,2,3,4,4,4,9] if @actor_id == 1
return [0,0,2,3,4,4,4,7] if dual_wield?
return [0,1,2,3,4,4,4,7]
end
Thx very much!!
I wanna know. Can i use in comercial project??
From my page about script usage: http://cobbtocs.co.uk/wp/?page_id=2
“Let’s keep this simple. You can use/edit my scripts so long as you credit me.
My scripts can be used for commercial games, a free copy would be nice but is not required or expected.
You use my scripts at your own risk and I accept no responsibility if anything goes wrong (just covering myself).”
So yes.
Okay, so to set a new type of armor as an equip-able armor type, you set the slot number to armor type id.
So if armor type 6 is Legs
then slot[6] = legs ??
and then you can equip type six in any slot deemed 6??
Is that about it?
That sounds right to me.
Hi,
I would like to know if it’s possible to seal the extra slot equipement, please ?
There’s no current method of doing so.
i seem to be missing something..how exactly do i get a custom slot to be a ‘valid equip type’
You will need to edit the script in two locations both are near
the top of the script look for:
Slots[7] = “Spell Tomes”
return [0,0,2,3,4,4,4,7] if dual_wield?
and follow the instructions where they are.
was pretty sure i was doing it right..heres the script
Slots = []
# Edit here to add new slot types
# Slots[armour_type_id] = “name”
# I know it is named in the database but I don’t believe you can access
# that name through Vocab
Slots[7] = “Spell Tomes”
Slots[6] = “Legs”
end
class Game_Actor < Game_Battler
#————————————————————————–
# ? Rewrites equip_slots
#————————————————————————–
# Edit here to change what slots are available to your characters
# 0 – Weapon
# 1 – Shield
# 2 – Head
# 3 – Body
# 4 – Accessory
# 5+ a custom slot
def equip_slots
return [0,0,2,3,4,4,4,7,6] if dual_wield?
return [0,1,2,3,4,4,4,7,6]
end
…hope that helps you figure out what im missing
ps thanks for the quick response
muffins..i figured it out, i had already added some different kinds of armour. but in the rpg/ace database the equipment has to be entered in the slot corresponding to its id in the script
is there a script call to change equipment? it cant seem to change it with the change equipment event call.
Hey there! I was wondering, how do you make your slot a valid equipment type, since I am unsure, and yes I have read on Sarsa’s reply but it provides to little detail for me to comprehend
is there a way to set starting equipment in the custom slots?
Try using this script call
$game_actors[x].change_equip(slot_id, item)
slot_id starts from 0
item should be either:
nil to unequip
$data_weapons[x]
$data_armors[x]
How exactly would one go about getting that to work? Or is, “$game_actors[2].change_equip(5, $data_armors[5])” wrong? Because I can’t get it to add equipment to the custom slot, no matter how hard I try – I even tried it with the piece of armor in the inventory, and it seemed to put it somewhere because it vanished from the inventory, but didn’t go into the equipment slot!
How do I define a piece of equipment to be in one of the new equipment slots?
Most scripts have you calling stuff in noteboxes like ”.
Make them the correct equipment type.
Is there a script call to set equipment for an actor? For example : An actor joins the party and i would like to set his custom equipment that he starts with.
Hey, just a question, I keep getting the error “uninitialized constant Object::Window_Selectable”. I’m not sure what exactly to do.