BrunoTR;242755":1ye37h94 said:
Its not possible for certain weapons to ONLY be able to equipped in a certain slot is it?
Just that I want a special "Sidearm" slot, that just increases the character's attack level. Don't worry if it's not possible, I just wanted to check
It's your lucky day get the new version I have added that
DerVVulfman;243495":1ye37h94 said:
Hate to be a stick in the mud (where did I get THAT from?)... but have you tried this recently?
#--------------------------------------------------------------------------
# * How Many Weapon Slots Needed (Maximum)
#--------------------------------------------------------------------------
Weapon_Slots = 1
Unfortunately, I get this...
Script `Equip Weapons' line 249: NameError Occurred.
Undefined method `weapon2_id' for class 1Game_Actor'
And that's just me changing the demo (that I just downloaded) to have only 1 weapon slot.
Come on read into it more :p How Many Weapon Slots Needed
(Maximum) that value doesn't determine how many weapon slots there are it however determines how many weapon(i)_id methods are created.
you set it to one yet however someone needed more than one. and there is your problem
1 => %w( w w a1 a2 a3 a4 a5 ),
you see that there are two w's therefore two weapons are required and the script will call for the two methods weapon_id and weapon2_id
but well this isn't the case anymore I have removed Weapon_Slots and Armor_Slots, but I am not satisfied with the way I am doing it now, so heads up!
-----------------------------
Demo Updated to version 3.1
Cleans up code
You guys are lucky 3 addons for this script suddenly appear! (nothing special though)
Equipment Types Addon -> allows for equipment to only be equipped in a certain slot
Non-Hit Weapons Addon -> allows for some weapons to not attack useful for addon weapons
Change Types Addon -> allows you to change the slots in game (note that doing this will unequip all equipment)
Thank you and goodnight!
---------------------------
No sleep for me
Updated to version 3.1.1
Fixes a bug with switching actors in the equip screen you can switch using left and right (thanks Twilight)