Jump to content

Photo

Triggers from multiple rooms

carryover screen state

  • Please log in to reply
9 replies to this topic

#1 Limebeer

Limebeer

    You can do anything with the abuse of the Animal Husbandry skill

  • Members
  • Real Name:Aaron
  • Location:Ontario, Canada

Posted 18 December 2014 - 09:00 PM

Okay, so...from what I've been able to find, what I want to do seems to be impossible to do without scripts, which is activating a screen state carryover via triggers placed in multiple rooms. I've tried every combination of about everything I can think of but it doesn't seem to want to let me do it as whenever i hit the first trigger in one of the rooms it activates the secret instead of waiting for all the triggers in the other rooms be hit.
Unless I'm mistaken this is an impossible set up without using scripts, am I right?



#2 ShadowTiger

ShadowTiger

    The Doctor Is In

  • Members

Posted 18 December 2014 - 09:08 PM

What might need to happen is to create multiple identical instances of the same trigger-target room, with each triggering room pointing at one instance of the target room, with each instance of the target room having triggerable silent secret warps that warp you to the next iteration of that identical room in the chain. It's far from an uncommon thing. Technically, you only need a secret sound in the last one, if at all.

#3 Limebeer

Limebeer

    You can do anything with the abuse of the Animal Husbandry skill

  • Members
  • Real Name:Aaron
  • Location:Ontario, Canada

Posted 18 December 2014 - 09:25 PM

That would work if I would want different secrets triggered at different times... but what I want is for you to hit 4 triggers to get one secret to appear. The set up would be trigger 1 in room A, trigger 2 in room B, trigger 3 in room C, and trigger 4 in room D. After you hit all of them, they would trigger the secret in room E.



#4 Lejes

Lejes

    Seeker of Runes

  • Members
  • Location:Flying High Above Monsteropolis

Posted 18 December 2014 - 09:38 PM

You can check screen secrets of any room in your quest with scripts, so this should be fairly easy to do. Just have the triggers set permanent secrets in rooms A, B, C, and D, and the script in room E would check all four of them and do something (like triggering screen E's secrets or whatever else you want) if they've all been activated.



#5 Limebeer

Limebeer

    You can do anything with the abuse of the Animal Husbandry skill

  • Members
  • Real Name:Aaron
  • Location:Ontario, Canada

Posted 18 December 2014 - 09:47 PM

ah, so it isnt possible without scripts... okay!
This quest is going to be one with no scripts as its basically half done with 0 scripting and would be silly to start now in my opinion... but i'll be looking into scripting for my next one



#6 Aevin

Aevin

  • Members
  • Pronouns:He / Him
  • Location:Oregon

Posted 18 December 2014 - 09:48 PM

Scripts is probably the easiest way to do this, but for the record, ShadowTiger's solution would probably work and is kind of brilliant.

 

You'd have say, four trigger rooms, each activating a warp in 4 identical copies of the target room. Each warp in these rooms warps upwards toward a "secret activated" version of the room at the end. Only when all four warps were active would you arrive at the final version of the room, regardless of what order you actually hit the switches in. From the player side, the room wouldn't appear to change until all targets were hit.



#7 Limebeer

Limebeer

    You can do anything with the abuse of the Animal Husbandry skill

  • Members
  • Real Name:Aaron
  • Location:Ontario, Canada

Posted 18 December 2014 - 09:58 PM

It is quite brilliant, yes. However it's, thus far, too complex for me to properly do... but yes scripting would be the easiest by far to do this.
However, I think I found a way to have you need to hit all the switches without needing every switch for the original room. What I think I'll do is have one to open the pathway, but to get to where the pathway is you'll need to hit all the other switches in order to be able to get to the other switches, the last one being the one that opens either the last pathway or the way to the boss room...
to put in more easier to understand terms... trigger 1 in room A opens the way to trigger 2 in room B, which opens trigger 3 in room C which opens trigger 4 in room D which opens the pathway to the boss room. It takes away the openness of hitting the switches as you discover them and will lead to pointless backtracking in the end, but it does most of what i wanted accomplished sans scripting.



#8 Lejes

Lejes

    Seeker of Runes

  • Members
  • Location:Flying High Above Monsteropolis

Posted 18 December 2014 - 10:27 PM

ah, so it isnt possible without scripts... okay!
This quest is going to be one with no scripts as its basically half done with 0 scripting and would be silly to start now in my opinion... but i'll be looking into scripting for my next one

...why? Thinking about it, ShadowTiger's idea will also work and wouldn't be hard to set up. I still think the script is easier, since it would be about two lines long and wouldn't require setting up four warps.



#9 ShadowTiger

ShadowTiger

    The Doctor Is In

  • Members

Posted 18 December 2014 - 10:41 PM

It's not hard at all. :)

That's an example quest I cooked up in ten or so minutes. The Dungeon rooms need to be set as Interior style rooms so the secrets will be permanent. I only have them on separate Dmaps and maps so the minimap would stay consistent. I really wish there was a ZC feature where the minimap positioner icon wouldn't move when you warped, though I'm sure that would mess with things on a considerably large scale.

The middle screen has been duplicated several times, with little markers in the upper left corner to show you which iteration of the otherwise identical room you're in at any given moment. When all four have had their secrets triggered and the insta-warp floor tile spawned all over the floor, you're warped in sequence from one to two to three to four, then to five, where the "secret" is.
  • Aevin and Limebeer like this

#10 Limebeer

Limebeer

    You can do anything with the abuse of the Animal Husbandry skill

  • Members
  • Real Name:Aaron
  • Location:Ontario, Canada

Posted 18 December 2014 - 11:55 PM

It's not hard at all. :)

That's an example quest I cooked up in ten or so minutes. The Dungeon rooms need to be set as Interior style rooms so the secrets will be permanent. I only have them on separate Dmaps and maps so the minimap would stay consistent. I really wish there was a ZC feature where the minimap positioner icon wouldn't move when you warped, though I'm sure that would mess with things on a considerably large scale.

The middle screen has been duplicated several times, with little markers in the upper left corner to show you which iteration of the otherwise identical room you're in at any given moment. When all four have had their secrets triggered and the insta-warp floor tile spawned all over the floor, you're warped in sequence from one to two to three to four, then to five, where the "secret" is.

If the issue is the positioner being different, why not, if you are using a different map per warp room, just make a copy of the dungeon screens so it doesn't show that you warped?

But yes, I am definitely looking into what you've just described and shown here for future dungeons :) I just need to practice with it first before I become confident enough to use it and know what can go wrong and how to fix it if it happened to happen :)

 

...why? Thinking about it, ShadowTiger's idea will also work and wouldn't be hard to set up. I still think the script is easier, since it would be about two lines long and wouldn't require setting up four warps.

It's more just a matter of how I'm doing this quest. I don't like going from no scripts to suddenly employing them when this quest is more about me learning the base and slightly more advanced features of ZQuest building. I'll eventually get into scripts though in my next quest, though it will probably be lightly scripted until I learn more and more about them :)


Edited by Limebeer, 18 December 2014 - 11:56 PM.




Also tagged with one or more of these keywords: carryover, screen state

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users