Page 1 of 1

Delete sun [Solved]

Posted: Mon Jan 30, 2017 12:32 pm
by CdtFox
I've made some edit on the stock Yavin 4 map, now it's the night instead of that grey sky.

My only problem is that the sun still remain, how i can delete this sun? I searched in the sky file but i didn't find any infos about the sun

Thx for the help :)

EDIT:

Well it was located in the fx file not sky one, i figured how to do it :D

For some reasons i got these errors:

Code: Select all

ERROR[PC_texturemunge world1\yavinx.tga]:TextureMunge(yavinx:92x92x1): Must have power of two dimensions!
ERROR[PC_texturemunge world1\yavinx.tga]:TextureMunge(yavinx:92x92x1): Must have power of two dimensions!
 [continuing]
ERROR[PC_texturemunge world2\yavX.tga]:TextureMunge(yavx:63x64x1): Must have power of two dimensions!
ERROR[PC_texturemunge world2\yavX.tga]:TextureMunge(yavx:63x64x1): Must have power of two dimensions!
 [continuing]
   4 Errors    0 Warnings
I checked with gimp and the texture have two dimensions: 92x92 why x1 too? It didn't crashed the map of course but I'm a bit curious about that.

Re: Delete sun - [Solved] - now Yavin errors

Posted: Mon Jan 30, 2017 1:27 pm
by ARCTroopaNate
Textures should generally be a power of two. 256x256, 512x512, 1024x1024 etc.

Re: Delete sun - [Solved] - now Yavin errors

Posted: Mon Jan 30, 2017 1:29 pm
by Teancum
92 is not a power of 2. A quick check with this table will help with that.

http://www.thealmightyguru.com/Pointless/PowersOf2.html

Also the other texture is 63x64, which won't work. In that case it must be 64x64

Re: Delete sun - [Solved] - now Yavin errors

Posted: Mon Jan 30, 2017 3:00 pm
by AnthonyBF2
If you're wondering why those textures are sized like that: simple, the mod tools for each game have tons of inconsistencies with their assets related to the base game. Often, some things in mod tools have to be added again, changed or deleted to work similar to it's original piece in the base game. On example of this is the Death Star having mismatched command posts and using a new Death Star world file results in no command posts in the small hangar. The fix was erasing all CPs and re-adding 1 - 6. Incorrect texture sizes are also another common thing in both game's tools.

Re: Delete sun - [Solved] - now Yavin errors

Posted: Tue Jan 31, 2017 4:35 am
by Marth8880
Also,
ARCTroopaNate wrote:1028x1028
it's 1024x1024, not 1028x1028. ;)

Re: Delete sun [Solved]

Posted: Tue Jan 31, 2017 9:45 am
by ARCTroopaNate
Edited: Whoops, my bad.

Re: Delete sun - [Solved] - now Yavin errors

Posted: Tue Jan 31, 2017 9:48 am
by CdtFox
AnthonyBF2 wrote:If you're wondering why those textures are sized like that: simple, the mod tools for each game have tons of inconsistencies with their assets related to the base game. Often, some things in mod tools have to be added again, changed or deleted to work similar to it's original piece in the base game. On example of this is the Death Star having mismatched command posts and using a new Death Star world file results in no command posts in the small hangar. The fix was erasing all CPs and re-adding 1 - 6. Incorrect texture sizes are also another common thing in both game's tools.
mmh...yeah i see thx Anthony
Teancum wrote:92 is not a power of 2. A quick check with this table will help with that.

http://www.thealmightyguru.com/Pointless/PowersOf2.html

Also the other texture is 63x64, which won't work. In that case it must be 64x64
Thx for the tip Teancum

Re: Delete sun [Solved]

Posted: Tue Feb 07, 2017 1:39 pm
by thelegend
1,267,650,600,228,229,401,496,703,205,376 x 1,267,650,600,228,229,401,496,703,205,376
Texture resolutions in year 3017. Could still work In swbf2 though.