WildKarrde

MOD:Yavin Station Hangar

Recommended Posts

Yavin Station Hangar


In the vanilla game, Yavin Station is the only location that does not have a proper hangar where the player can walk to and from the Ebon Hawk. This mod adds one that generally matches the original landing/takeoff videos, although I have taken a few artistic liberties.  You may notice that, as with the original videos, it looks remarkably similar to the Ahto City hangar on Manaan.  I can only assume that the same architect worked on both projects.

The hangar comes in two variants: with and without a visible forcefield effect over the hangar entrance.  By default, the forcefield is invisible.  To change between the visible and invisible forcefields, see the INSTALLATION instructions below.

Aside from adding the new hangar, I have also made a few additional edits to the station:
- Changed the stars to use a different, less-repetitive vanilla star texture.
- Fixed some questionable geometry at the main observation window.
- Edited the walkmesh by the observation window to correct a glitch where the player could teleport into space, originally documented by the KOTOR 1 Community Patch (K1CP).  Please note that I have not reused any K1CP material for these edits.

IMPORTANT:  To experience the new hangar, you will need a save from before visiting Yavin Station for the first time.

Thank you for downloading, and I hope you enjoy this mod!

-------------------------------------------------------------------
INSTALLATION
Run INSTALL.exe, and select the option "Main Installation" when prompted.  If you are using "High Quality Cockpit Skyboxes" by Sithspecter, see below for additional instructions.

By default, the forcefield at the hangar entrance is invisible.  To add a visible forcefield effect, run INSTALL.exe again after finishing the main installation, and select "Optional: Add Visible Forcefield".  If you change your mind and prefer the invisible forcefield, run INSTALL.exe a third time, and select "Optional: Revert to Invisible Forcefield".

-------------------------------------------------------------------
COMPATIBILITY
This mod is incompatible with any mods that alter the area geometry of Yavin Station.  Reskins are technically compatible, but they might look strange with a few new textures that I have added.  If you are using a reskin of the Ebon Hawk's exterior, see the instructions below.

This mod has not been tested with the KOTOR 1 Community Patch (K1CP), the KOTOR 1 Restoration (K1R), or the K1 Yavin IV Planet Mod, but I do not expect any significant issues.  For best results, install this mod after K1CP or K1R and before any other mods that alter Yavin Station.

-------------------------------------------------------------------
HIGH QUALITY COCKPIT SKYBOXES
If you are using "High Quality Cockpit Skyboxes" by Sithspecter (which I highly recommend), I have included compatible skybox textures matching my new hangar.  After installing the cockpit skyboxes, perform the following steps:

1. Go to the folder "HQ Cockpit Skybox Textures".
2. Copy the TPC files corresponding to the desired quality into your Override folder.
3. If present, delete the following files from Override:
   - ebo_yab.tga
   - ebo_yaf.tga
   - ebo_yal.tga
   - ebo_yar.tga
   - ebo_yat.tga

"High Quality Cockpit Skyboxes" may be found at https://deadlystream.com/files/file/938-high-quality-cockpit-skyboxes/

-------------------------------------------------------------------
EBON HAWK RESKINS
To use a reskin of the Ebon Hawk's exterior with the new hangar, perform the following steps:

1. Make extra copies of "LSF_EHawk01.tga" and "LSF_EHawk01.txi" (if present) from the reskin, and rename them as "yvh_ehawk.tga" and "yvh_ehawk.txi", respectively.
2. If present, open the new "yvh_ehawk.txi" with a text editor, and change the entry after "envmaptexture" or "bumpyshinytexture" to "CM_WK_YAVHGR".
3. Copy both files into your Override folder.
4. Delete "yvh_ehawk.tpc" from your Override folder.

-------------------------------------------------------------------
POTENTIAL BUGS
During testing, I occasionally ran into issues of teleporting into space while walking between the hangar and the connecting corridor.  I believe I have corrected the walkmesh issues causing this, but I recommend saving often just in case.

-------------------------------------------------------------------
CREDITS
MDLedit and KOTORmax by bead-v
KotorBlender by seedhartha
tpcview and tga2tpc by ndix UR
NWNSSCOMP by Torlack, stoffe, and tk102
DeNCS by JdNoa and Dashus
K-GFF by tk102
TSL Patcher by stoffe
ERFEdit by stoffe and Fair Strides
Kotor Tool by Fred Tetra

Thanks to DarthParametric for suggesting the visible forcefield effect, providing an example from K1CP, and providing feedback on the result.

Thanks to La Ingobernable for reporting that the Ebon Hawk was missing its venting sound.

-------------------------------------------------------------------
VERSION HISTORY
1.0 - Initial Release
1.1 - Added an option for a visible forcefield effect
1.2 - Added particle emitters at the ends of the visible forcefield
1.3 - Fixed the sound effect of the Ebon Hawk venting in the hangar.

-------------------------------------------------------------------
DISCLAIMER AND PERMISSIONS
This modification is provided as-is and is not supported by Disney, Lucasarts, or Bioware.  Use at your own risk.  The author shall not be held responsible for damage to your game installation, computer, or saved games resulting from the use of this mod.

This mod shall not be reposted, in whole or in part, on any sites other than Deadly Stream without the author's permission.  Assets from this mod shall not be redistributed in other modifications without the author's permission.


  • Submitter
  • Submitted
    05/07/2022
  • Category
  • K1R Compatible
    Yes

 

  • Like 4

Share this post


Link to post
Share on other sites

Fantastic mod! I can't believe I never noticed this until now, but the Manaan docking bay and the Yavin station landing pad are basically 1:1. Even their cargo box layout is the same now that I'm paying attention to the ebon hawk landing video. I thought you were joking about the areas having the same architect cause I thought you were referring to how you just spliced the Manaan hangar into the Yavin station and reskinned it, but Bioware seriously just redid their exact same work with Manaan into the Yavin cinematic. 

I appreciate the attention to subtle detail you added to make the Manaan hangar look closer to Yavin's landing pad, such as adding the cables on the ceiling. Not sure how you did that, yet I'm very impressed anyway. 

Share this post


Link to post
Share on other sites

Thank you, I'm glad you like it!  I actually never noticed the similarities either until I got the idea for this mod, and I started comparing the landing videos to see if an existing hangar might be close enough to reuse as a reskin.  And then I got to Manaan and realized they were basically identical.

Share this post


Link to post
Share on other sites

This is very cool! Looking forward to trying it out

Share this post


Link to post
Share on other sites

If possible i think the idea Darth Parametric suggested of adding a energy wall would be a great idea, considering they are exposed to the vacuum of space 😅

  • Like 1
  • Light Side Points 1

Share this post


Link to post
Share on other sites

Update: As suggested by DarthParametric (and reinforced by Sdub), I have added an option for a visible forcefield at the entrance to the hangar.  If you've already installed version 1.0 and want to try the new effect, you can proceed straight to the "Add Visible Forcefield" part of the installation.

1422016279_Screenshot03(VisibleForcefieldOptionNoText-640x480).jpg.af840f70bb1e4b33f8af42567cc8c08c.jpg

Thanks a ton to Darth Parametric for providing an example forcefield that I could emulate!

  • Like 2

Share this post


Link to post
Share on other sites

IIRC, I don't think any of the vanilla K1 or TSL hangars have visible forcefields, just lights around the perimeter to represent some kind of emitters.  That's how the original trilogy handled it, too:

1222913218_DeathStarHangarBay.jpg.6d186b866852feec9c7bd8d0f0cb92c4.jpg

DarthParametric added a visible forcefield to the Leviathan hangar for K1CP, which I did my best to emulate.  Now that I've seen it in action, I have to admit that it's a pretty cool effect.

  • Like 1

Share this post


Link to post
Share on other sites

Oh okay, thanks.

Then one other possibility was to add the lights around the perimeter where it was missing.

Share this post


Link to post
Share on other sites

I actually already had the lights around the perimeter for that exact reason, might not have been clear in the screenshots.  But I can also see how the full forcefield effect gives it a bit more punch.

1190095118_YavinHangarLights.jpg.7b0f880413a9563288cd9403272d7917.jpg

  • Like 1

Share this post


Link to post
Share on other sites

The other thing you can do is add the emitters that the regular door forcefield has (check the "mydoor2" door model) to each side. I didn't add them to the Leviathan field because it was too big, but maybe the Manaan/Yavin hangar opening is small enough that you won't need too many duplicates. Plus you don't get to wander around the Leviathan hangar anyway, so there wasn't much point.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for the feedback, the emitters definitely make it feel more like the vanilla forcefield doors.  I like the end result (although the still screenshot doesn’t quite capture it), and I have updated the forcefield version with the emitters.  I have also added a subtle plane of static similar to mydoor2.

842172829_EmitterScreenshot-640x480.jpg.cb385ed7b362f6b3f68adaf78ecb573b.jpg

On 5/13/2022 at 11:40 PM, DarthParametric said:

I didn't add them to the Leviathan field because it was too big, but maybe the Manaan/Yavin hangar opening is small enough that you won't need too many duplicates.

Instead of adding duplicate emitters, I actually increased their Y dimensions to fit the opening height.  I also ended up tweaking a few parameters to suit the larger opening.  (Side note, it looks like the emitters on mydoor2 are actually not symmetrical, although I can’t say that it’s noticeable in-game.)

  • Like 1

Share this post


Link to post
Share on other sites

Finally I got the chance to install this modification on top of my heavily customized game.

I did follow the installation instructions accurately but something went wrong. The main install.log did not report any error and the only warning was about finding the liv_m99aa.mod file in the modules folder of my game. Most files were added and some were instead replaced. I have a total of 79 new or modified files in my override directory after installation.

Unfortunately I cannot provide the log of the main install because it seems TSL Patcher overwrites (pretty stupidly, in my opinion) the current one with the one coming from the additional component (Visible Forcefield), which I installed just afterwards.

I attached that log here for scrutiny but it reports a successful installation.

I describe what the problem is. When I disembark the EH, the party is spawned at the standard location used in the original game (the corridor) and I have no way to even go back (there is no "exit"). I noticed some changes in the corridor which confirmed that the main installation should have been successful, just like the install.log reported and the pictures I am attaching here showing the RIM and the modified MOD of the area are further confirmation about it.

Yavin before:

1937809784_YavinRIM.jpg.e298cd16fa3f9e093cae7a447a957f31.jpg

Yavin AFTER:

1877358847_YavinMOD.jpg.55edf19e56f9deefa5cbcaddfc133b5b.jpg

I can provide screenshots of the party spawning, if needed.

I have also installed the High Quality Cockpit Skyboxes files and the EH reskin but I doubt that is relevant.

Thanks!

installlog.rtf

Share this post


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

Finally I got the chance to install this modification on top of my heavily customized game.

I did follow the installation instructions accurately but something went wrong. The install.log did not report any error and the only warning was about finding the liv_m99aa.mod file in the modules folder of my game. Most files were added and some were instead replaced. I have a total of 79 new or modified files in my override directory after installation.

Unfortunately I cannot provide the log of the main install because it seems TSL Patcher overwrites (pretty stupidly, in my opinion) the current one with the one coming from the additional component (Visible Forcefield), which I installed.

I attached that log here for scrutiny but it reports a successful installation.

I describe what the problem is. When I disembark the EH, the party is spawned at the standard location used in the original game (the corridor) and I have no way to even go back (there is no "exit"). I noticed some changes in the corridor which confirmed that the main installation should have been successful, just like the install.log reported and the pictures I am attaching here showing the RIM and the modified MOD of the area are further confirmation about it.

Yavin before:

1937809784_YavinRIM.jpg.e298cd16fa3f9e093cae7a447a957f31.jpg

Yavin AFTER:

1877358847_YavinMOD.jpg.55edf19e56f9deefa5cbcaddfc133b5b.jpg

I can provide screenshots of the party spawning, if needed.

I have also installed the High Quality Cockpit Skyboxes files and the EH reskin but I doubt that is relevant.

Thanks!

installlog.rtf 1.87 kB · 1 download

I had this happen on K2 at first when I ported it and on K1 when I first installed it to test it, such an awesome addition to the game, I think it was because I had possibly been there in that save before.

So that might be something worth considering. I loaded an earlier save in K1 and warped there and it worked fine.

Thor110

  • Light Side Points 1

Share this post


Link to post
Share on other sites

I think I have found the problem.

It is all on me as I have altered the spawning points for the party members disembarking the Ebon Hawk.

I will test this later but I am quite sure it was a false alarm on my part.

  • Like 1

Share this post


Link to post
Share on other sites
6 hours ago, Thor110 said:

...I think it was because I had possibly been there in that save before.

So that might be something worth considering. I loaded an earlier save in K1 and warped there and it worked fine.

Thanks for jumping in, Thor110.  This will probably be the cause and solution for the typical user with this issue.  If you have been to Yavin previously, the game loads the old waypoints, placeables, etc. from the saved game rather than the updated ones in the module GIT.  The original exit will still be there, too, so it shouldn't break the module.  You just won't be able to get to the hangar before it sends you back to the Ebon Hawk.

6 hours ago, Salk said:

It is all on me as I have altered the spawning points for the party members disembarking the Ebon Hawk.

That would definitely do it.  🙂  Glad you were able to figure it out.

  • Like 1

Share this post


Link to post
Share on other sites

Hello!

I am happy to confirm it was just a user error. I really like this modification and the work you have done with it, WildKarrde!

Just a final question about the EH reskin files you instructed to rename: the original files are then no longer necessary (LSF_EHawk01.tga and LSF_EHawk01.txi), I assume?

Share this post


Link to post
Share on other sites

Thank you, that's good to hear!  If I understand your question correctly, LSF_EHawk01.tga and LSF_EHawk.txi should still be left in Override when you're done.  They're the textures that reskin the Ebon Hawk on the Star Forge.  The end goal is  just to make an extra copy of the reskin that is appropriately named so that my new models will use it.  There isn't anything special about LSF_EHawk01 versus the other planet-specific copies, I just chose it to have something concrete for the instructions.

  • Like 1

Share this post


Link to post
Share on other sites

Mod has been updated to add the sound effect of the Ebon Hawk venting in the hangar.  Thanks to @La Ingobernable for pointing out the lack of sound.  I always meant for there to be sound, but I forgot to include a copy of the UTS in the install package.  I have also uploaded a separate hotfix for anyone who has installed version 1.2 or earlier.  Note that you will need a save from before visiting the station for the hotfix to fully take effect.  Sorry for the inconvenience, clearly I need to have chat with my quality assurance team...

  • Like 3

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.