Custom Skies (Solved)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Custom Skies (Solved)

Post by hunpeter12 »

I'm trying to add a custom sky to my map, one of the skies mentioned in this topic: forums/viewtopic.php?f=64&t=14481
I change the name of my sky to sky_yav2.tga. Then I munge, and this mungelog pops up:
Hidden/Spoiler:
ERROR[PC_texturemunge world1\sky_yav2.tga]:Targa type 10 not currently supported.
ERROR[PC_texturemunge world1\sky_yav2.tga]:Targa type 10 not currently supported.
[continuing]
2 Errors 0 Warnings
Ingame the sky is black.
What is this, and what is the normal size of a sky image?
Last edited by hunpeter12 on Sun Sep 04, 2011 3:04 pm, edited 1 time in total.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Custom Skies

Post by Executer94 »

Show us your 3lettername.sky file in your world1 folder.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Custom Skies

Post by Noobasaurus »

Did you uncheck RLE Compression?
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Re: Custom Skies

Post by Tears2Roses »

Noobasaurus wrote:Did you uncheck RLE Compression?
"Targa Type 10 currently isn't supported errors" are cause by RLE compression. To fix this, open your image with Gimp ( right click on the image and click "edit with Gimp" ) If you don't have gimp, you can download it HERE. Anyways, now that you have your image open in gimp, you will want to click file, at the top left of the screen. From there, find Save As, and click it. A window will pop up. Hopefully, your sky file is already saved in the right place. If it is not named correctly you can re-name it in the name field, top left corner of the window. When your done click save at the bottom left corner. If it is named correctly another window should pop-up asking you if you want to replace the image. This puts your new image in place of the old image. Click replace. Another window window pop's up. It should be small. In the top left corner, there is a box with a check mark that says RLE compression beside it. UN-CHECK that box. The origin is un-important, leave that. Then click save. Those 3 windows will close. Now you can close out of gimp. Munge, and see if that didn't fix your problem :mrgreen: The normal screen size of a sky shouldn't matter ( if you dont have any errors that mention sky size ) but I think the normal size of the sky must be a power of 2. I wouldn't bother re-sizing it at the moment.

Oh and, welcome to gametoast!
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Custom Skies

Post by hunpeter12 »

Thanks, I forgot it.

EDIT: I have a problem: I made my sky image to be 512x255 pixels like the stock Yavin sky.
But in my MungeLog it says:
ERROR[PC_texturemunge world1\Sky1.tga]:
TextureMunge(sky1:512x255x1): Must have power of two dimensions!
ERROR[PC_texturemunge world1\Sky1.tga]:
TextureMunge(sky1:512x255x1):
Must have power of two dimensions!

Any help?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Custom Skies

Post by DarthD.U.C.K. »

this means that your resolution is wrong, all numbers have to be a powr of two (2,4,8,16,32,64,128,256,512,1024 etc).
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: Custom Skies

Post by hunpeter12 »

Me fool I thought that 255 is the power of two not 256!!!!

Thanks for your help!
Post Reply