Jump to content

Modding the horizon/skybox


Recommended Posts

(giving this its own thread so we can continue without hijacking)

adp posted this instruction in another thread:

--

You'll find the bmp:s for the horizon in "...\b\terrain\skybox\mountains" once you exploded the "Normandy v100B.brz".

The entire horizon is made up of 4 different files (actually there are three sets with 4 files each for clear, haze and thick haze). Each bmp measures 2048x256 pxls. I made one very long horizon measuring 8192x256, pasted actual photos from Italy into one picture and then split it into 4 individual parts. You have to be very cautious when you make the 4 parts - if you miss 1 pxl it'll show up as a nasty glitch on the horizon ingame - which seems to be the case in CMA (which I own btw).

Shouldn't be to hard to make a part of the horizon showing the sea - I seem to recollect that this was done with one mod in CMSF (called CMSFUBKModv1, think you can find it in the Repository)

---

Do the bmps have identifying characteristics that tell you they're for the N,S,E,W horizons, or do you have to use trial-and-error if you want the ocean horizon to be, say, North?

Once you make those new bmp files, how do you get them back into the game? Do you:

1. rezpack them into their own .brz file with its own name, like "ocean skybox" and then place it in the z folder? Will the game automatically detect the modded bmps and use them instead?

2. rexpack them into a .brz file with the same name as the original (Normandy v100B.brz) and place it in the z folder?

3. Just put the bmp files on their own, unpacked, in a subfolder in the z folder, and the game will detect them to substitute them for the originals?

Link to comment
Share on other sites

Some answers;

Yes, the bmp:s have names that let you easily identify them - like "Mountains West" or something similar...

To get them back into game;

1 - yes, that's one way that will work

2 - no, don't think that's a good solution. It might work, but it's a bit confusing, since it reall only contains the bmp:s for the horizon (and not of all the other stuff that's in the original v100B file).

3 - yes, will also work

Link to comment
Share on other sites

  • 6 months later...

Is there a way to make it so that the horizon can be taller? I tried to do it and i didn't get an error but it didn't seem to make a difference. I would like to try and close the gap you see between the horizon and the repeating ground texture.

I hate how sometimes on certain maps when you are zoomed all the way down you still can see the gap between the horizon and the repeating ground texture.

Or is this something that is coded into the game that you cant fix?

Link to comment
Share on other sites

Is there a way to make it so that the horizon can be taller?

The upper part of the horizon is masked off using an alpha channel layer which can be altered. CM:Afghanistan's got big freaking Himilayan mountains as background art! :D

It was considered briefly dropping the north horizon down to nothing in the game but it was judged inappropriate for a title that's eventually going to take us almost to the German border by the end of September. That shouldn't stop modders, though!

Link to comment
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...