Jump to content

Photo

Please help, the forth shield.

help shield zelda

  • Please log in to reply
4 replies to this topic

#1 eduardas

eduardas

    Newbie

  • Members

Posted 16 August 2017 - 03:44 AM

Hello everyone,

 

 

sorry if this has been discussed before :shiver:

 

I want to make the forth shield for Link. However, the ZQuest Editor only allows three shields to be put into the game.

Is there any way to put the additional newly drawn shield into the editor and make it work? I've managed to make new weapons/swords work but can't figure out how to do the same with shields.

 

 

Would appreciate any help.

 

Thank you.

 

 

 

 

 


  • SkyLizardGirl likes this

#2 Orithan

Orithan

    Foreboding Sage - Commission from Keyframe Creations

  • Members
  • Gender:Male
  • Location:Australia

Posted 16 August 2017 - 04:43 AM

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.

  • eduardas likes this

#3 eduardas

eduardas

    Newbie

  • Members

Posted 16 August 2017 - 07:31 AM

Cheers, mate.

That's really helpful!


  • Alucard648 likes this

#4 Lüt

Lüt

    Germanize

  • Members
  • Real Name:Steve
  • Gender:Male
  • Location:Chicago

Posted 16 August 2017 - 09:00 AM

In regard to the shield item in the item editor, you could just copy one of the existing shields and paste it to a new item, then edit it from there, so that you'll already have a lot of its functionality set up.

 

Also, it's recommended that you create/paste new items using Custom Item 01-20 in the item list. Those entries are set aside for quest designers to use things like you want to do. Apparently the zz### items are meant to be reserved for possible additions to future versions of ZC. Not that you can't use them if you end up with more than 20 custom items, but it does open the possibility for potential conflict, and you might need to update your quest file if such a thing happens.


  • Shane and eduardas like this

#5 eduardas

eduardas

    Newbie

  • Members

Posted 21 August 2017 - 09:29 AM

Thank you very much.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users