Page 1 of 1

Finance window addition

Posted: 27 Nov 2005 23:22
by gkirilov
I've seen some patches for the Finance window(Yearly expences) but I couldn't find the following: What about a fourth column in the this window which will display the total values of all years(total expences for buildings, vechicles, ect.; total income from each type of transport and so on ... you get the idea.
So .. is it possible to have that?
(That means really huge numbers)
This would come in handy to see the summary at the end of the game and even more useful especially if the year cheat is used :) when you lose track of time.

(p.s. I've seen this in other games like Industry Giant2)

Re: Finance window addition

Posted: 02 Dec 2005 22:00
by Gudella
gkirilov wrote:I've seen some patches for the Finance window(Yearly expences) but I couldn't find the following: What about a fourth column in the this window which will display the total values of all years(total expences for buildings, vechicles, ect.; total income from each type of transport and so on ... you get the idea.
So .. is it possible to have that?
(That means really huge numbers)
This would come in handy to see the summary at the end of the game and even more useful especially if the year cheat is used :) when you lose track of time.

(p.s. I've seen this in other games like Industry Giant2)
I like the idea of this 4th column :)

Posted: 19 Jan 2006 13:40
by gkirilov
So .. it looks like no one wants to give it a try. :)
Can someone tell me in which source file(s) to look if i want to implement is by myself.
Thanks.

p.s. according to me this 4th column with the total expences/incomes it the only reasonable (kind of) game score!

Posted: 20 Jan 2006 02:24
by richk67
gkirilov wrote:So .. it looks like no one wants to give it a try. :)
Can someone tell me in which source file(s) to look if i want to implement is by myself.
Thanks.

p.s. according to me this 4th column with the total expences/incomes it the only reasonable (kind of) game score!
:lol: It isnt easy to list where they are. I would first hunt down the routine that displays the current finance window (misc_gui may be a good place... might not of course ;) ), then find where that display window gets its data, then find where those variables get accessed (mostly where you spend money). Pretty much wherever a finance variable is changed, you will need to add a change to the relevant Total.

Good luck... expecting someone to leap on your idea and do the work doesnt generally happen here. Its much more "its your idea, you do it".

Posted: 20 Jan 2006 03:20
by DaleStan
gkirilov: grep is your friend.

In a big way.

Finance window expansion

Posted: 20 Jan 2006 20:51
by proudmoore
If one is discussing really huge numbers, then maybe it migt be appropriate for me to post this here. In very long games, going on for hundreds or even thousands of years (in the screenie i posted, i estimated that the game was about 2000 years old), the values of money doesn't fit into the finance windw.

The profit columns overlap each other, making it very difficult to look at what one has made - and gloat! Would it be possible either to enlarge the window and columns to allow the large numbers - or alternatively, allow a 'larger' currency - one that has 5 or 10 pounds per unit.

In the screenshot, the iron ore train making £18,000,000 originally made £30,000 per trip...

Posted: 21 Jan 2006 20:16
by Moriarty
Heh. You don't need the game's to go on for thousands of years to run out of money. Just change the currency to Yen. You'll immediatly have hundreds of billions, and the finance screen looks a mess.

running out of money?

Posted: 22 Jan 2006 10:12
by proudmoore
i don't want to run out of money - i started that game totry to work out how inflation costs rise - if theres an equation behind it. Unfortunately, the costs got too big - wouldn't fit into the finance window, so i couldn't read them.

I just gave up and left it to run.

Posted: 22 Jan 2006 23:32
by Moriarty
Sure you can figure out how inflation is worked out within just a couple of game years. A quick (5 year) test shows that it's not percentile based.
(Yes I know I could check the source code, but seeing as my maths skills are abysmal I don't stand much chance of understanding what's going on there :) ).

Posted: 23 Jan 2006 16:10
by proudmoore
[missed this out]

And of course, i wanted to see how much money could get. That games been running for probably about 500 hours now - it was one of the first serious games i made with openttd

Posted: 23 Jan 2006 19:47
by Benbo
So really, are you thinking that it shows subtotals of different things? I think I know what you're thinking.