Author Topic: [Campaign] [WiP] No name yet!  (Read 22555 times)

Enjay

  • Posts: 47
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #15 on: January 15, 2014, 08:47:40 PM »
The HideSpeechBubble script should handle that for you, I believe.

Money balance is something that would require a full game and play-through to get a feel for, in my opinion, since I have no idea what I would be using the upgrades for, or how many I feel I would need. The distribution seemed pretty natural and even. Food and mana were the same.

Yeah, sectioning it was just an idea of how to make it a bit less dull. It just needs something to give it a bit more spark, or to be smaller, so the lower quantity of spark has greater effect.

I didn't mean actual painful eye strain, just a mental focus on the center of the screen that never wavered.

The ledges look nice, and they give a nice feel, they just have a downside of clearly highlighting the secret rooms. :D
Every time I post I get nervous because I feel like the devs are judging me.

Flopjack

  • Posts: 19
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #16 on: January 15, 2014, 10:45:19 PM »
So, about that speech bubble. I'm having some trouble with it. What I need is to block new popups until the current speech bubble is gone. Can I set a timer for 3 seconds and the Random script checks to see if the timer is at 0 before another bubble pops up?

Enjay

  • Posts: 47
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #17 on: January 16, 2014, 12:06:00 AM »
From what I can see, it looks like you're using an AreaTrigger that runs one of 5 or so randomly selected ShowSpeechBubble scripts.
Add on to that an AreaTrigger that runs on leaving the area, and runs a HideSpeechBubble script, which is directed at all of the possible ShowSpeechBubble nodes, and set to hide last created script. (To do this, you have to right click on the ShowSpeechBubble node, not left click, and select "Last Spawned")

This will remove the bubble when the player leaves (Which makes sense, because then the vendor won't be talking to no-one), which prevents multiple from spawning on top of eachother.

UNTIL you have multiple people enter at the same time, which will run the script multiple times without having the chance to remove any, so just throw some logic in there to only show the speech bubble when the first person enters. That way the vendor won't talk to subsequent customers.
Every time I post I get nervous because I feel like the devs are judging me.

Flopjack

  • Posts: 19
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #18 on: January 20, 2014, 10:09:49 PM »
What script would I use to, after a key enemy dies, something happens?

Enjay

  • Posts: 47
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #19 on: January 21, 2014, 05:12:49 AM »
ObjectEventTrigger - Destroyed
Every time I post I get nervous because I feel like the devs are judging me.

Flopjack

  • Posts: 19
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #20 on: January 21, 2014, 06:45:14 PM »
And how do I disable/enable, destroy, or remove a script via scripts?

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #21 on: January 21, 2014, 07:16:52 PM »
Use toggleelement

Flopjack

  • Posts: 19
  • Maggot Crusher.
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #22 on: January 21, 2014, 09:02:47 PM »
Does this work on PlayMusic scripts? After a key enemy is destroyed, I disable DangerArea for spikes and the spikes doodad state fine, but I also want to change the music at that point.

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: [Campaign] [WiP] No name yet!
« Reply #23 on: January 22, 2014, 06:13:33 AM »
Does this work on PlayMusic scripts? After a key enemy is destroyed, I disable DangerArea for spikes and the spikes doodad state fine, but I also want to change the music at that point.

That probably won't work, but I added a "none" music that will cancel out any other music if played, but it won't be in the game until we patch it.