Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attaching a hatch to door
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#1
Attaching a hatch to door

Hey everyone!

I decided I wanted to try attaching a hatch to a door so that it can sort of serve as a means to peek on what's on the other side.

I've set up the door and the hatch like this
Spoiler below!
[Image: 8KuMT.jpg]

HOWEVER, when I pull on the door, the hatch stops it from moving, seeing as they collide. Is there a way I can connect them so that they move together, but also still have their own properties? (Like, I can move the hatch without opening the door).

Thanks!

Btw: I'll fix the hatch size and texture later. Want to see if I can get this working first :3

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-13-2014, 11:00 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Attaching a hatch to door

You say you're gonna fix the size of it later.... But maybe the size is the actual problem.

Trying is the first step to success.
05-13-2014, 11:06 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Attaching a hatch to door

(05-13-2014, 11:06 AM)FlawlessHappiness Wrote: You say you're gonna fix the size of it later.... But maybe the size is the actual problem.

They appear attached, but are not attached per se Tongue
Like, if I pull on the prison door, it won't move because the hatch is there.

Anyway, I did fix the sizes now Tongue This is how it looks now, still with the problem.

1st is looking attached, second is when the door is not attached to the hatch, but pulled back against it, because they collide, stopping the player's progress. The hatch doesn't move with the door, which is what I want.
Spoiler below!
[Image: 8Kvd1.jpg]
[Image: 8KvgA.jpg]

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 05-13-2014, 11:13 AM by Romulator.)
05-13-2014, 11:12 AM
Find
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#4
RE: Attaching a hatch to door

Oh, I just remembered, give the mount of the hatch physics, It doesn't have them by default, it's static.

You can do that by model editor.

EDIT: And just for the test, attach only the body of the mount to the door.
But do that by your own risk, I do not know what could happen.
Can't guarantee it won't explode.
(This post was last modified: 05-13-2014, 12:11 PM by Red.)
05-13-2014, 11:34 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#5
RE: Attaching a hatch to door

Well, the Model Editor quits itself with a 50% gathered black box when I import the .dae into the model editor while one of the doors are there it seems, with both the 1.2 and 131111 tools.

Might leave it for now, but feel free to drop other suggestions!

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-13-2014, 12:24 PM
Find
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#6
RE: Attaching a hatch to door

You can also modify the .ent file by text editor, Add a line of code that contains info of gravity or physics, under body section which does not have it already.
You can find those lines by inspecting bodies which seem to have them.
05-13-2014, 12:36 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#7
RE: Attaching a hatch to door

Just, make sure to post in the right section! Moved.
05-13-2014, 01:03 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#8
RE: Attaching a hatch to door

Oh sh... didn't realise. Sorry Traggey! Won't happen again!

Spoiler below!

[Image: gallery_1354_5_7401.gif]


Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 05-13-2014, 01:54 PM by Romulator.)
05-13-2014, 01:51 PM
Find
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#9
RE: Attaching a hatch to door

I think I'll upload the the hatch with mount physics here, so there's no over complexcity. Just a sec.

EDIT: Here it is.
Add it to /redist/entities/doors/hatch_ceiling

And use this, instead of what you have currently attached.
If you're gonna do my test I mentioned earlier, attach "frame" not "hatch_ceiling",
"frame" is the bodyname.


Attached Files
.rar   hatch_ceiling_has_gravity.rar (Size: 1.87 KB / Downloads: 116)
(This post was last modified: 05-13-2014, 02:29 PM by Red.)
05-13-2014, 02:20 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#10
RE: Attaching a hatch to door

Cheers Red Smile I'll take a look at it tomorrow, seeing as I should be asleep Tongue

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-13-2014, 02:53 PM
Find




Users browsing this thread: 1 Guest(s)