An old discovery i had stumbled upon regarding city gfx

Kyriakos

Creator
Joined
Oct 15, 2003
Messages
78,218
Location
The Dream
I am not exactly sure what i did, but i guess i can find it. It had to do with transparency in the file, or saving it as a larger file, but still workable in civ3 size. This had the effecdt that gfx outside the civ3 sized image also appeared, thus making it possible for one, hypothetically, to have a massive amount of gfx showing in the city file.
For example you could have a fortified city, and 10 squares from it a defense wall, which would dissappear when the city was taken by a culture that did not have the same graphic.

If anyone is interested in this i could look it up. It had to do with gimp transparencies, i am pretty sure about that :)
 
The way i remember it was that, by accident, i pasted into an image which had civ3 proportions, a much larger image. I thought that it didnt matter, since only part of it would show, and indeed in my screen only that part appeared. But when i loaded civ i noticed that the rest of the image was visible :)
 
I wonder if the graphic size is larger, does civ3 automatically use the upper left corner to determine where the cities are? Something like this would mean that the 'outside graphics' would only be able to go down and to the right for instance.

It would have to do something of that sort, in order to still properly show the cities themselves.

Tom
 
I guess it's just me, but I don't understand what's going on. What is this you've found out, Varwnos?
 
Im not really sure how this can be used. As for suburbs we already have resources, there are iirc 256 resources so you can use a part of them for suburbs. I really think that what happens with the city pcx is either a result of poor code-writing, or an abandoned attempt to have the city expand more than one tile, in any way that is organic for it, ie if an invader sets foot on another tile that the city has gfx then something happens in the city (eg unhappiness).
 
I guess it's just me, but I don't understand what's going on. What is this you've found out, Varwnos?

I found it more than 2 years ago. The way i recall it there were graphics shown on the screen that were outside the image of the walled city pcx. I had pasted an image with more gfx, thinking that the rest will not show since the size was the regular pcx walled, but they did show. :)
 
As for suburbs we already have resources, there are iirc 256 resources so you can use a part of them for suburbs.
Resources don't disappear when you raze a city. They also don't change with the era, or when culture flipped. ;)
 
I'm trying to understand what you might have found, Varwnos. Are you saying that you made a pcx with Gimp and accidentally left two layers instead of one, and that when you went to it to use it, the second layer showed up in-game? Or that you forgot to reduce the size of a city file, but that the game used the larger size anyway? I'm very confused. And I'm having trouble picturing either one working...
 
Probably the first, i am not sure what i did, but i remember pasting a larger image onto one which only had civ3 size. The result was that the gfx outside the image, which should have been cut, appeared in the game.
 
Wow... you could have Constantinople stretch across both sides of the sea!
 
Varwnos, can you try putting together two or three models and rendering a super-large city to see what happens?

It's a pity that the idiots at Firaxis decided to leave scripting out of the game...
 
It probably has to do with Gimp, and its ability to save an image with a part of it hidden.
Not sure if i will try to recreate it since i do not really see the point in it, but others are welcome to try it. I guarantee that it happened though :)
 
Wow! If I understand this correctly I would definitely have a use for this. I've been playing around with various other ideas for making cities apear to cover more tiles for some time now and this could be a very nice way of doing it. You can use terrain for citie buildings, or resources or city-sprawl railroads etc but this would be a much better option because it would be a) more simple to do and b) you wouldn't have to sacrifce anything else to achieve it like railroads or terrain types.

Please try and find out how you did it!

Cheers

Nick
 
Back
Top Bottom