Go into the item editor and select an item. Change the item's class to shield, make sure "Equipment Item is checked" and pick a tile to use for the shield item's sprite, and change the level of the shield to what you want to.
That's the basic setup. When the shield is picked up, it gets added to your inventory and Link will equip it. But in order for it to actually do anything or for Link's sprite to display the shield, a little more setup is required:
Look at the Block and Reflect flags and set them to what you want the shield to block.
For what values correspond to which weapons, this is the list:
Shield/Hookshot/Boomerang block/reflect flags. Hookshots and Boomerangs block weapons if the Quest Rule "New Boomerang/Hookshot" is checked.
Add the following values up and input them into the Block/Reflect flags fields to set them to block any combination of projectiles you want:
1 - Rock
2 - Arrow
4 - Boomerang
8 - Fireball
16 - Sword
32 - Magic
64 - Fire
128 - Script Weapons
256 - Boss fireballs (except Aquamentus, whose fireballs use the regular Fireball flag)
Shields can not block Bombs and Super Bombs. Boomerangs and Hookshots can (idk what block flag is required for that)
Arrows, Boomerangs and Fire can be blocked, but not reflected.
Shields/Boomerangs/Hookshots can not reflect projectiles that they can't block. A shield with a block flag of 0 and a reflect flag of 1 can't block or reflect Rocks
Now the shield will actually block stuff. But in order for Link to be shown having the shield, you need to do a couple more things:
Rip or create sprites for Link holding the shield, arranged in the same setup as his sprites with his other shields, and then go into the shield item and then set the item's Link Tile Modifier to the number equal to the Tile Number difference between the first tile Shieldless
Link uses and the first tile Link holding your new shield uses in the Tile Editor. If the new shield tiles go before the shieldless Link tiles in the Tile Editor, make this number negative.
And then you should have a new fully-functioning shield.
Edited by Orithan, 16 August 2017 - 04:47 AM.