Sign in to follow this  
90SK

[TSL] Modifying the Skyboxes in the Ebon Hawk

Recommended Posts

Hello DS.

I am beginning to overhaul the skyboxes in the Ebon Hawk viewable out the windows in the cockpit. I was curious how this mechanism of switching between skyboxes works? I see there are three images in the ebon hawk textures, two of them are divided into four, the other one is for M4-78. 

image.png.e615102911b84bfb2a670789ba2b6ffe.png

Right now I'm testing changes to these ebo_sky files in my modded Ebon Hawk. If anyone can shed some light on this subject in the meantime, it would be greatly appreciated. Thanks :)

  • Like 2

Share this post


Link to post
Share on other sites

The galaxymap script changes the room model animation to play which swaps between different skybox models which show those textures.

k_inc_hawk.nss

Spoiler

void SetBackground()
{
    //string sRoom = GetScriptStringParameter();
    string sRoom = "003EBOq";
    int nRoomAnimation = GetGlobalNumber("003EBO_BACKGROUND");

    switch(nRoomAnimation)
    {
        case 0://106PER
        {
            nRoomAnimation = ANIMATION_ROOM_SCRIPTLOOP01;//PERAGUS
        }break;

etc

The model "003EBOq" contains these room animations.

  • Thanks 1

Share this post


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

The galaxymap script changes the room model animation to play which swaps between different skybox models which show those textures.

k_inc_hawk.nss

  Reveal hidden contents

void SetBackground()
{
    //string sRoom = GetScriptStringParameter();
    string sRoom = "003EBOq";
    int nRoomAnimation = GetGlobalNumber("003EBO_BACKGROUND");

    switch(nRoomAnimation)
    {
        case 0://106PER
        {
            nRoomAnimation = ANIMATION_ROOM_SCRIPTLOOP01;//PERAGUS
        }break;

etc

The model "003EBOq" contains these room animations.

Thanks for your reply! This is good information, I have found the info in k_inc_hawk.nss as you described.

image.png.b132cf385196bd3fb527562371905b33.png

Wonderful! I will begin creating the skybox images and setting them up for their corresponding planets. :)

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