Please or Register to create posts and topics.

Laserfizzler

Page 1 of 2Next

I was trying to create a laserfield which can be triggered and becomes a fizzler...
On triggered the close animation starts and the laserfield disappears. After that the skin of the laserpanel changes to a fizzler and the open animation begins. At the end the fizzlerfield appears.

This is easy to do with 2 relays but if one relay gets retriggered during the animation its bugged.
I could use a normal button with a reset timer to prevent retriggering but i need a floor_button for my map.

Does anyone got an idea how to solve this problem?

I tried to delay the activation of the relays but then you can simply walk off the button after u triggered it and the laser will stay enabled.

Please help me, i really need this animation to be working for my new map.
Thanks in advance...

I added the .vmf so its easier to understand. laserfizzler.vmf

My Maps-1-2-3-4-5-

My PTI Tests-1-2-3-

Hi,

Its probably going wrong when you trigger the button and then quickly trigger the button again.

Its a timing issue, its trying to start the other relay while the first one is still running.

So, what you need to do is put the following as the first command in each relay, and make sure all the other command are below it (ie start them with a delay of 0.01 or more)

laser_relay1:
OnTrigger:laser_relay2:CancelPending

laser_relay2:
OnTigger:laser_relay1:CancelPending

Then the first thing it will do it cancel the other relay if they get called too quickly.

Rob.

My Portal2 Map: Trapped

My Travel Blog:
Image

Nice Robdon,

its working fine. thanks.

markiu

My Maps-1-2-3-4-5-

My PTI Tests-1-2-3-

LPFreaky90 uploaded some great instances here
Lp's Fizzlers



Also, I made a map just for you! Sunset
Click Here to view my Workshop and play my puzzlemaker maps

Wow those are great! How do I install them so I can use them in hammer?

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."
iWork925 wrote:
Wow those are great! How do I install them so I can use them in hammer?

Copy this content to your steamapps/common/portal 2/ folder.
the instances are in sdk_content/instances/Lp/fizzlers
the textures go to portal2/materials/Lp

When you publish your map; don't forget to add the textures in your file with a program like pakrat :)

How do you use pakrat?

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."

Download pakrat, run the pakrat.jar, add the custom files, save the BSP. The game with use the files as they are in the right directory.

Its asking me what to open the jar file with. What do I use?

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."

@iWork. you need the Java Runtime Environment 1.5.0 (at least) installed in your computer to use pakrat.

If it's your first time using it, I'd suggest you to take a look to this tutorial. Do not hesitate to ask me whatever issue you might find (I've packed thousands of custom thingies :wink:)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
Page 1 of 2Next