Jump to content

Welcome to JKHub

This community is dedicated to the games Star Wars: Jedi Outcast (2002) and Jedi Academy (2003). We host over 3,000 mods created by passionate fans around the world, and thousands of threads of people showcasing their works in progress and asking for assistance. From mods to art to troubleshooting help, we probably have it. If we don't, request or contribute!

Get started

New year, new contest. Create a map for Jedi Academy or Jedi Outcast as part of this mod contest we are hosting. Winner of the contest gets a badge on the forum, an entry on the contest board, but best of all this just encourages creativity that benefits the community to enjoy the mods being made. The best creations come from passion, not reward. 😎

Read more

If you're new or returning from a long hiatus, here are the basics of getting started with Star Wars Jedi Knight Jedi Academy.

Watch video

How to make a new skybox for your map


anti2

Option 1: Space Engine

Space Engine is a universe simulator, which also can capture 360-degrees panorama in space and from planet's surface. It has endless number of procedurally generated worlds, so you can find literally any space environment or any planetary sky you want (sand planet with binary suns, for example). Beta versions before 0.99 are free to download from the official forum. For me, 0.9.6 is the most stable.

Pre-release versions may be incompatible with new nVidia drivers. If the game crashes on startup, try this solution I found on Reddit. It worked for me.

Spoiler

Of course, release version of SpaceEngine is available at Steam, but it's paid.

Launch the game, fly to any location in space, planet or asteroid surface you like, then press Escape to open main menu and select "Tools" (or "Editor" in pre-release versions), and then "Export skybox". Leave default settings (or increase/decrease resolution) and press "Export". That's all.

_01.jpg.f488fc5ab6243af66670d5cfd3b78012.jpg

Now you can find six images in [installation directory]/export in Steam version or [installation directory]/cache/export in an old version.

We just need to rename them and optionally convert from tga to jpg:

  • sky_neg_x -> planetname_bk
  • sky_pos_x -> planetname_ft
  • sky_neg_y -> planetname_dn
  • sky_pos_y -> planetname_up
  • sky_neg_z -> planetname_lf
  • sky_pos_z -> planetname_rt

Space Engine has tons of settings to adjust visuals. I usually decrease stars brightness and hide lens flares.

Option 2: Unreal Engine

Default start level in UE5 has basic sky/atmosphere setup, plus you're free to add any objects (city landscape, for example) in viewport. Also, UE5 can capture panorama in HDR. So it's a pretty good tool.

Note: here I assume you're at least slightly familiar with UE, can download it, install, launch and modify a game scene.

After you finish your scene, from "Place Actors" window find and drag SceneCaptureCube to some location in viewport. Just make sure it's above the ground. Select the actor, and at the "Details" tab set "Capture Source" to "Final Color" in HDR or sRGB or LDR depending on your needs.

_02.jpg.fa429270732dad28607c350ff6c8ff1a.jpg

In Content Browser create new skybox texture: click "+Add" button -> Texture -> Cube Render Target. Double-click on the created asset to open it. In the "Details" tab set "Size X" to 1024 or 2048. In the same tab set or uncheck HDR checkbox.

Spoiler

_03.jpg.f0e67e8289902f3e93edfed266109529.jpg

_04.jpg.01ceb0f9e01f90bdd58dc1825dffd767.jpg

Close the texture window, make sure again you selected SceneCaptureCube actor in viewport, and in "Texture Target" field (at the "Detalis" tab) select the texture asset you've just created. UE will render it immediately, and you should see the skybox if you open the texture asset again.

Spoiler

_05.jpg.02c31421a9ad15f54d1f507e9948945d.jpg

Right mouse click at the texture asset in Content Browser and in the popup menu select Asset Actions -> Export. There are two useful export file types: HDR (regardless of your capture format) and DDS.

Spoiler

_06.jpg.d03ec50f6c7ef4ab4d152d76746a0f36.jpg

DDS already contains cubemap as 6 images. You just need a software to extract them. But I usually use HDR format (which contains single sky texture) and Blender with "Blender BSP Importer" plugin by SomaZ to generate six cube textures from it.

If you are not familiar with it:

Spoiler

Download and install Blender, download Blender BSP Importer plugin as zip archive.

In Blender go to menu Edit -> Preferences -> Add-ons, then click small button at the right top corner of the "Blender Preferences" window, and finally click "Install from Disk...".

_07.jpg.11dc1fa93a0e9939bd9e3dc790327e5c.jpg

Then select the zip file you've just downloaded. That's all. For other purposes you need to specify JA Base folder at the plugin's settings, but cubemap generation works without it.

In Blender, go to "Rendering" mode and import your skybox texture (just drag&drop it to Blender). Open "ID3 Mapping" from vertical strip (at the right from viewport/texture view) and click the only available button "Make skybox from equirectangular".

_08.jpg.a840084f1ad0a3fcab271de48c8e57d7.jpg

Now your Blender project has 6 new textures. Open them one by one at the rendering tab and select Image -> Save as... to save as files.

Spoiler

_09.jpg.3b35ab8d80dda07bc93e9027d61c19f9.jpg

_10.jpg.e0d82843e158c3a42bbeea51dd062559.jpg

 

 

biggs likes this

User Feedback

Recommended Comments

There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...