Page 1 of 1

How to create custom receptors?

Posted: Wed Oct 17, 2012 6:41 pm
by batupata
Hello,

I'd like to create a receptor, which looks and acts like dungeon cave in, but disappears when hit. I've tried to copy the dungeon_cave_in and change it's class to receptor, but it doesn't work.
if I set a wall behind the receptor and change the receptor's trigger to a rock it works, but I'd like it to be activated when hitting it with a certain item.
Is it even possible to activate receptors without throwing items at them?

Thank you for help.

Re: How to create custom receptors?

Posted: Wed Oct 17, 2012 11:13 pm
by Neikun
Well it's a Blockage, so just give it some health.
Unconfirmed, but I think a blockage with no brokenModel =
just disappears when broken.

Anyway, my suggestion is take the health parts from the barrel blockage and merge it with the cave in one.

Re: How to create custom receptors?

Posted: Thu Oct 18, 2012 12:03 am
by batupata
Of course! Why didn't I think of that? Thank you very much :)

Re: How to create custom receptors?

Posted: Thu Oct 18, 2012 12:06 am
by Neikun
It's the common rule of trying to do something new. You will always try to do it the hard way at first lol.

Re: How to create custom receptors?

Posted: Thu Oct 18, 2012 12:51 am
by Neikun
When I read the title, I though you were looking for something like this haha,
Image