Unsolved Mysteries (Rookie Sleuths need not apply!)

Yeah, I was completely joking - I am more than a little awed that people can wade into the SDK files and do so much with them.

'Twas definitely sarcasm.
 
Keep em coming! I've made so many mistakes modding I'm bound to be useful. ;)
 
In regards to THE ADVENTURE OF THE BABY BUTTON

It's a weird one indeed.

First of all, and I gotta ask this, the unit button you're making, it's 64x64 pixels, right?

What compression are you using? What about the mipmap settings?

Also, post the exact button tag you're using (the entire line), those things are notoriously finicky about the oddest things.
 
Rabbit said:
In regards to THE ADVENTURE OF THE BABY BUTTON

It's a weird one indeed.

First of all, and I gotta ask this, the unit button you're making, it's 64x64 pixels, right?

What compression are you using? What about the mipmap settings?

Also, post the exact button tag you're using (the entire line), those things are notoriously finicky about the oddest things.
Alright, let's see what we've got. The buttons are indeed 64x64.

The way I save .dds files is first saving a .bmp and then converting them DXTBmp - I dunno if that answers your question, but...

For the mipmap settings, I previewed them in DXTBmp right before I saved the file - there are 8 of them. It would appear, for whatever reason, that it's using the 32x32 versions on the tech screen.

Here's the code.

<Button>,Art/Interface/Buttons/Units/unit-colonist.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,3,2</Button>

Let me know if there's any other info that might help.
 
I never made an atlas so I'm no help on this one. I simply dumped all buttons into a folder and retrieved them from there.
 
erikg88 said:
<Button>,Art/Interface/Buttons/Units/unit-colonist.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,3,2</Button>
Ok, so first of all remove the atlas reference. This is just a guess (an educated one mind you :)), but the atlas system appears to be a left-over of an older implementation of the buttons. When you remove the atlas reference don't forget to remove the comma in front of it. As for the comma at the very beginning, it seems to actually matter to the game if it's there or not (it works in both cases but slightly differently). So basically, try both ways, with comma and without the comma, but I think removing the comma is the more correct way so if they both produce the same result leave the comma out for now.

erikg88 said:
For the mipmap settings, I previewed them in DXTBmp right before I saved the file - there are 8 of them. It would appear, for whatever reason, that it's using the 32x32 versions on the tech screen.
So am I to understand that you indeed generate mipmaps? First of all I'm having trouble with this because a 64x64 button will at most generate 5 mipmaps, and usually it's 4. However, regardless you should not be generating mipmaps for buttons, there's no need. So if you can disable that option, do and see if it helps.

Finally, if nothing works, try one of my buttons (you can grab one of the WH40k tech buttons in my sig) and see if it makes a difference. I generate them in Photoshop so it might be just your converter.
 
Rabbit said:
Ok, so first of all remove the atlas reference. This is just a guess (an educated one mind you :)), but the atlas system appears to be a left-over of an older implementation of the buttons. When you remove the atlas reference don't forget to remove the comma in front of it. As for the comma at the very beginning, it seems to actually matter to the game if it's there or not (it works in both cases but slightly differently). So basically, try both ways, with comma and without the comma, but I think removing the comma is the more correct way so if they both produce the same result leave the comma out for now.


So am I to understand that you indeed generate mipmaps? First of all I'm having trouble with this because a 64x64 button will at most generate 5 mipmaps, and usually it's 4. However, regardless you should not be generating mipmaps for buttons, there's no need. So if you can disable that option, do and see if it helps.

Finally, if nothing works, try one of my buttons (you can grab one of the WH40k tech buttons in my sig) and see if it makes a difference. I generate them in Photoshop so it might be just your converter.

You're one crafty man, Rabbit. Fixed the problem, and I'm gonna post the results in the first post. Thanks a lot, man!
 
A new case need to be solved as well, The Adventure of the Terrain Light and The Disappearance of the City Name.

During the games that i play, i somehow got this annoying bug that all my cities names and status bars+production bar disappear, i did not even hit the bare map and all, this happens after i research something or after building something. Now the Terrain Lighting thing is also a annoyance, it will not allow me to place things in the world editor, the Land Terrain, mountains, hills, grassland, anything on land are VERY BRIGHT like all the terrains just maxed out there gamma.

Please solve these two cases and give me the solution of stopping these so that i can play without any errors of restarting my Civ 4.
 
Back
Top Bottom