Item for NPC
#1
Posted 03 June 2011 - 05:05 PM
Can anyone help?
#2
Posted 03 June 2011 - 06:26 PM
1º Make three screens: The Overworld one [A], the one in which you give the item[B], and the one where you receive the *reward[C].
2º In [B], set the invisible NPC, set a string and set the room to "feed the gorya".
3º PLace a conveyor going up right before the NPC's solid area, and place Warps around it. Then place the blue square over the conveyor. Also, make the coveyor go all the way to the end of the screen.
4º make the warps around you transport you to [A], and the side warp take you to [C].
This way, if you dont have the item, you wont be able to pass the solid area and will have to move and be tile warped to [A]. But when you give the item (bait), the NPC will desappear, the conveyor will lead you to the side warp, and BANG, there you got the most confusing way to do this
*remember to place the item at the same coordinates as the blue square.
#Here is an example:
#3
Posted 03 June 2011 - 07:15 PM
Edited by Moo2wo, 03 June 2011 - 07:41 PM.
#4
Posted 03 June 2011 - 07:39 PM
I looked through it, but I didn't understand it at all
#5
Posted 03 June 2011 - 08:00 PM
String 1:
String 1 with string command codes inserted:
I'll explain what I added. The "\5" tells the string what control code to use. In the first "\X", in place of the "X" insert the ID number of the item you need for it to switch to String 2. In the second "\X", put in the number of the string to switch to if you have the item. There are two items that need to be checked for in this string; the item that Link needs to get the other item, as well as the other item.
String 2:
String 2 with command codes inserted:
"\17" tells it what string control code to use, and the first "\X" tells it what item to remove from Link's inventory. In this case, it should be "[item 1]". "\16" tells it what string control code to look for, and the second "\X" tells it what item to give to Link in place of "[item 1]".
Finally, String 3:
No control codes needed; everything should be good to go!
Did this help?
#6
Posted 03 June 2011 - 08:05 PM
Now, how do I make an item to do it? i want it to be a doll
Do I need it to have a spot in the inventory?
Edited by Lynker, 03 June 2011 - 08:09 PM.
#7
Posted 03 June 2011 - 08:19 PM
#8
Posted 03 June 2011 - 08:44 PM
-
What does this mean? What do I put in?
And are the string codes supposed to change to periods after you click okay?
#9
Posted 04 June 2011 - 11:12 AM
But Moo, won't this look strange seeing as this string will be skipped over if you have the item? Shouldn't this still show if you have the necesary item so it doesn't look like the NPC steals it from you?
Edited by Pokemonmaster64, 04 June 2011 - 11:15 AM.
#10
Posted 04 June 2011 - 11:21 AM
But Moo, won't this look strange seeing as this string will be skipped over if you have the item? Shouldn't this still show if you have the necesary item so it doesn't look like the NPC steals it from you?
That was merely an example; it can be whatever he wants. But it would be hilarious if an NPC mugged the player. XD
@Lynker: Consult the wiki. I believe "\17" is the control code for the string to take away one of the player's items; the variable "\X" after it tells it what item to take. For example, if I wanted it to take the Wooden Sword away from the player, first I'd check to see what the Wooden Sword's ID number is, and then I'd write it out in the string like this: \17\5\. 17 tells the string to take away an item, and the next number is the item to take, in this case, item #5. Does that help?
Also, I'm not sure about your other question. It's not doing that when I write out control codes, but it might have something to do with the build you're using. I'm using RC1.
#11
Posted 04 June 2011 - 11:35 AM
And i'm using RC1. But whenever I save the string with the \'s in the beginning and stuff, the numbers in it turn into periods.
Edit - AHH!!! I got it to work! Thanks soooo much Moo2wo!!
But now, I got the item form her, but now she goes back to saying the first thing she said (About her wanting the item)
Edited by Lynker, 04 June 2011 - 11:48 AM.
#12
Posted 04 June 2011 - 03:13 PM
Ohh, I get it now! Thanks!
And i'm using RC1. But whenever I save the string with the \'s in the beginning and stuff, the numbers in it turn into periods.
Edit - AHH!!! I got it to work! Thanks soooo much Moo2wo!!
But now, I got the item form her, but now she goes back to saying the first thing she said (About her wanting the item)
You'll need to set another string to change when you have the new item that appears before she asks for the item. So if she gave you the Boomerang for an example, you'll need a string code to change to another string if Link has that Boomerang that appears before the string where she asks.
(If you aren't sure, try editing a string and clicking the help button, there's a guide there in ZQ.)
#13
Posted 05 June 2011 - 03:26 PM
The string showed after (Like as if the strings were combined), and then it went back to the first.
I put the string control code after the one where you get the item.
#14
Posted 05 June 2011 - 03:33 PM
If that doesn't work I must have misunderstood the question.
#15
Posted 05 June 2011 - 03:40 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users