Jump to content

Photo

Assigning items to button?


  • Please log in to reply
18 replies to this topic

#1 ABH15

ABH15

    Recipient of Ways

  • Members
  • Real Name:Austin
  • Gender:Male
  • Location:Tennessee

Posted 27 April 2012 - 03:12 PM

What I'm trying to do is make it possible to select either the hammer or sword by using the "A" button. Can anyone tell me how? This includes the hammer not being selectable to the "B" button as well.

Oops double posted, can someone delete this please?

#2 Tingle

Tingle

    Chosen One

  • Members
  • Real Name:ζ@(€†
  • Gender:Male
  • Location:Loopy Land
  • Past Nicks:Yoshidude, Dragonite

Posted 27 April 2012 - 03:17 PM

Quest -> Rules -> Other -> Can select A button item on subscreen.

#3 Cukeman

Cukeman

  • Member
  • Gender:Unspecified

Posted 27 April 2012 - 03:34 PM

QUOTE(Dragonite @ Apr 27 2012, 02:17 PM) View Post

Quest -> Rules -> Other -> Can select A button item on subscreen.


Yes, but:

If you want to be able to assign the sword to either the A or B button, you will also need to add the sword
to your subscreen as a usable item, and you will have to set it's position and cursor selection values to
work with the existing button items.

Edited by Cukeman, 27 April 2012 - 03:41 PM.


#4 NewJourneysFire

NewJourneysFire

    Warrior

  • Members
  • Gender:Unspecified

Posted 27 April 2012 - 05:22 PM

Than you'll have to modify both your Triforce subscreen and dungeon subscreen. Add a new item square, position it where you want it to appear in your subscreen, than select edit. Here you will need to modify it's numerical position in relation to actually selecting the item.

To do this correctly you have to understand how this works, every item is given a number, and these numbers communicate with each other when making them selectable. Not only do you have to modify the numbers of the sword item, you also need to modify the surrounding items so that they also move to your new desired item.

For example:

Let's say if

Boomerang is 3
Bow and Arrow is 2
Magic wand is 4

You want to replace the magic wand with the sword. You simply give the sword all the numerical value the wand currently has.

Now let's say if you want to put the magic wand in a new location and give it number 16, and it would be located above the arrow.

As it stands:
Boomerang is 3
Bow and arrow is 2
Sword is 4
Magic wand is now 16

In numerical value, you will want to edit the arrow so the up direction is 16, and edit the magic wand so the down value is 2.

Say if you don't want to replace the magic wand with your sword, and simply just want to make the sword appear above the bow and arrow. Let's say the number you choose again is 16. The same conditions apply. The up value for the bow and arrow would have to be 16, and the down value for the sword will have to be 2.

You will have to modify every directional value for the new item you want to place, and modify the numerical values for every item surrounding it to make it work right.

#5 Cukeman

Cukeman

  • Member
  • Gender:Unspecified

Posted 27 April 2012 - 05:35 PM

This thread might also be of help. It also deals with positioning button items and setting selection values:
Selecting Items in Subscreen

#6 Avataro

Avataro

    Questmaker

  • Members
  • Real Name:Robin
  • Gender:Male
  • Location:Germany

Posted 27 April 2012 - 06:29 PM

But remember, If you do use that quest rule, that means that the hammer would still be selectable to the B button.

#7 ABH15

ABH15

    Recipient of Ways

  • Members
  • Real Name:Austin
  • Gender:Male
  • Location:Tennessee

Posted 27 April 2012 - 06:31 PM

Ok now I get how the selecting works. But just to make sure, in order to do what I'm thinking of then I need to separate the hammer and sword away as "A" button selections from the items selectable by the "B" button(wand,candle,hookshot etc.) Right? Because I'm making it to where you can not use the hammer and sword simotaneously. This should be right because cursor "A" would start on the sword and cursor "B" would start on any other item(such as candle). So if I Isolate the two selectors then the hammer would not be selectable by cursor "B" right?

Edited by ABH15, 27 April 2012 - 06:36 PM.


#8 Cukeman

Cukeman

  • Member
  • Gender:Unspecified

Posted 27 April 2012 - 08:42 PM

To my knowledge with that quest rule turned on, you can set any item to A or B.
If there is a way to prevent two specific items from being assigned at the same time I am not aware of it.

#9 ABH15

ABH15

    Recipient of Ways

  • Members
  • Real Name:Austin
  • Gender:Male
  • Location:Tennessee

Posted 28 April 2012 - 07:18 AM

Can it be done via scripting then?

#10 Orin XD

Orin XD

    "Whoo! Now it's burning hot here!"

  • Members
  • Gender:Male
  • Location:Australia

Posted 28 April 2012 - 07:30 AM

QUOTE(Cukeman @ Apr 28 2012, 12:42 PM) View Post

To my knowledge with that quest rule turned on, you can set any item to A or B.
If there is a way to prevent two specific items from being assigned at the same time I am not aware of it.

ZC doesn't allow for the same item to be assigned to both A and B buttons at the same time. If you do attempt that, ZC will switch the items in the slots around (A with B and vice versa) like in the GB games.

#11 MoscowModder

MoscowModder

    Dust in the wind.

  • Script DB Staff
  • Gender:Male
  • Location:Not where you'd think

Posted 28 April 2012 - 10:46 AM

Do you want to be able to switch between the hammer and sword? If not, it shouldn't be too hard.

#12 Cukeman

Cukeman

  • Member
  • Gender:Unspecified

Posted 28 April 2012 - 01:08 PM

QUOTE(Orin XD @ Apr 28 2012, 06:30 AM) View Post

ZC doesn't allow for the same item to be assigned to both A and B buttons at the same time. If you do attempt that, ZC will switch the items in the slots around (A with B and vice versa) like in the GB games.


I understand that, but if I understood ABH15 correctly, he didn't want link to able equip the hammer to
the second button if the sword was out and vice-versa.

Thus the hammer and sword are what I was speaking of when I said I don't know how to prevent
two specific items from being assigned at the same time (to different buttons, not the same button).

#13 LordVolcanon

LordVolcanon

    My Goddess

  • Members
  • Real Name:Zecora
  • Gender:Female
  • Location:Everfree Forest
  • Past Nicks:blackbishop89

Posted 28 April 2012 - 01:39 PM

Would nulling the a and b input if link is using the hammer or sword work for you?

#14 ABH15

ABH15

    Recipient of Ways

  • Members
  • Real Name:Austin
  • Gender:Male
  • Location:Tennessee

Posted 29 April 2012 - 05:40 PM

QUOTE(blackbishop89 @ Apr 28 2012, 02:39 PM) View Post

Would nulling the a and b input if link is using the hammer or sword work for you?

As long as the hammer and sword items can not be used simultaneously, I'm fine with any suggestions.

#15 ABH15

ABH15

    Recipient of Ways

  • Members
  • Real Name:Austin
  • Gender:Male
  • Location:Tennessee

Posted 03 May 2012 - 09:45 PM

QUOTE(blackbishop89 @ Apr 28 2012, 02:39 PM) View Post

Would nulling the a and b input if link is using the hammer or sword work for you?

How would this be done exactly? I'm pretty sure it needs to be scripted so can anyone write that for me? If so, thanks! If not, then oh well I can make do without it.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users