I'm working on adding sliding door support to my Breakable Doors plugin, but am coming up with some problems...
basically what I do to the sliding doors is:
a) make them PASSABLE
b) make them INVISIBLE
by doing this players are able to walk through an invisible door, hence giving the illusion that the door has been destroyed.
However, when I set the door back to NON-PASSABLE (i of course need to re-dispatch it after this), the door appears just fine, but the door angles get all screwed up.. ie- the direction it needs to slide, is messed up.
I've looked in the SDK and the FGD file(s) and have been unable to find out exactly what controls this direction, however, i do know that i've been unable to use get_keyvalue() for anything because it's seemingly broken and doesnt return a thing.
I've tried many entvars on the door to see if anything will return some kind of angle or velocity for the openned door, but have been unsuccessful. Anyone else out there (perhaps someone w/ mapping experience) care to help me out?