View Full Version : Mod Idea - Roll over on Cursor and ...


weakciv
Oct 28, 2005, 12:32 PM
Just an idea, does anyone know enough to accomplish it?

1) Currently as you roll over terrain/units/cities/etc the information popup is in the lower left. I think it might be a bit more intuitive to have the Top-left part of that information anchored to the Bottom-right of the cursor. That way as you point to something you see the information at your cursor. Of course logic would need to be put in to keep that information on screen when you are near the edges.

2) Currently the "xxx was founded in a distant land" or "Your warrior was killed by an Archer" messages are in the upper left part of the screen. Maybe we could have that information centered at the top just under the Research bar.


Again, just ideas. what do you think? anyone know how to accomplish this>

upstart
Oct 28, 2005, 01:13 PM
same here about wanting the information to pop up under the cursor. this is one of the few (small) gripes i have with civ iv. i keep looking for information where my cursor is, rather than the very bottom left of the screen. this maybe ok for those on a laptop or small screen but with a 21" monitor and 1600x1200 res? my eyes have to do some traveling..

Stardog13
Oct 28, 2005, 01:18 PM
I'm sure it's possible, just have to dig through the python scripts.

Isak
Oct 28, 2005, 01:27 PM
Yeah, Python is where the interface changes can be made.

Stardog13
Oct 28, 2005, 01:44 PM
screen.setHelpTextArea( 350, FontTypes.SMALL_FONT, 7, yResolution - 172, -0.1, False, "", True, False, CvUtil.FONT_LEFT_JUSTIFY, 150 )

might be it, it's used many times in Assets\Python\Screens\CvMainInterface.py

I don't have time to look into this myself today, maybe someone else can take a quick look.

WildWeazel
Oct 28, 2005, 05:27 PM
That's definitely it. I'll find that function and see what the arguments do.

upstart
Oct 29, 2005, 01:14 PM
*bump* any word on this? thanks..

WildWeazel
Oct 29, 2005, 04:23 PM
I can't find where the screen functions are defined. There are so many imports in that file...

weakciv
Oct 30, 2005, 11:42 AM
yup that is the issue I am finding too. Some of the import files I cant find. must be packed in one of the core archives.