View Full Version : A Proper Score Graph


ulfn
Nov 26, 2005, 01:07 PM
As I'm sure you all agree, the score graph in Civ 4 is about the sorriest thing ever seen. So, consequently, I made my own. I posted this at apolyton originally, but I thought I'd post it here as well.


Here's the link to the thread on apolyton. (http://www.apolyton.net/forums/showthread.php?s=&threadid=144030)


Download latest version (1.8) (http://forums.civfanatics.com/attachment.php?attachmentid=108030&d=1134912030)

Change log:

v1.8

* Added instructions for installing without the research history.
* Don't show the names of leaders you haven't met (in demographics tab).
* Split the statistics table in two (one for units and one for buildings).

v1.7

* Research score graph (thanks to Bhruic).

* Show who is the best/worst rival in demographics tab.
* List which city has built a particular wonder in wonders tab. (only for completed wonders, to avoid revealing too much information)
* Fixed bugs in demographics tab where your score was displayed instead of the best/worst rival's score.

v1.6

* Displays more dates.

v1.5

* Full screen graph (moved the demographics table to a new tab).
* Added rival best/worst to demographics table.
* Sideways scrolling.
* Shows what years are being displayed.
* Improved legend layout.

v1.4

* Legend showing who is who.

v1.3

* Thicker lines.

v1.2

* Works with patch 1.09.
* The graph is no longer displayed in the background of the other tabs.
* Resets the number of turns to display to match the drop-down selection.

v1.1

* Fixed bug where the score dropped to zero at the last turn.
* Fixed bug where dead civs still got score.

KingTux
Nov 26, 2005, 01:26 PM
The links don't work as Apolyton doesn't want their bandwidth used by other sites. So, either people need to copy the link location and paste it on a new page, or you need to put it somewhere else (like here). Hope that little tidbit helped. BTW, it does look good.

flobi
Nov 26, 2005, 02:11 PM
Here's a link to the topic on Aployton: http://apolyton.net/forums/showthread.php?s=&threadid=144030 The score graph is similar to the one in Civ1. (I always liked that one better myself.) I believe I will download this mod.

Pounder
Nov 26, 2005, 04:20 PM
Very good, I'm using it and it works fine.

Only thing missing now is a small legend to identify which civ is which.

Citrus
Nov 27, 2005, 12:00 AM
The thing with the score graphs is that they're based on mercantillism. according to the scores, it would be impossible for every civ to lose power at the same time, when 2 are losing power, atleast 1 will be at the receiving end. Thanks for your work, ulfn, it about time that a proper score graph has been made.

Corey
Nov 27, 2005, 06:01 AM
You have tried to link to an image on our site directly. Please do not use our bandwidth for your sites.

Linking to our files and images(and files and images uploaded on the server through our Upload service) is allowed only by pages on our site(e.g. pages in our various sections, forum threads, etc)

If you feel you shouldnt be geting this, dont hesitate to contact us
Please,upload it on CFC.

ulfn
Nov 27, 2005, 06:18 AM
Ok.. Now the links should work. I added a legend as per request.

105362

I put a scaled down screenshot here since the full shot is quite big. Can you get thumbs of your attachments somehow?

Download: 105360

Pounder
Nov 27, 2005, 08:06 AM
Excellent.

Thanks a lot.

Citrus
Nov 29, 2005, 05:17 PM
Yes....... i was wondering what ever happened to a legend, thanks for that quick request response. Now i'll be able to match the graph to their civs lol

Hakkie
Nov 29, 2005, 05:24 PM
Great stuff you made, love it!

handy900
Nov 30, 2005, 07:37 AM
That is MUCH better. Thanks.

Citrus
Nov 30, 2005, 12:49 PM
You Know what would really come in handy with this score graph, a set of dates in the bottom to know exactly when a trend started. Its just a suggestion anyway but it would be great.

ulfn
Nov 30, 2005, 02:33 PM
Changes:

* Full screen graph (moved the demographics table to a new tab).
* Added rival best/worst to demographics table.
* Sideways scrolling.
* Shows what years are being displayed.
* Improved legend layout.

Screenshot:
105827

Download: 105828

You Know what would really come in handy with this score graph, a set of dates in the bottom to know exactly when a trend started. Its just a suggestion anyway but it would be great.

I only show the start and end year. If you think it's needed I could add, oh say three more years.

Batvanio
Nov 30, 2005, 02:44 PM
wow - thanx - this is awesome

more years will be ok too - will give a better look and orientation.

ulfn
Nov 30, 2005, 04:36 PM
Ok, here's a version with more dates:

105846

Pounder
Nov 30, 2005, 05:17 PM
Great job. Just keeps on getting better and better, one of my favourite mods.

Thanks Again!

Mockingbird
Nov 30, 2005, 07:06 PM
This is absolutely the greatest. Many Thanks!

Enkidu_Warrior
Dec 01, 2005, 10:34 PM
awesome! thanks!

ew

ulfn
Dec 02, 2005, 03:38 AM
Yay! I've got rating! Thanks for all the praise.

mjdh1957
Dec 02, 2005, 04:31 AM
Thanks! This makes keeping track of my progress so much easier.

Citrus
Dec 03, 2005, 02:57 PM
ok thanks alot. It was just a suggestion but its ok, now the new score graph has become the default for my civ4.

Enkidu_Warrior
Dec 04, 2005, 01:14 AM
a suggestion: would it be possible to add the name of the civ with the top/bottom score on each of the demographics? i'm thinking perhaps in the line below their score or perhaps next to (in a smaller font maybe)?

not sure what's possible when modding, just throwing it out there

ew

ulfn
Dec 04, 2005, 06:32 AM
That would certainly be possible. Since the graph is more or less finished (I can't think of anything else to add, anyway), I'll do some work on the other tabs next.

CyberTyrant
Dec 04, 2005, 10:28 AM
Very cool. Thanks ulfn. :goodjob:

Juniper7
Dec 05, 2005, 06:05 AM
This is a really useful mod, thanks a lot!

Citrus
Dec 06, 2005, 06:35 PM
I wasnt expecting more updates, but i guess i'll keep updating my copy of the score graph every time a new version comes out lol, thanks anyway, probably by the time this thread's finished, it'll be a MUST HAVE for civ4.

MattJek
Dec 07, 2005, 04:43 PM
What is the latest version of this mod? v 1.6:confused:

ÆnigmÆffect
Dec 08, 2005, 03:02 AM
I always wondered who in their right mind would use the existing graph to show ANYTHING. I guess it would be alright for religion (pretty much like a pie graph).

Anyway, your graph just rocks so much. Glad to use it. I haven't played civ in a week or two, but I just went on a mod downloading rampage (a new gold one, Blue Marble, and this one), and I'm tempting to jump back on the wagon... ;)

ulfn
Dec 08, 2005, 04:24 AM
What is the latest version of this mod? v 1.6:confused:

Yes. (more characters to make message long enough....)

Smirk
Dec 08, 2005, 01:37 PM
This is fantastic, I hated the old graph it was close to useless. You know when I am measuring the width and then comparing it to another that the graph has failed in its primary function.

Requies
Dec 09, 2005, 06:09 AM
Awesome job :goodjob: with the new graph.

A couple of comments:

1) Could you put the scores/values on the Y axis?

2) Could you separate out the code which you changed and subclass it? Or if that's too much work at least show what in the code you changed from the original Info Screen via comments?

Thanks,
Req

Pounder
Dec 09, 2005, 12:14 PM
I wasnt expecting more updates, but i guess i'll keep updating my copy of the score graph every time a new version comes out lol, thanks anyway, probably by the time this thread's finished, it'll be a MUST HAVE for civ4.

It already is a must have. :king: :cool: :goodjob:

jstop
Dec 09, 2005, 02:51 PM
if any of ya'll played rise of nations, i think they had the best scoring graph /timeline

basically the score graph looked just like your mod, but any major advancement or event was shown as a little icon on the graph you could hover over for more info

for example, when a war starts and stops, a little icon with crossed swords would show, and when hovered would show the date, and with who the war was

adding wonder completions, and research milestones would be the next step

adding a customizeable interface that would allow users to toggle what events they wanted to show up on the timeline would be quite pimp :goodjob:

Atanvarno
Dec 11, 2005, 04:17 PM
I just downloaded this Mod, and I must say it's wonderful. Thank you very much!

However, I found a problem:

This screenshot is from a game I where I played an Always War Duel with Frederick. As you can see, Rival Worst shows my own information, rather than Fredericks.

http://phambar.myana.net/awhansen/civ/Demographics.jpg

ulfn
Dec 12, 2005, 10:37 AM
I know... I'll release a fix (with some extra features) shortly.

ColdFever
Dec 12, 2005, 01:31 PM
Thanks for this great mod, UlfN! This indeed is a 'must have' - finally the score graph is useful again. With your knowledge, I hope you may think about a redesign of the military advisor too - this screen currently IMHO is almost useless.

hornball
Dec 12, 2005, 09:08 PM
ok i downloaded this mod.. but where do extract it to.. noob here :sad:

thx

Mysterio10000
Dec 12, 2005, 10:07 PM
ok i downloaded this mod.. but where do extract it to.. noob here :sad: thx

Per the readme file:

"Put CvInfoScreen.py in My Documents\My Games\Civilization 4\CustomAssets\python\screens"

The correct path is My Documents\My Games\Sid Meier's Civilization 4\CustomAssets\python\screens. Just copy the CvInfoScreen.py file to that folder.

ulfn
Dec 14, 2005, 01:42 PM
New version!

Changes:
- Research History Graph! (Shows total number of bulbs researched, I think. Credit to Bhruic.)
- Fixed demographics tab bug.
- Shows who is the best/worst rival (demographics tab).
- Shows in which city a wonder has been build (wonders tab).

Note:
- Installation is now less trivial. Make sure to read the README.

107559

handy900
Dec 14, 2005, 06:00 PM
Wonderful!

May I suggest you edit your first post and place the new version there also for new arrivals to the thread. This way they will be getting the best version.

ulfn
Dec 15, 2005, 05:11 AM
Ok, I did that. I couldn't find a nice way of accessing the attachment (and it wouldn't let me attach the same file again), so I copied the link from the release post. There has to be a better way, though..?

GeoModder
Dec 15, 2005, 05:56 AM
ulfn, how about a version 1.65 without the research addition? Only the corrections on the demographics tab and such?

Thing is that it sounds to me that (with the research addition) all those python files have to be changed and that it might mix things up for multiplayer (same version issue perhaps)

ulfn
Dec 16, 2005, 11:34 AM
Actually, if you don't want the research stuff, just extract CvInfoScreen, ResearchProgress and DataStorage (the latter two just so that the info screen won't complain about non-existing imports), and don't worry about all the complicated file changes. This way no research history will be recorded and you'll get a blank research graph.

What are the issues with multiplayer by the way?

Requies
Dec 16, 2005, 11:39 AM
Actually, if you don't want the research stuff, just extract CvInfoScreen, ResearchProgress and DataStorage (the latter two just so that the info screen won't complain about non-existing imports), and don't worry about all the complicated file changes. This way no research history will be recorded and you'll get a blank research graph.

What are the issues with multiplayer by the way?

You're getting more information than you should be....

This also makes this mod GOTM-unfriendly....

Req

Requies
Dec 16, 2005, 11:41 AM
Ok, I did that. I couldn't find a nice way of accessing the attachment (and it wouldn't let me attach the same file again), so I copied the link from the release post. There has to be a better way, though..?

? Hmmm, I was able to do it in my mods, but then again I just uploaded my attachments.

Req

ulfn
Dec 16, 2005, 12:35 PM
You're getting more information than you should be....

This also makes this mod GOTM-unfriendly....


True. Well, as I said, you don't have to hook up the research history stuff.

Mahatmajon
Dec 16, 2005, 01:43 PM
Cool mod -- definately looks great.

Since this is an active thread and you've put up a lot of versions could you maybe recap the latest version on your Page1 post? Also I'd appreciate it if you had a 'GOTM-allowed' version on your first Page1 post that didn't show the extra information.

Thanks for the cool mod -- I can probably dig out what I need from the many versions but a recap would be great.

GeoModder
Dec 16, 2005, 05:43 PM
Actually, if you don't want the research stuff, just extract CvInfoScreen, ResearchProgress and DataStorage (the latter two just so that the info screen won't complain about non-existing imports), and don't worry about all the complicated file changes. This way no research history will be recorded and you'll get a blank research graph.

What are the issues with multiplayer by the way?

Was it a big change to have the demographics screen show proper (I mean that error where the players' army number was also showed in the smallest civ army and perhaps some more I forgot about)
If it's just a few lines or a small block of code, I could change/copy it myself.
Except for that, I'm quite happy with what the previous version showed, and it is multiplayer safe (for the info I mean then).

Skari
Dec 17, 2005, 12:54 AM
It's otherwise great, but I don't like that it shows me names of leaders I've not yet met in the demographics screen.

CellKu
Dec 17, 2005, 02:24 PM
Thanks a lot! That is wonderful! :goodjob: I always wanted a more Civ1-like scoregraph.

ulfn
Dec 18, 2005, 07:22 AM
It's otherwise great, but I don't like that it shows me names of leaders I've not yet met in the demographics screen.
Changes v1.8:

- Doesn't show the names of leaders you haven't met.
- Split the statistics table in two, one for units and one for buildings.

Download: 108030

ulfn
Dec 18, 2005, 07:36 AM
How strict are the GOTM rules? Obviously the research graph gives away too much information. The other extra bits of information I have added are
- Show the city in which a wonder has been built (only completed wonders).
- Show the name and score of the best/worst rival in demographics tab.
Should I remove these as well from a GOTM version of the mod?

Also, is there a way for the mod to detect if you're playing a GOTM? If there is I wouldn't have to release a separate version, which would be nice.

GeoModder
Dec 18, 2005, 11:14 AM
Well, I participate in a PBEM after installing the 1.6 version, and no other player complained that according to the game I have another version, nor a warning popup.

CellKu
Dec 18, 2005, 01:05 PM
Sorry to bother, I installed 1.8 according to your instructions, but I don't see any graph when I select "Research". Do I have to fix anything? - Otherwise it works well. I like especially your changes to the demographics section!

Nemo
Dec 18, 2005, 03:54 PM
Awsome. The original graph and civilpedia done by firaxis were obviously programmed by people who failed their Human Interface Engineering (AKA Graphica User Interface) class at school! Thanks so so much, this really helps!!!

Delta187
Dec 19, 2005, 01:06 AM
Sorry to bother, I installed 1.8 according to your instructions, but I don't see any graph when I select "Research". Do I have to fix anything? - Otherwise it works well. I like especially your changes to the demographics section!

You can only see the researches you have made AFTER intalling the file.
It´s best to start a new game.

ulfn
Dec 19, 2005, 03:47 AM
Was it a big change to have the demographics screen show proper (I mean that error where the players' army number was also showed in the smallest civ army and perhaps some more I forgot about)
If it's just a few lines or a small block of code, I could change/copy it myself.


I reimplemented that function so I don't know how much work it would be to patch the old one. Probably not that much, but you would have to get down to some python hackery.

CellKu
Dec 19, 2005, 02:45 PM
You can only see the researches you have made AFTER intalling the file.
It´s best to start a new game.
Oh, thanks for the information!

Till
Dec 19, 2005, 04:01 PM
Excellent! This is so much better than the normal one. Thank you very much :)

Termitnik
Dec 20, 2005, 06:00 AM
Hi all!
Is this mod still uncompatible with GOTM?
Are you planning to make compatible version?

ulfn
Dec 20, 2005, 06:31 AM
You can install the mod in such a way that you don't get the research graph. It still adds some small bits of information, though. These are:
- Shows the score (and name, if it's someone you know) of the best/worst rival in the demographics screen.
- Shows which city has built a particular wonder (only completed wonders).
Whether this is ok for GOTM or not, I don't know. If it's not, I will release a GOTM friendly version that doesn't show this info.

Amask
Dec 21, 2005, 03:22 PM
amazing mod (I've been hoping someone would do this ever since I started playing Civ III)
however, I am experiencing a problem (not sure if it is with your code or something in the unchanged, Civ IV, files).

I was playing a game, where on the graph a certain AI's GNP showed somewhere in the middle, but in the demographics screen it was displayed as Rival Worst.

Also, in a 2-player LAN game I just played, me and my friend had the exact same GNP (judging from the demographics) screen, but his line on the graph was always way higher.

At times I was a little better in GNP, at times him, but my line never went above his.

I have seen all sorts of discrepancies (another example is if my Mfg is twice my friends, again, judging from demographics screen, on the graph it shows as if it is 3 times, or 1.5 times bigger), and I am wondering just what the hell they are.
Has anyone else experienced something similar?

Also, what exactly is GNP? The way I see it is that it is your modified (by building, civics) research+commerce + foreighn income - all your expenses

ecc
Dec 21, 2005, 04:57 PM
Hello

I am having a problem with this mod, everytime I try to load civ4, when it is initializing the python section it pops up with the error "Failed to load python module CvEventInterface." What is wrong and how do I fix this?

The CvEventInterface.py is in C:\Documents and Settings\rmusante\My Documents\My Games\Sid Meier's Civilization 4\CustomAssets\python\entrypoints

-Ryan

ulfn
Dec 22, 2005, 03:28 AM
Also, what exactly is GNP?

Honestly, I have no idea. I just changed the way it's presented and haven't bothered with semantics.

ulfn
Dec 22, 2005, 03:31 AM
I am having a problem with this mod, everytime I try to load civ4, when it is initializing the python section it pops up with the error "Failed to load python module CvEventInterface." What is wrong and how do I fix this?

Check the log file (Logs/PythonErr2.log in your local civ folder) for error messages and post them here. You might have to enable logging in your ini file:

LoggingEnabled = 1

Amask
Dec 22, 2005, 06:45 PM
well, anyone seen this happening?
should I put it into bug reports?
I am surprised by a total lack of responses

azzaman333
Dec 22, 2005, 08:47 PM
It happened in mine as well. I think the graph is how much money your making, and the demographics is how much your making minus costs.

ulfn
Dec 23, 2005, 06:30 AM
A GOTM friendly version of the mod is now available.

Installation instructions:

- Uninstall any previous version of the mod
- From the Civ main menu, click Advanced and Check for Updates.
- Follow the instructions.

ColdFever
Dec 23, 2005, 06:34 AM
Thanks a lot UlfN, 'looks like your great mod either inspired Firaxis to follow this way, or you are now on their payroll...

Pvblivs
Dec 23, 2005, 07:22 AM
A GOTM friendly version of the mod is now available.

Installation instructions:

- Uninstall any previous version of the mod
- From the Civ main menu, click Advanced and Check for Updates.
- Follow the instructions.

You really did a great job. I wonder what sometimes rides some developer to do such crap we all are experiencing now on some Civ4 windows.

Thank you for teaching Firaxis in "how do I display a proper and understandable diagram" :)

NeverMind
Dec 23, 2005, 06:25 PM
v1.52 Readme: - Updated Info Screen with changes 'borrowed' from one of the forum modders

Who is this modder, I wonder? Did they say "thank you" or else, ulfn?

Anyway, nice to see Firaxis incrorporated your ideas in the game. :thumbsup:

protista
Dec 23, 2005, 09:57 PM
Help! I just extracted the files from the most recent version to the suggested folders/locations. When I click on the Info (Graph symbol), or hit F9, nothing appears? Is this normal? I am running the original CivIV (version 1.00), with the blue marble mod.

Any assistance greatly appreciated!

Pounder
Dec 24, 2005, 06:07 AM
Help! I just extracted the files from the most recent version to the suggested folders/locations. When I click on the Info (Graph symbol), or hit F9, nothing appears? Is this normal? I am running the original CivIV (version 1.00), with the blue marble mod.

Any assistance greatly appreciated!

You may have to restart the game while holding the shift-key down, this will empty the cache and make the game find the files again.

lordroy
Dec 24, 2005, 07:11 AM
You may have to restart the game while holding the shift-key down, this will empty the cache and make the game find the files again.


After the newest patch, it initializes XML non-cached (as default).

You have to change the .ini file if you want it to cache.



-=R=-

bonscott
Dec 24, 2005, 07:38 AM
And I would suggest to just patch to 1.52 as it includes the majority of this mod built right into the game (as well as a ton of other things well worth it).

Amask
Dec 25, 2005, 11:41 AM
btw, I have found why the demographics screen does not correspond to the graph. It has nothing to do with your mod in particular, just stupid (in my opinion) choice on Firaxis' part.

GNP in demographics - your unmodified-by-libraries-and-markets-etc coin output. Includes terrain, trade routes, DOES NOT include specialists or great specialists. Shouldn't include foreign income (I didn't really spend too much time checking everything).

GNP in graph - your modified by buildings science + modified by buildings commerce + foreign income - all expenses

This only happens for GNP; Mfg goods is same in graph and demographics, in both places it is modified by forges and other buildings. Not sure about project-specific bonuses, but don't care enough to check.

ulfn
Dec 25, 2005, 01:18 PM
Help! I just extracted the files from the most recent version to the suggested folders/locations. When I click on the Info (Graph symbol), or hit F9, nothing appears? Is this normal? I am running the original CivIV (version 1.00), with the blue marble mod.


The later versions doesn't work with unpatched Civ. If you really don't want to upgrade you can download an earlier version from Apolyton (follow the link in the first post to the Apolyton thread).

ulfn
Dec 25, 2005, 01:21 PM
Who is this modder, I wonder? Did they say "thank you" or else, ulfn?

They did ask first. If you have patience enough to watch the credits, you can spot me under 'Special Thanks'.

Brewster
Dec 26, 2005, 04:56 AM
While playing over the weekend I noticed this mod had been incorperated into the latest patch. I just wanted to say thank you for your work on this as it has greatly improved the statistical information provided. Full props to you ulfn. :goodjob:

Rhymes
Jan 17, 2006, 10:17 AM
Johnson: Actually, one of my favorite mods made it into our most recent patch. A user from CivFanatics named ulfn altered our score graph to be a line-graph instead of the Civ III style fill-graph. We liked it so much that we asked him if we could share it with everyone. We are very impressed with the output of the mod community so far, but we know that it's just the tip of the iceberg. Once the SDK is released, things will start getting really interesting.

Congrats! :goodjob: Its always fun to see that firaxis likes whats going on in here

Bilas
Feb 03, 2006, 10:32 AM
Excellent work!:goodjob:

Nials
Feb 03, 2006, 04:04 PM
Thanks for creating this mod. I love coming here and downloading new great additions :)

cthom
Feb 15, 2006, 05:39 AM
i've been using this for so long now i forgot it was a mod. i thought it came with the original game:blush:

ulfn
Feb 16, 2006, 12:04 PM
It was a mod until they incorporated it in a patch.

Stora
Feb 17, 2006, 08:38 AM
Thats nice. But was everything included in the new patch or are there still some features to be gained by installing this mod?

CellKu
Feb 21, 2006, 08:50 AM
ulfn, IIRC you included information about which rival is best/worst in the demographics screen. Since 1.52 includes your scoregraph already, is there a way to add only what is missing (especially with respect to your demographics screen)? Thanks in advance!

monkspider
Apr 19, 2006, 07:54 PM
Any hopes of an updated version for 1.61? This is the only mod I use! I love the expanded information on the demographics screen.

TheLopez
Apr 19, 2006, 08:51 PM
This mod has been integrated into the core game...

Elhoim
Apr 20, 2006, 04:56 PM
Except for the technological page and the expanded demographics...

Agent 009
Apr 22, 2006, 08:14 PM
Also, what exactly is GNP? The way I see it is that it is your modified (by building, civics) research+commerce + foreighn income - all your expenses

GNP = Gross National Product.


I haven't tested out this mod yet but from what I've read in this topic and seen in the screenshots it look great. ;)

monkspider
Apr 23, 2006, 03:30 PM
Exactly, I'm all about that expanded demographics screen.