sliding door/window problem....please help

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
3lvi5
Lance Corporal
Posts: 12
Joined: Sat Jan 17, 2004 12:33 pm

sliding door/window problem....please help

Post by 3lvi5 »

I made this sliding door with a window in it and when I tested it the door went straight to a wall, but I want it to stop before or when it hits the wall...
I've searched the forum, but I didn't find a solution...

I Think the pics explain it all....

Image
http://users.skynet.be/se100025/door1.jpg

Image
http://users.skynet.be/se100025/door2.jpg

Is there a way to fix this?
Last edited by 3lvi5 on Sat Jan 17, 2004 11:39 pm, edited 1 time in total.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

pics dont appear
Image
3lvi5
Lance Corporal
Posts: 12
Joined: Sat Jan 17, 2004 12:33 pm

Post by 3lvi5 »

M&M wrote:pics dont appear
that's strange, I can see them, maybe, the server was down... Anyway I put the URLs in too...
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

give the func_door a key/value of lip/##
## is the number of units u want it to stop earlier minus 8
normally a door slides as far as it is long minus 8, which is because the default lip value is 8.
so:
if it slides 32 units too far, give it a k/v lip/40
or
if u want a 128 units wide door slide 100 units, give it k/v lip/28

:roll: this default lip of 8 makes it difficult to explain...
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

hehe, its very confusing at first, but eventually we all get it.
Image
3lvi5
Lance Corporal
Posts: 12
Joined: Sat Jan 17, 2004 12:33 pm

Post by 3lvi5 »

Wacko wrote:give the func_door a key/value of lip/##
## is the number of units u want it to stop earlier minus 8
normally a door slides as far as it is long minus 8, which is because the default lip value is 8.
so:
if it slides 32 units too far, give it a k/v lip/40
or
if u want a 128 units wide door slide 100 units, give it k/v lip/28

:roll: this default lip of 8 makes it difficult to explain...
I (think) I get it, I'll go try it right away...
Thx
3lvi5
Lance Corporal
Posts: 12
Joined: Sat Jan 17, 2004 12:33 pm

Post by 3lvi5 »

Thx a lot!
After guessing, testing and a bit of twinkering I got it working like a charm! :mrgreen:
Post Reply