Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: DreamCatcher on April 02, 2012, 03:53:10 pm

Title: [XP] Multi-Slot +Zer0's CMS
Post by: DreamCatcher on April 02, 2012, 03:53:10 pm
Hey guys!
1st of all, i really love that cms of Zer0.
However, i'd would like to "simply" add a dual-wield function to my game. As i didn't find any existing script that simply does that but found a multiple-slot script (GUILLAUME777's Multi-Slot - http://houseslashers.b1.jcink.com/index.php?showtopic=51) that makes this possible i thought to take it.
It has a perfectly working 2handed function (2 handed weapons cannot be equipped together with a shield) and i assume that the multi-slots itself (add some equip-slots e.g. to equip 2 weapons at time or also more armor) does not interfer with the cms so that it should be possible to use this additional slots. Sadly, they are just not depicted in the equipment menu.
Theoratically, the only thing that has to be done is adding the created slots to the equipment menu, as it is done in the multi-slot script itself, but in Zer0's cms. Since i totally s*** at scripting, perhaps someone else would like to try that out?

Thanks in advance to everyone that at least thinks about it ;)

EDIT:
The modificated EquipRight window can just be shown by changing the command
@equip_right = Window_Zer0_EquipRight.new(@actor)
to the default
@equip_right = Window_EquipRight.new(@actor).
Now all custom made item slots are nicely shown. BUT: By chosing one slot, it does still only account for the default slots.
Default:
1 Weapon
2 Shield
3 Body armor...

Mod.
1 Left Hand
2 Right Hand
3 Shield
4 Body armor...

When chosing the weapon for the left hand, it is now perfectly equipped in the left-hand-slot. However, if chosing equipment for the right hand, so the 2nd slot, only shields are shown and when equipping them they are equipped in the shield slot. So there (of course) still have to be done some changes in the cms script to implement the multi-slot functionality. Perhaps, one of you guys have some ideas? (Or Zer0 himself wants to come up with a comment on this?) Of course it would be possible to just ignore the whole custom made equip-menu, adding a scene-call event to call the multi-slot modified equip menu. But since the cms' menu is pretty nice, i would really like to combine those two.