Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Newbie Questions
by AndrewAMD. 12/04/23 11:14
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
2 registered members (TipmyPip, izorro), 556 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Automatic Texture Re-scale? #90247
09/16/06 03:33
09/16/06 03:33
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
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!

Re: Automatic Texture Re-scale? [Re: CBSection31] #90248
09/16/06 09:56
09/16/06 09:56
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
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.

Re: Automatic Texture Re-scale? [Re: demiGod] #90249
09/16/06 14:39
09/16/06 14:39
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
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!

Re: Automatic Texture Re-scale? [Re: CBSection31] #90250
09/16/06 15:22
09/16/06 15:22
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
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.

Re: Automatic Texture Re-scale? [Re: demiGod] #90251
09/16/06 22:00
09/16/06 22:00
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
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'.

Re: Automatic Texture Re-scale? [Re: Lion_Ts] #90252
09/17/06 14:08
09/17/06 14:08
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Thank you, Lion_Ts, it worked!

demiGod - I will definitely be grouping things from now on...thank you for the tip.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1