Sign in to follow this  
SithNadd

Ebon Hawk Doors for K1

Recommended Posts

For reasons I can't explain, ever since I played TSL for the first time far longer ago than I care to admit, I've always wanted to have the interior doors in the Ebon Hawk in the first game. I noticed nobody else had added this feature in as of yet, so I decided to take a crack at doing it myself:

BzRMFZX2_t.png

All of the doors are added in and working, but obviously once they've opened, they stay that way. This feels like it makes the mod a bit pointless, so I'm currently working on a way to have each door automatically close once you move a certain distance away from it. 

I originally planned to use an OnHeartbeat script attached to each door to close it once you move a certain distance away, but it didn’t come out as well as I’d hoped:

It’s a bit janky and doesn’t always seem to work as intended, so I’m not sold on this method.

I did try using a trigger instead, having the doors open/close using the OnEnter and OnExit scripts instead and it’s a LOT smoother, so I think I’m gonna switch to that. Setting all those triggers isn’t going to be the quickest process in the world though so… that’ll be fun!

As you can see, since the doors were originally intended to only be seen from one side in TSL, so once you pass through, you can see some of the door geometry poking out the wall on the other side. I'm not too bothered with that though, since it's unlikely anyone is going to be stopping and turning around to look up every time they walk through a door. I did show it at the end off the video though, just as a point of interest.

I’ll hopefully get all of the triggers set tomorrow, give it a thorough test and then maybe put up a new test video before I create an installer and package it up for release.

Edited by SithNadd
Update added.
  • Like 2

Share this post


Link to post
Share on other sites
4 hours ago, Salk said:

Hello!

Question: what kind of issues have you encountered with the autoclose via heartbeat?

The doors would sometimes stay open for an excessive amount of time after moving away from them and would sometimes snap shut as soon as they were opened.

1 hour ago, N-DReW25 said:

@SithNadd I believe the K1 Enhancement Pack contained a feature that allowed for this, since it is a modder's resource you can study how SpaceAlex made his doors work for when you make your own.

I've had a look through the files and it looks like SpaceAlex did it in near enough the same way I did, give or take. It's pretty close to the effect I want, but there's still that little bit of jank and inconsistency which puts me off, so I think I'll still go for the triggers instead. The triggers will allow for a smoother and more consistent auto-open as well as the close too, since I think having to manually open all those doors every time you walk around the Ebon Hawk could get a bit stale after a while. 

Good thinking, though! :)

Edited by SithNadd

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this