Automatic Texture Re-scale?

Posted By: CBSection31

Automatic Texture Re-scale? - 09/16/06 03:33

Hi everyone,

Is there a way to automatically have all blocks with an applied texture to re-size the texture to another size?

I've created a game with a few thousand blocks that have a 512x512 texture, but based on feedback, I've decided that the texture appears too big. I want the scale to be 0.75 instead of 1, as it is now. I don't want to simply shrink the texture file, as it's not very detailed as-is. Is there a way to automatically change all blocks that have this texture applied to a different scale? I'm hoping I'm not going to have to go back and change them all manually!

Thanks!
Posted By: demiGod

Re: Automatic Texture Re-scale? - 09/16/06 09:56

Yes, its possible. Just select your blocks or group them, then in the textures tab -> texture, right click the texture that are assigned -> settings and then change the properties you want. Finally, double click that texture again and the new properties are assigned to the selected objects.
Posted By: CBSection31

Re: Automatic Texture Re-scale? - 09/16/06 14:39

Is there a way to automatically select blocks based on their textures? Because the blocks are mixed in with a bunch of blocks using other textures, as well. I don't want to alter all of those blocks, too. Thanks for your reply!
Posted By: demiGod

Re: Automatic Texture Re-scale? - 09/16/06 15:22

I dont thing so but maybe i am wrong. You dont need to apply the new texture size for every block, just select by groups using ctrl + left mouse click and then apply the new texture properties.
This is an example that shows how important is to implement a good level design process, like divide the level into groups and sections or classes that in the future could be possible to scope down and edit them.
I hope it helps.
Posted By: Lion_Ts

Re: Automatic Texture Re-scale? - 09/16/06 22:00

you can 'find&replace' texture for all blocks with help of any plain text editor. Open your wmp file and invoke 'replace' command:
reaplace what: -old texture name
replace with: -new texture name
then hit 'replace all'.
Posted By: CBSection31

Re: Automatic Texture Re-scale? - 09/17/06 14:08

Thank you, Lion_Ts, it worked!

demiGod - I will definitely be grouping things from now on...thank you for the tip.
© 2023 lite-C Forums