[MODCOMP] BTS Events w/ Images

Images for events 41 to 60, all 256x256 DDS DXT3:

eventimages_41_60_i15.jpg


Get 'm here!!
 
I think I know why it doesn't work for you Afforess

Try this (change slash to backslash):

<EventArt>Art\EventImages\Test.dds</EventArt>

It worked for me.
If you'll still have problems - I'll upload .dll + sourcecode 3.19

I have question - could be the size of image set? Right now it's 256x242 in game (height is probably shrinked because i don't play on full screen)
Could be the size set for example to 340x240 still using 256x256 .dds textures?
 
I think I know it doesn't work for you Afforess

Try this (change slash to backslash):

<EventArt>Art\EventImages\Test.dds</EventArt>

It worked for me.
If you'll still have problems - I'll upload .dll + sourcecode 3.19

I have question - could be the size of image set? Right now it's 256x242 in game (height is probably shrinked because i don't play on full screen)
Could be the size set for example to 340x240 still using 256x256 .dds textures?

:dunno:

256x256 works fine for me. Afaik the dimensions of a dds have to be a power of 2 (= 2, 4, 8, 16, 32, 64, 128, 256, etc.)
 
Yup but the dimension could be different in game - like .dds of LH or shrine movies - i use 512x512, but they are displayed in rectangular window
 
Yup but the dimension could be different in game - like .dds of LH or shrine movies - i use 512x512, but they are displayed in trectangular window

Maybe 512x512 is just too big. Tried that size before, but decided to shrink the images down to 256x256. Here are some test screenies:
Spoiler :
civ4screenshot0003_qUZ.jpg


civ4screenshot0006_xdn.jpg


civ4screenshot0004_ecC.jpg


civ4screenshot0005_Z3m.jpg


civ4bletchleyparkevent.jpg


Custum made event :p
 
I think I know why it doesn't work for you Afforess

Try this (change slash to backslash):

<EventArt>Art\EventImages\Test.dds</EventArt>

It worked for me.
If you'll still have problems - I'll upload .dll + sourcecode 3.19

I have question - could be the size of image set? Right now it's 256x242 in game (height is probably shrinked because i don't play on full screen)
Could be the size set for example to 340x240 still using 256x256 .dds textures?

I did get the event to finally work. Apparently, triggering with the console doesn't work, but making the events trigger normally does...
 
OK
I've managed to change the size of the image

I've changed CvDLLButtonPopup.cpp - setting 320 x 240. I need it more wider so I'll play more with settings - maybe 360x240 would be fine :)



Code:
// Begin EmperorFool: Events with Images
	if (kTrigger.getEventArt())
	{
		gDLL->getInterfaceIFace()->popupAddDDS(pPopup, kTrigger.getEventArt(), 320, 240);
	}
// End EmperorFool: Events with Images

BTW do you know how to put Enter (new empty line) between the image and the event's text?
 


It's how I would like it to look:
Modern photo
http://en.wikipedia.org/wiki/File:Forestfire3.jpg
turned with vintage action to the old photography with borders (maybe i should make the borders a little bit darker)

The texture is 256x256, but the setting is 360x240
 
Looks good to me :goodjob:

EDIT: but original pics get stretched, possibly out of proportions so it won't look good anymore!

Well, what if you used 512x512, and let the game resize them to 320x240, then it wouldn't be so bad.
 
it'll be stretched.

So i choose selection too with width 3 multiplied by x and height x multipled by two - for example i cut image 900x600 and than resize it to .dds 512x512 or 256x256. 512 could slow down old PCs so i rather will be using 256
 
Nice. I've been holding back on adding these because I wanted to have them all at once...
 
Really cool. Hope I can get it added to my favorite mod. Probably too busy (aka lazy) to do work on it myself, though ;-)
 
Back
Top Bottom