Jump to content

Photo

Multiple Bait


  • Please log in to reply
9 replies to this topic

#1 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 28 April 2013 - 11:47 PM

I want to have more than one bait item, in my plan, they all will work functionally the same. (but I am open to more complex scripts if need be).

But I'm running into a problem.

I currently have 3 types of bait.

Traditional Bait: Like all other traditional items in my quest, they are all disabled (they all have 255 magic cost which makes them impossible to use).

Potion for Zelda: Currently not available.

Statue: Located at the end of a hidden cave, give it to an old man.


So right now I have 3 types of bait, which work the same, but all that separates them are different graphics, and where they are actually enabled. (through dmap).

But here's the problem I run into. I already have an existing bait, which is the traditional 255 magic cost one which is one of the init items that are included with all of the disabled traditional items.

But when I pick up the statue, it doesn't show. I have the statue set as a level 3 item, and set "Keep lower level items" set, so that when I give the statue to the one who wants it, the statue will be removed, and the useless bait returns.

However, this is not working at all. Like I stated, when I pick up the statue, it doesn't show.

Any tips?

#2 HylianGlaceon

HylianGlaceon

    Magus

  • Members
  • Location:Whatever dimension is between Sinnoh and Hyrule...

Posted 29 April 2013 - 01:53 AM

If you don't plan to actually use them, why not just use the custom item classes for the two and have only one item for the Bait Itemclass?

#3 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 29 April 2013 - 08:02 AM

Because I do plan to use them, and more. Also, for the one I don't plan to use, it still has to take up the same slot, but not be showing when I pick up the statue for example.

Because my quest is loosely based on Zelda 2, some key bait items from that game will be featured in mine, including statue, kid, mirror and whatever.

#4 Jamian

Jamian

    ZC enthusiast

  • Members

Posted 29 April 2013 - 10:00 AM

some key bait items from that game will be featured in mine, including statue, kid, mirror and whatever.


But why would you need these as "bait" items? If you plan on using them like in Zelda 2 they can just be dummy items that trigger a reaction in a certain place.

#5 Mitchfork

Mitchfork

    no fun. not ever.

  • Members
  • Real Name:Mitch
  • Location:Alabama

Posted 29 April 2013 - 10:01 AM

Not really following why you want to disable the level 1 bait.

Did you check the Link Data using cheat 3/4? Multiple level baits are working for me.

And there's also custom items/string control codes that you could use as an alternative.

#6 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 29 April 2013 - 10:01 AM

If nothing else works, it would be pretty simple to script a Goriya room to use a custom item instead of the bait. That could probably be easier than trying to figure out a way to get multiple baits which was never intended in ZC.

Edit: Yeah, string control codes would work, too.

Edited by MoscowModder, 29 April 2013 - 10:02 AM.


#7 HylianGlaceon

HylianGlaceon

    Magus

  • Members
  • Location:Whatever dimension is between Sinnoh and Hyrule...

Posted 29 April 2013 - 12:14 PM

Personally, I'd just give them different spots on the subscreen and use the NPC/Signpost script and String Control Codes.

Anyhow when testing, the Feed the Goriya room types take away all Bait class items you have. I even tried with Item Override and had two separate Bait class items selectable and both vanished upon giving any one of them to the Goriya. I don't know if it's always been like this or not. This is the first time I've tried multiple Baits out.

You may be able to script it to work some other way still, or there's the way I mentioned with String Control Codes.

#8 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 11 May 2013 - 06:13 PM

Considering the limitations. I more than likely will have to do it using scripts and custom item.

Bait seems to carry a lot of limitations that seems to make it difficult to add to SOW2.

Somehow I need to make it work that the "dummy bait" from Souls 1 is still an initial item, but is than replaced by a newer style bait once collected. Which means its vital that if the bait is removed, the dummy bait must display. Confusing confusing. I think perhaps I may know a way around this.

#9 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 12 May 2013 - 06:12 AM

The main issue is why you disabled the main bait, as you could use it for all three. The only difference is in the subscreen.

I propose that you would need to use a script to detect the presence of the item to unlock a secret via an FFC script like the one here.

The only thing you will need to do is establish the new items, (each with the bait class), and set them in the subscreen (each as a custom item class, set to a specific item). If you want to deny dropping them anywhere, you could add an action script that disables usage unless some specific trigger (such as the FFC) is present. I think that would be an 'if' and 'else if' statement set.

Technically, you could also use any item class (instead of bait) and use an FFC to detect it; its only use would be to trigger such events. To do this, you would ignore the bait class and use a custom item class for each bait type (and each being different from each-other, for maximum effect), however this would not trigger traditional 'Feed the Goriya' rooms.

Edited by ZoriaRPG, 12 May 2013 - 06:16 AM.


#10 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 13 May 2013 - 05:52 AM

Thanks for the advice there, though it will take me a few times to read it to understand fully, but I think I got it.

One thing I should mention is how I'm disabling my initial items. The greyed out boomerang, arrow, bombs, potion, etc, etc, etc, and of course bait are actual selectable initial items in my game, however, the trick is that I fooled players to believe they are disabled by boosting their magic cost so that the player simply doesn't have enough magic to make even a single cast.

So they aren't really disabled, just unusable really.

Edited by NewJourneysFire, 13 May 2013 - 05:52 AM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users